.container{
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow:hidden;
}

.formContacto{
  width: 100%;
  max-width: 820px;
}

.contact{
    width: 100%;
    max-width: 820px;
    background-color: transparent;
    border-radius: 20px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    display: grid;
    
}

.contact-info{
    position: relative;
    background-color: var(--color-naranja);
    padding: 0 20px;
    color: white;
    border-radius: 0 0 0 20px;
}

.contact-form{
    background-color: transparent;
    position: relative;
    border-radius: 0 20px 20px 0;
}

.contact-form::before{
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: transparent;
    transform: rotate(45deg);
    top: 50px;
    left: -13px;
}

form{
    padding: 0px 20px;
    z-index: 10;
    overflow: hidden;
    position: relative;
}

.title{
    color: var(--color-naranja);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.7rem;
}

.input-container{
    position: relative;
    margin-bottom: 15px;
    border-bottom: 2px white solid;
}

.input{
    width: 90%;
    outline: none;
    border: 2px solid var(--color-naranja);
    background: none;
    padding: 0.6rem 1.2rem;
    color: var(--color-naranja);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 20px;
    transition: 0.3s;
}

textarea.input{
    padding: 0.8rem 1.2rem;
    min-height: 150px;
    resize: none;
    overflow-y: auto;
}

.input-container label{
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    padding: 0 0.4rem;
    color: var(--color-naranja);
    font-size: 0.9rem;
    font-weight: 400;
    pointer-events: none;
    z-index: 1000;
    transition: 0.5s;
}

.input-container.textarea label{
    top:1rem;
    transform: translateY(0);
}

.btnEnviar{
    padding: 0.6rem 1.3rem;
    border: 2px solid black;
    font-size: 0.95rem;
    color: black;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 20px;
    border: 2px white solid;
    width: 100%;
}

.btnEnviar:hover{
    background-color: transparent;
    color: white;
    width: 100%;
}

.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: transparent;
    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;
}


.contact-info h3{
    color: white;
}

.bocadillos{
    width: 150px;
    position: relative;
    margin-top: -80px;
    margin-left: -100px;
}

.formas-contacto {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
}

.formas-contacto img{
    width: 30px;
}

.redesSociales{
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 50px;
}

.redesSociales img{
    width: 50px;
}


.slide-out-top {
	-webkit-animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	        animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-9-24 6:42:13
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-out-top
 * ----------------------------------------
 */
 @-webkit-keyframes slide-out-top {
    0% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: translateY(-1000px);
              transform: translateY(-1000px);
      opacity: 0;
    }
  }
  @keyframes slide-out-top {
    0% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: translateY(-1000px);
              transform: translateY(-1000px);
      opacity: 0;
    }
  }
  
  

  .slide-in-bottom {
	-webkit-animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-9-24 6:44:5
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-bottom
 * ----------------------------------------
 */
 @-webkit-keyframes slide-in-bottom {
    0% {
      -webkit-transform: translateY(1000px);
              transform: translateY(1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-bottom {
    0% {
      -webkit-transform: translateY(1000px);
              transform: translateY(1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  
  

  .enviado {
    display: none;
    width: 100%;
  }

  .enviado img{
    width: 150px;
  }

  .error{
    display: block;
    margin-left: 20px;
    font-size: 9pt;
    color: white;
  }

  .footerForm{
    display: flex;
    flex-direction: column;
  }

  .logo{
    margin-top: 10px;
  }

  .logo img{
    height: 60px;
  }

  @media (max-width: 850px) {
    .contact{
        grid-template-columns: 1fr;
    }
    .redesSociales{
        margin-bottom: 20px;
    }
    .bocadillos{
        width: 50px;
        top: 40px;
        left: 80px;
    }
    .contact-form::before{
        top: -13px;
        left: initial;
        right: 70px;
    }
  }