/* General reset */
* {
  box-sizing: border-box;
}

body {
  background-color:#ffcfcf;
  margin: auto;
  min-width: 390px;
  max-width: 1650px;
  font-family: 'Arial';
  font-size: 14px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100vw;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: 	#ffcfcf;
  gap: 20px;
  width: 100%;
  position: relative;
}

h1 {
  text-align: center;
  color: black;
  margin: 0;
  flex-grow: 1;
  font-size: 5vw;

}

.logo {
  display: flex;
  align-items: left
  
}

.logo img {
  width: 10vw;
}


.navbar {
  display: flex;
  position: relative;
  align-items: center;
  padding: 10px 20px;
  background: #333;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 5px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffcfcf;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 15px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
}

/* Mobile Menu */
#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .nav-links {
  display: flex;
  flex-direction: column;
  background: #7e7e7e;
  position: absolute;
  top: 60px;
  right: 70px;
  left: 0px;
  padding: 10px 0;
  gap: 10px;
  width: 20vw;

}

#menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


.titles {
  text-align: left;
  color: black;
  margin-left: 10px;
  flex-grow: 1;
  margin: 0%;
  padding: 20px;
  font-size: 3vw;
  float: left;

}

.img {
  margin: auto;
  display: block;
  width: 100vw;
  height: 50%;
padding: 30px;
}


.image
{
  float: left;

}

.article {
    font-size: 1vw;
    text-align: left; 
    clear: both; 
    line-height: 1.8;
    flex-grow: 1;
}
.article::after {
    content: "";
    display: block;
    clear: both;
    flex-grow: 1;
}

ul.no-bullets {
    list-style-type: none; 
    padding: 0; 
}

li {
    margin: 10px 0; 
    font-size: 18px; 
}

input[type="checkbox"] {
    margin-right: 10px; 
    transform: scale(1.2); 
}

footer {
  text-align: left;
  padding: 10px;
  background-color:	#ffaaaa;
  color: black;
  width: 100vw;

}
footer img {
  height: 40px; 
  margin: 0 10px; 
  transition: transform 0.3s ease;

}

footer img:hover {
  transform: scale(1.1);
  opacity: 0.8; 
}

.social-icons {
  display: flex;
  gap: 10px;
}
.social-icons a {
  text-decoration: none;
  color: #555;
  font-size: 24px;
}
.social-icons a:hover {
  color: #000;
}

/* Responsive layout */
@media (max-width: 390px) {
  header
  {
    width: 90vw;
  }

  .article {
max-width: 80vw;
font-size: medium;
  }
  footer {
    width:100vw;
  }
  footer img {
    height: 30px; /* Reduces image size on smaller screens */
    margin: 5px;
  }
  .content {
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    align-items: center; /* Center-align items */
}

.image {
    float: none; /* Disable floating on smaller screens */
    margin: 0 0 20px 0; /* Add space below the image */
    max-width: 100%; /* Allow image to scale with screen width */
}

/* Mobile View */
@media (max-width: 768px) {
  .nav-links {
      display: none;
      flex-direction: column;
  }
  .hamburger {
      display: flex;
  }
}
