body {
    margin: 0;
    font-family: 'Inder', sans-serif;
}

html, body {
    height: 100vh;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/Background-Texture.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.container {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4vh 0;
}

.profile-picture img {
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
}

@media only screen and (max-width: 767px) {
    .profile-picture img {
        width: clamp(180px, 30vw, 400px);
    }

    .profile-picture {
        margin-bottom: 4vh;
    }

    .links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 3vw;
        row-gap: 4vh;
        justify-content: center;
        justify-items: center;
        align-items: center;
        padding: 2vh 0;
        max-width: 80vw;
        margin: 0 auto;
    }

    .links a img {
        width: clamp(111px, 18vw, 210px);
        aspect-ratio: 1;
    }

    .links a {
        text-decoration: none;
        color: #a96000;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .profile-picture {
        margin-bottom: 4vh;
    }

    .profile-picture img {
        width: clamp(180px, 30vw, 400px);
    }

    .links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 4vw;
        row-gap: 4vh;
        justify-content: center;
        justify-items: center;
        align-items: center;
        padding: 4vw 0;
        max-width: 80vw;
        margin: 0 auto;
    }

    .links a {
        text-decoration: none;
        color: #a96000;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .links a img {
        width: clamp(123px, 20vw, 222px);
        aspect-ratio: 1;
    }
}


/* Desktop and laptop-specific styles */
@media (min-width: 1025px) {
    /* Increase the size of the profile picture */
    .profile-picture img {
        width: clamp(222px, 20vw, 280px);
    }

    .profile-picture {
        margin-bottom: 2vh;
    }

    .links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 10vw;
        row-gap: 4vh;
        justify-content: center;
        justify-items: center;
        align-items: center;
        padding: 4vw 0;
        max-width: 90vw;
        margin: 0 auto;
    }

    .links a img {
        width: clamp(123px, 18vw, 222px);
        aspect-ratio: 1;
    }
}

.links a img {
    transition: all 0.3s ease;
}

.links a:hover img {
    filter: brightness(0.8);
    transform: scale(1.01);
}

.links a:active img {
    transform: scale(0.98);
}
