@font-face {
  font-family: 'Lato-Black';
  src: url('../fonts/Lato/Lato-Black.ttf');
}
@font-face {
  font-family: 'Roboto-Light';
  src: url('../fonts/Roboto/Roboto-Light.ttf');
}

  @font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Black.ttf');
  }
  .head123{
    font-family: Roboto;
  }
.fade-menu {
    background-color: rgba(255, 255, 255, 0.9); /* Adjust the transparency as needed */
    position: fixed;
    top: -70px; /* Negative value to initially hide the menu */
    width: 100%;
    z-index: 1000;
    transition: top 0.3s ease-in-out, background-color 0.3s ease-in-out;
  }
  .fade-menu.show {
    top: 0;
  }
  .page-content {
    margin-top: 10px; /* Adjust this value to match your menu height */
  }
  
.nav-item .nav-link{
  font-size: 22px!important;
  font-weight: 500;
  color: #015301!important;
}
  .nav-item .nav-link:hover{
    color: #ff5e4e!important;
    
  }
  .navbar1{
    opacity: 0.92;
  }
  
  .menu-border:hover{
    border-width: 0px 0px 3px 0px!important;
    
    border-width: 0px 0px 3px 0px!important;
    border-color: green!important;
   
  }
  .menu-line{
    border-color: rgb(157, 221, 157);
    border-width: 0px 0px 0px 2px!important;
    border-style: solid;
    top: -30px;
    position: relative;
    width: -30px;
  }
  h1{
    font-family:Lato-Black ;
  }
  .icon{
    font-size: 60px;
    padding-bottom: 30px;
  }
  .dashboard{
    line-height: 2; 
    color: white; 
    padding: 40px; 
    background-color: rgb(17, 126, 17); 
    
  }
  .heading{
    font-family: Lato-Black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .head-bor{
    width: 85px;
    height: 1px;
    display: block;
    background-color: green;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
  }
  .section1{
    line-height: 2; 
    color: white; 
    padding: 20px; 
    background-color: #015301; 
    height: 600px;
  }
  .section2{
    line-height: 2; 
    color: white; 
    padding: 40px; 
     
    
  }
  .icon1{
    font-size: 80px;
    padding-bottom: 10px;
  }
  .heading h1{
    font-size: 25px;
  }
  .footer1{
    background-color: #222222;
    padding: 5px;
  }
  .footer1 .heading{
    color:white;
    font-family: Roboto;
  }
  .footer1 .content{
    color:white;
    line-height: 2;
    padding-left: 30px!important;
  }
  /* ***************************** */
  /* carousel */
  /* ************************************** */
  .carousel {
    position: relative;
  }
  
  .slide {
    position: relative;
    text-align: center; /* Center the content horizontally */
  }
  
  .slide img {
    max-width: 100%;
    height: auto;
  }
  
  .caption {
    position: absolute;
    top: 50%; /* Position from the top edge of the slide */
    left: 50%; /* Position from the left edge of the slide */
    transform: translate(-50%, -50%); /* Center the caption using negative margins */
    background-color: #1f1f1f!important;
    opacity: 0.7;
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 80%; /* Adjust the width as needed */
  }
  
  .caption h3 {
   
    margin: 0;
    font-size: 2.5rem;
  }
  
  .caption p {
  
    margin: 5px 0;
    font-size: 1rem;
  }
  /* forms */
  .form-control{
  
    border: 1px solid green!important;
  }
  /* ****************************** */

  .imgshake:hover {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
  }
  
  @keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }

  .rotate {
    animation: rotation 8s infinite linear;
  }
  
  @keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
  }

  .headstyle{
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#649952+0,1b7c00+100 */
background: #649952; /* Old browsers */
background: -moz-linear-gradient(left,  #649952 0%, #1b7c00 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  #649952 0%,#1b7c00 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  #649952 0%,#1b7c00 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#649952', endColorstr='#1b7c00',GradientType=1 ); /* IE6-9 */

        padding: 20px 0px;
        color:white;

    }