*{
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
    scroll-behavior: smooth;
    
}
#navbar{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    background-color: rgba(247, 253, 246, 0.634);
     display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 999;
    
    

}
#navbar  img{
width: 140px;
height: 10vh;
display: flex;
justify-content: center;
align-self:center;
padding-left: 10px;
margin-bottom: 10px;
margin-left: 20px;
padding-top: 10px;
    
}
#navbar h1{
    font-family: Georgia, 'Times New Roman', Times, serif;
     font-size: 30px;
  font-weight:bolder;
  display: flex;
  justify-content: center;
align-items: center;
margin-right: 50%;

}

#navbar  ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-right: 40%;
    padding-bottom: 0px;

    
}
#navbar nav ul li{
    list-style: none;
    text-decoration: none;
    font-weight: lighter;
    font-size: larger;
    
    
}
#navbar nav ul li a{
    color: rgb(9, 6, 6);
    text-decoration: none;
}
#navbar nav ul li a:hover{
color: white;
font-size: larger;
transition: 0.5s ease;
text-decoration: wavy;
}
#firstpage{
    background-color: rgb(248, 246, 246);
    width: 100%;
    height: 100vh;

  
}
.aa{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(13, 57, 5, 0.634);
    width: 100%;
    height: 90vh;
    background-position: center;
    border-bottom-left-radius: 80px;
   border-bottom-right-radius: 80px;
}
.aa video{
    display: flex;
   width: 600px;
   border-top-left-radius: 30%;
   margin-top:  50%;
   padding-right: 60px;
   border-bottom-right-radius: 30%;
   
    

}
.aa h2{
    display: flex;
    font-size:80px;
    text-transform: uppercase;
    margin-right: 30px;
    padding-bottom: 20%;
    
    
}
.btn{
    margin-left: 10%;
    background-color: rgba(13, 57, 5, 0.171);
    padding: 10px;
}

.btn a{
   font-size: 30px;
   text-decoration: none;
   font-family: Georgia, 'Times New Roman', Times, serif;
   color: rgba(90, 79, 79, 0.642);
   background-color: rgba(225, 231, 223, 0.877);
   
   

}
.btn a:hover{
    background: white;
    color: black;
    border: 4px black solid;
    transition: 2s ease;
  transition: 2s;
  font-size: 35px;

}
#secondpage{
    width: 100%;
    height: 100vh;
background-color: rgba(13, 57, 5, 0.634);
    display: flex;
    padding-left: 9%;
    padding-top: 7%;
    border-top-left-radius: 10%;
    border-top-right-radius: 10%;


}


.box img{

    width: 400px;
    height: 300px;
    border-radius: 13px;
    cursor: pointer;
    margin: 10px;
    transition: 400ms;
    box-shadow: 4px 7px 7px 0px rgb(43, 42, 42);
}
.box img:hover{
    transform: scale(1.07);
}

#thirdpage{
    width: 100%;
    height: 100vh;
    background-color: rgba(13, 57, 5, 0.634);
    margin-top: 7%;
    border-bottom-left-radius: 7%;
    border-bottom-right-radius: 7%;
   
}
#navbar nav ul {
    scroll-behavior: smooth;
}
.ph img{
    display: flex;
    margin-top: 5.3%;
    border-bottom-left-radius: 20%;
    filter: contrast(1);
    position: absolute;
    z-index: 1;
    
    
}
.ph h5{
    font-size: 40px;
    margin-left: 48%;
    display: flex;
padding-top: 3%;
}
.ph .bo{
    width: 900px;
    height: 70vh;
    background-color: rgba(13, 57, 5, 0.171);
    margin-left: 25%;
    margin-top: 8%;
    padding: 10px;
}
#thirdpage .bo p{
    font-size:34px;
}
#thirdpage .bo p:hover{
    font-size:34px;
    background-color:white ;
    transition:2s ease;
 box-shadow: 4px 7px 7px 0px rgb(43, 42, 42);
}
    
#fourthpage{
    width: 100%;
    height: 100vh;
    background-color: rgba(13, 57, 5, 0.634);
    margin-top: 7%;
    border-top-left-radius: 10%;
    border-top-right-radius: 10%;
  
}
#fourthpage h3{
    font-size: 40px;
    display: flex;
    margin-left: 35%;
    padding-top: 3%;
}
.form{
    margin-left: 30%;
    margin-top: 5%;
    font-size: 28px;
    color: white;
    width: 600px;
    gap: 10%;
    border: 2px solid black;
    padding: 3%;

}

.form:hover{
    color: black;
    background-color: white;
    transition: 1s ease;
    transform: scale(1.1);
 box-shadow: 9px 9px 9px 0px rgb(43, 42, 42);

}
.sub{
    font-size: 20px;
    border-radius: 10px;
    margin-left: 30%;
    padding: 10px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.sub:hover{
    background-color: rgba(13, 57, 5, 0.634);
    color: white;
    border: 3px rgb(10, 10, 10) solid;
    font-size: 25px;
    transition: 1s ease;
    
}


@media (max-width: 768px) {
  #navbar {
    height: auto;
    flex-wrap: wrap;
    padding: 10px;
  }

  #nav-links {
    display: none;
    width: 100%;
  }
  #nav-links.active {
    display: block;
  }

  #nav-links ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 15px 0;
    
    
  }

  #nav-links ul li a {
    display: block;
    font-size: 18px;
    padding: 10px;
    background: rgba(13, 57, 5, 0.2);
    border-radius: 6px;
    
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    margin-left: auto;
  }

  .aa {
    flex-direction:column-reverse;
    height: auto;
    padding: 20px;
    text-align: center;
  }
  .btn{
    margin-right: 10%;
  }
  .aa h2 {
    font-size: 28px;
    margin-top: 50%;
    flex-direction: column-reverse;
  }
  .aa video {
    width: 100%;
    border-radius: 12px;
    margin-left: 30px;
    margin-top: 40%;
    flex-direction: column-reverse;
  }

  #secondpage {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    height: auto;
  }
  .box img {
    width: 100%;
    max-width: 350px;
    height: auto;
  }


  .ph h5 {
    font-size: 24px;
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }
  .ph img {
display: none;
  }
  .ph .bo {
    width: 90%;
    height: auto;
    margin: 20px auto;
    font-size: 18px;
    margin-top: 20%;
  }
  #thirdpage .bo p {
    font-size: 18px;
  }


  #fourthpage h3 {
    font-size: 24px;
    text-align: center;
 margin-left: 50px;
 
  }
  .form {
    width: 90%;
    margin: 20px auto;
    font-size: 18px;
    padding: 15px;
  }
  .form input {
    width: 100%;
    padding: 8px;
    margin-top: 8px;
  }
  .sub {
    font-size: 18px;
    padding: 10px 15px;
    margin: 20px auto;
    display: block;
  }
}
