*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --border-color: #444444;
  --border-radius: 32px;
  --border-radius-small: 16px;
  --content-header: 1.8rem;
  --content-paragraph: 1.5rem;
  --content-small: 1.1rem;
  --content-medium: 1.4rem;
  --content-large: 1.6rem;
  --hover-bg-color: #51404f;
  --hover-text-color: #ffffff;
  --link-light-color: #ff9900;
  --link-light-hover-color: #ffffff;
  --margin-bottom: 2rem;
  --margin-bottom-small: 1rem;
}

html,
body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  background: url("../images/beargrass_bg.jpeg") no-repeat center/cover fixed;
}

header {
  padding: 30px 0;
}

h1 {
  font-family: "Rubik Glitch", system-ui;
  font-size: 10vw;
  color: black;
  font-weight: 100;
  opacity: 0.7;
}

h2 {
  font-size: var(--content-header);
  text-transform: uppercase;
  margin-bottom: var(--margin-bottom);
}

h3 {
  font-size: var(--content-large);
  margin-bottom: var(--margin-bottom);
}

p {
  font-size: var(--content-paragraph);
  margin-bottom: var(--margin-bottom);
}

ul {
  list-style: none;
}

a {
  color: yellow;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

i {
  padding-right: 5px;
}

img {
  max-width: 100%;
  border-radius: var(--border-radius);
}

.container {
  overflow-x: hidden;
  position: relative;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1);
  padding: 0;
  margin-bottom: var(--margin-bottom);
}

.links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: var(--margin-bottom);
}

.links {
  font-size: var(--content-small);
  border-radius: var(--border-radius);
  margin-right: 2rem;
}

.page {
  max-width: 100%;
  margin: 0 auto;
}

.page-narrow {
  max-width: 600px;
  margin: 32px auto 0;
}

.separator {
  bottom: -4px;
  left: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Section: Welcome */
.welcome {
  background-color: black;
  color: white;
  padding: 4rem;
}

.welcome .welcome-flex {
  display: flex;
  justify-content: left;
  align-items: flex-start;
  gap: 6rem;
}

.welcome h2 {
  margin-top: 0;
}

.welcome .welcome-content {
  max-width: 50%;
}

.welcome .links {
  color: #000000;
}

.welcome .links-container {
  padding-top: 30px;
  justify-content: flex-start;
}

.welcome .welcome-image {
  max-width: 50%;
}
.welcome .welcome-image-wide {
  max-width: 100%;
  margin-top: 30px;
}

.welcome .contact-form {
  margin-bottom: var(--margin-bottom);
  width: 100%;
}

.welcome .contact-form .btn {
  display: inline-block;
  padding: 1.4rem 1.7rem;
  background-color: #000000;
  border-radius: var(--border-radius);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  margin-right: 10px;
  font-size: var(--content-medium);
}

.welcome .contact-form .btn:hover {
  background: #333333;
  color: #ffffff;
  text-decoration: underline;
}

.welcome .contact-form input,
.welcome .contact-form textarea {
  display: block;
  width: 50%;
  font-family: inherit;
  font-size: medium;
  margin: 0 0 1.5rem;
  border: 1px solid #ccc;
  padding: 1.2rem;
}

.welcome .contact-form textarea {
  width: 80%;
  height: 200px;
}

.welcome .contact-form .field-error {
  display: block;
  color: #ff0000;
  font-size: 0.85rem;
  margin-top: -0.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.welcome .contact-form .contact-form-checkbox {
  display: flex;
  align-items: center;
  padding: 1.2rem 1rem;
  margin: 1.5rem 0;
}

.welcome .contact-form .contact-form-checkbox input[type="checkbox"] {
  transform: scale(3, 3);
  max-width: 100px;
}

.welcome .contact-form .contact-form-checkbox label {
  font-size: var(--content-medium);
  height: 60px;
}

/* Footer */
.footer {
  display: block;
  background: black;
  color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 1rem;
}

.footer .copyright {
  font-size: var(--content-small);
  margin-bottom: 0;
  padding-left: 2cqi;
  text-align: left;
}

.footer .contact {
  font-size: var(--content-small);
  padding-left: 2rem;
}

@media (max-width: 900px) {
  html,
  body {
    background: none;
  }

  body:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url("../images/beargrass_bg.jpeg") no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  h1 {
    font-size: 4rem;
    line-height: 4rem;
  }
  h2,
  h3 {
    font-size: var(--content-small);
    margin-bottom: var(--margin-bottom-small);
  }

  img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-small);
  }

  p {
    font-size: var(--content-small);
    margin-bottom: 10px;
    padding: 0;
  }

  .btn {
    padding: 0;
    border-radius: 0;
    margin-right: 0;
    margin-top: 2rem;
  }

  .container {
    border-radius: var(--border-radius-small);
    padding: 1rem;
    max-width: 100%;
    border-radius: 0;
  }

  .links-container {
    gap: 1rem;
    margin-bottom: var(--margin-bottom-small);
  }

  .links {
    padding: 1.2rem;
    margin-right: 0;
  }

  .welcome .welcome-flex {
    flex-direction: column;
    gap: 0;
  }

  .welcome .btn {
    padding: 1rem;
    background: none;
    border-radius: 0;
    margin-right: 0;
    margin-top: 0;
    font-size: var(--content-small);
  }

  .welcome .btn:hover {
    background: none;
    color: #000000;
    text-decoration: underline;
  }

  .welcome .welcome-content {
    max-width: 100%;
  }

  .welcome .welcome-image {
    display: none;
  }
}

@media (max-width: 750px) {
  .btn {
    padding: 1rem;
    background: none;
    border-radius: 0;
    margin-right: 0;
    margin-top: 0;
    font-size: var(--content-small);
  }

  .btn:hover {
    background: none;
    color: #000000;
    text-decoration: underline;
  }

  .links-container {
    flex-direction: column;
    gap: 0;
  }

  .welcome .welcome-image {
    display: block;
    max-width: 100%;
  }

  .welcome .welcome-image img {
    max-width: 100%;
  }

  .welcome .welcome-image-wide {
    display: none;
  }

  .welcome .links-container {
    flex-direction: column;
    gap: 0;
  }
  .welcome .contact-form .contact-form-checkbox {
    display: inline-block;
    padding: 0;
    margin: 0;
  }
  .welcome .contact-form .contact-form-checkbox label {
    display: inline-block;
    font-size: var(--content-medium);
    height: 60px;
  }
  .welcome .contact-form .contact-form-checkbox input[type="checkbox"] {
    transform: none;
  }
}
