@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap'); 
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');


body{
    justify-content: center;
    align-items: center;
    background-color: rgb(40, 40, 40);
    line-height: 1;
    margin: 0;
    width: 100%;
    color: #5f89e2;
    font-family: 'Poppins',sans-serif;
    height: 100%;
}

.main{
  display: grid;
  grid-template-columns: auto;
  text-align: center;
  justify-content: center;
  align-items: center;

}

.carta{
  text-align: center;
  justify-content: center;
  align-items: center;
}

form {
  font-family: 'Shadows Into Light', cursive;
  font-weight: bold;
  font-size: 22px;
  color: #363636;
  background-color: aliceblue;
  width: 500px;
  margin: 50px auto;
  text-align: left;
  padding: 20px;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
}

input,
textarea {
    padding: 12px 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-size: 16px;
}

input[type="submit"] {
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


.button-58 {
  align-items: center;
  background-color: rgb(7, 62, 145);
  border: 2px solid rgb(7, 62, 145);
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  fill: #000;
  font-family: Inter,sans-serif;
  font-size: 16px;
  font-weight: 600;
  height: 48px;
  justify-content: center;
  letter-spacing: -.8px;
  line-height: 24px;
  min-width: 140px;
  outline: 0;
  padding: 0 17px;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  
}

.button-58:focus {
  color: #171e29;
}

.button-58:hover {
  background-color: #3385ff;
  border-color: #3385ff;
  fill: #06f;
}

.button-58:active {
  background-color: #3385ff;
  border-color: #3385ff;
  fill: #06f;
}

input, textarea{
  background-color: rgb(190, 190, 190);
  border: 2px solid whitesmoke;
  border-radius: 7px;
  font-family: 'Poppins',sans-serif;

}

textarea{
  width: 100%;
}

.mensajee{
  font-family: 'Poppins',sans-serif;
  text-align: center;
  color: #25D366;
}

.sello{
  width: 90px;
  margin-left: 320px;
  margin-top: -40px;
}

.redes-sociales {
  margin-bottom: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.redes-sociales a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10%;
  margin: 10px 10px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  transition: all 0.4s ease-in-out;
  width: 40px;
  height: 40px;
  padding: 8px;
}
.redes-sociales a:hover {
  cursor: pointer;
  filter: invert(100%);
}

.redes-sociales a img{
  width: 80%;
  height: 80%;
  filter: invert(100%);
}





.whatsapp {
  background-color: #25D366;
}

.facebook {
  background-color: #1877F2;
}

.twitter {
  background-color: #1DA1F2;
}

.instagram {
  background-color: #C13584;
}







@media only screen and (max-width: 1020px) {
  form {
    width: 80%;
  }
  .div-contacto{
    margin-top: 70px;
  }
}

@media only screen and (max-width: 650px) {
  form {
    width: 90%;
    margin: 20px auto;
  }
  .sello{
    display: none;
  }
  .div-contacto{
    margin-top: 70px;
  }
  form {
    width: 90%;
    margin: 30px auto;
    padding: 10px;
  }
}
@media (max-width: 360px) {
  form {
    width: 92%;
    margin: 30px auto;
    padding: 6px;
  }
  .redes-sociales a {
    width: 30px;
    height: 30px;
    padding: 6px;
  }
}