@keyframes appearScale {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.title {
  margin-top: 110px;
  font-size: 40px;
  font-family: "Cal Sans", sans-serif;
  text-align: center;
  padding: 4rem;
  height: auto;
}

.title span {
  color: rgb(19, 193, 224);
}

.container {
  display: flex;
  padding: 4rem;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.input-container label {
  font-weight: 300;
  text-transform: uppercase;
}

input,
textarea {
  border: 2px solid rgba(0, 0, 0, 0.753);
  border-radius: 4px;
  outline: none;
  padding: 0.6rem 1.2rem;
  width: 500px;
}

textarea {
  resize: none;
  height: 100px;
}

button {
  padding: 1.2rem;
  color: white;
  background: rgb(19, 193, 224);
  border: 2px solid rgb(19, 193, 224);
  outline: none;
  border-radius: 4px;
  margin-top: 1rem;
  transition: 0.1s;
  cursor: pointer;
}

button:hover {
  background: white;
  color: rgb(19, 193, 224);
}

button p {
  font-size: 20px;
  font-family: "Cal Sans", sans-serif;
}

iframe {
  width: 500px;
  height: 500px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  border-radius: 6px;
  min-width: 300px;
}

section {
  padding: 0px 4rem 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

section p {
  font-size: 24px;
  font-family: "Cal Sans", sans-serif;
  text-align: center;
}

@media (max-width: 1240px) {
  input,
  textarea {
    width: 300px;
  }
}

@media (max-width: 800px) {
  .container {
    flex-direction: column;
  }
  input,
  textarea,
  iframe {
    width: calc(-8rem + 100vw);
  }
  iframe {
    height: 300px;
  }
}

@media (max-width: 660px) {
  .title {
    font-size: 34px;
  }
  section p {
    font-size: 18px;
  }
}

@media (max-width: 410px) {
  .title {
    font-size: 30px;
  }
  input,
  textarea,
  iframe {
    width: calc(-4rem + 100vw);
  }
  button {
    padding: 0.7rem 1.7rem;
    border-radius: 6px;
  }
  button h3 {
    font-size: 18px;
  }
}

@media (max-width: 365px) {
  .title {
    font-size: 30px;
  }
  .title,
  .container,
  section {
    padding: 2rem;
  }
  .container {
    gap: 2rem;
  }
}
