:root {
  /* Colours */
  --green: #4ea03e;
  --dark-green: #3c822e;
  --orange: #ee8b13;
  --dark-orange: #a85e20;
  --dark-blue: #3d4993;
  --dark-grey: #221d13;
  --white: #fffdf9;

  /* Spacing */
  --content-width: 1024px;
  --parapet-start: 900px;
  --parapet-height: 70px;
  --parapet-width: 100px;
  --parapet-spacing: 60px;
  --parapet-tile: calc(var(--parapet-width) + var(--parapet-spacing));
  --parapet-half-width: calc(var(--parapet-width) / 2);
  --flag-height: 650px;
  --footer-padding: 70px;
}

@media (max-width: 600px) {
  :root {
    /* Spacing */
    --content-width: 100%;
    --parapet-start: 700px;
    --parapet-height: 35px;
    --parapet-width: 50px;
    --parapet-spacing: 30px;
    --parapet-tile: calc(var(--parapet-width) + var(--parapet-spacing));
    --parapet-half-width: calc(var(--parapet-width) / 2);
    --footer-padding: 30px;
  }
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

body {
  margin: 0;
  min-height: 100vh;

  background: linear-gradient(
        to right,
        var(--green) 0,
        var(--green) var(--parapet-width),
        transparent var(--parapet-width),
        transparent var(--parapet-tile)
      )
      calc(50% - var(--parapet-half-width))
      calc(var(--parapet-start) - var(--parapet-height)) / var(--parapet-tile)
      var(--parapet-height) repeat-x,
    linear-gradient(
        to bottom,
        transparent 0,
        transparent var(--parapet-start),
        var(--green) var(--parapet-start),
        var(--green) 100%
      )
      0 0 / auto auto no-repeat,
    url("/assets/img/flag.svg") left calc(50vw + 0.3 * var(--content-width)) top
      calc(var(--parapet-start) - var(--flag-height)) / auto var(--flag-height)
      no-repeat;
}

@media (max-width: 600px) {
  body {
    background: linear-gradient(
          to right,
          var(--green) 0,
          var(--green) var(--parapet-width),
          transparent var(--parapet-width),
          transparent var(--parapet-tile)
        )
        calc(50% - var(--parapet-half-width))
        calc(var(--parapet-start) - var(--parapet-height)) / var(--parapet-tile)
        var(--parapet-height) repeat-x,
      linear-gradient(
          to bottom,
          transparent 0,
          transparent var(--parapet-start),
          var(--green) var(--parapet-start),
          var(--green) 100%
        )
        0 0 / auto auto no-repeat;
  }
}

#header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
}

#logo {
  width: 205px;
  margin-top: 54px;
  margin-left: 52px;
}

@media (max-width: 600px) {
  #logo {
    width: 100px;
  }
}

#header-buttons {
  display: flex;
  gap: 30px;
  margin-top: 110px;
  margin-right: 52px;
}

@media (max-width: 600px) {
  #header-buttons {
    display: none;
  }
}

.header-button-transparent {
  height: fit-content;
  padding: 10px 20px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

.header-button-orange {
  color: var(--white);
  background-color: var(--orange);
  height: fit-content;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

#content {
  width: var(--content-width);
  margin: 0 auto;
}

@media (max-width: 600px) {
  #content {
    padding: 0 10px;
    box-sizing: border-box;
  }
}

#tagline-box {
  margin-bottom: 270px;
}

@media (max-width: 600px) {
  #tagline-box {
    margin-bottom: 150px;
  }
}

#tagline {
  font-weight: 400;
  font-size: 64px;
  font-family: "Trocchi", serif;
  width: 75%;
  margin-bottom: 50px;
}

@media (max-width: 600px) {
  #tagline {
    font-size: 32px;
    width: auto;
    text-align: center;
  }
}

#tagline-buttons {
  display: flex;
  gap: 50px;
}

@media (max-width: 600px) {
  #tagline-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

#tagline-button-orange {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 255px;
  height: 82px;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  background-color: var(--orange);
  color: var(--white);
  border-radius: 2px;
}

#tagline-button-white {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 255px;
  height: 82px;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  border-radius: 2px;
  border: 5px solid var(--dark-green);
  box-sizing: border-box;
}

#tagline-button-image {
  width: 90px;
  margin-left: 10px;
  margin-right: 5px;
  margin-top: -12px;
}

.section-title {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 14%;
}

#about-us {
  padding-top: 30px;
  width: 50%;
}

@media (max-width: 600px) {
  #about-us {
    width: auto;
  }
}

#about-us-content {
  width: 75%;
  color: var(--white);
  font-family: "Trocchi", serif;
}

@media (max-width: 600px) {
  #about-us-content {
    width: auto;
  }
}

#company-info {
  display: flex;
  margin-bottom: 60px;
}

@media (max-width: 600px) {
  #company-info {
    flex-direction: column;
  }
}

#core-principles {
  padding-top: 30px;
}

.principle {
  display: flex;
  gap: 18px;
  margin-top: 40px;
}

.principle-text {
  font-size: 20px;
  color: var(--white);
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  letter-spacing: 14%;
  max-width: 176px;
  line-height: 100%;
  font-weight: 400;
}

.principle-icon {
  height: 40px;
}

#service-boxes {
  margin-top: 25px;
  display: flex;
  gap: 20px;
}

@media (max-width: 600px) {
  #service-boxes {
    flex-direction: column;
  }
}

.service-box {
  background-color: var(--dark-green);
  padding: 50px 35px;
}

.service-title {
  color: var(--white);
  font-size: 18px;
  font-family: "Trocchi", serif;
  margin-bottom: 20px;
}

.service-description {
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 12px;
}

#footer {
  display: flex;
  justify-content: space-between;
  margin-top: 100px;
  margin-bottom: 100px;
  align-items: center;
}

@media (max-width: 600px) {
  #footer {
    flex-direction: column-reverse;
    gap: 40px;
  }
}

#copyright-info {
  flex-direction: row;
  margin-left: 52px;
}

@media (max-width: 600px) {
  #copyright-info {
    margin-left: 0;
  }
}

#copyright-text {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--white);
  margin-top: 8px;
}

#talk-to-us {
  margin-right: 52px;
}

@media (max-width: 600px) {
  #talk-to-us {
    margin-right: 0;
  }

  #talk-to-us .section-title {
    text-align: center;
  }
}

#email {
  color: var(--white);
  font-family: "Trocchi", serif;
  font-size: 20px;
  font-weight: 400;
  margin-top: 8px;
}

#wheels {
  display: flex;
  gap: 50px;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(50% - var(--footer-padding) / 2),
    white calc(50% - var(--footer-padding) / 2),
    white 100%
  );
  padding-bottom: var(--footer-padding);
  overflow: hidden;
}

@media (max-width: 600px) {
  #wheels img {
    height: 30px;
  }
}
