/* IMPORT FONT */
  @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,500&display=swap');

:root{
    /* ----COLOURS---- */
    --main-hue-color: 50;
    --bg-color: hsl(352, 100%, 32%);

    --main-color: hsl(var(--main-hue-color), 65%, 31%);
    --lighter-main-color: hsl(var(--main-hue-color), 61%, 76%);


    /* FONTS */

    --quote-font: 'Playfair Display', serif;

     /* ----font weights---- */
     --lg-font: 700;
     --md-font: 500;
     --sm-font: 300;

    /* ---font sizes--- */
    --lg-font-size: 1.2rem;
    --md-font-size: 1.10rem;
    --sm-font-size: .9rem;
    --xs-font-size: .94rem;
    --h1-font-size: 1.8rem;
    --h2-font-size: 1.6rem;
    --h3-font-size: 1.4rem;
    --icon-font-size: .7rem;

    /* ----Margin bottoms--- */
    --mb-lg: 50px;
    --mb-md: 25px;
    --mb-sm: 20px;
}
*{
    margin: 0;
    padding: 0;
    outline: none;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    max-height: 100vh;
    max-width: 100%;
}
/* Nav Menu */
.offcanvas{
    width: 60%;
}
ul{
    list-style-type: none;
}
.brand-opt{
    padding-left: -10px;
    margin-left: -20px;
}
.brand-img{
    width: 150px;
    height: 40px;
}
label{
    font-size: .85rem;
    padding-left: 5px;
}
nav ul{
    padding: 8px;
    color: #fff;
    gap: 1.15rem;
}
nav ul>li{
    font-size: var(--sm-font-size)
}
.navbar{
    z-index: 9;
    width: 100%;
}
nav.sticky{
    position: fixed;
    top: 0;
}
a{
    text-decoration: none;
}
.pull-left{
    float: left;
}
.pull-right{
    float: right;
}
.brand{
    position: relative;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    text-align: center;
}
hr{
    background-color: #fff;
}
.navbar-toggler{
    font-size: .9rem;
}
.navbar-light .navbar-toggler{
    border-color: transparent;
}
.navbar-toggler:focus{
    box-shadow: none;
}
.nav-item a.active{
    color: #fff !important;
    background-color: #000;
    width: fit-content;
    padding: 10px var(--mb-md);
}

/* SECTION ONE */
.section{
    padding: 70px;
    margin: 10px auto !important;
    text-align: center;
}
h1{
    width: 50%;
    margin: 5px auto;
}
.carousel{
    margin-top: 100px;
    border-radius: 30px;
    display: flex;
    height: 410px;
}
.carousel-inner{
    max-height: 100%;
    padding: 20px;
}
.carousel-item{
    padding: 10px 3px;
    border-radius: 30px;
    height: 100%;
    align-items: stretch;
    /* margin: 5px auto !important; */
    /* box-shadow: 10px 20px 18px #adadad; */
}
.quote-img{
    margin: 50px auto;
    /* display: flex;
    align-items: center; */
}
.quote-img>img{
    border-radius: 100%;
    margin: auto auto;
    width: 340px;
    height: 280px;
}
.quote{
    display: flex;
    align-items: center;
    text-align: center;
}
.quotes{
    font-family: var(--quote-font);
    font-size: var(--sm-font-size);
}

/* FORM */
.form-ent{
    display: flex;
    align-items: center;
    text-align: center;
    justify-items: center;
}
/* .form-ent >form>div{
    background-color: orchid;
} */
form{
    margin: -50px auto;
}
.in-active{
    pointer-events: none;
}
form>div{
    text-align: justify;
    font-size: var(--sm-font-size);
    font-weight: var(--md-font);
    letter-spacing: 1px;
}
.form-control{
    width: 500px !important;
    margin-bottom: var(--mb-sm);
}
.btn{
    width: 300px;
    font-weight: var(--md-font) !important;
    letter-spacing: 2px;
}
hr{
    width: 80%;
    border: 2px solid #777777 !important;
}
.hidden-section{
    display: flex;
    align-items: center;
    margin-bottom: var(--mb-lg);
}
.in-visible{
    display: none;
}
.hide{
    display: none !important;
}
.hidden-section div{
    margin: 20px auto;
    width: 100%;
    padding: 10px;
}
.eval-form>p{
    font-weight: var(--lg-font);
}
#btn-help{
    display: none;
    z-index: 99;
    position: fixed;
    bottom: 10%;
    right:10%;
    width: 30px;
    height: 30px;
    border: none;
    font-size: 15px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 3px 3px 10px #000;
}
/* SCORE PAGE */
#user_name{
    text-transform: capitalize;
}
.msg-head{
    text-align: justify;
    font-size: var(--md-font-size);
    margin-bottom: var(--mb-lg);
}
.msg-head>p{
    font-size: var(--sm-font-size);
}
.msg-body>h5{
    font-size: var(--h3-font-size);
}
.msg-body>h4{
    font-size: var(--h1-font-size);
}
/* ANIMATIONS */
@keyframes slow{
    0%{
        opacity: 0;
    }
    50%{
        opacity: .5;
    }
    100%{
        opacity: 1;
    }

}
@keyframes landing{
    0%{
        position: absolute;
        top: -50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    50%{
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
.track{
    animation: 4s slow forwards;
}
.remark{
    animation: 2s landing forwards;
}

/* Large screens */
@media (min-width: 991px){
    :root{
       /* FONTS */
 
     /* ---font sizes--- */
     --lg-font-size: 1.4rem;
     --md-font-size: 1.2rem;
     --sm-font-size: 1.00rem;
     --xs-font-size: .75rem;
     --h1-font-size: 2.0rem;
     --h2-font-size: 1.8rem;
     --h3-font-size: 1.6rem;
     --icon-font-size: .8rem;
 
     /* ----Margin bottoms--- */
     --mb-lg: 30px;
     --mb-md: 20px;
     --mb-sm: 15px;
    }

    .nav-item a.active:hover{
        transform: none !important;
    }
    .nav-item a:hover{
        transform: scale(1.1);
    }
    .carousel-inner{
        border-radius: 30px;
        box-shadow: 10px 20px 18px #adadad;
        border-top: 1px solid #e0dfdf;
        border-left: 1px solid #e0dfdf;
    }
    
}

/* for medium sized devices */
@media screen and (max-width: 990px){
    .brand-img{
        width: 120px;
        height: 30px;
    }
    h1{
        width: 80%;
    }
    .quote-img>img{
        width: 280px;
        height: 230px;
    }
    .form-control{
        width: 300px !important;
    }
    .btn{
        width: 180px;
    }
    .send-btn{
        width: 300px;
    }
}

/* for very small devices and screens */
@media only screen and (max-width: 417px){
    :root{    
        /* ----FONTS--- */
    
        /* ---font sizes--- */
        --lg-font-size: 1.6rem;
        --md-font-size: 1.075rem;
        --sm-font-size: .985rem;
        --xs-font-size: .775rem;
        --h1-font-size: 1.45rem;
        --h2-font-size: 1.3rem;
        --h3-font-size: 1.15rem;
        --icon-font-size: .845rem;
    }
    .navbar-toggler{
        font-size: .7rem !important;
        padding: .25rem .5rem !important;
    }
    .navbar-toggler-icon{
        width: 1rem !important;
        height: 1rem !important;
    }
    .brand-img{
        width: 100px;
        height: 25px;
    }
    h1{
        width: 60%;
    }
    .carousel-inner{
        width: 100px;
    }
    .quote-img>img{
        width: 200px;
        height: 170px;
    }
    .quotes{
        font-family: var(--quote-font);
        font-size: var(--xs-font-size);
    }
    .form-control{
        width: 300px !important;
    }
    #myChart{
        margin-top: -100px;
    }
    .btn{
        width: 130px;
    }
    .send-btn{
        width: 270px;
        font-size: var(--xs-font-size);
    }
    .eval-form{
        display: flex;
        flex-direction: column;
    }
}
