@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-image: url("images/homebkn.png");
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* navigation menu*/
.nav {
  position: fixed;
  background-color: #222;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: all 0.3s ease-in-out;
}

.nav ul {
  display: flex;
  list-style-type: none;
  align-items: center;
  justify-content: center;
}

.nav a {
  color: #fff;
  text-decoration: none;
  padding: 7px 15px;
  transition: all 0.3s ease-in-out;
}

.nav.active {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav.active a {
  color: #000;
}

.nav.active .container {
  padding: 10px 0;
}

.nav a.current,
.nav a:hover {
  color: #c0392b;
  font-weight: bold;
}
/*end of navigation menu and start of text functions*/

body,
input,
textarea {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
/*general opcions*/
.container-1 {
  margin-top: 50px;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* background color and box*/
.form {
  width: 100%;
  max-width: 820px;
  background-color: #95b9bf;
  border-radius: 18px;
  box-shadow: 0 0 20px 1px rgba(48, 52, 53, 0.671);
  z-index: 1000;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex-direction: column;
}
/*form imputs opcions*/
input[type="text"] {
  color: rgb(23, 22, 22);
  width: 110%;
  height: 15%;
  padding: 5px 15px;
  margin: 2px 0;
  box-sizing: border-box;
  border: 2px solid rgb(17, 16, 16);
  border-radius: 15px;
}
input[type="email"] {
  width: 110%;
  height: 15%;
  padding: 5px 15px;
  margin: 2px 0;
  color: rgb(25, 24, 24);
  box-sizing: border-box;
  border: 2px solid rgb(17, 17, 17);
  border-radius: 15px;
  align-items: center;
}
textarea {
  max-width: 110%;
  max-height: 150px;
  padding: 12px 15px;
  margin: 2px 0;
  color: rgb(14, 14, 14);
  box-sizing: border-box;
  border: 2px solid rgb(19, 18, 18);
  border-radius: 15px;
  align-items: center;
}

button {
  width: 110%;
  align-items: center;
  border-radius: 5px;
  color: #90d8ca;
  background: #291b1b;
}

/*general form conditions*/

.form-1 {
  padding: 2vw 2vw;
  width: 80%;
  max-width: 500px;
  border-radius: 5px;
}

/*social media title color and opcions*/

form {
  padding: 2.3rem 2.2rem;
  z-index: 15;
  overflow: hidden;
  position: relative;
  flex-direction: column;
}

.title {
  color: #8b0e0e;
  font-weight: 200;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

/*responsive opcions*/
.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}

.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: #bdcfcb;
  top: 50%;
  transform: translateY(-50%);
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}
/* adress titles opcions*/
.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.contact-info {
  color: #e93278;
}

.text {
  color: #0d0d0d;
  margin: 1.5rem 0 2rem 0;
  font-weight: 500;
  font-size: 20px;
}

/*text color address-phone -email*/
.information {
  display: flex;
  color: #130a0a;
  margin: 0.7rem 0;
  align-items: center;
  font-size: 1rem;
  font-weight: 400;
  font-size: 20px;
}

.icon {
  width: 48px;
  margin-right: 0.7rem;
  background-color: white;
  border-radius: 30px;
}

.social-media {
  padding: 2rem 0 0 0;
}

.social-media p {
  color: #783030;
}

.social-icons {
  display: flex;
  margin-top: 0.5rem;
}

.social-icons a {
  width: 45px;
  height: 40px;
  border-radius: 5px;
  background: linear-gradient(45deg, #3d856d, #3b3d3c);
  color: #fff;
  text-align: center;
  line-height: 35px;
  margin-right: 0.5rem;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.5);
}

.contact-info:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 100px;
  border: 22px solid #bddede;
  border-radius: 50%;
  bottom: -77px;
  right: 50px;
  opacity: 0.1;
}

/*media screen functions*/
@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
  }

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .square {
    transform: translate(140%, 43%);
    height: 350px;
  }

  .big-circle {
    bottom: 75%;
    transform: scale(0.9) translate(-40%, 30%);
    right: 50%;
  }

  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }

  .square,
  .big-circle {
    display: none;
  }

  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    width: 23px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }
}
