* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: black;
    font-weight: 600;
    
}


.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 8rem;
    padding-left: 7rem;
}

.navbar .left img{
    width: 100px;
    height: 100px;
}

.navbar .left{
    padding-top: 3rem;
}

.navbar .right{
    padding-top: 1.8rem;
    display: flex;
    align-items: center;
    gap: 6rem;
}

.navbar .right a{
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
}

.navbar .right a:hover{
    color: #FFCC6D;
    text-decoration: none;
    font-size: 1.3rem;
}

.questions{
    padding-top: 7rem;
    color: white;
    font-size: 1.5rem;
    margin-left: 7rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 5rem;
    animation-name: slideUp;
    animation-delay: 1s;
    animation-duration: 2s;
    font-weight: 400;
}

strong{
  color: #FFCC6D;
  font-weight: 400;
}


.title{
    padding-top: 6rem;
    padding-bottom: 3rem;
    max-width: 85%;
    color: #FFCC6D;
    display: flex;
    font-size: 5.3rem;
    margin-left: auto;
    margin-right: auto;
   
}

.p1{
    color: white;
    max-width: 85%;
    display: flex;
    font-size: 1.5rem;
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
}

.p2{
    color: white;
    margin-top: 2rem;
    max-width: 85%;
    display: flex;
    font-size: 1.5rem;
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
}

.name{
    color: #FFCC6D;
    font-size: 1.5rem;
    font-weight: 600;
}

.explanation1{
    color: white;
    font-size: 1.2rem;
    font-weight: 400;
    transition-duration: 200ms;
}

.explanation{
    color: #808080;
    font-size: 1.2rem;
    font-weight: 400;
    transition-duration: 200ms;
    margin-top: -0.5;
}

.explanation:hover{
    color: white;
    font-size: 1.2rem;
    font-weight: 405;
}

.d{
    
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 85%;
    row-gap: 6rem;
    column-gap: 12rem;
}

.how_to_join_us{
  background-image: url("assets/image(13).png");
  padding-bottom: 5rem;;
}

.divisions{
    
    margin-top: 4.5rem;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(2rem);
    transition: all 1s ease-out;
    transition-delay: 0.2s;
}

.divisions.animate{
    opacity: 1;
    transform: translateY(0);
}


li{
    margin-left: 2rem;
}


a{
    color: #FFCC6D;
    
}


.icons{
    margin-top: 5rem;
    justify-content: center;
    text-align: center;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    gap:15rem;
    padding-bottom: 4rem;
}



.icons img{
    width: 2.3rem;
    height: 2.3rem;
    opacity: 0.7;
    transition-duration: 200ms;
}

.icons img:hover{
    width: 2.33rem;
    height: 2.33rem;
    opacity: 1;
}

.copyright{
    color: white;
    width: 100%;
    display: flex;
    padding-top: 0.2rem;
    padding-bottom: 1rem;
    font-size: 1rem;
    font-weight: 400;
    padding-left: 2rem;
}

 
 
.menu-button {
  position: fixed;
  z-index: 10;
  top: 2rem; 
  right: 1.25rem; 
  background-color: transparent;
  color: white;
  font-size: 1.5rem;
  padding: 0.3rem 0.3rem; 
  border: none;
  cursor: pointer;
  border-radius: 0.3125rem; 
  display: none; 
}

.menu-button:hover {
  color: #FFCC6D;
}

.sidebar {
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap:1rem;
  position: fixed;
  top: 0;
  right: -15.625rem; 
  width: 15.625rem; 
  height: 100%;
  background-color: black;
  color: white;
  padding: 1rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  display: none;
}

.sidebar a {
  font-size: 1rem;
  text-decoration: none;
  color: white;
  margin: 0.5rem 0; 
  padding-top: 1rem;
  padding-left: 1rem; 
}

.sidebar a:hover {
  color: #FFCC6D;
}


.sidebar.open {
  right: 0; 
}



@media (max-width: 1200px) {
   

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); 
      backdrop-filter: blur(5px); 
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      z-index: 9; 
    }
    
    .overlay.visible {
      opacity: 1;
      visibility: visible;
    }
    
    .navbar {
      padding-left: 1.5rem;
      padding-bottom: 0rem;
      }
    
    .navbar .left{
        padding-top: 1rem;
      }
  
    .navbar .left img {
      width: 80px;
      height: 80px;
    }
  
   .navbar a{
    display: none;
   }
  
    .questions {
     font-size: 1.3rem;
      padding-top: 5rem;
      margin-left: 3rem;
      margin-right: 3rem;
      max-width: 85%;
    }
  
    .title {
      font-size: 2.5rem; 
      padding-top: 3rem;
      padding-bottom: 2rem;
      max-width: 85%; 
    }
  
    .p1,
    .p2 {
      font-size: 1.3rem;
      max-width: 85%; 
      margin-left: auto;
      margin-right: auto;
    }
  
    .grid {
      grid-template-columns: 1fr; 
      grid-template-rows: auto;
      row-gap: 3rem;
      column-gap: 0;
      width: 85%; 
    }

  
    .divisions {
      margin-top: 4rem;
      flex-direction: column;
      transition-delay: none;
    }

    .d {
      align-items: center; 
      text-align: justify;
    }
  
    .icons {
      flex-direction: row; 
      gap: 1rem;
      padding-top: 1rem;
      padding-bottom: 2rem;
    }
  
    .icons img {
      width: 2rem;
      height: 2rem;
    }
  
    .copyright {
      font-size: 0.9rem;
      text-align: center;
      padding: 0.5rem 1rem;
    }
  
   .menu-button {
      display: block; 
    }

    .sidebar {
      display:flex;
      width: 12.5rem; 
      }

    .sidebar.open {
      right: 0; 
    }
  }
  


@media (max-width: 768px) {

  .questions{
    font-size: 1rem;
    margin-right: 2rem;
    margin-left: 2rem;
    padding-top: 3rem;
  }

  .explanation1{
    font-size: 1rem;
  }

  .explanation:hover{
    font-size: 1rem;
  }

  .explanation{
    font-size: 1rem;
  }

  .icons {
      flex-direction: row; 
      gap: 1rem;
      padding-top: 0rem;
      padding-bottom: 1rem;
    }

    .p1, .p2{
      font-size: 1rem;
    }

  .bottom{
    padding-top: 3rem;
    padding-bottom: 0.5rem;
  }

  .name{
    text-align: center;
  }


}