@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

:root{
    --green:#27ae60;
    --black:#192a56;
    --light-color:#666;
    --box-shadow:0 .5rem 1.5rem rgba(0,0,0,.1);
    --yellow:#faa41a;
}

*{
    font-family: 'Nunito', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none; border:none;
    transition: all .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 5.5rem;
    scroll-behavior: smooth;
}

section{
    padding:2rem 9%;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    font-size: 1.7rem;
    color:#fff;
    background: var(--yellow);
    border-radius: .5rem;
    cursor: pointer;
    padding:.8rem 3rem;
}

.btn:hover{
    background: var(--green);
    letter-spacing: .1rem;
}


.sub-heading{
    text-align: center;
    color:var(--green);
    font-size: 2rem;
    padding-top: 1rem;
  }
  
  .heading{
    text-align: center;
    color:var(--black);
    font-size: 3rem;
    padding-bottom: 2rem;
  }
  
  header{
      position: fixed;
      top:0; left: 0; right:0;
      background: #fff;
      padding:1rem 7%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 1000;
      box-shadow: var(--box-shadow);
  }
  
  header .logo{
      color:var(--black);
      font-size: 2.5rem;
      font-weight: bolder;
  }
  
  header .logo i{
      color:var(--green);
  }
  
  header .navbar a{
      font-size: 1.7rem;
      border-radius: .5rem;
      padding:.5rem 1.5rem;
      color:var(--light-color);
  }
  
  header .navbar a.active,
  header .navbar a:hover{
      color:#fff;
      background: var(--green);
  }
  
  header .icons i,
  header .icons a{
      cursor: pointer;
      margin-left: .5rem;
      height:4.5rem;
      line-height: 4.5rem;
      width:4.5rem;
      text-align: center;
      font-size: 1.7rem;
      color:var(--black);
      border-radius: 50%;
      background: #eee;
  }
  
  header .icons i:hover,
  header .icons a:hover{
      color:#fff;
      background: var(--green);
      transform: rotate(360deg);
  }
  
  header .icons #menu-bars{
      display: none;
  }

  header .navbar .sub_menu a{
    font-size: 1.7rem;
    border-radius: 0;
    padding:0;
    color:var(--light-color);
}




.burger{
    height: auto;
    width: 100%;
    background-color: #fff;
    position: fixed;
    z-index: 999999;
    margin: auto;
    text-align: left;
    font-size: 4em;
    padding: 50px;
    display: none;
    transition-delay: 2s;
    
}

.burger img{
    padding-bottom: 3%;
}

.burger a{
    color: #27ae60;
    text-align: left;
    font-weight: bold;
}

.ico{
    text-align: right;
    margin-top: 10%;
}





 .sub_menu{
	position: absolute;
	background: #fff;
	width: 100%;
    
	left: 0;
	top: 75px;
	padding: 40px 30px;
	display: flex;
	justify-content: space-around;
	visibility: hidden;
	line-height: 20px;
    flex-wrap:wrap;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
}


.sub_menu a:hover{
   background: none;
   letter-spacing: normal;
   padding: 0;
}


.sub_menu .col img{
	width: 90px;
	height: 90px;
	display: block;
    visibility:hidden;
    border-radius: 10%;
}
.sub_menu .col img:hover{
	box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.sub_menu p{
	color: #666;
	margin-top: 10px;
	font-size: 14px;
    text-align: center;
    visibility: hidden;
}





.sub_menu:hover{
    visibility:visible;

}

.sub_menu:hover .col img{
    visibility: visible;
}
.sub_menu:hover p{
    visibility: visible;
}


.nope:hover + .sub_menu {
    visibility: visible;
}

.nope:hover + .sub_menu .col img{
    visibility:visible;
}
.nope:hover + .sub_menu p{
    visibility:visible;
}






.sub_menu h4{
	color: #ca914e;
}





 




  .background{
    
    width: 100%;
    height: 79vh;
    background: 
    url(./images/thomas-jensen-h3vT1Kp0FxA-unsplash.jpg)
    no-repeat center center / cover
    ;
    background-attachment: fixed;
  }

  .heading{
    text-align: center;
    color:var(--black);
    font-size: 6rem;
    padding-top: 2%;
    text-transform: capitalize;
    padding:2rem 9%;
    
}







  .blog{
    padding:4rem 18%;
    width: 100%;
    height: auto;
    font-size: 2em;
    color: #666;
    text-align: left;
  }

.rep{
    padding:4rem 15%;
}

  .reply{
      color: #192a56;
      font-size: 4.2em;
  }


  .inputBox textarea{
    margin-top: 2%;
    width: 100%;
    padding: 10px;
    font-size: 1em;
    outline: none;
    border: 0.5px solid #333;
    resize: none;
    min-height: 150px;
    margin-bottom: 10px;
    font-size: 2em;
    color: #666;
    text-align: left;
}


.inputBox input[type="submit"]{
    background-color: #27ae60;
    border-radius: 0.5rem;
    color: #fff;
    border: none;
    font-size: 1.5em;
    max-width: 250px;
    font-weight: 500;
    cursor: pointer;
    padding: 14px 20px;
}








































  

.footer{
    margin-top: 10rem;
}

.footer .box-container{
   
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:5rem;
}

.footer .box-container .box h3{
    padding:.5rem 0;
    font-size: 2.5rem;
    color:var(--black);
}




.footer .box-container .box a{
    display: block;
    padding:.5rem 0;
    font-size: 1.5rem;
    color:var(--light-color);
}
.footer .box-container .box span{
    display: block;
    padding:.5rem 0;
    font-size: 1.5rem;
    color:var(--light-color);
}

.footer .box-container .box a:hover{
    color:var(--green);
    text-decoration: underline;
}



.footer .credit{
    text-align: center;
    border-top: .1rem solid rgba(0,0,0,.1);
    font-size: 2rem;
    color:var(--black);
    padding:.5rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.footer .credit span{
    color:var(--green);
}


/* media queries  */

@media (max-width:991px){

    html{
        font-size: 55%;
    }
    
    header{
        padding:1rem 2rem;
    }

    section{
        padding:2rem;
    }


}

@media (max-width:768px){

    header .icons #menu-bars{
        display: inline-block;
    }

    header .navbar{
        position: absolute;
        top:100%; left:0; right:0;
        background:#fff;
        border-top: .1rem solid rgba(0,0,0,.2);
        border-bottom: .1rem solid rgba(0,0,0,.2);
        padding:1rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }


}