/* RESET + BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin-bottom: 2rem;
  font-family: "Quicksand", sans-serif;
  font-size: 1.25rem;
  background: #fff8f0;
  color: #313131;
}

/* TYPOGRAPHY */
h2 {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

h2.form {
  margin: 0.5rem;
}

h3 {
  text-align: center;
  margin-top: 2rem;
}

p.main,
p.highlight {
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
  padding: 0 2rem;
}

p.highlight {
  font-weight: 800;
  color: #ff6f61;
}

/* LINKS */
a {
  color: #6bbdc4;
  text-transform: uppercase;
}

a:hover {
  color: #ffb9b3;
}

/* NAVIGATION */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.nav-links a {
  color: #313131;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
}

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

.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

#menu-toggle {
  display: none;
}

/* HEADER */
header {
  margin: 0 auto;
  background: #6bbdc4;
  padding: 2rem;
  text-align: center;
}

/* LOGO */
.logo {
  width: 200px;
  height: 200px;
  margin-bottom: 0rem;
}

/* HERO */
.hero {
  text-align: center;
}

/* IMAGE PAIRS */
.pair {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.image-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
}

.portfolio {
  width: 500px;
  height: auto;
  border: 2px solid #ff6f61;
  border-radius: 1rem;
}

.image-row {
  display: flex;
  margin-top: 1rem;
  margin-bottom: 2rem;
  gap: 15px;
  /* space between images */
  justify-content: center;
  /* or space-between / space-around */
  flex-wrap: wrap;
  /* makes it responsive */
}

.image-row img {
  max-width: 100%;
  height: auto;
  width: 200px;
  /* or whatever size fits your design */
  border: 2px solid #ff6f61;
  border-radius: 1rem;
}

/* FORM SECTION */
.form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  background-color: #fff8f0;
  padding: 1rem;
}

.form-box {
  flex: 1 1 500px;
  max-width: 600px;
  border: 2px solid #ff6f61;
  border-radius: 1rem;
  background-color: #fffefc;
  padding: 0.5rem;
}

/* PRICE TABLE */
.price-container {
  display: flex;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.price-container table {
  width: 100%;
}

table {
  max-width: 90%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background-color: #fffefc;
}

th,
td {
  border: 1px solid #ff6f61;
  padding: 0.5rem;
}

th {
  background-color: #ffb9b3;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .main {
    font-size: 15px;
    padding: 0.25rem;
  }

  .pair {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .image-box {
    width: 80%;
  }

  .portfolio {
    width: 100%;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    margin-top: 1rem;
  }

  #menu-toggle:checked+.menu-icon+.nav-links {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}