@font-face {
  src: url('/Switzer_Complete/Switzer_Complete/Fonts/TTF/Switzer-Variable.ttf') format('truetype');
  font-family: 'Switzer';
}

body {
  margin: 0;
  background-color: #000;
  font-family: 'Switzer', 'Public Sans', serif;
  color: white;
  overflow-x: none;
}

.navbar_logo {
  font-size: 20px;
  font-family: 'Libre Caslon Display', 'Switzer', 'Public Sans', sans-serif;
  font-weight: 500;
  text-align: center;
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100vh;
  background-image: url('/header-image.jpg');
  background-position: 90%;
  background-size: cover;
  text-align: center;
}

@media screen and (max-height: 500px) {
  .header_navbar {
    top: 32px !important;
  }

  .header {
    justify-content: end !important;
  }

  .header_content {
    margin-bottom: 32px;
  }

  h1 {
    margin-block: 16px !important;
    font-size: 14vh !important;
  }

  .header a {
    padding: 8px 16px !important;
  }
}

@media screen and (max-width: 768px) {
  .header {
    background-image: url('/header-image-mobile.JPG');
    background-position: 50%;
  }
}

@media screen and (max-width: 360px) {
  .certification {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 48px !important;
  }
}

@media screen and (max-width: 320px) {

  .pricing-element,
  .contact-element {
    display: flex !important;
    flex-direction: column !important;
    padding-block: 24px !important;
    text-align: center !important;
  }
}

.header::before {
  inset: 0;
  content: '';
  position: absolute;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.65);
  background-image: none;
}

.header_title {
  margin-top: 24px;
  margin-bottom: 36px;
  font-size: 11vw;
  font-family: 'Libre Caslon Display', sans-serif;
  font-weight: 400;
  line-height: 110%;
  text-align: center;
  letter-spacing: -1px;
}

.header_content,
.header_navbar {
  z-index: 1;
}

a {
  padding: 13px 36px;
  background-color: #fff;
  font-size: 14px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  letter-spacing: 2px;
}

.header_navbar {
  position: absolute;
  top: 48px;
}

.header_subtitle {
  font-size: 18px;
  font-weight: 200;
  text-align: center;
  letter-spacing: 3.5px;
  margin-inline: 8px;
}

/* Features section */
.features {
  display: flex;
  flex-direction: column;
  padding-block: 96px;
  text-align: center;
}

.feature-icon>span {
  user-select: none;
  font-size: 64px;
}

.features-title {
  font-weight: 200;
  letter-spacing: 3.2px;
  font-size: 28px;
}

.feature-text {
  font-weight: 500;
  letter-spacing: 2.5px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

a[href="#services"] {
  color: white;
  background-color: transparent;
  border: 1px solid white;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-inline: 32px;
}

.features-group {
  /* how do i center the elements on the screen */
  justify-content: center;

  display: flex;
  text-align: center;
  flex-wrap: wrap;
  gap: 50px;
  margin: auto;
  margin-inline: 32px;
  margin-top: 24px;
}

.about {
  display: flex;
  flex-direction: column;
  margin-inline: 32px;
  text-align: center;
  gap: 32px;
  margin-top: 48px;
}

.about-content>h2 {
  font-weight: 200;
  font-size: 28px;
  letter-spacing: 3.2px;
  margin: none;
}

.about-content>p {
  line-height: 175%;
  font-size: 16px;
  margin-top: 32px;
  letter-spacing: 0.5px;
}

.about-photo>img {
  width: 90%;
}

.certification {
  margin-top: 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 14px;
  letter-spacing: 1.4px;
  gap: 28px;
  justify-content: center;
}

.pricing-background {
  background-color: white;
  color: black;
  margin-top: 96px;
}

.pricing-content {
  padding-block: 64px;
}

.pricing-photo {
  display: flex;
  justify-content: center;
  padding-bottom: 64px;
}

.pricing-photo>img {
  width: 85%;
}

.pricing-content>h2 {
  font-weight: 200;
  letter-spacing: 3.2px;
  font-size: 28px;
  text-align: center;
  margin-bottom: 32px;
}

.pricing-group {
  display: flex;
  flex-direction: column;
}

.pricing-element {
  max-width: 500px;
  margin-inline: auto;
  height: 54px;
  border-bottom: 1px solid black;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 700;
  letter-spacing: 1.6px;
  justify-content: space-between;
  width: 85%;
}

.pricing-notes {
  font-size: 12px;
  width: 85%;
  max-width: 500px;
  margin-inline: auto;
  margin-top: 32px;
  text-align: center;
}

.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-content {
  padding-block: 64px;
  width: 85%;
  max-width: 500px;
}

.contact-content h2 {
  font-weight: 200;
  letter-spacing: 3.2px;
  font-size: 28px;
  text-align: center;

}

.header_navbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

@media screen and (min-width: 400px) {
  .header_navbar {
    flex-direction: row;
    gap: initial;
  }

  .header_navbar,
  .navbar_logo,
  .navbar_logo>span {
    text-align: left;
  }

  .header_navbar {
    width: 85%;
    max-width: 1400px;
  }
}

.navbar_contact>a {
  background-color: transparent;
  padding: 0;
  color: white;
  letter-spacing: 1.5px;
  font-weight: 400;
  text-decoration: underline;
}

.contact-element {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid white;
  width: 100%;
  max-width: 500px;
  height: 54px;
  letter-spacing: 1.8px;
  font-weight: 600;
  font-size: 18px;
}

.contact-element a {
  padding: 0;
  background-color: black;
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-decoration: underline;
  letter-spacing: 1.8px;
}

@media screen and (min-width: 768px) {

  .header {
    text-align: left;
  }

  .header_content,
  .header_navbar {
    width: 85%;
    max-width: 1400px;
  }

  .header_title {
    margin-bottom: 48px;
    font-size: 80px;
    text-align: left;
  }

  .header_navbar,
  .navbar_logo,
  .navbar_logo>span {
    text-align: left;
  }

  .header::before {
    background-color: transparent;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0) 80%), linear-gradient(rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 1) 100%);
  }

  .header_subtitle {
    font-size: 18px;
  }

  .button-group {
    justify-content: left;
    margin-inline: initial;
  }
}

@media screen and (min-width: 768px) and (max-width: 1050px) {
  .about-content>p {
    width: 85%;
    margin-inline: auto;
  }

  .header::before {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@media screen and (min-width: 1050px) {

  .about,
  .pricing {
    display: flex;
    flex-direction: row;
    text-align: left;
    max-width: 1400px;
    width: 85%;
    margin-inline: auto;
  }

  .pricing-notes,
  .pricing h2 {
    text-align: left;
  }

  .pricing-element,
  .pricing-notes {
    margin-inline: initial;
  }

  .about>*,
  .pricing>* {
    width: 50%;
  }

  .about-photo,
  .pricing-photo {
    display: flex;
    justify-content: right;
    align-items: center;
  }

  .about-photo>img,
  .pricing-photo>img {
    object-fit: contain;
    max-height: 500px;
  }

  .pricing-photo {
    padding-bottom: 0;
  }

  .certification {
    justify-content: left;
  }

  .pricing {
    padding-block: 56px;
  }

  .pricing-content>h2 {
    margin-top: 0;
  }

  .pricing-notes {
    margin-bottom: 0;
  }

  .pricing-content {
    margin-block: auto;
  }

  /* pricing section */
}

@media screen and (min-width: 1132px) {
  .features-group {
    max-width: 1500px;
    width: 85%;
    justify-content: space-between;
    margin: 0 auto;
    margin-top: 24px;
  }
}