﻿
/*Boxes moving upward animation*/

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}



.background {
    position: absolute;
    width: 100vw;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: #ffffff00;
    overflow: hidden;
    z-index: -1;
}

    .background li {
        position: absolute;
        display: block;
        list-style: none;
        width: 20px;
        height: 20px;
        background: #8bdffa73;
        animation: animate 12s linear infinite;
    }

        .background li:nth-child(0) {
            left: 9%;
            width: 108px;
            height: 108px;
            bottom: -108px;
            animation-delay: 1s;
        }

        .background li:nth-child(1) {
            left: 16%;
            width: 147px;
            height: 147px;
            bottom: -147px;
            animation-delay: 4s;
        }

        .background li:nth-child(2) {
            left: 80%;
            width: 190px;
            height: 190px;
            bottom: -190px;
            animation-delay: 4s;
        }

        .background li:nth-child(3) {
            left: 3%;
            width: 198px;
            height: 198px;
            bottom: -198px;
            animation-delay: 3s;
        }

        .background li:nth-child(4) {
            left: 77%;
            width: 137px;
            height: 137px;
            bottom: -137px;
            animation-delay: 13s;
        }

        .background li:nth-child(5) {
            left: 33%;
            width: 136px;
            height: 136px;
            bottom: -136px;
            animation-delay: 2s;
        }

        .background li:nth-child(6) {
            left: 59%;
            width: 189px;
            height: 189px;
            bottom: -189px;
            animation-delay: 28s;
        }

        .background li:nth-child(7) {
            left: 52%;
            width: 164px;
            height: 164px;
            bottom: -164px;
            animation-delay: 15s;
        }

        .background li:nth-child(8) {
            left: 29%;
            width: 149px;
            height: 149px;
            bottom: -149px;
            animation-delay: 2s;
        }

        .background li:nth-child(9) {
            left: 63%;
            width: 157px;
            height: 157px;
            bottom: -157px;
            animation-delay: 34s;
        }



/* Get Started button animation*/
.button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    background: #16C6FF;
    font-family: "Montserrat", sans-serif;
    box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    cursor: pointer;
    border: none;
}

    .button:after {
        content: " ";
        width: 0%;
        height: 100%;
        background: #183153;
        position: absolute;
        transition: all 0.4s ease-in-out;
        right: 0;
    }

    .button:hover::after {
        right: auto;
        left: 0;
        width: 100%;
    }

    .button span {
        text-align: center;
        text-decoration: none;
        width: 100%;
        padding: 18px 25px;
        color: white;
        font-size: 1em;
        font-weight: 500;
        letter-spacing: 0.12em;
        z-index: 20;
        transition: all 0.3s ease-in-out;
    }

    .button:hover span {
        color: #fff;
        animation: scaleUp 0.3s ease-in-out;
    }

@keyframes scaleUp {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}


/* Scroll div */

.scrollDiv {
    position: fixed;
    z-index: 1;
    background: #16C6FF;
    color: white;
    bottom: 3%;
    right: 2%;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    border-radius: 50px;
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
}

.arrow {
    transition: all 0.6s ease-in-out;
}

.scrollDiv:hover .arrow {
    transform: rotate(720deg);
}


/*Visible animation*/


.animatedDiv {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
   
}
.triggerSection {
    overflow: hidden
}

.animatedDiv.visible {
    transform: translateX(0);
    opacity: 1;
}


/*collage*/



.collage_img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}



.grid-container {
    margin: auto;
    max-width: 600px;
    aspect-ratio: 1/1;
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(16, 1fr);
}


    .collage1 .item {
        border: 5px solid white;
    }



.item {
    border-radius: 50%;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.5) 10px 10px 10px 0px;
}

.item1 {
    z-index: 10;
    grid-area: 1/6/5/10;
}

.item2 {
    z-index: 6;
    grid-area: 5/1/11/7;
}

.item3 {
    z-index: 5;
    grid-area: 4/6/11/13;
}

.item4 {
    grid-area: 2/-1/8/-7;
}

.item5 {
    z-index: 10;
    grid-area: 7/-3/10/-6;
}

.item6 {
    z-index: 6;
    grid-area: -1/3/-9/11;
}

.item7 {
    z-index: 6;
    grid-area: -3/-2/-9/-8;
}

.grid-container > * {
    transition: all 0.5s;
}

    .grid-container > *:hover {
        z-index: 99;
        transform: scale(1.3);
    }