/* GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial;
}

/* CONTAINERS */
#main-container {
  display: flex;
  flex-direction: row;
  height: 100vh;
}

#address-container,
#form-container {
  flex: 1 1 0;
  height: 100%;
  text-align: center;
}

/* ADDRESS CONTAINER */
#address-container {
  background-image: url("../img/sun.jpg");
  background-size: cover;
  background-position-x: -180px;
  color: #fff;
  position: relative;
}

.fade {
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.7;
}

#address-content {
  width: 300px;
  text-align: left;
  top: 25vh;
  left: 35%;
  position: absolute;
}

#address-content h2 {
  color: #ff0505;
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
}

#address-content ion-icon {
  position: absolute;
  top: 2px;
  left: 0;
}

#address-content p {
  margin-bottom: 50px;
  font-weight: bold;
}

/* FORM CONTAINER */
#form-container {
  padding-top: 60px;
}

#form-container h2 {
  filter: drop-shadow(10px 5px 10px rgb(73, 0, 0));
  margin-bottom: 50px;
  color: #000000;
  font-size: 30px;
  
}

#contact-form {
  text-align: left;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
}

#contact-form label,
#contact-form input,
#contact-form textarea {
  display: block;
  padding: 10px;
  border: 1px solid #332d2d;
  width: 100%;
  color: #3e3e3e;
}

#contact-form label {
  color: #2e2e2e;
  font-weight: bold;
  border-bottom: none;
}

#contact-form input {
  margin-bottom: 15px;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #ccc;
}

#contact-form input[type="submit"] {
  background-color: #e92e2e;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  width: 450px;
  margin: 30px auto;
  border: 2px solid transparent;
  transition: 0.5s;
}

#contact-form input[type="submit"]:hover {
  border-color: #8c0000;
  color: #881111;
  background-color: #fff;
}

/* MOBILE */

@media (max-width: 700px) {
  #main-container {
    height: 100%;
    flex-wrap: wrap;
  }

  #form-container,
  #address-container {
    flex: 1 1 100%;
  }

  #form-container {
    order: -1;
    padding: 20px;
  }

  #form-container h2 {
    margin-bottom: 25px;
    filter: drop-shadow(6px 8px 10px red);
  }

  #contact-form {
    width: 100%;
  }

  #contact-form label,
  #contact-form input,
  #contact-form textarea {
    border-color: #aaa;
  }

  #address-container {
    background-position: 0;
    height: 500px;
  }

  .fade {
    opacity: 0.9;
  }

  #address-content {
    top: 25%;
    left: 25%;
  }
}
