* {
  box-sizing: border-box;
}

body {
  padding-top: 0;
  background-color: rgb(240, 231, 218);
}


img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.element {
  margin: 0rem 2rem;
}

.about-logotype-main-header {
  font-family: 'Instrument Serif', sans-serif;
  font-size: 7rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.about-logotype-header {
  font-family: 'Instrument Serif', sans-serif;
  font-size: 4rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.about-logotype-subheader {
  font-family: 'Instrument Serif', sans-serif;
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.about-logotype-body {
  font-family: 'Manrope Regular', sans-serif;
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-width: 60rem;
  min-width: 10rem;
}

.image-grid,
.info-grid,
.input-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 26.5rem;
}

.hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 20rem;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__title {
  font-family: 'Instrument Serif', sans-serif;
  font-size: 7rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  margin-top: 4rem;
  padding: .25rem .5rem;
}

.element {
  display: grid;
  gap: 1rem;
  margin-top: 4rem;
}

label,
input,
textarea,
select,
button {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: 'Manrope Regular';
  font-size: 1rem;
  line-height: 1.2rem;
}

textarea {
  padding: 0.4rem 0.6rem;
  margin-top: 0.8rem;
  border-color: bisque;
  background-color: #EBC9C6;
}

input {
  width: 100%;
  max-width: 30rem;
  height: 2rem;
  border-color: #8b7355;
  background-color: #e4d9d9;
  border-radius: 0.25rem;
}

form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

button {
  width: 100%;
  max-width: 20rem;
  height: 2rem;
  border: 1rem;
  padding: 0 0.6rem;
  color: white;
  background-color: #EC6C61;
  border-radius: 2rem;
  transition-property: background-color;
  transition-duration: 0.s;
  transition-timing-function: ease-out;
}

button:hover {
  background-color: #ac4238;
}

@media (width < 20rem) {
  .button {
    width: 10rem;
  }
}

@media (width < 40rem) {
  input {
    width: 100%;

  }

  .image-grid,
  .info-grid,
  form {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 25rem;
  }

  .hero__title {
    font-size: 5rem;
  }

  .container {
    width: 90%;
  }
}



@media (width < 60rem) {
  .container {
    width: 22rem;
  }

  .grid.two-columns {
    grid-template-columns: 1fr 1fr;
  }

  .title {
    font-size: 4rem;
  }
}