@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --green:#05846a;
    --black:#444;
    --white:#e9f7f7;
    --lightgreen:rgb(46, 160, 46);
    --blue:rgb(15, 15, 119);
    --light-color:#777;
    --box-shadow:.5rem .5rem 0 rgba(22,160,133,.2);
    --text-shadow:.4rem .4rem 0 rgba(0,0,0,.2);
    --border:.2rem solid var(--green);
    font-family: Arial, Helvetica, sans-serif;

}

*{
    font-family: "Poppins", sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border: none;
    text-transform: capitalize;
    transition: all .2s ease-out;
    text-decoration: none;
}


html{
    font-size:90% ;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;

}
    
section{
    padding: 2rem 5%;
}

.nav-div{
    width: 100%;
    min-height: 40px;
    background-color: var(--green);
    color: #fff;
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0 10px 0 10px;

}

.nav-div .location span ,.time span{
    text-transform:none;
    font-weight:normal;
}

.heading{
    text-align: center;
    padding-bottom: 2rem;
    text-transform: uppercase;
    color: var(--black);
    font-size: 3rem;
    letter-spacing: .4rem;
}

.heading span{
    text-transform: uppercase;
    color: var(--green);
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    padding: .7rem;
    border:var(--orange);
    border-radius: .5rem ;
    background-color:var(--lightgreen);
    color: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
    margin-top: auto;
    align-self: flex-start;
}

.btn span{
    padding: 0.5rem 0.5rem;  
    border-radius: .5rem;
    background: var(--lightgreen);
    color: #fff;
    margin-left: .5rem;
}

.btn:hover{
    background: var(--lightgreen);
    color: #fff;
}

.btn:hover span{
    color: var(--green);
    background: #fff;
    margin-left: 1rem;
}

.header{
    padding: 1rem 5%; 
    top:0; left:0; right: 0;
    z-index: 1000;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff; 
}

.header .logo{
    font-size:1.5rem;
    color:var(--black);
    display:flex;
    align-items: center;
}

.header .logo img{
    width: 50px;
    height: 60px;
    
}

.header .navbar a{
    font-size: 1.0rem;
    color: var(--light-color);
    margin-left:2rem;
}


.header .navbar a:hover{
    color: var(--green);
    font-size: 1.2rem;
}

#menu-btn{
    font-size: 1.5rem;
    border-radius: .5rem;
    background:#eee;
    color: var(--green);
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: none;
}

.icon1{
    color: var(--blue);
    display: flex;
    gap: 25px;
    font-size: 1.5rem;
    align-items: center;
    cursor: pointer;

}


.sec1{
    display:flex;
    gap: 0.5rem;
    background-color:#fff;
    padding: 20px;
    margin-top: 1rem;  
}


.left{
    padding: 20px;
    background:var(--white);
    margin: 2rem;
    border-radius: .5rem;
}

.left span{
    color: var(--light-color);
}

.myBtnContainer{
    flex: 10%;
}


.container{
    overflow: hidden;
    background-color: var(--white);
    flex: 90%;
    gap: 1rem;
    padding: 20px;
}



.container .section{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem,1fr));
    background-color:#fff;
    margin-bottom: 30px;
}

.container h2{
    border-bottom: 1px solid black;
}

.container p{
    padding: 10px;
}

.container .section .fpart{
    display: flex;
    flex-direction: column;
}

.container .section .spart{
    display: flex;
     flex-direction: column;
}


.filterDiv{
    float:left;
    background-color:var(--white);
    color:#333;
    display: none; /* Hidden by default */
}

.container .section .time{
    margin: 15px;
    padding-bottom: 10px;
    border-bottom: 5px solid black;
    border-bottom-width:thin ;
    width: 100%;

}

.container .section .time p{
color: black;
font-weight: bold ;
}

.container .section i{
    align-items: center;
    display: flex;
    padding-left: 20px;
}

.container .section .time span{
    font-size: small;
}

.container .section .div1{
    margin: 15px;
    padding-bottom: 10px;
    border-bottom: 5px solid black;
    border-bottom-width:thin;
    width: 100%;
}

.container .section .div1 p{
    color: black;
    font-weight: bold ;
}

.container .section .spart span{
   font-weight:400;
   font-size:small;
}



  /* The "show" class is added to the filtered elements */
  .show {
    display:table-row;
    margin-bottom: 30px;
  }
  
  
  /* Style the buttons */
  .btn{
    border: none;
    outline: none;
    padding:10px;
    background-color:var(--green);
    cursor: pointer;
    margin: 10px;
    font-size: small;
    box-shadow: none;
    color: #fff;

  }
  
  /* Add a light grey background on mouse-over */
  .btn:hover {
    background-color: #ddd;
  }
  
  /* Add a dark background to the active button */
  .btn.active {
    background-color:var(--green);
    color: white;
    width: 95%;
  }


  .locate{
    border: none;
    outline: none;
    padding:10px;
    background-color:var(--green);
    cursor: pointer;
    margin: 10px;
    box-shadow: none;
    border-radius: .5rem;
    color: #fff;
  }
  
  /* Add a light grey background on mouse-over */
  .locate:hover {
    background-color: #ddd;
}
  





.tests .box-container .boxs{
    background-color: var(--white);
    line-height: 2rem;
    padding: 15px;
}

.tests .box-container .boxs h2{
    color:black;
    font-size:x-large;
}

.hometests .box-container .boxs{
    background-color: var(--white);
    line-height: 2rem;
    padding: 15px;
}

.hometests .box-container .boxs h2{
    color:black;
    font-size:x-large;
}





















.footer{
    background-color: var(--white);
}


.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem,1fr));
    gap:2rem;
}

.footer .box-container .box h3{
    font-size: 2rem;
    color: black;
    padding: 1rem 0;
}

.footer .box-container .box a{
    display: block;
    font-size: 1rem;
    color: var(--light-color);
    padding: 1rem 0;
}

.footer .box-container .box a i{
    padding-right: .5rem;
    color: var(--blue);
}

.footer .box-container .box a:hover i{
    padding-right: 2rem;

}

.footer .credit{
    padding: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 2rem;
    color: var(--light-color);
    border-top: .1rem solid rgba(0,0,0, .1);
}

.footer .credit span{
    color: var(--green);

}


.top img {
    position: fixed !important;
    right: 10px;
    bottom: 20px;      
    margin-right:10px;
    /* visual styling */
    text-decoration: none;
    font-family: sans-serif;
    white-space: nowrap;
    width: 50px;
    height:50px;
    opacity: 1;
    z-index: 999;
}

.top img:hover{
    transform: scale(1.1);
}


/* Slideshow container */
.container .slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}


/* Number text (1/3 etc) */
.container  .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.container .dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.container .active {
  background-color: #717171;
}

/* Fading animation */
.container .fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}



/* Slideshow container */
.container .slide-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.container .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/7 etc) */
.container  .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.container .dots {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.container .active {
  background-color: #717171;
}

/* Fading animation */
.container .fades {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fades {
  from {opacity: .4} 
  to {opacity: 1}
}


.tests .box-container .boxs{
    background-color: var(--white);
    line-height: 2rem;
    padding: 15px;
}

.tests .box-container .boxs .title{
    background-color: var(--green);
    color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: .5rem;
}

.hometests .box-container .boxs{
    background-color: var(--white);
    line-height: 2rem;
    padding: 15px;
}

.hometests .box-container .boxs .title{
    background-color: var(--green);
    color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: .5rem;
}


 .tests .box-container .boxs .title h2{
    color: #fff;
}

.hometests .box-container .boxs .title h2{
    color: #fff;
}






.footer{
    background-color: var(--white);
}


.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem,1fr));
    gap:2rem;
}

.footer .box-container .box h3{
    font-size: 2rem;
    color: black;
    padding: 1rem 0;
}

.footer .box-container .box a{
    display: block;
    font-size: 1rem;
    color: var(--light-color);
    padding: 1rem 0;
}

.footer .box-container .box a i{
    padding-right: .5rem;
    color: var(--blue);
}

.footer .box-container .box a:hover i{
    padding-right: 2rem;

}




.top img {
    position: fixed !important;
    right: 10px;
    bottom: 20px;      
    margin-right:10px;
    /* visual styling */
    text-decoration: none;
    font-family: sans-serif;
    white-space: nowrap;
    width: 50px;
    height:50px;
    opacity: 1;
    z-index: 999;
}

.top img:hover{
    transform: scale(1.1);
}












/*media quries */
@media (max-width:991px){

    html{
        font-size:55%;
    
    }
    .header{
        padding: 2rem;
    }

    section{
        padding:2rem;
    }
}

@media (max-width:768px){
    #menu-btn{
        display:initial;
    }

    .header .navbar{
        position: absolute;
        top: 135px; right:.2rem;
        border-radius: .5rem;
        box-shadow: var(--box-shadow);
        width: 30rem;
        border:var(--border);
        background: #fff;
        transform: scale(0);
        opacity: 0;
        transform-origin: top right;
        transition: none;
    }

    .header .navbar.active{
        transform: scale(1);
        opacity: 1;
        transition: .2s ease-out;
    }

    .header .navbar a{
        font-size: 2rem;
        display: block;
        margin:2.5rem;
    }
    .sec1{
        flex-direction: column;
    }

    .myBtnContainer{
        max-height: 95vh;
        
    }
    .container{
        margin-left: 0;
        margin-top: 10px;
       
    }
    
    .smyBtnContainer,.container{
        flex: 1;
    }
    #root{
        height: 100vh;
    }

    .container .section{
    display: flex;
    flex-direction: column;
}

   


}
@media (max-width:450px){

    html{
        font-size:50%;  
}
}
