* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  background: linear-gradient(to bottom, rgba(255, 64, 50, 0.8), rgba(71, 17, 116, 0.9)), url(/images/background.jpg);
  background-repeat: no-repeat;
  min-height: 100vh;
  background-position: center;
  background-size: cover;
}

.container {
  max-width: 1850px;
  width: 100%;
  margin: 0 auto;
}

.header-container {
  color: white;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.image-itself {
  width: 100px;
}

.list {
  display: flex;
}

.list-items {
  margin-left: 1rem;
  list-style: none;
}

main {
  color: white;
}

.input-content-container {
  flex: 2;
}

.main-container {
  max-width: 1200px;
  width: 50%;
  margin: 0 auto;
  padding: 13rem 0;
}

.main-text {
  flex: 1;
  width: auto;
  margin-top: -80px;
  margin-right: 8rem;
}

.main-header {
  line-height: 40px;
  font-size: 35px;
  width: 320px;
}

.main-text-description {
  font-size: 13px;
  margin-top: 1rem;
}

.content-container {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 2rem;
  margin-left: 5rem;
}

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

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.form-group input {
  width: 90%;
  padding: 6px 0;
  border-radius: 8px;
  border: none;
}

textarea {
  width: 90%;
  height: 75px;
  border-radius: 8px;
  border: none;
  resize: none;
}

.btn {
  width: 90%;
  padding: 8px 0;
  background-color: rgb(255, 102, 0);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
}

/* 


media queries

*/

@media (max-width: 1795px) {
  .main-container {
    max-width: 1000px;
    width: 90%;
  }
}

@media (max-width: 810px) {
  body {
    width: 100%;
    height: 100%;
    background-size: cover;
  }

  .main-container {
    padding: 0;
  }
}
@media (max-width: 768px) {
  .main-container {
    width: 90%; /* take most of the screen */
    margin: 10rem auto; /* centers horizontally */
  }

  .content-container {
    flex-direction: column-reverse; /* form on top, text below */
    margin-left: 0; /* remove left margin */
    gap: 2rem; /* spacing between form and text */
    align-items: center; /* center both form and text */
    justify-content: center;
  }

  .main-text {
    margin-top: 0; /* remove negative margin */
    margin-right: 0; /* remove right margin */
    width: 100%;
    text-align: center; /* center the text inside */
  }

  .input-content-container {
    width: 100%; /* form full width */
  }

  body {
    height: 100%;
  }

  .main-header,
  .main-text-description {
    margin: 0 auto;
    width: 60%;
  }

  form {
    text-align: center;
  }

  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .list {
    flex-direction: column;
  }

  .list-items {
    padding: 8px;
  }
}

@media (max-width: 544px) {
  .input-content-container {
    width: 100%; /* form full width */
  }

  .main-header {
    width: 100%;
    font-size: 30px;
  }

  .main-text-description {
    width: 75%;
    margin-top: 1rem;
  }
}
