@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.nav-logo img {
  width: 150px;
  border-radius: 5px;
}

.header {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  top: 0;
  z-index: 1000;

  li {
    list-style: none;
  }

  a {
    text-decoration: none;
  }
}

.navbar {
  display: flex;
  padding: 1.5rem 1.5rem;
  border-radius: 10px;
}

.hamburger {
  display: none;
  position: sticky;
  top: 0;
}

.bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #101010;
}

.nav-menu {
  display: flex;
  padding-top: 12px;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  font-size: 1.2rem;
  color: black;
}

.nav-link:hover {
  text-decoration: underline;
}

/* BLOG ITEM SECTION */

#container {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px;
}

.sectionb {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  margin-top: 2rem;
}

.blog-item {
  border: none;
  
  img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  h3 {
    margin: 10px 0;
    color: blue;
    font-family: sans-serif;
  }

  p {
    margin: 0;
    text-align: left;
  }

  a:hover {
    text-decoration: underline;
  }
}

hr {
  margin-top: 30px;
}


#component{
  max-width: 800px;
  margin: 0 auto;
  
  img{
    width: 100%;
    height: auto;
}

}



table {
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

.footer {
  /* max-width: 900px; */
  margin: 0 auto;

  p {
    font-family: "Poppins", sans-serif;
  }
}

.copyright {
  background-color: white;
  color: black;
  padding: 5px 0;
  text-align: center;
}



.cont {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.text-cont {
  width: 50%;
}

.image-slideshow {
  width: 50%;
  position: relative;
}

.image-slideshow img {
  width: 100%;
  height: auto;
  object-fit: cover;

}

.myButton {
  background-color: #04AA6D; 
  color: white;              
  padding: 15px 32px;
  text-align: center;        
  text-decoration: none;
  display: inline-block;    
  font-size: 16px;   
  border: none;           
  border-radius: 5px;    
  transition-duration: 0.4s; 
}

.myButton:hover {
  background-color: #45a049;
}

/* Responsive adjustments */
@media (max-width: 768px) {
 .cont {
      flex-direction: column;
  }

 .text-cont,
 .image-slideshow {
      width: 100%;
  }
}

