
body{
    width: 100%;
    left: 0px;
    }


.nav{
    background-color: blue;
  position: relative;
  z-index: 2;
  width: 100%;
}

.nav ul {
    list-style: none;
    position: absolute;
    background: blue;
    margin: 0;
    padding: 0;
    width: 100%;
    
}

.nav ul a {
    display: block;
    color:aliceblue;
    text-decoration: none;
    font-size: 15px;
    line-height: 90px;
    margin-bottom: 0%;
    background: blue;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

}
.nav ul a:hover{
    color:orange;
}
.nav ul li a {
    display: block;
    color: aliceblue;
    text-decoration: none;
    font-size: 15px;
    line-height: 90px;
    padding: 0 20px; 
    background: blue;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.nav ul li {
    position: relative;
    float: left;
    margin: 0;
    padding: 0;
    background: blue;

}

.nav ul li#menu-item {
    background-color: blue;


}

.nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: blue;
    padding: 0;
}

.nav ul ul li{
    float: none;
    width: 200px;

}

.nav ul ul a {
    line-height: 120%;
    padding: 20px 50px;
    background:blue;
    width: 300px;


}

.nav ul ul ul {
    top: 0;
    left: 100%;
}

.nav ul li:hover>ul {
    display: block;
    width: 100%;


}
.slider {
    display: block;
    width: 100%;
    max-height: 50vh; 
    background-color: #1f1f1f;
    overflow: hidden;
    position: relative; 
}

.slide {
    position: absolute;
    display: block;
    width: 100%;
    max-height: 50vh;
    background: #1f1f1f;
    animation: slide 12s infinite;
    overflow:hidden;
}

slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; 
    overflow: hidden;
}

slider>* {
    position: absolute;
    display: block;
    width: 100%;
    height: 300px;
    background: #1f1f1f;
    animation: slide 12s infinite;
    overflow: hidden;
}

slide:nth-child(1) {
    
    animation-delay: -1s;
    
}

slide:nth-child(2) {
    animation-delay: 2s;
    
    
    }

slide:nth-child(3) {
    animation-delay: 5s;
    
}

slide:nth-child(4) {
    animation-delay: 8s;
   }

@keyframes slide {
    0% {
        left: 100%;
        width: 100%;
    }

    5% {
        left: 0%;
    }

    25% {
        left: 0%;
    }

    30% {
        left: -100%;
        width: 100%;
    }

    30.0001% {
        left: -100%;
        width: 0%;
    }

    100% {
        left: 100%;
        width: 0%;
    }
}

article {
    --img-scale: 1.001;
    --title-color: black;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    border-radius: 16px;
    border:#2d2f33 solid 1px;
    box-shadow: none;
    background: #fff;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;

    
}




article a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
}


article h2 {
    margin: 0 0 18px 0;
    font-family: "Bebas Neue", cursive;
    font-size:25px;
    letter-spacing:normal;
    color: var(--title-color);
    transition: color 0.3s ease-out;
}

article p{

    color:black;
    text-align:left;
    font-size: 15px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    line-height:20px;
    
}

figure {
    margin: 0;
    padding: 0;
    aspect-ratio: 16 /9;
    overflow: hidden;
}

article img {
    max-width: 100%;
    transform-origin: center;
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;
    width:100%;
    height:200px ;
}

.article-body {
    padding: 24px;
}

article a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color:blue;
}

article a:focus {
    outline: 1px dotted blue;
}

article a .icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-left: 40px;
    transform: translateX(var(--link-icon-translate));
    opacity: var(--link-icon-opacity);
    transition: all 0.3s;
}


article:has(:hover, :focus) {
    --img-scale: 1.1;
    --title-color: #28666e;
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}




*,
*::before,
*::after {
    box-sizing: border-box;
}

.articles {
    display: grid;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px; 
}
@media screen and (max-width: 80px) {
    article {
        container: card/inline-size;
    }

    .article-body p {
        display: none;
        
    }
}

@container card (min-width: 380px) {
    .article-wrapper {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 100px;
    }

    .article-body {
        padding-left: 0;
    }

    figure {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    figure img {
        height: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    
}



footer {
    background-color: blue;
    color: white;
    font-size: 16px;
    padding: 20px 0; 
    text-align: center;
}

  
  footer h3 {
    margin-bottom: 20px;
  }
  
  .row.primary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .column ul {
    list-style: none;
    padding: 0;
  }
  
  .column ul li {
    margin-bottom: 10px;
  }
  
  .column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .column ul li a:hover {
    color:black;
  }
  
  
  .social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  
  .social-media li {
    margin: 0 8px; 
}
  .social-media img {
    width: 30px;
    height: 30px;
    display: block;
  }

  .contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
  }
  
  .contact-header h1 {
    font-size:30px;
    margin: 0%;
    padding: 0%;
  }
  
  

  .custom-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .form-group textarea {
    resize: vertical;
  }
  
  .custom-form button {
    background-color: #1c3b28;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .custom-form button:hover {
    background-color: #154332;
  }
  
  @media (max-width: 768px) {
    .contact-container {
      padding: 20px;
    }
  
    .contact-header h1 {
      font-size: 28px;
      margin: 0%;
    }
  
    .contact-header p {
      font-size: 16px;
      margin-bottom: 20px;
    }
  }
  .contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    
  }
  .contact-image {
    width: 300px; 
    margin-right: 20px; 
}
  

  
    .contact-container {
      flex-direction: column;
      align-items: center;
    }
   
  



.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 40px 0;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about-content {
  max-width: 100%;
  text-align: left;
  margin: 20px 0;
}

.about-content h2,
.about-content h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.about-content p {
  font-size: 16px;
  color: #666;
  margin: 10px 0;
  text-align: left;
  line-height: 20px;
}

  

  @media screen and (max-width: 800px) {
    .about-container {
      flex-direction: column;
      align-items: center;
    }
  
    .about-content,
    .about-image {
      width: 90%;
    }
  
    .about-content h1 {
      text-align: center;
    }
  }

@media screen and (max-width: 768px) {
  .nav ul {
      position: static;
      background: blue;
      width: auto;
  }

  .nav ul a {
      line-height: 40px;
      padding: 0 10px;
  }

  .nav ul li {
      float: none;
      display: block;
  }

  .nav ul li:hover > ul {
      display: block;
      width: auto;
  }

  .nav ul ul {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: blue;
      width: 100%;
      z-index: 1;
      overflow-y: scroll;
  }

  .nav ul li:hover ul {
      display: block;
  }

  .nav ul ul li {
      float: none;
      width: 100%;
  }

  .nav ul ul a {
      line-height: 40px;
      padding: 10px 20px;
      color: aliceblue;
      text-decoration: none;
      font-size: 15px;
      background: blue;
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
  }
