/* General styles */
body {
  font-family: "comic sans ms", sans-serif;
  margin: 0;
  background: #ccc;
  color: #333;
}
header {
  background: #ccc;
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}
h1 {
  color: #b33;
}
h2 {
  color: #b33;
}
nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
}

/* Main content styles and classes*/

main {
  max-width: 1300px;
  margin: auto;
  padding: 1rem;
  background: #ccc;
}
/* General section layout */
.section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  gap: 40px;
}

/* Reverse layout for every other section */
.section.reverse {
  flex-direction: row-reverse;
}
/* Image styling */
.section .image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  object-fit: cover;
}

/* Text styling */
.section .text {
  flex: 1;
  font-family: "comic sans ms", sans-serif;
}

.section .text h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.section .text p {
  line-height: 1.6;
  color:#333;
}
/* Responsive Design */
@media (max-width: 768px) {
  .section {
    flex-direction: column;
    text-align: center;
  }

  .section.reverse {
    flex-direction: column; /* no longer reversed on mobile */
  }

  .section .image img {
    max-width: 100%;
  }

  .section .text {
    margin-top: 20px;
  }
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
/* Gallery styles */
*{
  box-sizing: border-box;
}
.allCollumns {
  float: left;
  width: 33.33%;
  padding: 10px;
}
.row::after {
  content: "";
  clear: both;
  display: table;
}
@media screen and (max-width: 768px) {
  .allCollumns {
    width: 100%;
  }
  
}
/* Form styles*/
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
button {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
button {
  background: #b33;
  color: white;
  border: none;
  cursor: pointer;
}
/* Footer styles */
footer {
  background: #ccc;
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}
