:root {
  --yellow: #ffcd00;
  --red: #c00a35;
  --cream: #ffe6ab;
  --padding: 120px;
  --max-width: 1440px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: white;
}

a {
  text-decoration: none;
  color: inherit;
  font-family: OpenSans;
  display: inline-block;
}

ul li {
  list-style-type: none;
  display: inline-block;
}

ul {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: OpenSans;
  src: url(assets/OpenSans.ttf);
}

@font-face {
  font-family: Merriweather;
  src: url(assets/fonts/Merriweather/Merriweather-Regular.ttf);
}

@font-face {
  font-family: Merriweather-Bold;
  src: url(assets/fonts/Merriweather/Merriweather-Bold.ttf);
}

@font-face {
  font-family: Merriweather-BoldItalic;
  src: url(assets/fonts/Merriweather/Merriweather-BoldItalic.ttf);
}

@font-face {
  font-family: Merriweather-LightItalic;
  src: url(assets/fonts/Merriweather/Merriweather-LightItalic.ttf);
}

@font-face {
  font-family: Merriweather-Italic;
  src: url(assets/fonts/Merriweather/Merriweather-Italic.ttf);
}

header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: fixed;
  padding: 20px var(--padding);
  width: 100vw;
  box-sizing: border-box;
  z-index: 10;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
  flex-basis: 100%;
  justify-content: space-between;
  max-width: var(--max-width);
}

.nav-a {
  padding: 12px 16px;
}

.nav-a:hover {
  background-color: var(--yellow);
  color: white;
}

h1 {
  font-family: Merriweather-Bold;
  font-weight: 700;
  font-size: 4em;
  color: black;
  margin: 0;
  text-align: center;
}

h2 {
  font-family: Merriweather-LightItalic;
  font-style: italic;
  font-weight: 300;
  font-size: 2em;
  margin: 0;
  margin-bottom: 12px;
  text-align: center;
}

#stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  min-height: max(100vh, 700px);
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  background-color: var(--yellow);
  padding: 65px var(--padding);
  box-sizing: border-box;
}

#scroll {
  position: absolute;
  bottom: 60px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  color: white;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
}

.backgroundFont {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-size: max(40vh, 24vw);
  text-align: center;
  pointer-events: none;
  position: absolute;
  color: rgba(0, 0, 0, 0.1);
}

h3 {
  font-family: Merriweather-LightItalic;
  font-weight: 700;
  font-size: 1.5em;
  margin: 0;
}

h4 {
  font-family: Merriweather-LightItalic;
  font-weight: 700;
  font-size: 2em;
  margin: 0;
  margin-bottom: 12px;
}

p {
  font-family: OpenSans;
  font-weight: 400;
  font-size: 1em;
}

.btn {
  background-color: var(--yellow);
  color: black;
  font-family: OpenSans;
  font-weight: 700;
  font-size: 1em;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 16px;
  padding-right: 16px;
  border: 1px solid var(--yellow);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  background-color: var(--cream);
}

.btn-secondary {
  background-color: white;
  color: black;
  border: 1px solid var(--yellow);
}

.btn-secondary:hover {
  background-color: var(--cream);
}

.info-box {
  border: 4px solid var(--yellow);
  padding: 40px;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-data {
  display: flex;
  flex-direction: column;
}

.info {
  font-family: "Merriweather-Bold";
  font-style: normal;
  font-weight: 700;
  font-size: 2em;
  padding-bottom: 8px;
}

#teaser {
  background-color: #f7f7f7;
  border-bottom: 4px solid var(--yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px var(--padding);
}

.teaser {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 80px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.teaser-box {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}

.num {
  font-family: "Merriweather-Light";
  font-style: normal;
  font-weight: 300;
  font-size: 64px;
}

.tex {
  font-family: "Merriweather-LightItalic";
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
}

.teaser-info-box {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.icon {
  width: 100%;
}

#about {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px var(--padding);
}

.about {
  max-width: var(--max-width);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.about-text {
  width: 50%;
  align-self: flex-start;
  padding-bottom: 16px;
}

.row {
  display: flex;
  gap: 12px;
}

.time {
  border-right: 4px solid var(--yellow);
  font-family: Merriweather-Italic;
  font-size: 1.25em;
  width: 140px;
  padding-bottom: 12px;
  text-align: center;
}

.presentation {
  font-family: OpenSans;
  font-size: 1.25em;
  font-weight: 300;
  flex: 1;
  padding-left: 24px;
  padding-bottom: 12px;
}

#schedule {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--padding);
}

#schedule-box {
  display: flex;
  flex-direction: column;
}

#location {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  padding: 20px var(--padding);
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.location {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  max-width: var(--max-width);
}

.adress {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-right: 12px;
}

.box {
  flex: 1;
  gap: 12px;
  flex-basis: 50%;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

footer {
  height: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--yellow);
}

.half-circle {
  height: 120px;
  position: absolute;
  bottom: -65px;
  left: 10%;
  width: 80vw;
  border-radius: 50%;
  background-color: var(--yellow);
  z-index: -10;
}

#mobile-nav-btn {
  display: none;
}

#mobile-nav {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100vw; /* Full width (cover the whole page) */
  height: 100vh; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10; /* Specify a stack order in case you're using a different order for other elements */
  /* Add a pointer on hover */
  background-color: var(--cream);
}

#mobile-nav-content {
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

#close-btn {
  cursor: pointer;
  position: absolute;
  top: 40px;
  right: 20px;
}

ul.mobile {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.nav-b {
  font-family: Merriweather-BoldItalic;
  font-style: italic;
  font-weight: 700;
  font-size: 3em;
  line-height: 120px;
  color: black;
  text-align: center;
  display: block;
  width: 100%;
}

.active-nav {
  color: var(--yellow);
}

.z-index {
  z-index: 2;
}

@media screen and (min-width: 760px) and (max-width: 1200px) {
  .teaser {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 760px) {
  :root {
    --padding: 20px;
  }

  .teaser {
    grid-template-columns: 1fr;
    padding-left: 40px;
    padding-left: 40px;
  }

  #nav {
    display: none;
  }

  .about-text {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .info-box {
    align-self: stretch;
  }

  #mobile-nav-btn {
    display: block;
  }

  .mob-col {
    flex-direction: column;
  }

  .location {
    height: 100%;
  }

  h1 {
    font-family: Merriweather-Bold;
    font-weight: 700;
    font-size: 3em;
    color: black;
    margin: 0;
  }
}

@media screen and (max-height: 700px) {
  #scroll {
    padding-top: 12px;
    position: static;
  }
}
