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

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(50deg, #120c6e, #5e72eb, #ff9190, #fdc094);
    background-size: 300% 300%;
    animation: color 10s ease-in-out infinite;
    color: #fff;
}

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

h2 {
    font-family: "Nunito", sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    text-transform: lowercase;
    color: white;
    text-align: center;
    margin-bottom: -10px;
}

section {
    display: grid;
    place-items: center;
    position: absolute;
    inset: 0;
    overflow-y: scroll;
}

section div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
    text-align: center;
}

section div img {
    width: 110px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(173, 216, 230, 0.7);
}

a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 0;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 25px;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    font-size: 1em;
    gap: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, color 0.2s;
}

a:hover {
    background: white;
    color: #0f172a;
}

a i {
    font-size: 1.3em;
}

::-webkit-scrollbar {
    width: 0; 
    background: transparent;
}

@media (max-width: 620px) {
    h2 {
        font-size: 1.5em;
        text-align: center;
        white-space: normal;
    }

    section {
        margin-top: -20px;
    }

    section div {
        width: 90%;
        max-width: 400px;
        padding: 15px;
    }

    section div img {
        width: 90px;
    }

    a {
        font-size: 1em;
        padding: 14px 0;
    }

    a i {
        font-size: 1.2em;
    }
}

@media (max-width: 375px) {
    h2 {
        font-size: 1.3em;
    }

    section div {
        padding: 10px;
    }

    section div img {
        width: 80px;
    }

    a {
        font-size: 0.9em;
        padding: 12px 0;
    }

    a i {
        font-size: 1.1em;
    }
}
