@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:  'Poppins', sans-serif;
}

body{
    background: linear-gradient(45deg,#500909,#08265e);
}

/* Header */


header{
    height: 100px;
    background: cadetblue;
    width: 100% ;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h2{
    padding: 55px 20px;
}

header .boton a{
    text-decoration: none;
    margin-right: 40px;
    color: rgba(0,0,0,1);
    background: rgba(255,255,255,.5);
    border-radius: 20px;
    font-size: 20px;
    text-align: center;
    width: 100%;
    padding: 15px;
}

header .boton a:hover{
    transition: .5s ease;
    background: rgba(255,255,255,1);
}


/*  Formulario */

.contacto  {
    width: 80%;
    text-align: center;
    margin: auto;
    display: flex;
    justify-content: space-between;
    height: 700px;
    margin-bottom: 200px;
}

/*  Contact Info */

.contacto .contactinfo {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 35%;
    height: 600px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background: #24303c;
}


.contacto .contactinfo h2 {
    color: #fff;
    font-size: 24px;
    margin-top: 100px;
}

.contacto .contactinfo .info{
    list-style: none;
    margin-top: 50px;
}

.contacto .contactinfo .info li{
    margin: 10px 0px;
    color: #fff;
    cursor: pointer;
    opacity: .5;
}


.contacto .contactinfo .info li:hover{
    opacity: 1;
}

.contacto .contactinfo .social{
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacto .contactinfo .social li{
    margin: 100px 0px 15px 15px;
}

.contacto .contactinfo .social li a{
    color: #fff;
    opacity: .5;
    font-size: 24px;
}

.contacto .contactinfo .social li:hover a{
    opacity: 1;
}

/*  Contact Form */


.formulario  {
    width: 65%;
    height: 600px;
    margin: 50px 0px 50px;
    background: #24303c;
    padding: 30px;
    color: white;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
  
.formulario  h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

.formulario p{
    font-size: 14px;
    margin: 10px;
    color: #FFFFFFa9;
}
  
.formulario .controls {
    width: 100%;
    background: #24303c;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    border: 1px solid #1f53c5;
    font-size: 14px;
    color: white;
}

.formulario textarea{
    min-width: 100%;
    max-width: 0;
    min-height: 200px;
    max-height: 200px;
}
  

.formulario  .botons {
    width: 40%;
    background: #1f53c5;
    border: none;
    border-radius: 5px;
    padding: 10px 5px;
    color: white;
    margin: 10px 10px 0px;
    font-size: 18px;
    text-align: center;
}

.formulario .botons:hover{
    background: #0f368b;
    cursor: pointer;
    transition: ease .5s;
}

.formulario .pagar{
    width: 60%;
    margin: auto;
    background: #009ee3;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    font-size: 20px;
}

.formulario form .terns label{
    text-decoration: none;
    color: #fff;
}

.formulario form .terns label a{
    text-decoration: none;
    color: rgba(255,255,255,.6);
    border-bottom: 1px solid #009ee3;
}

.formulario form .terns{
    margin-bottom: 10px;
}




@media screen and (max-width:650px){

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

    .contacto .contactinfo,
    .contacto .formulario{
        width: 90%;
    }
    .contacto .formulario{
        transform: translateY(40px);
        border-bottom-left-radius: 20px;
        margin-bottom: 50px;
    }

    .contacto .contactinfo{
        border-top-right-radius: 20px;
    }

    .contacto .contactinfo .social{
        transform: translateY(-50px);
    }

}

@media screen and (max-width:700px){

    header{
        display: block;
        height: 150px;
    }

    header .logo{
        width: 100%;
        text-align: center;
    }

    header .logo h2{
        font-size: 20px;
        padding: 30px 20px;
    }

    header .boton{
        width: 100%;
        text-align: center;
    }

    header .boton a{
        font-size: 20px;
    }

}