/*Main elements*/

h1{
    font-family: Comic-Sans;
    color: white;
    text-align: center;
    font-size: 38pt
}

h2{
    font-family: Comic-Sans;
    color: #013220;
    margin-left: 30px;
    font-size: 20pt
}

h3{
    font-family: Comic-Sans;
    color: #013220;
    font-size: 24pt;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #013220;
}

p{
    font-family: Comic-Sans;
    color: white;
    text-align: center;
    font-size: 13pt
}

body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer{
    margin-top: auto;
    background-color: #013220 ;
    width: 100%;
    height: 67px;
    display: flex;
    justify-content: space-around;
    align-items: center
}

footer p{
    color: white;
    font-family: Arial;
    font-size: 9pt
}

footer a,
footer a:visited {
    color: white;
}

a{
    text-decoration: none;
}

img {
    display: block;
    margin: 0 auto;
}

.green{
    color: #4CAF50;
    text-align: left
}

.box{
    margin-bottom: 0
}
.button{
    border-radius: 20px;
    height: 70px;
    width: 420px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    background-color: #6B4F3A;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center
}

.button p{
    color: white;
}


/*Classes*/

/*ID's*/

#home{
    margin: 0;
    font-family: Arial, sans-serif;
    background-image:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url(Food.jpeg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#menu{
    margin: 0;
    font-family: Arial, sans-serif;
    background-image:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url(menu.jpeg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/*Nav Part */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #013220 ;
    padding: 0.5em 1em;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1em;
    margin: 0;
    margin-right: 50px
}


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


/*Hovers*/

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

.button p:hover {
    color: #4CAF50;
}


/*menu boxes*/

.accordion { width: 700px; margin: 0 auto; }


.item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}


.item > input[type="checkbox"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}


.item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  height: 60px;
  padding: 0 30px;
  position: relative;
  user-select: none;
  box-sizing: border-box;
}


.item label p {
  margin: 0;
  font-size: 28px;
  color: #013220;
  margin-left: 36px;
  line-height: 1;
  text-decoration-color: #013220;
}

.accordion .content h3 {
    color: #013220;
    text-decoration: underline;
    text-decoration-color: #013220;
}


.item label::before {
  content: "";
  border-width: 7px;
  border-style: solid;
  border-color: transparent transparent transparent black;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.28s cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}


.item .content {
  box-sizing: border-box;
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  opacity: 0;
  text-decoration-color: #013220;
  transition: max-height 0.45s ease, opacity 0.28s ease, padding 0.28s ease;
}


.item .content > * { margin: 0 0 12px 0; color: #013220; }


.item input:checked ~ label::before {
  transform: translateY(-50%) rotate(90deg);
}


.item input:checked ~ .content {
  max-height: 2000px;
  opacity: 1;
  padding: 20px 30px;
  overflow: auto;
}


/*FORM PART*/


.formcarry-container {
  width: 60%;
  max-width: 600px;
  margin: 4vh auto 0 auto;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);

  display: flex;
  flex-direction: column;
  align-items: center;
}

.formcarry-form {
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

.formcarry-form label {
  display: block;
  padding: 10px 0 6px 0;
  font-family: Comic-Sans;
  color: #013220;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
}

.formcarry-form input,
.formcarry-form textarea {
  font-size: 17px;
  width: 95%;
  padding: 14px;
  background-color: #fdfdfd;
  border: 3px solid #013220;
  border-radius: 14px;
  color: #013220;
  font-family: Arial;
  transition: 0.25s ease;

  margin: 0 auto;
  display: block;
}

.formcarry-form textarea {
  min-height: 140px;
  resize: vertical;
}

.formcarry-form button {
  margin-top: 22px;
  width: 95%;
  padding: 16px;
  border-radius: 14px;
  background-color: #6B4F3A;
  color: white;
  font-family: Comic-Sans;
  font-size: 22px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.25);
  transition: background-color 0.3s, transform 0.2s;
}

.formcarry-form button:hover {
  background-color: #4CAF50;
  transform: scale(1.04);
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    padding: 0 16px;
  }

  .button {
    width: min(420px, calc(100% - 32px));
    box-sizing: border-box;
    margin-inline: auto;
  }

  #home:not(.contact-page) h1 {
    margin: 36px 0 20px;
  }

  #home:not(.contact-page) .box {
    margin-bottom: 32px;
  }

  #home:not(.contact-page) > a {
    display: block;
    margin-bottom: 32px;
  }

  #home:not(.contact-page) > img {
    margin-bottom: 12px;
  }

  #home:not(.contact-page) > p {
    margin: 0 20px 32px;
  }

  .contact-page .formcarry-container {
    margin-bottom: 28px;
  }

  #home > img {
    max-width: calc(100% - 32px);
    height: auto;
  }

  #home,
  #menu {
    background-attachment: scroll;
  }

  .accordion {
    width: calc(100% - 32px);
    max-width: 700px;
    box-sizing: border-box;
  }

  .formcarry-container {
    width: calc(100% - 32px);
    max-width: 600px;
    box-sizing: border-box;
    padding: 28px;
  }

  .box {
    padding: 0 16px;
    margin-bottom: 20px;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  #home > br,
  #menu > br,
  #home .box br,
  #menu .box br {
    display: none;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em 0.75em;
    margin: 0;
    padding: 0;
  }

  .logo img {
    width: min(250px, calc(100vw - 32px));
    height: auto;
  }

  .accordion .item label {
    min-height: 60px;
    height: auto;
    padding: 12px 16px 12px 48px;
  }

  .item label p {
    margin-left: 0;
    font-size: 22px;
    line-height: 1.2;
  }

  .item .content,
  .item input:checked ~ .content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .item .content h2 {
    margin-left: 0;
    font-size: 18px;
  }

  .item input:checked ~ .content {
    max-height: 6000px;
    overflow: visible;
  }

  .formcarry-container {
    padding: 20px;
  }

  .formcarry-form {
    box-sizing: border-box;
    padding: 0;
  }

  .formcarry-form input,
  .formcarry-form textarea,
  .formcarry-form button {
    width: 100%;
    box-sizing: border-box;
  }

  footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    gap: 8px 12px;
    padding: 12px 16px;
    box-sizing: border-box;
  }

  footer p {
    margin: 4px 0;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .nav-links {
    gap: 0.25em 0.5em;
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}
