*{
    margin: 0;
    padding:0;
    box-sizing:border-box;
    text-decoration: none;
    list-style: none;
}
html{
    scroll-behavior: smooth;
}



body{
    /* background: radial-gradient(circle, rgba(20,20,30,1) 0%, rgba(0,0,10,1) 80%);   */
    background: radial-gradient(circle, rgb(2, 6, 40,3) 10%, rgb(0, 0, 23,9) 80%);  
    height: 100vh;
}

    /* Colors */

:root {
    --white-color :#fff;
    --black-color:#000;
    --hover-color:rgb(24, 168, 232);
    --primary-color: rgb(36, 64, 153);
    --secondary-color :rgb(37, 99, 235);
    --ternary-color:rgb(28, 128, 239);
    --btn-color:rgb(4, 4, 8);
    --para-color:rgb(123, 124, 127);
}

    /* Typography */

:root{
    /* Font- size */
    --ft-xsm-size:0.8rem;
    --ft-sm-size:1rem;
    --ft-nor-size:1.2rem;
    --ft-md-size:1.5rem;
    --ft-lg-size:2.2rem;
    --ft-xlg-size:3rem;
    /* Font- weight */
    --ft-sm-wt:600;
    --ft-md-wt:700;
    --ft-lg-wt:800;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 10, 1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgb(24, 168, 232), rgb(28, 128, 239), rgb(37, 99, 235), rgb(36, 64, 153));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgb(36, 64, 153), rgb(37, 99, 235), rgb(28, 128, 239), rgb(24, 168, 232));
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 10, 1);
}


/* nav-bar */
#nav-bar{
    border-bottom: 1px solid rgb(43, 43, 49);
}
#container{
    max-width: 1200px;
    margin:0 auto;
    padding:0 1rem;
}

#logo{
    font-size: var(--ft-lg-size);
    font-weight: var(--ft-md-wt);
    color:var(--white-color);
    cursor: pointer;
}
.web-logo{
    width:1.8rem;
    height:2rem;
}

#logo span{
    color:var(--ternary-color);
}

#navbarSupportedContent{
    justify-content: end;
    text-align: center;
}

.navbar-nav{
    gap:1.5rem;
    font-size: var(--ft-nor-size);
    font-weight: var(--ft-sm-wt);
}

.nav-icon{
    background-color: var(--ternary-color);
    padding:0.3rem;
    border-radius:2px;
}

.nav-icon svg{
    color: #fff;
    width: 2.3rem;
    padding-bottom:0.25rem;
}


.nav-link{
    color: var(--white-color) !important;
}
.nav-link.active{
    color: var(--ternary-color) !important;
}

.nav-link:hover{
    color:var(--ternary-color)! important;
}

/* Hero-section */

.hero-container{
    display: grid;
    grid-template-columns: 1fr max-content;
    justify-content: center;
    align-items: center;
    gap:2rem;
    padding:8rem 0;
}

.hero-title{
    font-size: var(--ft-xlg-size);
    font-weight: var(--ft-md-wt);
    color:var(--secondary-color);
    padding-bottom:2rem;

}

.hero-subtitle{
    font-size: var(--ft-lg-size);
    font-weight: var(--ft-sm-wt);
    color: var(--white-color);
    max-width:580px;
    line-height: 3rem;
    padding-bottom:2rem;
}



.hero-description{
    font-size: var(--ft-nor-size);
    font-weight: var(--ft-sm-wt);
    max-width:600px;
    color: rgb(123, 124, 127);
}



.check-btn{
    border: none;
    background-color:var(--btn-color) ;
    color:var(--white-color);
    border-radius: 25px;
    border:1px solid var(--hover-color);
    padding:0.5rem 1.5rem;
    cursor: pointer;
    text-decoration: none;
}

.hero-container b{
    color:var(--white-color);
}


.hero-img{
    width:400px;
    height:400px;
    border-radius: 50px;
}

/* Analysis Section */
.analysis-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding:7rem 0;
}

.video-base{
    display: none;
}

#uploadedVideo{
    aspect-ratio: 4/3;
    width: 100%;
}
.upload-base{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.upload-btn{
    padding: 4rem 8rem;
    background-color: transparent;
    border: 2px dashed #f0f0f0a7;
    border-radius: 1rem ;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
}
.upload-btn svg{
    width: 4rem;
    color: #ffffff46;
    stroke-width: 1px;
}
.upload-btn p{
    color: #ffffffc9;
}
#uploadText{
    text-wrap: nowrap;
}

/* Media Query */

@media (max-width:1200px){
 

    .nav-link:hover{
        color:var(--ternary-color)! important;
    }
    .hero-img{
        width:390px;
        height:390px;
    }   
    .check-btn-div{
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width:992px){
    .hero-container{
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-content: center;
        padding-top:5rem;

    }
    .hero-container .hero-info{
        order:2;
        justify-content: center;
        align-items: center;
    }
    .hero-img-div{
        display: grid;
        align-items: center;
        justify-content: center;
    }
    .hero-img{
        width:550px;
        height: 450px;
    }
    .hero-title{
        text-align: center;
    }
    .hero-subtitle{
        line-height: 2.5rem;
        font-size: var(--ft-md-size);
        text-align: center;
        max-width: none;

    }
    .hero-description{
        max-width: none;
        text-align: justify;
    }   
}

@media (max-width:768px){
    .hero-img{
        width:500px;
        height:400px;
    }

    #uploadedVideo{
        aspect-ratio: 12/11;
        width: 100%;
    }
    .upload-btn{
        padding:4rem 6rem;
    }
}

@media(max-width:576px){
    .hero-title{
        font-size: var(--ft-lg-size);   
    }
    .hero-img{
        width:300px;
        height:300px;
    }
    #uploadedVideo{
        aspect-ratio: 10/9;
        width: 100%;
    }
    .upload-btn{
        padding:1rem;
    }
}

