main {
  background-image: url("../assets/background-visitus.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  max-width: 100%;
  height: auto;
  padding-bottom: 100px;
}

.form-map {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 55px;
  flex-wrap: wrap;
}

/* CONTACT FORM */

.form-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 605px;
  height: auto;
  background-color: #00449c;
  padding: 40px;
  padding-top: 10px;
  padding-bottom: 30px;
  margin: 0 auto;
}

.h2-form {
  font-family: "Montserrat", sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: center;
  padding: 25px;
}

label {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

input[type="text"],
textarea,
select {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 0.938rem;
  font-weight: 500;
  background-color: #9edffe;
  padding: 10px;
  border: none;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

::placeholder {
  color: #1f1f1f;
}

.names {
  display: flex;
  gap: 8px;
}

input[type="submit"] {
  display: flex;
  justify-content: center;
  background-color: #00449c;
  border: 2px solid #9edffe;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  border-radius: 50px;
  color: #9edffe;
  padding: 5px 15px;
  text-align: center;
  text-decoration: none;
  font-size: 1.25rem;
  width: 155px;
  cursor: pointer;
  margin: 0 auto;
}

input[type="submit"]:hover {
  background-color: #ff42d4;
  color: #00449c;
}

.opacity {
  opacity: 0;
}
/* -------*/

.text-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: start;
  flex-wrap: wrap;
  max-width: 80%;
  margin: 0 auto;
  gap: 70px 60px;
  padding: 40px;
  margin-top: 30px;
}

.textbox-visitus {
  width: 425px;
}

.p-visitus,
.textbox-visitus li {
  font-family: "Montserrat", sans-serif;
  font-size: 1.563rem;
  padding-bottom: 15px;
  list-style: none;
}

.textbox-visitus.icons-visitus ul li {
  display: flex;
  align-items: center;
}

.textbox-visitus.icons-visitus ul li img {
  margin-right: 8px;
}

/* MEDIA QUERIES */
/* mobile to small tablet */
@media screen and (min-width: 300px) and (max-width: 600px) {
  .form-contact {
    width: 100%;
    height: auto;
    padding: 40px;
  }

  .names {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .form-map {
    gap: 0px;
    width: 100%;
    height: auto;
    padding-top: 10px;
  }

  .p-visitus,
  .textbox-visitus li {
    font-size: 1.111rem;
  }
}

/* everything above mobile */
@media screen and (min-width: 601px) {
  .form-map {
    gap: 0px;
  }
}
