:root {
  --black: #000000;
  --blue: #1e4792;
  --text-color: #333;
  --text-light: #676b6e;
  --roboto: "Roboto", sans-serif;
  --oswald: "Oswald", sans-serif;
  --inter: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

a {
  cursor: pointer;
}

h1 {
  font-size: 36px;
  letter-spacing: 0.1em;
}

@media (min-width: 1650px) {
  h1 {
    font-size: 48px;
  }
}

h2 {
  font-size: 24px;
}

@media (min-width: 1650px) {
  h2 {
    font-size: 28px;
  }
}

h3 {
  font-size: 24px;
  font-family: var(--roboto);
  font-weight: 400;
  color: var(--black);
}

h4 {
  font-size: 20px;
  font-family: var(--roboto);
  color: var(--black);
}

p {
  font-size: 16px;
}

@media (min-width: 1650px) {
  p {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 25px;
  }
}

.blue-btn {
  font-family: var(--roboto);
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--blue);
  color: white;
  padding: 10px 10px;
  width: 115px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 auto 20px auto;
}

.blue-btn:hover {
  background-color: rgba(30, 71, 146, 0.85);
}

.container {
  padding-left: 12vw;
  padding-right: 12vw;
  box-sizing: border-box;
  max-width: 1800px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .container {
    padding-left: 8vw;
    padding-right: 8vw;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 0 50px;
  background-color: var(--black);
  height: 95px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  nav {
    flex-direction: column;
    padding: 30px;
    height: auto;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.contact {
  display: flex;
  align-items: stretch;
}

.contact-btn {
  font-family: var(--roboto);
  letter-spacing: 2px;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--blue);
  color: white;
  padding: 0 20px;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: rgba(30, 71, 146, 0.85);
}

@media (max-width: 900px) {
  .contact-btn {
    padding: 10px 20px;
    height: auto;
  }
}

.hero {
  background-image: url("./assets/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
  aspect-ratio: 1440/759;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
  justify-items: center;
}

@media (max-width: 1200px) {
  .hero-container {
    display: grid;
    grid-template-columns: 1fr;
    padding: 80px 0;
  }
}

.hero-content {
  width: 31vw;
  padding-top: 26vw;
}

@media (max-width: 1200px) {
  .hero-content {
    width: 90vw;
    padding-top: 10vw;
  }
}

.hero .small-title h4 {
  font-family: var(--oswald);
  font-size: 20px;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}

.hero h1 {
  font-family: var(--inter);
  text-transform: uppercase;
}

.hero p {
  color: white;
  font-family: var(--roboto);
  line-height: 1.65;
}

.form-container.desk {
  position: absolute;
  right: 5vw;
  bottom: -16vw;
  margin-top: 40px;
  max-width: 600px;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  background-color: white;
  border: 1px solid var(--black);
  border-bottom: 2px solid var(--black);
}

.form-container h2 {
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  text-align: center;
  font-weight: 400;
  margin: 0 0 30px 0;
}

form {
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
  overflow: hidden;
}

.form-label {
  display: block;
  padding-bottom: 5px;
  font-family: var(--roboto);
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--black);
  font-size: 16px;
}

.form-label .required {
  font-size: 12px;
  color: #a8a8a8;
  display: inline-block;
  padding-left: 9px;
  font-weight: normal;
  font-family: var(--roboto);
}

input[type="text"],
input[type="email"],
textarea,
.form-input,
.form-textarea {
  font-size: 16px !important;
  font-family: var(--roboto);
  width: 100%;
  padding: 15px 12px;
  border: 1px solid var(--black);
  font-size: 14px;
  background: white;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #007bff;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-row-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}

.submit-btn {
  font-family: var(--roboto);
  font-size: 18px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--blue);
  color: white;
  padding: 10px 10px;
  width: 115px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: rgba(30, 71, 146, 0.85);
}

#successMessage {
  display: block;
  margin: 0 auto;
  text-align: center;
  color: white;
  font-family: "Roboto";
  margin-top: 60px;
}

.form-container.mobile {
  display: none;
}

@media (max-width: 1200px) {
  .form-container.mobile {
    position: relative;
    right: unset;
    top: unset;
    max-width: 90vw;
    display: block;
    margin: 30px auto;
    padding-bottom: 40px;
    bottom: unset;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 2px solid black;
  }

  .form-container.desk {
    display: none;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-input,
  .form-textarea {
    padding: 15px 10px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-row {
    gap: 0;
  }

  .r-mb {
    display: none;
  }
}

a.blue-btn.top {
  width: 135px;
}

.features {
  margin: 160px 0 100px 0;
}

@media (max-width: 900px) {
  .features {
    margin: 50px 0 30px 0;
  }
}

.features h2 {
  font-family: var(--inter);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  font-weight: 600;
  margin: 0;
}

.features h3 {
  margin: 0;
}

.features p {
  color: var(--text-color);
  font-family: var(--roboto);
  margin-top: 0;
}

.icons {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 1100px) {
  .icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
}

@media (max-width: 600px) {
  .icons {
    grid-template-columns: 1fr;
  }
}

.icon .div1 {
  height: 120px;
  display: flex;

  align-items: end;
  margin: 0 0 30px 0;
}

.icon .div1 img {
  max-width: 100%;
  max-height: 100%;
}

.one {
  max-width: 210px;
}

.two {
  max-width: 205px;
}

.three {
  max-width: 220px;
}

.four {
  max-width: 230px;
}

.icon img {
  display: block;
  padding-top: 5px;
}

@media (max-width: 900px) {
  .icon {
    margin-bottom: 30px;
  }
}

hr {
  border: none;
  border-top: 2px solid var(--black);
  margin: 0;
}

.design-section-copy {
  margin: 80px auto;
}

p {
  color: var(--text-color);
  font-family: var(--roboto);
}

.design {
  margin: 50px auto 60px auto;
}

h2 {
  font-family: var(--inter);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  font-weight: 600;
  font-size: 24px;
}

.configurator {
  display: grid;
  grid-template-columns: 1fr 2.9fr;
  gap: 4vw;

  align-items: end;
}

@media (max-width: 900px) {
  .configurator {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }
}

.configurator .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3px;
  margin: 3px 0;
}

.configurator .row:nth-child(2) {
  margin-top: 3px;
  margin-bottom: 0;
}

.configurator .row img {
  width: 100%;
  /* height: 100%; */
  max-width: 90px;
}

.selections h4 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 10px;
}

.result h2 {
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  margin: 0;
  font-size: 28px;
}

.result h3 {
  font-family: var(--oswald);
  font-size: 20px;
  color: var(--black);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 8px;
}

.color-option,
.design-option {
  cursor: pointer;
  box-sizing: border-box;
  display: block;
  border: 4px solid transparent;
}

.selected {
  border-color: var(--blue);
}

.color-option.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.species {
  margin-top: 30px;
}

#doorImage {
  width: 100%;
}

@media (max-width: 900px) {
  .configurator {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .designs .rows,
  .species .rows {
    overflow: hidden;
    transition: opacity 0.3s ease;
    opacity: 1;
  }

  .designs.collapsed .rows,
  .species.collapsed .rows {
    max-height: 0;
    opacity: 0;
  }

  .designs h4,
  .species h4 {
    cursor: pointer;
    position: relative;
    background: #f4f4f4;
    padding: 20px 25px 20px 20px;
  }

  .designs h4::after,
  .species h4::after {
    content: "";
    position: absolute;
    right: 10px;
    width: 16px;
    height: 16px;
    background-image: url("./assets/chev.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
  }

  .designs.collapsed h4::after,
  .species.collapsed h4::after {
    transform: translateY(-50%) rotate(-90deg);
  }

  #doorImage {
    width: 100%;
    aspect-ratio: 250/141;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
}

.resources-showroom {
  margin-bottom: 85px;
}

.rs-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
}

@media (max-width: 900px) {
  .rs-content {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 50px;
  }
}

.rs-content h2 {
  font-family: var(--inter);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.technical {
  background-image: url("./assets/technical.png");
  padding: 6vw;
  display: grid;
  justify-items: center;
  align-items: center;
}

.zip {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  justify-items: center;
  gap: 0;
  margin-top: 40px;
  color: black;
  background-color: white;
  font-family: var(--roboto);
  padding: 10px 30px;
}

.zip-title {
  font-size: 24px;
  color: var(--black);
  font-weight: 900;
  margin: 0;
}

.dl-zip {
  font-family: var(--roboto);
  margin: 6px 0 0 0;
}

.dl-zip a {
  color: var(--text-light);
  text-decoration: none;
}

.showroom {
  background-color: var(--black);
  padding: 6vw;
  display: grid;

  justify-items: center;
}

@media (max-width: 900px) {

  .technical,
  .showroom {
    padding: 3vw;
    height: 250px;
    align-content: center;
  }

  .technical {
    order: 2;
  }

  .showroom {
    order: 1;
  }

  .showroom .white-btn {
    margin-top: 40px;
  }
}

.showroom>div {
  align-self: center;
}

.white-btn {
  font-family: var(--roboto);
  font-size: 18px;
  display: inline-block;
  background-color: white;
  color: var(--black);
  padding: 10px 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0;
}

.white-btn:hover {
  background-color: rgb(255, 255, 255, 0.85);
}

.cta {
  background-color: var(--black);
  color: white;
  text-align: center;
  padding: 100px 30px;
  margin: 0 auto;
}

.cta-content {
  width: 40vw;
  text-align: center;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .cta-content {
    width: 80vw;
  }
}

.cta h2 {
  font-family: var(--inter);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  font-weight: 600;
  margin: 0 0 20px 0;
}

footer {
  background-color: var(--black);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  font-family: var(--roboto);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-contact {
  color: white;
  text-decoration: none;
  font-family: var(--roboto);
  font-size: 18px;
  border: 1px solid white;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.footer-contact:hover {
  background-color: rgb(255, 255, 255, 0.09);
}

@media (max-width: 900px) {
  footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .year_copy {
    order: 3;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

.success-form {
  display: block;
  margin: 0 auto;
  text-align: center;

  font-family: "Roboto";
  margin-top: 60px;
}

.success-form h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.success-form p {
  font-size: 16px;

  color: var(--black) !important;
}

.form-container.desk.successMessage {
  bottom: -1vw;
}