@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

@font-face {
  font-family: UrbanJungle;
  src: url("./UrbanJungleDEMO.otf")
}
@property --primary-color {
  syntax: "<color>";
  inherits: false;
  initial-value: #ffd700;
}

@property --secondary-color {
  syntax: "<color>";
  inherits: false;
  initial-value: #070aa5;
}

@property --brand-black {
  syntax: "<color>";
  inherits: false;
  initial-value: #000000;
}

@property --brand-grey {
  syntax: "<color>";
  inherits: false;
  initial-value: #333333;
}

@property --brand-white {
  syntax: "<color>";
  inherits: false;
  initial-value: #ffffff;
}



html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--brand-black);
  color: var(--brand-white);
  font-family: 'Space Grotesk';
  margin: 0;
}

body p, body a {
  font-size: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

section {
  margin-bottom: 80px;
}

h1 {
  font-family: UrbanJungle;
  color: var(--brand-white);
  font-weight: 400;
  font-size: 25px;
  margin-left: 25px;
}

.btn.primary {
  background-color: var(--secondary-color);
  color: var(--brand-white);
  padding: 10px 35px;
  margin-top: 24px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
}

.sub-text {
  padding: 0 25px;
}


.navbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 0;

  .navlinks {
    display: flex;
    justify-content: space-evenly;
    margin-right: 20px;
  }

  .navlink a {
    font-weight: 500;
    font-size: 18px;
    margin: 0 10px;
    color: var(--brand-white);
    text-decoration: none;
  }
  .navlink a:hover {
    color: var(--primary-color);
    cursor: pointer;
  }
}

#hero {
  display: flex;
  padding: 0 25px;
  gap: 20px;

  .column {
    width: 50%;
    height: fit-content;
    min-height: 500px;
  }

  .col-2 {
    background-image: url('hero-image.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale();
  }


  h2 {
    font-size: 64px;
    font-weight: 700;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: fit-content;
    margin: 24px 0 0 0;
  }
  
  p {
    max-width: 700px;
    margin: 24px 0;
    padding: 0;
  }
}

#about {
  text-align: center;
  margin-top: 100px;

  h2 {
    font-size: 48px;
    text-align: center;
  }

  h3 {
    font-size: 48px;
    color: var(--primary-color);
  }

  /* p {
    padding: 0 25px;
  } */

  .prices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .price {
    background-color: var(--secondary-color);
    aspect-ratio: 1/1;
    width: 300px;
    margin: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    .price-text{
      display: flex;
    }
    
    p {
      font-size: 14px;
      padding: 10px 25px;
      text-align: left;
      font-weight: 400;
      line-height: 24px;
    }

    .price-text div {
      width: 120px;
    }

    .price-title p, .price-amount p{
      margin: 0px;
      padding: 0px;
      text-align: center;
    }

    .price-title p {
      font-size: 22px;
      font-weight: 700;
      margin: 10px 0;
    }

    .price-amount p {
      font-size: 16px;
    }
  }

  .topbar {
    align-self: flex-start;
    background-color: var(--primary-color);
    margin-top: 15px;
    padding: 5px 15px;
    text-align: left;
    font-size: 25px;
    font-weight: 700;
    color: var(--secondary-color)
  }

}

#classes {

  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  .class {
    position: relative;
    width: 400px;
    margin: 20px 10px;
    padding: 10px;
    text-align: left;

    p {
      font-size: 14px;
      line-height: 24px;
    }
    
    
    .class-image {
      height: 250px;
      background-position: center;
      background-size: cover;
    }
  }

  #openClasses {
    background-image: url('./open-classes.jpg');
    background-position: center -50px;
  }

  #fightSparring {
    background-image: url('./fighters-sparring.jpg');
  }

  #fightConditioning {
    background-image: url('./conditioning.jpg');
  }

  .class-image {
    filter: grayscale(100%);

  }

  .class-title {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px;
    font-size: 35px;
    font-weight: 700;
    position: absolute;
    top: 205px;
  }

  span.class-time p{
    font-size: 28px;
  }

}

#contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 100px 25px;

  h3 {
    font-size: 48px;
    color: var(--primary-color);
  }


  .map iframe {
      width: 100%;
      height: 300px;
    }
  
  p {
    font-size: 20px;
  }
  a {
    color: var(--primary-color);
    text-decoration: none;
  }

}

footer {
  background-color: var(--primary-color);
  width: 100%;
  margin: 0;

  .container {
    display: grid;
    grid-template-columns: 4fr 5fr 3fr;
    gap: 20px;
    padding: 50px 25px;
    color: var(--brand-grey);
    line-height: 20px;
  }
  .footer-title p{
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 500;
  }

  .social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
  }

  a {
    color: var(--secondary-color);
    text-decoration: none;
  }

}

@media screen and (max-width: 768px){

  #contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;

    .contact-details {
      width: 100% !important;
    }
  
    .map {
      width: 100% !important;
    }
  }

  footer  .container {

      grid-template-columns: 1fr;
    }

}

@media screen and (max-width: 425px){
  .navbox .navlinks {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  #hero{
    flex-direction: column;
    .column {
      width: 100%;
      margin: 25px 0;
    }
  }
}


