/* Reset */
body, header, nav, main, footer, img, h1, h3, ul, aside, figure, figcaption, video {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Base */
body {
  background-color: #f6eee4;
  font-family: 'Lora', serif;
}

img, video {
  max-width: 100%;
  display: block;
}

/* Banner */
.banner {
  background-image: url("../images/baby-hawk.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 400px;
  width: 100%;
}

/* Visibility defaults (mobile-first) */
.mobile,
.mobile-tablet {
  display: block;
}

.tab-desk,
.desktop {
  display: none;
}

/* Navigation */
nav {
  background-color: #2a1f14;
}

nav ul {
  list-style-type: none;
  text-align: center;
}

nav li {
  display: block;
  font-size: 1.5em;
  font-family: Geneva, Arial, sans-serif;
  font-weight: bold;
  border-top: 0.5px solid #f6eee4;
}

nav li a {
  display: block;
  color: #f6eee4;
  padding: 0.5em;
  text-decoration: none;
}

/* Main */
main {
  padding: 2%;
}

main p {
  font-size: 1.25em;
}

.round {
  border-radius: 6px;
}

/* Contact section */
#contact,
#form h2 {
  text-align: center;
}

.tel-link {
  background-color: #2a1f14;
  padding: 2%;
  width: 80%;
  margin: 0 auto;
}

.tel-link a {
  color: #f6eee4;
  text-decoration: none;
  font-weight: bold;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.85em;
  background-color: #2a1f14;
  color: #f6eee4;
  padding: 1% 0;
}

footer a {
  color: #f3e6d8;
  text-decoration: none;
}

/* Form (mobile) */
fieldset,
input,
textarea {
  margin-bottom: 2%;
}

fieldset legend {
  font-weight: bold;
  font-size: 1.25em;
}

label {
  display: block;
  padding-top: 2%;
}

form #submit,
.btn {
  margin: 0 auto;
  display: block;
  padding: 2%;
  background-color: #78593a;
  color: #f6eee4;
  font-size: 1.25em;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

/* Tablet */
@media only screen and (min-width: 620px), print {

  .tab-desk {
    display: block;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: none;
  }

  .mobile-tablet {
    display: block;
  }

  nav li {
    border-top: none;
    display: inline-block;
    font-size: 1.25em;
  }

  nav li a {
    padding: 0.5em 1em;
  }

  form {
    width: 70%;
    margin: 0 auto;
  }
}

/* Desktop */
@media only screen and (min-width: 1000px), print {

  .desktop,
  .tab-desk {
    display: block;
  }

  .mobile,
  .mobile-tablet {
    display: none;
  }

  nav li {
    font-size: 1.5em;
  }

  nav li a {
    padding: 0.5em 1.5em;
  }

  nav li a:hover {
    color: #2a1f14;
    background-color: #f6eee4;
    opacity: 0.5;
  }

  .banner {
    height: 500px;
  }

  /* Table */
  table {
    border: 1px solid #2a1f14;
    border-collapse: collapse;
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    background-color: #fff;
  }

  caption {
    font-size: 1.5em;
    font-weight: bold;
    padding: 1%;
  }

  th,
  td {
    border: 1px solid #2a1f14;
    padding: 1%;
    vertical-align: top;
    text-align: left;
  }

  th {
    background-color: #2a1f14;
    color: #fff;
    font-size: 1.15em;
  }

  tr:nth-child(odd) {
    background-color: #deccba;
  }

  /* Form grid */
  form {
    width: auto;
  }

  .form-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
  }

  .btn {
    grid-column: 1 / span 2;
  }
}

/* Large desktop */
@media only screen and (min-width: 1921px) {

  body {
    background: linear-gradient(#f6eee4, #78593a);
  }

  #wrapper {
    width: 1920px;
    margin: 0 auto;
  }

  .banner {
    height: 550px;
  }

  main {
    background-color: #f6eee4;
  }
}

/* Print */
@media print {
  body {
    background-color: white;
    color: black;
  }
}
