h5 {
  float: right;
  display: inline;
}

#home {
  position: absolute;
  top: 300px;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.video {
  position: absolute;
  top: 7.5%;
  left: 225px;
  opacity: 0.8;
}

.background {
  position: sticky;
  width: fit-content;
  height: fit-content;
}

a:link,
a:visited {
  color: beige;
  text-align: right;
  text-decoration: none;
  display: inline-block;
  font-family: sans-serif;
  font-size: larger;
  font-weight: 500;
  opacity: 0.9;
}

span.Space {
  margin-left: 50px;
}

.paragraphs {
  text-align: left;
  font-family: sans-serif;
  color: antiquewhite;
}

h1,
h3 {
  text-align: left;
  text-transform: uppercase;
}

ul {
  text-align: left;
}

.img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

#heroeslogo {
  display: block;
  padding-top: 0%;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  height: 50%;
}

.herotypelogo {
  display: block;
  margin-top: 0%;
  margin-left: auto;
  margin-right: auto;
  width: 10%;
}

.guide {
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  top: 60.5%;
  left: 27.5%;
  opacity: 0.7;
}

body {
  background-color: #444442;
  padding-top: 85px;
}

h1 {
  font-family: "Poppins", sans-serif, "arial";
  font-weight: 600;
  font-size: 72px;
  color: white;
  text-align: center;
}

h4 {
  font-family: "Roboto", sans-serif, "arial";
  font-weight: 400;
  font-size: 20px;
  color: #9b9b9b;
  line-height: 1.5;
}

/* ///// inputs /////*/

input:focus ~ label,
textarea:focus ~ label,
input:valid ~ label,
textarea:valid ~ label {
  font-size: 0.75em;
  color: #999;
  top: -5px;
  transition: all 0.225s ease;
}

.styled-input {
  float: left;
  width: 293px;
  margin: 1rem 0;
  position: relative;
  border-radius: 4px;
}

@media only screen and (max-width: 768px) {
  .styled-input {
    width: 100%;
  }
}

.styled-input label {
  color: #999;
  padding: 1.3rem 30px 1rem 30px;
  position: absolute;
  top: 10px;
  left: 0;
  transition: all 0.25s ease;
  pointer-events: none;
}

.styled-input.wide {
  width: 650px;
  max-width: 100%;
}

input,
textarea {
  padding: 30px;
  border: 0;
  width: 100%;
  font-size: 1rem;
  background-color: #2d2d2d;
  color: white;
  border-radius: 4px;
}

input:focus,
textarea:focus {
  outline: 0;
}

input:focus ~ span,
textarea:focus ~ span {
  width: 100%;
  transition: all 0.075s ease;
}

textarea {
  width: 100%;
  min-height: 15em;
}

.input-container {
  width: 650px;
  max-width: 100%;
  margin: 20px auto 25px auto;
}

.submit-btn {
  float: none;
  padding: 7px 35px;
  border-radius: 60px;
  display: inline-block;
  background-color: #751e1e;
  color: white;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.06), 0 2px 10px 0 rgba(0, 0, 0, 0.07);
  transition: all 300ms ease;
}

.submit-btn:hover {
  transform: translateY(1px);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1), 0 1px 1px 0 rgba(0, 0, 0, 0.09);
}

@media (max-width: 768px) {
  .submit-btn {
    width: 100%;
    float: none;
    text-align: center;
  }
}

input[type="checkbox"] + label {
  color: #ccc;
  font-style: italic;
}

input[type="checkbox"]:checked + label {
  color: #f00;
  font-style: normal;
}

.image-grid {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.image-grid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero_guide {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-left: 25px;
}
