@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+SC:ital,wght@0,100..900;1,100..900&family=Cherry+Bomb+One&family=Edu+SA+Hand:wght@400..700&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');

body {
    min-weight: 100vh;
    background-image: linear-gradient(45deg, #222d42, #181920, #353535, #111112);
    background-repeat: no-repeat;
    background-size: 200% 200%;
    background-attachment: fixed;
    animation: movingBg 12s ease-in-out infinite;
}


#profilepicture{
    position: relative !important;
    top: 25vh;
    width: 150px;
    height: 150px;
    left: 23.5vh;
    border-radius: 20%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.header {
    position: absolute;
    height: 100%;
    width: 400px;
    top: -1px;
    left: -1px;
    font-family: "Cherry Bomb One", cursive;
    color: white;
    /*text-decoration: underline;*/
    /*text-decoration-color: #9e9696;*/
}
.aboutme {
    position: absolute;
    height: 100%;
    width: 400px;
    top: -1px;
    left: 400px;
    font-family: "Cherry Bomb One", cursive;
    color: white;
}
.first-section{
    position: relative;
    height: fit-content;
    width: 700px;
    top: 16vh;
    left: 70vh;
    font-family: "EDU SA Hand", cursive;
    color: white;
}

.second-section {
    position: relative;
    height: fit-content;
    width: 700px;
    top: 16vh;
    left: 70vh;
    font-family: "EDU SA Hand", cursive;
    color: white;
}

.second-section img {
    position: relative;
    width: 1em;
    height: 1em;
    top: 0.2em;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.second-section #titransfer {
    color: #e0d9d7
}

.third-section {
    position: relative;
    height: fit-content;
    width: 700px;
    top: 16vh;
    left: 70vh;
    font-family: "EDU SA Hand", cursive;
    color: white;
}

.third-section img {
    position: relative;
    top: 0.2em;
}
p {
    font-family: "Sour Gummy" !important;
    font-size: 1.5rem !important;
    color: white;
}

.section-title {
    position: relative;
    font-size: 3.5em;
    color: white;
    font-family: "Alumni Sans SC", cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

#username {
    position: relative !important;
    width: fit-content;
    top: 11vw;
    left: 23.5vh;
    font-size: 2.5em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#desc {
    position: relative !important;
    width: fit-content;
    top: 11vw;
    left: 23.5vh;
    font-size: 1.2em;
    color: white;
    font-family: "EDU SA Hand", cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes movingBg {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0 0;
    }
}


#titransfer:hover {
    color: #a39cb1;
    cursor: pointer;
}

/*#twitter:hover {*/
/*    position: relative;*/
/*    display: inline-block;*/
/*    !*padding-bottom: 1px; !* espace pour le soulignement *!*!*/
/*}*/

#twitter {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

#twitter::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background-color: #4352b0; /* même couleur que le texte */
    border-radius: 9999px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.25s ease;
}

#twitter:hover::after {
    opacity: 1;
}




@media screen and (max-width: 768px) {
    body {
        min-height: 100vh;
        overflow-x: hidden;
    }

    .header, .aboutme {
        position: relative;
        width: 100%;
        height: auto;
        left: 0;
        top: 0;
    }

    #profilepicture {
        position: relative;
        width: 150px;
        height: 150px;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
    }

    #username, #desc {
        position: relative;
        width: 90%;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .first-section,
    .second-section,
    .third-section {
        position: relative;
        width: 90%;
        height: auto;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 40px;
    }

    .section-title {
        text-align: center;
    }

    p {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    #profilepicture {
        width: 120px;
        height: 120px;
    }

    #username {
        font-size: 2em;
    }

    #desc {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2em;
    }

    p {
        font-size: 1rem !important;
    }
}