@font-face {
    font-family: 'NewOne';
    src: url('NewOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'NewOne', sans-serif;
    color: #333;
    background-color: white;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    opacity: 0;
    animation: fadeInBody 4s forwards;
}

@keyframes fadeInBody {
    to {
        opacity: 1;
    }
}

.container {
    position: relative;
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 80%;
    height: 80%;
    max-width: 1200px;
    box-sizing: border-box;
    z-index: 5;
}

.image {
    position: relative;
    width: 100%;
    padding-bottom: 60px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image img {
    max-width: 100%;
    height: auto;
    position: absolute;
    border-radius: 2%;
    opacity: 0;
    animation: fadeInImage 3s forwards;
    animation-play-state: paused; /* Pauses the animation initially */
}

.image img.layer1 {
    animation-delay: 0s;
}

.image img.layer2 {
    animation-delay: .4s;
}

.image img.layer3 {
    animation-delay: 1s;
}

.icon-container {
    top: 0px;
    width: 100%;
    position: absolute;
    z-index: 5;
}

/* Ensures that all three layers of the hovered icon grow together */
.icon-container .icon.layer3:hover ~ .icon.layer1,
.icon-container .icon.layer3:hover ~ .icon.layer2,
.icon-container .icon.layer3:hover {
    transform: scale(1.1);
    transition: transform 0.6s ease;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
        width: 90%;
        height: auto;
    }

    .overlay-icon {
        padding: 10px;
        width: 90%;
        height: auto;
    }

    .icon-container {
        padding: 10px;
        width: 90%;
        height: auto;
    }

    .image img {
        max-width: 100%;
    }
}

/* Positioning for new icons */
.overlay-icon {
    position: relative;
    width: 8%;
}

.icon {
    cursor: pointer; /* Changes the cursor to a pointer on hover */
}



    .passage { top: -330px; left: 35%; width: 40%; }
    .patricia { top: -215px; left: 72%; width: 24%; }
    .liana { top: 80%; left: 78%; width: 19%; z-index: 101; }
    .chris { top: 115px; left: 60%; width: 19%; }
    .serenade { top: 150px; left: 36%; width: 21%; }
    .rangoli { top: 120px; left: 14%; width: 20%; z-index: 102 }
    .coral { top: -120px; left: 3%; width: 20%; z-index: 101; }
    .judith { top: -300px; left: 15%; width: 24%; z-index: 100; }
    .me { top: -160px; left: 29%; width: 45%; }

    @media (max-width: 999px) {
        .passage { top: -270px; left: 36.3%; width: 41.8%; }
        .patricia { top: -200.5px; left: 68.4%; width: 25.65%; }
        .liana { top: -30px; left: 75.1%; width: 19.95%; z-index: 101; }
        .chris { top: 90px; left: 60%; width: 19.95%; }
        .serenade { top: 120px; left: 34.2%; width: 21.85%; }
        .rangoli { top: 50.65px; left: 13.3%; width: 20.9%; z-index: 102; }
        .coral { top: -120px; left: 5.7%; width: 20.9%; z-index: 101; }
        .judith { top: -250px; left: 18.25%; width: 25.65%; z-index: 100; }
        .me { top: -90.25px; left: 32.5%; width: 40.85%; }

        .icon-container {
            top: 30px;
        }
    }

/*    @media (max-width: 822px) {
        .passage { top: -270px; left: 36.3%; width: 41.8%; }
        .patricia { top: -200.5px; left: 68.4%; width: 25.65%; }
        .liana { top: -30px; left: 75.1%; width: 19.95%; z-index: 101; }
        .chris { top: 90px; left: 60%; width: 19.95%; }
        .serenade { top: 120px; left: 34.2%; width: 21.85%; }
        .rangoli { top: 50.65px; left: 13.3%; width: 20.9%; z-index: 102; }
        .coral { top: -120px; left: 5.7%; width: 20.9%; z-index: 101; }
        .judith { top: -250px; left: 18.25%; width: 25.65%; z-index: 100; }
        .me { top: -90.25px; left: 32.5%; width: 40.85%; }

        .icon-container {
            top: 30px;
        }
    }

*/


/*@media (max-width: 750px) {
    .passage { top: -200px; left: 32.3%; width: 41.8%; }
    .patricia { top: -140.5px; left: 68.4%; width: 25.65%; }
    .liana { top: -38px; left: 74.1%; width: 19.95%; z-index: 101; }
    .chris { top: 38px; left: 57%; width: 19.95%; }
    .serenade { top: 57px; left: 34.2%; width: 21.85%; }
    .rangoli { top: 25.65px; left: 13.3%; width: 20.9%; z-index: 102; }
    .coral { top: -100px; left: 5.7%; width: 20.9%; z-index: 101; }
    .judith { top: -175px; left: 14.25%; width: 25.65%; z-index: 100; }
    .me { top: -90.25px; left: 32.5%; width: 40.85%; }

    .icon-container {
        top: 50px;
    }
}
*/


