@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Work Sans", sans-serif;
}

.contact-cont {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 50px 100px;
  flex-direction: column;
  background: url("/resources/images/contact-desktop1_edited2.jpg") no-repeat
    50% fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  o-background-size: cover;
}

/*@media (min-width: 20rem) and (max-width: 48rem) { 
  .contact-cont {
    background: url(/resources/image/contact-mobile.jpg);
    background-size: calc(100vh - 100px);
    height: calc(100vh - 100px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    o-background-size: cover;
*/

@media (min-width: 20rem) and (max-width: 48rem) {
  .contact-cont {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 50px 100px;
    flex-direction: column;
    background: url("/resources/images/contact-mobile.jpg") no-repeat 50% fixed;
    background-size: calc(100vh - 50px);
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    o-background-size: cover;
  }
}

.contact-cont .content-cont {
  max-width: 800px;
  text-align: center;
}

.contact-cont .content-cont h2 {
  /* font-size: 36px; */

  font-size: 3.75rem;
  font-weight: 500;
  color: #41fdfe;
  font-family: "Cormorant Garamond, sans-serif";
}

/* .contact-cont .content-cont p {
  font-weight: 300;
  color: #fff;
} */

.contact-cont .content-cont p {
  color: seashell;
  line-height: 1.3;
  font-family: "Work Sans", sans-serif;
  font-size: 1.875rem;
}

.container-cont {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.container-cont .contactInfo {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.container-cont .contactInfo .box {
  position: relative;
  padding: 20px 0;
  display: flex;
}

.container-cont .contactInfo .box .icon {
  min-width: 60px;
  height: 60px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.container-cont .contactInfo .box .text {
  display: flex;
  margin-left: 20px;
  font-size: 1rem;
  color: #fff;
  flex-direction: column;
  font-weight: 300;
}

.container-cont .contactInfo .box .text h3 {
  font-weight: 500;
  color: #41fdfe;
}

.contactForm {
  width: 40%;
  padding: 40px;
  background: #fff;
}

.contactForm h2 {
  font-size: 30px;
  color: #333;
  font-weight: 500;
}

.contactForm .inputBox {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 1rem;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
}

.contactForm .inputBox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 1rem;
  margin: 10px 0;
  pointer-events: none;
  transition: 00.5s;
  color: #666;
}

.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:valid ~ span {
  color: #e91e63;
  font-size: 12px;
  transform: translateY(-20px);
}

.contactForm .inputBox input[type="submit"] {
  width: 100px;
  /* background: #61dbfb; */
  background-color: #fff;
  border-radius: 0.25rem;
  color: #000;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  box-shadow: none;
  display: block;
  border: 1px solid #333;
  transition-property: background-color, color, border;
  transition-duration: 500ms;
  transition-timing-function: ease-out;
  transition-delay: 200ms;
}

.contactForm .inputBox input[type="submit"]:hover {
  background-color: #61dbfb;
  border: 1px solid #61dbfb;
  color: #fff;
}

@media (max-width: 991px) {
  .contact-cont {
    padding: 50px;
  }

  .contact-cont .content-cont h2 {
    font-size: 36px;
  }

  .contact-cont .content-cont p {
    font-size: 1rem;
  }

  .container-cont {
    flex-direction: column;
  }

  .container-cont .contactInfo {
    margin-bottom: 40px;
  }

  .container-cont .contactInfo,
  .container-cont .contactForm {
    width: 100%;
  }
}

/* Footer */
footer {
  text-align: center;
  margin: 0 auto;
  bottom: 0;
  padding: 1.875rem;
  width: 100%;
  font-size: 1em;
  background-color: hsl(45, 90%, 88%);
}

footer div {
  padding: 0.3125rem;
}

footer a {
  color: #000;
  padding: 0.625rem;
  text-decoration: none;
  box-shadow: none;
  transition-property: color;
  transition-duration: 300ms;
  transition-timing-function: ease-in;
}

footer a:hover {
  color: #306acc;
}

footer img {
  height: 1.25rem;
}

@media only screen and (max-width: 810px) {
  #footer .link,
  #footer .icons,
  #footer .copyright {
    padding-left: 10%;
    font-size: 14px;
  }
}

@media only screen and (max-width: 540px) {
  #footer .link,
  #footer .icons,
  #footer .copyright {
    padding-left: 8%;
    font-size: 12px;
  }
}
