html,
body {
  margin: 0;
  box-sizing: border-box;
  background-color: black;
  /* background-color: #222; */
  color: #fff;
  font-family: 'Inter', sans-serif;
}

body.menu-open{
  overflow-y: hidden;
}

p {
  margin: 0;
}

/* NAV */
nav {
  width: 100%;
  padding: 40px 0;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

nav .logo {
  position: absolute;
  height: 50px;
  left: 8%;
}

nav a {
  color: #FFF;
  font-size: 18px;
  text-decoration: none;
}

nav .menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

/* NAV MOBILE */
@media (max-width: 920px) { 
  nav .logo {
    left: 20px;
    height: 40px;
  }

  nav a {
    display: none;
  }

  nav .menu-toggle {
    position: absolute;
    display: inline;
    width: 34px;
    right: 20px;
    cursor: pointer;
  }

  .mobile-menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    background: #000;
    display: flex;
    height: 100vh;
    width: 100vw;
    top: 0;
    overflow: hidden;
    z-index: 100;
    padding-top: 180px;
    font-size: 20px;
  }

  .mobile-menu a {
    color: #FFF;
    text-decoration: none;
    margin: 20px 0;
  }

  #mauer-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
    height: 40px;
  }

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

/* HERO */
#hero {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 800px;
  background-image: url('img/mauer-sandbox.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#hero .date {
  font-size: 18px;
  font-weight: 500;
}

#hero h2 { 
  font-size: 40px;
  font-weight: 500;
  margin-top: 16px;
  margin-bottom: 40px;
  line-height: 150.523%;
}

#hero button {
  background-color: #ffcd03;
  color: #282828;;
  font-size: 18px;
  font-weight: 600;
  border-radius: 16px;
  padding: 17px 160px;
  cursor: pointer;
  margin-top: 40px;
}

#hero button:hover {
  filter: brightness(1.05);
}

.partnership {
  margin: 120px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
}

.partnership img.mauer {
  height: 46px;
}

.partnership img.sandbox {
  height: 56px;
  margin-bottom: 6px;
}

.ticketInfo {
  display: flex;
  flex-direction: row;
}

.ticketInfo div {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.ticketInfo p {
  font-size: 14px;
}

.ticketInfo a {
  color: #ffcd03;
  font-size: 14px;
  margin-left: 2px;
  font-weight: 600;
  text-decoration: none;
}

/*  HERO MOBILE */
@media (max-width: 780px) {
  #hero {
    height: 100%;
    background-size: cover;
    background-position: center;
  }

  #hero h2 {
    font-size: 28px;
  }

  #hero button {
    padding: 17px 60px;
    width: 340px;
  }

  .partnership {
    margin: 60px 0;
    gap: 20px;
  }

  .ticketInfo {
    align-items: center;
  }

  .ticketInfo div {
    flex-direction: column;
    align-items: flex-start;
  }

  .ticketInfo a {
    margin-left: 0;
  }

  .partnership img.mauer {
    height: 36px;
  }
  
  .partnership img.sandbox {
    height: 46px;
    margin-bottom: 6px;
  }
}

/* ABOUT */
#about {
  margin: 0 auto;
  padding: 100px 0;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
}

#about h2 {  
  font-size: 32px;
  font-weight: 600;
}

.about-description {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 200px;
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.80);
}

.about-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 60px;
  margin-bottom: 30px;
}

.about-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.about-partnership {
  display: flex;
  align-items: center;
  font-size: 18px;
  gap: 16px;
}

.about-partnership img {
  height: 40px;
}

/* ABOUT MOBILE */
@media only screen and (max-width: 720px) {
  #about {
    padding: 60px 20px;
  }

  #about h2 {  
    font-size: 24px;
  }

  .about-description {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
}

/* SOCIALS */
#socials {
  padding: 100px 0;
  text-align: center;
  background-color: #222;
}

#socials h2 {
  margin-top: 0;
  font-size: 32px;
  font-weight: 600;
}

.socials-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 24px;
}

.socials-links a {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.socials-links img {
  height: 70px;
}

.socials-links img:hover {
  filter: brightness(1.05);
}

/* SOCIALS MOBILE */
@media (max-width: 780px) {
  #socials h2 {
    font-size: 24px;
  }

  .socials-links img {
    height: 50px;
  }
}

/* VIDEO */
#video {
  padding: 200px 0;
  text-align: center;
  font-size: 30px;
}

#video video {
  width: 100%;
  max-width: 1200px;
}

@media (max-width: 780px) {

  #video {
    padding: 60px 20px;
  }

  #video video {
    width: 100%;
    max-width: 100%;
  }
}


/* ROADMAP */
#roadmap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 100px 20px;
  background-color: #222;
}

.milestone-card {
  width: 780px;
  display: flex;
  justify-content: flex-start;
  border-radius: 12px;
  background: black;
  padding: 34px 0px;
}

.milestone-card__content {
  height: 81px;
  display: flex;
  flex-direction: column;
  width: 500px;
}

.milestone-card__content h3 {
  margin: 0;
  font-size: 18px;
  color: #ffcd03;
}

.milestone-card__content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  max-width: 468px;
  white-space: pre-wrap;
}

.milestone-card__dot {
  max-height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background-color: #ffcd03;
  margin: 0px 60px;
  position: relative;

  &::before {
    content: "";
    width: 2px;
    height: 150px;
    background-color: white;
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.milestone-card__dot.last {
  &::before {
    content: "";
    width: 2px;
    height: 60px; 
    background-color: white; 
    position: absolute;
    bottom: -60px; 
    left: 50%; 
    transform: translateX(-50%);
  }
}

.milestone-card__dot.completed {
  &::before {
    content: "";
    width: 2px;
    height: 150px;
    background-color: white;
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
  }

  &::after {
    content: "";
    width: 2px;
    height: 105px;
    background-color: #ffcd03;
    position: absolute;
    bottom: -105px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.milestone-card__dot.completed.first {
  &::before {
    content: "";
    width: 2px;
    height: 150px;
    background-color: white;
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
  }

  &::after {
    content: "";
    width: 2px;
    height: 105px;
    background-color: #ffcd03;
    position: absolute;
    bottom: -105px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.milestone-card__dot.completed.last {
  &::before {
    content: "";
    width: 2px;
    height: 60px;
    background-color: white;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
  }

  &::after {
    content: "";
    width: 2px;
    height: 60px;
    background-color: #ffcd03;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ROADMAP MOBILE */
@media (max-width: 780px) {
  .milestone-card {
    width: 100%;
  }
  .milestone-card__dot {
    margin: 0 5%;
  }
  .milestone-card__content {
    width: 100%;
    margin-right: 20px;
  }
  .milestone-card__content h3 {
    font-size: 18px;
  }
  .milestone-card__content p {
    font-size: 15px;
    font-weight: 300;
    line-height: 24px;
  }
}

/* FOOTER */
footer {
  padding: 15px;
  background-color: #1B1B1B;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-wrapper { 
  min-width: 1200px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
}

.footer-wrapper div {
  display: flex;
  width: 250px;
}

.footer-mauer {
  flex-direction: column;
  justify-content: flex-start;
  color: rgba(255, 255, 255, 0.50);
}

.footer-mauer img {
  width: 24px;
  margin-bottom: 6px;
}

.footer-mauer p {
  font-size: 12px;
}

.footer-terms {
  display: flex;
  gap: 24px;
}

.footer-terms a {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  cursor: pointer;
  color: #d9dbe1;
}

.footer-socials  {
  display: flex;
  gap: 20px;
}

.footer-socials img {
  width: 28px;
}

/* FOOTER MOBILE */
@media (max-width: 780px) {
  .footer-wrapper {
    min-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer-mauer {
    order: 3;
  }

  .footer-socials {
    order: 2;
  }

  .footer-terms {
    order: 1;
  }
}
