/* Reset styles */
body,
h1,
h2,
h3,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

/* Global styles */
body {
  font-family: Arial, sans-serif;
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  background-color: #222;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.menu {
  list-style-type: none;
  display: flex;
}

.menu li {
  margin-left: 20px;
}

.menu li a {
  color: #fff;
  text-decoration: none;
}

#hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.bar {
  width: 100%;
  height: 4px;
  background-color: black;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu {
    display: none;
  }

  #hamburger-menu {
    display: flex;
  }
}

.menu li:hover {
  background-color: #444;
}

#close-hamburger:hover {
  background-color: #444;
}

.hero {
  text-align: center;
  background-color: #333;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
}

.portfolio {
  padding: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
}

.project {
  position: relative;
}

.project img {
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 10px;
}

.project:hover .overlay {
  opacity: 1;
}

.overlay h3,
.overlay p {
  margin: 0;
}

.about {
  background-color: #222;
  padding: 40px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-content .image img {
  width: 200px;
  height: auto;
}

.about-content .bio {
  flex: 1;
  margin-left: 40px;
  margin-top: 20px;
}

.about-content .bio h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

footer {
  background-color: #222;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer p {
  margin: 0;
}

.moving-pictures {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.picture-container {
  display: flex;
  animation: slidePictures 20s infinite linear;
}

.picture-container img {
  width: 300px;
  height: auto;
  margin-right: 20px;
}

@keyframes slidePictures {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

video {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  video {
    max-width: 500px;
  }
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #333;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
  color: white;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: black;
  text-decoration: none;
  z-index: 1;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 65%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.carousel-buttons {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.carousel-buttons button {
  border: #222;
  background-color: white;
  color: black;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form h2 {
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.contact-form button {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #45a049;
}
.hidden {
  display: none;
}

button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
