
.subNav{
    display: flex;
    background-color: rgb(0, 0, 0);
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.heroDiv{
    background-color: rgba(135, 207, 235, 0);
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;

}

.header{
    font-size: calc(3vw + 10px);
    font-weight: bolder;
    text-align: center; 
    color: rgba(255, 255, 255, 0.658);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 10px;

    text-shadow:
        0 0 5px #00ccff,
        0 0 15px #00ccff,
        0 0 30px #008cff;
    animation: glow 1.5s ease-in-out infinite alternate;
}

.heroDiv > div{
    padding: 20px;    
    backdrop-filter: blur(10px);
    background-color: rgba(7, 158, 218, 0.253);

    border-radius: 20px;
    border: rgb(255, 255, 255) solid 2px;
    
    min-height: 70vh;

    display: flex;
    flex-direction: column;

    justify-content: space-around;
}

.heroDiv > div > div {
    /* width: 100%; */
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.heroDiv > div > div > button{
    flex-basis: 15%;
    flex-shrink: 1;
    font-size: calc(1vw + 20px);
    border-radius: 10px;
    color: rgb(255, 255, 255);
    background-color: white;
    border: #00eaff solid 2px;
    box-shadow: 0 0 15px #00eaff;
    background-color: rgba(0, 0, 0, 0.582);
}
.heroDiv > div > div > button:hover{
    box-shadow: 0 0 30px #00ff88;
    border: #48ff00 solid 1px;
    color: #ffffff;
    transition: .1s ease-in-out;
    transform: scale(1.1);
}

.data{
    font-size: calc(2vw + 10px);
    font-weight: bolder;
    text-align: center; 
    color: rgb(255, 255, 255);
}


.section1{
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.2);
}

.section1 > div{
    background-color: #008cffcc;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.section1 > div:hover{
    transform: scale(1.1);
    box-shadow: 0 0 10px skyblue;

    align-items: center;
    justify-content: center;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 20px skyblue;
}

#sec1Img{
    background-image:url(/res/img/sec1img.jpeg) ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
}

#sec2Img{
    background-image:url(/res/img/sec2img.jpg) ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
}

#sec1Img:hover .secRbtn{
    transform: scale(1.2);
    box-shadow: 0 0 20px #02aaf8;
}
#sec2Img:hover .secbtn{
    transform: scale(1.2);
    box-shadow: 0 0 20px #ffffff;
}
#sec1Img:hover ,#sec2Img:hover {
    align-items: center;
    justify-content: center;
}


.secbtn{
    background-color: white;
    color: rgb(11, 169, 231);
    font-size: calc(1vw + 10px);
    border-radius: 10px;
    border: white solid 1px;
}

.secRbtn{
    background-color: rgb(11, 169, 231);
    color: white;
    font-size: calc(1vw + 10px);
    border-radius: 10px;
    border: white solid 2px;
}
.header2{
    font-size: calc( 2vw + 10px);
    font-weight: 700;
    color: white;
    text-align: center;
}
.text{
    font-size: calc( 1vw + 10px);
    font-weight: 700;
    color: white;
}



@media (max-width: 617px){
    .heroDiv > div{
        margin: 0px;
    }
    .heroDiv > div > div {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    .section1{
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr;
    }
    #sec1Img >.secRbtn{
    transform: scale(1.2);
    box-shadow: 0 0 20px #02aaf8;
    }
    #sec2Img > .secbtn{
        transform: scale(1.2);
        box-shadow: 0 0 20px #ffffff;
    }
    #sec1Img ,#sec2Img {
        align-items: center;
        justify-content: center;
    }

}

@keyframes navLoad {
    0% {
        opacity: 0;
        transform: translate(50%,0) scale(.5) ;
    }
    50% {
        opacity: 1;
        transform: translate(0,0) scale(1);
        background-color: rgba(0, 0, 0, 0);
    }
    100%{
        background-color: rgba(0, 0, 0, 0.096);
    }
}

#mainNav {
    animation: navLoad 2s ease-out forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.heroDiv > div {
    animation: heroFadeIn 1.2s ease-out forwards;
}

@keyframes glow {
    0% {
        text-shadow:
            0 0 5px #00ccff,
            0 0 10px #00ccff,
            0 0 20px #008cff;
        transform: scale(1);
    }
    100% {
        text-shadow:
            0 0 10px #00eaff,
            0 0 25px #00eaff,
            0 0 40px #00aaff;
        transform: scale(1.03);
    }
}

@keyframes sectionSlide {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section1 {
    animation: sectionSlide 1s ease-out forwards;
}

@keyframes logoDrop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subNav {
    animation: logoDrop 0.6s ease-out forwards;
}