.rubik-mono-one-regular {
    font-family: "Rubik Mono One", monospace;
    font-weight: 400;
    font-style: normal;
}

.roboto {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}


.playfair-display {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.shadows-into-light-regular {
    font-family: "Shadows Into Light", cursive;
    font-weight: 400;
    font-style: normal;
}



.young-serif-regular {
    font-family: "Young Serif", serif;
    font-weight: 400;
    font-style: normal;
}

.la-belle-aurore-regular {
    font-family: "La Belle Aurore", cursive;
    font-weight: 400;
    font-style: normal;
  }
  




:root {
    --white-: #fffbfb;
    --black-: #101010;
    --grey-: #7c7c7c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


#indexBody {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background-color: var(--black-);
    padding: 2rem;
}

/*FIRST VIEWPORT*/

#firstVP {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
}


#handshakeCassius {
    position: absolute;
    z-index: -10;
    height: auto;
    width: 100vw;
    image-rendering: pixelated;
}

#handshakeKons {
    position: absolute;
    z-index: -10;
    height: auto;
    width: 100vw;
    image-rendering: pixelated;
}

#headingContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 2drem;
}


#indexHeading {
    font-family: "Bebas Neue", sans-serif;
    font-size: 5rem;
    color: white;
    text-shadow: rgba(255, 255, 255, 0.338) 2px 10px 15px;
}

#indexSubHeading {
    display: flex;
    justify-content: space-between;
    width: 80vw;
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.5rem;
    color: rgb(214, 214, 214);
    text-shadow: rgba(214, 214, 214, 0.338) 2px 10px 15px;
}


#arrowContainer {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

#arrowDownIcon {
    width: 50px;
    height: 50px;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}


/*SECOND VIEWPORT*/

#secondVP {
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
    flex-direction: column;
    width: 100vw;
    margin: 0;
    padding: 0;
    margin-top: 5vh;
    /* Remove margin-top: 100vh */
}

#secondVPHeader{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 20vh;
    font-family: "Bebas Neue";
    font-size: 3rem;
    color: white;
    text-shadow: rgba(255, 255, 255, 0.5) 2px 10px 15px;
}


#indexFotoreihe {
    display: grid;
    gap: 10px;
    width: 100vw;
    height: fit-content;
    place-items: center;
    
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Adjust image sizes */
.indexFoto {
    width: 100%; /* Make sure images fit their grid cell */
    height: auto;
    object-fit: cover;
    max-width: 100%; /* Ensure responsiveness */
}





/*THIRD VP*/
#thirdVP {
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
    flex-direction: column;
    width: 100vw;
    margin: 0;
    padding: 0;
    margin-top: 5vh;
}

#thirdVPHeader {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 20vh;
    font-family: "Bebas Neue";
    font-size: 3rem;
    color: white;
    text-shadow: rgba(255, 255, 255, 0.5) 2px 10px 15px;
}

#artistContainer { 
    display: grid;
    gap: 20px;
    width: 100vw;
    height: fit-content;
    place-items: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Dynamic columns */
    padding: 20px;
}


.artistTile {
    width: 100%;
    max-width: 300px; /* Set a reasonable max width */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.2s ease-in-out;
    animation: wiggle 1.8s infinite ease-in-out;
}


/* Add a staggered delay based on the index of the .artistTile */
.artistTile:nth-child(1) { animation-delay: 0s; }
.artistTile:nth-child(2) { animation-delay: 0.3s; }
.artistTile:nth-child(3) { animation-delay: 0.6s; }
.artistTile:nth-child(4) { animation-delay: 0.9s; }
.artistTile:nth-child(5) { animation-delay: 1.2s; }

@keyframes wiggle {
    10% { transform: rotate(1.5deg) scale(1.02); }
    20% { transform: rotate(-1.5deg) scale(1); }
    30% { transform: rotate(1deg) scale(1.01); }
    40% { transform: rotate(-1deg) scale(1); }
    50% { transform: rotate(0.5deg) scale(1.01); }
    60% { transform: rotate(-0.5deg) scale(1); }
    100% { transform: rotate(0deg) scale(1); }
}




.artistPicture{
    width: 100%;
    height: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.artistPicture:active{
    transform: scale(1.05);
}


.linkButtons{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.profileLinks {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80vw;
    height: 10vh;
    padding: 1rem;

    font-family: "Bebas Neue";
    font-size: 1.5rem;
    color: black;
    background-color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer; 
    box-shadow: rgba(255, 255, 255, 0.5) 5px 5px 25px;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profileLinks:active{
    transform: scale(1.05);
}

.plattformIcon {
    width: 50px; 
    height: 50px;
}

#otherLinksOverlay {
    display: flex; /* Change from 'none' so flex properties work */
    align-items: center;
    justify-content: center;
    flex-direction: column;

    position: fixed;
    bottom: -100vh; 
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 10px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    padding: 1rem;
    width: 100vw;
    height: 80vh;
    transition: all 0.5s cubic-bezier(0.39, 0.575, 0.565, 1);
}

#otherLinksOverlay.active {
    bottom: 0;
}

#xMark{
    position: absolute;
    top: 10px;         
    right: 10px;
    display: flex;
    align-self: flex-end;
    justify-self: flex-end;
    height: 50px;
    width: 50px;
}




/*Fourth VP*/
#fourthVP {
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
    flex-direction: column;
    width: 100vw;
    margin: 0;
    padding: 0;
    margin-top: 5vh;
}


#fourthVPHeader{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 20vh;
    font-family: "Bebas Neue";
    font-size: 3rem;
    color: white;
    text-shadow: rgba(255, 255, 255, 0.5) 2px 10px 15px;
}

#contactImagesContainer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px; /* Space between images */
    width: 100%;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
}

.contactImages {
    width: 45%; /* Each image takes up 45% of the width */
    max-width: 400px; /* Prevents images from getting too large */
    height: auto;
}

/* Stacking images on small screens */
@media (max-width: 600px) {
    .contactImages {
        width: 90%; /* Take most of the screen width when stacked */
    }
}
