*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Custom Properties */

:root {
  --ff-primary: "domine", serif;
  --ff-secondary: "outfit", sans-serif;

  --fw-reg: 400;
  --fw-bold: 900;

  --clr-light: #fdfcfa;
  --clr-dark: #252130;
  --clr-blk: #1b1b1b;
  --clr-accent: #56b5bf;
  --clr-accent2: #f2cc0f;
  --clr-accent3: #f29e38;
  --clr-accent4: #c95661;
  --clr-accent5: #251c17;

  --fs-h1: 3rem;
  --fs-h2: 2.25rem;
  --fs-h3: 1.25rem;
  --fs-body: 1rem;

  --bs: 0.25em 0.25em 0.75em rgba(0, 0, 0, 0.25),
    0.125em 0.125em 0.25em rgba(0, 0, 0, 0.15);
}

@media (min-width: 755px) {
  :root {
    --fs-h1: 3.5rem;
    --fs-h2: 3.5rem;
    --fs-h3: 1.35rem;
    --fs-body: 1.125rem;
  }
}

@media (min-width: 954px) {
  :root {
    --fs-h1: 4.5rem;
    --fs-h2: 3.75rem;
    --fs-h3: 1.5rem;
    --fs-body: 1.125rem;
  }
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--ff-primary);
  font-weight: var(--fw-reg);
  line-height: 1;
  margin: 0;
}

h1 {
  font-size: var(--fs-h1);
  color: var(--clr-dark);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

.main-quote {
  font-family: var(--ff-primary);
  font-size: var(--fs-h3);
}

span {
  font-weight: var(--fw-bold);
}

/* General Styling */

body {
  background: var(--clr-light);
  color: var(--clr-dark);
  font-family: var(--ff-secondary);
  font-size: var(--fs-body);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Hero */
header {
  min-height: 75vh;
  background-image: url(assets/music-header.jpg);
  background-color: var(--clr-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.header__logo {
  padding-top: 5rem;
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

/*  Navigation  */

nav {
  width: 100%;
}

nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

nav li {
  list-style: none;
  position: relative;
}

nav li::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

nav li:hover::before {
  transform: scaleX(1);
}

nav li:hover a {
  color: var(--clr-accent);
}

nav a {
  display: block; /*makes whole element clickable*/
  padding: 1rem;
  text-decoration: none;
  color: var(--clr-light);
  transition: all 200ms ease-in;
}

/*  Mobile Menu  */
.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-6px, 6px);
  transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(-45deg) translate(-6px, -8px);
  transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mobile-menu {
  display: none;
  font-size: var(--fs-body);
}

.mobile-menu li {
  margin-bottom: 10px;
  display: block;
  width: 100%;
  padding: 10px;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--clr-light);
}

.mobile-menu li:hover {
  background-color: var(--clr-accent4);
  color: var(--clr-accent3);
}

/* Main Section Styles */

h1 {
  margin: 3rem 0;
  text-align: center;
}

.msc__home {
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 70vh;
  max-width: 1200px;
  display: grid;
  align-items: center;
  column-gap: 2rem;
  row-gap: 3rem;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    ". t1 t1 t1 t1 t1 i1 i1 i1 i1 i1 ."
    ". i2 i2 i2 i2 i2 t2 t2 t2 t2 t2 .";
}

.text__1 {
  grid-area: t1;
}

.text__2 {
  grid-area: t2;
}

.main__image1 {
  grid-area: i1;
  width: 100%;
  height: auto;
  max-width: 600px;
  box-shadow: var(--bs);
}

.main__image2 {
  grid-area: i2;
  width: 100%;
  height: auto;
  max-width: 600px;
  box-shadow: var(--bs);
}

.quote__main {
  font-size: var(--fs-h3);
}

/* Footer */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5rem;
  background-color: var(--clr-accent4);
  height: 3rem;
}

.footer__a {
  padding: 0 1rem;
  text-decoration: none;
  color: var(--clr-light);
}

.footer__a:hover {
  color: var(--clr-accent);
}

/* Responsive */
@media only screen and (max-width: 800px) {
  .msc__home {
    display: flex;
    flex-direction: column;
  }
}

@media only screen and (max-width: 700px) {
  nav {
    display: none;
  }

  #hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    background-color: var(--clr-accent4);
    /* position: fixed; navbar scrolls with page */
    width: 100%;
  }

  #hamburger-icon div {
    width: 44px;
    height: 4px;
    background-color: var(--clr-light);
    margin-bottom: 10px;
    transition: 0.4s;
  }
  #hamburger-icon {
    display: block;
  }
  .mobile-menu {
    text-align: center;
    margin: 0;
    padding: 0;
  }

  footer {
    height: 5rem;
    flex-direction: column;
    justify-content: space-around;
  }
  .footer__a {
    font-size: var(--fs-h3);
  }
}

/* 

Concerts

*/

.msc__concert {
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 70vh;
  max-width: 1200px;
  display: grid;
  align-items: center;
  column-gap: 2rem;
  row-gap: 3rem;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    ". . . i1 i1 i1 i1 i1 i1 . . ."
    ". . . t1 t1 t1 t1 t1 t1 . . .";
}

.text__c1 {
  grid-area: t1;
  text-align: center;
}

/* 

HACE

*/
.msc__hace {
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 70vh;
  max-width: 1200px;
  display: grid;
  align-items: center;
  column-gap: 2rem;
  row-gap: 3rem;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    "t1 t1 t1 t1 t1 t1 i1 i1 i1 i1 i1 i1"
    "i2 i2 i2 i2 i2 i2 t2 t2 t2 t2 t2 t2";
}

.h3__hace {
  text-align: center;
}

.link__hace {
  color: var(--clr-dark);
}

.link__hace:hover {
  color: var(--clr-accent);
}

@media only screen and (max-width: 800px) {
  .msc__hace {
    display: flex;
    flex-direction: column;
  }
}

/* 

Recorders

*/
.msc__rec {
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 70vh;
  max-width: 1200px;
  display: grid;
  align-items: center;
  column-gap: 2rem;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas: ". i1 i1 i1 i1 i1 t1 t1 t1 t1 t1 .";
}

.text__r1 {
  grid-area: t1;
}

.h1__rec {
  margin: 3rem 0 0 0;
}

.rec__image1 {
  grid-area: i1;
  width: 100%;
  height: auto;
  max-width: 600px;
  box-shadow: var(--bs);
}

/* Responsive */
@media only screen and (max-width: 800px) {
  .msc__rec {
    display: flex;
    flex-direction: column;
  }

  .rec__image1 {
    max-width: 400px;
  }
}

/* 

About

*/
.msc__about {
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 70vh;
  max-width: 1200px;
  display: grid;
  align-items: center;
  column-gap: 2rem;
  row-gap: 3rem;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    ". . . i1 i1 i1 i1 i1 i1 . . ."
    ". . . t1 t1 t1 t1 t1 t1 . . .";
}

.abt__image1 {
  grid-area: i1;
  width: 100%;
  height: auto;
  max-width: 300px;
  box-shadow: var(--bs);
  justify-self: center;
}

/* 

Contact

*/
.main-contact {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  justify-content: center;
  align-items: center;
  min-height: 50vh;
}

.contact {
  grid-area: 1/7/2/11;
}

.input {
  color: var(--clr-dark);
  border-radius: 5px;
  border: 2px solid var(--clr-dark);
  transition: all 0.3s;
  padding: 15px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  outline: 0;
}

.input:focus {
  border: 2px solid var(--clr-accent4);
}

textarea {
  height: 150px;
  line-height: 150%;
  resize: vertical;
}

[type="submit"] {
  font-family: var(--ff-secondary);
  width: 100%;
  background-color: var(--clr-accent);
  border-radius: 5px;
  font-size: 2rem;
  padding: 10px 0 10px 0;
  transition: all 0.3s;
  margin-top: -4px;
  font-weight: 700;
}

[type="submit"]:hover {
  background: var(--clr-accent2);
}

.contact-image {
  grid-area: 1/2/2/6;
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-width: 500px;
  box-shadow: var(--bs);
}

.about-text {
  grid-area: auto/3/auto/11;
}

@media only screen and (max-width: 900px) {
  .contact {
    grid-area: 2/2/3/12;
  }

  .contact-image {
    grid-area: 1/2/2/12;
    margin-bottom: 5rem;
    max-width: 400px;
  }
}

/*

Thank you Page

*/

.main-thx {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  text-align: center;
}

.h2-thx {
  grid-area: 1/3/2/11;
}

.h3-thx {
  grid-area: 2/3/2/11;
}

.thx-a {
  text-decoration: none;
  color: var(--clr-dark);
}

.thx-a:hover {
  color: var(--clr-accent4);
}
