* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-block-size: 90vh;
}

body {
  font-family: sans-serif;
  color: #182818;
  font-size: 1.5rem;
  line-height: 1.6;
  padding-inline: 0;
  margin: 10px;
}

.wrapper {
  max-inline-size: 100vw;
  max-block-size: 90vh;
  margin-inline: auto;
  flex-grow: 1;
}

img {
  display: block;
  max-inline-size: 100%;
}

h1 {
  color: #008364;
  font-size: 3rem;
  text-align: center;
  font-family: "Comic Sans MS", sans-serif;
}

h2 {
    color: #663300;
    font-size: 2rem;
}

header {
  display: flex;
  block-size: 12vh;
}

.header-left {
  block-size: 100%;
  inline-size: 10%;
  background-image: linear-gradient(to top, #663300 20%, #008364);
  margin: 0;
  padding: 0;
}

.header-center {
  block-size: 100%;
  inline-size: 80%;
  background-color: #008364;
  align-content: end;
}

nav a.top-active {
  background-color: #663300;
}

nav a.side-active {
  background-color: beige;
  color: #663300;
}

.top-nav {
  block-size: 50%;
  align-items: center;
}

.top-nav ul {
  display: flex;
  justify-content: space-evenly;
  padding-inline: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #008364;
  align-items: center;
  border-top: 2px solid #663300;
  height: 100%;
}

.top-nav li {
  display: flex;
  border-right: solid 2px #663300;
  flex: 1;
  height: 100%;
  align-items: center;
  padding: 0;
}

.top-nav li:last-child {
  border-right: none;
}

.top-nav a {
  display: flex;
  text-decoration: none;
  background-color: #008364;
  color: #f7a11a;
  font-size: 1.2rem;
  height: 100%;
  width: 100%;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.top-nav li a:hover {
  background-color: #663300;
  color: #f7a11a;
}

.header-right {
  inline-size: 10%;
}

.header-right img {
  block-size: 100%;
}

main {
  display: flex;
  min-block-size: 60vh;
  margin: 0;
}

.main-left {
  inline-size: 10%;
  margin: 0;
  padding: 0;
  background-color: #663300;
}

.side-nav {
  inline-size: 100%;
}

.side-nav ul {
  inline-size: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #663300;
  color: beige;
  align-items: stretch;
  box-sizing: border-box;
}

.side-nav li {
  text-align: start;
  flex: 1;
  padding-inline: 0;
  margin-inline: 0;
  border-top: 2px solid beige;
}

.side-nav li a:hover {
  background-color: beige;
  color: #663300;
}

.side-nav li:last-child {
  border-bottom: 2px solid beige;
}

.side-nav a {
  display: block;
  text-decoration: none;
  background-color: #663300;
  color: beige;
  font-size: 1rem;
  padding-inline-start: 3px;
  padding-block: 7px;
}

.home-main-center {
  inline-size: 90%;
  padding-left: 3vw;
  flex-grow: 1;
  padding-right: 3vw;
  padding-bottom: 9%;
}

.home-main-text {
  padding-inline: 40px;
  font-size: 1rem;
}

.home-heading-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  justify-content: center;
  inline-size: 100%;
}

.home-heading-columns img:first-child {
  justify-self: start;
  align-self: center;
}

.home-heading-columns h1 {
  justify-self: center;
}

.home-heading-columns img:last-child {
  justify-self: end;
  align-self: center;
}

.contact-main-center {
  inline-size: 90%;
  padding-left: 3vw;
}

.contact-main-text {
  font-size: 1rem;
}

.form {
  background-color: #008364;
  color: #f7a11a;
  font-weight: bold;
  padding: 1%;
  margin: 0 auto;
}

.form td:first-child {
  width: 30%;
}

.form input {
  width: 90%;
  height: 30px;
  font-size: 1.5rem;
}

.form textarea {
  width: 90%;
  height: 80px;
}

.form label {
  margin-right: 2%;
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
}

.contact-main-left {
  align-content: center;
  justify-items: center;
}

.contact-main-left img {
  max-width: 50%;
}

.contact-main-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15%;
}

.contact-main-right img {
  max-height: 30%;
  max-width: 60%;
}

footer {
  background-color: #008364;
  color: #ffffff;
  text-align: center;
  border-top: 5px solid #663300;
  line-height: 0.5;
  padding-block: 5px;
  max-block-size: 20vh;
  margin-bottom: 20px;
  align-items: center;
  font-size: 0.7rem;
}

.lessons-main-center {
  display: flex;
  flex-direction: column;
  inline-size: 80%;
  align-items: center;
  justify-content: center;
  padding-block: 10vh;
}

.lessons-main-center img {
  inline-size: 50vw;
  max-block-size: 70vh;
}

.duplicate-side-nav {
  display: none;
}

.duplicate-top-nav {
  display: none;
}

.about-main-left {
  align-content: center;
}

.about-main-center {
  display: flex;
  inline-size: 90%;
  padding-left: 3vw;
  flex-grow: 1;
  padding-right: 3vw;
}

.about-main-text {
  padding-inline: 40px;
  font-size: 1rem;
}

.contact-main-center {
  inline-size: 90%;
  padding-left: 3vw;
}

.submit-button {
  text-align: center;
}

.submit-button button {
  display: inline-block;
  padding: 12px 10px;
  font-size: 14px;
  background-color: #663300;
  color: #f7a11a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 15vw;
}

.submit-button button:hover {
  background-color: beige;
  color: #663300;
}

.videos-main-center {
  inline-size: 90%;
  padding: 2vw;
}

.videos-main-text {
  font-size: 0.8rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2vh;
  align-items: center;
  justify-content: center;
}

iframe {
  width: 80%;
  height: 40%;
  aspect-ratio: 16 / 9;
  display: block;
}

.daintree-video {
  padding: 0;
  margin: 0;
  margin-left: 6vw;
}

.daintree-text {
  padding: 0;
  margin: 0;
  margin-right: 5vw;
}

.pass-seed-video {
  padding: 0;
  margin: 0;
  margin-left: 6vw;
}

.pass-seed-text {
  padding: 0;
  margin-left: 0;
  margin-right: 5vw;
}

.songs-main-center {
  inline-size: 90%;
  padding-right: 2vw;
  padding-left: 2vw;
}
.songs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3%;
  align-items: start;
  justify-content: center;
  font-size: 1.5rem;
}

.spotify-left {
  padding-left: 2vw;
  padding-bottom: 2vh;
}
.spotify-left iframe {
  padding-left: 3%;
  width: 33vw;
  height: 55vh;
}

@media screen and (max-width: 600px) {
  .wrapper {
    padding-inline: 1px;
    max-inline-size: 90vw;
    max-block-size: 80vh;
  }

  body {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  h1 {
    font-size: 1.2rem;
  }

  header {
    block-size: 13vh;
    padding: 0;
    margin: 0;
  }

  .header-left {
    display: none;
  }

  .header-right {
    background-color: #f7a11a;
  }
  .header-right img {
    block-size: 100%;
    inline-size: auto;
    object-fit: contain;
    max-inline-size: 90%;
  }

  .header-center {
    max-inline-size: 82%;
  }

  .header-right {
    inline-size: 20%;
  }

  footer {
    block-size: 8vh;
    line-height: 0.5;
    padding-block-start: 1px;
    font-size: 0.7rem;
  }

  .side-nav {
    display: none;
  }

  .top-nav {
    display: none;
  }

  .side-nav ul {
    flex-direction: row;
    inline-size: 100%;
  }

  .main-left {
    inline-size: 3vw;
  }

  .main-center {
    padding: 0;
    padding-block-start: 5px;
    inline-size: 80%;
  }

  .duplicate-top-nav {
    block-size: 50%;
    align-items: center;
    display: flex;
  }

  .duplicate-top-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #008364;
    border-bottom: 2px solid #663300;
    align-items: center;
    height: 100%;
    width: 100%;
  }

  .duplicate-top-nav a {
    font-size: 0.3rem;
    text-align: center;
    width: 100%;
    height: 100%;
  }

  .duplicate-top-nav li {
    display: flex;
    border-right: solid 2px #663300;
    flex: 1 1 0;
    height: 100%;
    align-items: center;
  }

  .duplicate-top-nav li:last-child {
    border-right: none;
  }

  .duplicate-top-nav a {
    display: flex;
    text-decoration: none;
    background-color: #008364;
    color: #f7a11a;
    font-size: 1.2rem;
    height: 100%;
    width: 100%;
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .duplicate-side-nav {
    block-size: 50%;
    align-items: center;
    display: flex;
  }

  .duplicate-side-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #663300;
    border-bottom: 2px solid beige;
    align-items: center;
    height: 100%;
    width: 100%;
  }

  .duplicate-side-nav a {
    font-size: 1rem;
    text-align: center;
    width: 100%;
    height: 100%;
  }

  .duplicate-side-nav li {
    display: flex;
    border-right: solid 2px beige;
    flex: 1 1 0;
    height: 100%;
    align-items: center;
  }

  .duplicate-side-nav li:last-child {
    border-right: none;
  }

  .duplicate-side-nav a {
    display: flex;
    text-decoration: none;
    background-color: #663300;
    color: beige;
    font-size: 1.2rem;
    height: 100%;
    width: 100%;
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  .home-main-center {
    padding-top: 5%;
  }
  .home-main-text {
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .home-heading-columns img {
    height: 50%;
  }

  h1 {
    font-size: 1.5rem;
    padding-left: 2%;
  }

  h2 {
    font-size: 1.2rem;
  }

  .form td {
    display: block;
    width: 100%;
  }

  .form label {
    display: block;
    width: 100%;
  }
  .form label,
  .form input,
  .form textarea {
    width: 100%;
  }

  .form td:first-child {
    width: 100%;
  }
  .contact-grid {
    display: flex;
    width: 100%;
    padding-bottom: 5%;
    margin-bottom: 2vh;
  }

  .contact-main-left img,
  .contact-main-right img {
    display: none;
  }

  .about-main-center {
    display: flex;
    flex-direction: column;
    padding-top: 2%;
    padding-left: 2%;
    padding-right: 2%;
    font-size: 0.8rem;
  }

  .about-main-center img {
    width: 60%;
    justify-self: center;
  }

  .videos-grid {
    display: flex;
    flex-direction: column;
    padding-top: 2%;
    padding-left: 5%;
    padding-right: 5%;
    font-size: 0.8rem;
    text-align: center;
  }

  .songs-grid {
    display: flex;
    flex-direction: column;
    padding-top: 2%;
    padding-left: 3%;
    padding-right: 3%;
    padding-bottom: 2%;
    font-size: 0.8rem;
    justify-self: center;
  }

  .spotify-left iframe {
    height: 50vh;
    width: 70vw;
  }

  .apple-right iframe {
    height: 50vh;
    width: 50vw;
  }
}

@media screen and (max-height: 600px) {

.contact-main-center {
    padding-bottom: 5vh;
}
.contact-main-left {
  align-content: flex-start;
  justify-items: center;
  padding-top: 5vh;
}

.contact-main-left img {
  max-width: 30%;
}

.contact-main-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: flex-start;
  gap: 50%;
  padding-top: 0;
  padding-bottom: 5vh;
}

.contact-main-right img {
  max-height: 50%;
  max-width: 60%;
}

.about-main-left {
  align-content: flex-start;
  padding-top: 10vh;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2vh;
  align-items: flex-start;
  justify-content: center;
}

.videos-grid iframe {
    padding-top: 10vh;
    height: 40vh;
}
}
