@import url('https://fonts.googleapis.com/css2?family=Inder&family=Jura:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*#da3287  #ffde5e*/
body {
    background: linear-gradient(315deg, rgba(189,0,192,1), rgba(0, 114, 189, 1));
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
}


@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease; /* Transition fluide */
}

.collapse.open {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    font-size: 24px;
    color: white;
    text-decoration: none;
    font-family: 'Inder', sans-serif;
    border: 2px solid white;
    border-radius: 24px;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.4);
    padding: 1rem 0;
    position: relative;
    margin-bottom: 2%;

    }

.screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profil {
    width: 145px;
    border-radius: 50%;
    border: 4px solid white;
    margin-top: 2%;
}

h1 {
    font-family: 'Jura', sans-serif;
    text-align: center;
    color: white;
    padding: 2% 0;
    font-size: 54px;
}

.screen a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    font-size: 24px;
    color: white;
    text-decoration: none;
    font-family: 'Inder', sans-serif;
    border: 2px solid white;
    border-radius: 24px;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.4);
    padding: 1rem 0;
    position: relative;
    margin-bottom: 1%;
}

.screen a i {
    position: absolute;
    left: 5%;
    top: auto;
    bottom: auto;
}

.screen a:hover {
    background-color: white;
    color: black;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer {
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}

footer a, footer p {
    color: white;
    text-decoration: none;
    font-family: 'Inder', sans-serif;
}

footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1800px) {
    html, body {
        overflow-x: hidden;
        overflow-y: hidden;
    }
  
    body {
        width: 100%;
    }
}

@media screen and (max-width: 800px) {
    .profil {
        width: 120px;
        margin-top: 5%;
    }

    h1 {
        font-size: 32px;
        margin-bottom: 5%;
    }

    .screen a {
        width: 70%;
        margin-bottom: 2%;
    }
}

@media screen and (max-width: 400px) {
   

    .profil {
        width: 120px;
        margin-top: 10%;
    }

    h1 {
        font-size: 32px;
        margin-bottom: 10%;
    }

    .screen a {
        width: 80%;
        margin-bottom: 5%;
    }
}