@font-face {
  font-family: "HotThinRoof";
  src: url("fonts/Hot\ Thin\ Roof.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

:root {
  --primary-color: #525218;
  --secondary-color: #ad8035;
  --other-primary: #1c352d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
}

a {
  word-wrap: break-word;
}

.box {
  margin: 20px 5%;
  border: 2px solid var(--other-primary);
  padding: 2%;
}

.logo-space {
  margin: auto;
  background-color: white;
  padding: 1% 0;
}

.logo {
  margin: 0 auto;
  width: 25%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.header {
  overflow: hidden;
  background-color: var(--other-primary);
  padding: 20px 10px;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
}

.header a {
  color: white;
  text-align: center;
  padding: 12px;
  margin: 0 30px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}

.header a:hover {
  background-color: var(--secondary-color);
}

.site-image {
  width: 80%;
  display: block;
  object-fit: cover;
  object-position: center;
  margin: 3% auto;
}

.main {
  margin: 20px auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.main h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 5px 0;
  font-family: "HotThinRoof", sans-serif;
  font-size: 2.5rem;
}

.main p {
  font-size: 18px;
  line-height: 1.5;
  margin-left: 12px;
}

.divider {
  margin: 90px 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  white-space: nowrap;
  text-align: center;
  font-size: 3.5em;
}

.hr-line {
  border-top: 3px solid var(--other-primary);
  vertical-align: middle;
}

.divider span {
  display: inline-block;
  font-weight: bolder;
  font-family: "HotThinRoof", sans-serif;
  color: var(--secondary-color);
  padding: 0 15px;
}

#main,
#products,
#about,
#contact {
  scroll-margin-top: 100px;
}

label {
  font-weight: bold;
  font-family: "HotThinRoof", sans-serif;
  font-size: 2rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--other-primary);
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type="submit"] {
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 40px;
}

input[type="submit"]:hover {
  background-color: var(--other-primary);
}

.contact_container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

.footer {
  width: 100%;
  padding: 6px;
  background-color: var(--other-primary);
  color: white;
  text-align: center;
}

.footer a {
  color: white;
}

@media (max-width: 1240px) {
  .main {
    margin: 20px 20px;
  }
}

@media screen and (max-width: 800px) {
  .box {
    margin: 10px 5%;
    border: 2px solid var(--other-primary);
    padding: 1%;
  }

  .logo-space {
    padding: 3% 0;
  }

  .header {
    padding: 10px 10px;
  }

  .header a {
    margin: 0 2px;
  }

  .site-image {
    width: 100%;
  }
}
