*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body{
    font-family: 'Arial', sans-serif;
    background: #dfdddd;
}
/*-menu*/
header{
    width: 100%;
    height: 80px;
    background: #ffffff;
    border-bottom: 4px solid #4a7cbc;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
}

.container-header{
    width: 100%;
    max-width: 1220px;
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: auto;
}

.container-logo img {
    width: 60px;
    margin: 10px 200px;
}

.menu{
    position: absolute;
    right: 10px;
    margin-top: 20px;
}

.menu ul{
    display: flex;
}

.menu ul li a {
    color: #5e5d5e;
}

.menu > ul li{
    list-style: none;
    font-size: 15px;
    font-weight: bold;
    color: #868686;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-top: 4px solid transparent;
    cursor: pointer;
    transition: border 300ms;
    position: relative;
}

.menu > ul > li:hover{
    border: 1px solid transparent;
    border-top: 4px solid #4a7cbc;
}

.menu ul li label,
.menu ul li span{
    color: #868686;
}

.menu ul li span{
    font-size: 14px;
    position: relative;
}

.menu ul li label{
    font-size: 22px;
    position: relative;
    top: -6px;
}

.menu ul li ul{
    width: 220px;
    position: absolute;
    top: 50px;
    left: 0;
    flex-direction: column;
    border: 1px solid #b9b9b9;
    background: white;
    border-bottom: 3px solid #4a7cbc;;
    padding: 10px;
}

.menu ul li ul li{
    padding: 12px 20px;
    border-bottom: 1px solid #b9b9b9;
    font-weight: 100;
    font-size: 14px;
    position: relative;
}

.menu ul li ul li:hover{
    background: #FAFAFA;
}

.menu ul li ul li ul{
    position: absolute;
    left: 207px;
    top: 0;
}

.icon-menu{
    display: none;
}

main{
    width: 100%;
    max-width: 1220px;
    margin: auto;
    position: relative;
    top: 100px;
}

/*------------------------------------ slider Principal-----------------------------------------------------*/
ul, ol{
    list-style: none;
}

.slideshow{
    width: 100%;
    position: relative;
}

.slider li, ul{
    width: 100%;
}

.slider li img{
    width: 100%;
    margin-top: 80px;
}

/*----------------------------------------------- contactanos---------------------------------*/

.form_wrap {
    width: 1050px;
    height: 530px;
    margin: 50px auto;
    display: flex;

    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

/* Informacion de Contacto*/

.cantact_info::before {
    content: '';
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;

    background: #4a7cbc;
    opacity: 0.9;
}

.cantact_info {
    width: 38%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    z-index: 1;

}

.info_title,
.info_items {
    position: relative;
    z-index: 2;
    color: #fff;
}

.info_title {
    margin-bottom: 60px;
}

.info_title span {
    font-size: 100px;
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

.info_title h2 {
    font-size: 35px;
    text-align: center;
}

.info_items p {
    display: flex;
    align-items: center;

    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.info_items p:nth-child(1) span {
    font-size: 30px;
    margin-right: 10px;
}

.info_items p:nth-child(2) span {
    font-size: 50px;
    margin-right: 15px;
    margin-left: 4px;
}


/* Formulario de contacto*/
form.form_contact {
    width: 62%;
    padding: 30px 40px;
}

form.form_contact h2 {
    font-size: 25px;
    font-weight: 600;
    color: #303030;
    margin-bottom: 30px;
}

form.form_contact .user_info {
    display: flex;
    flex-direction: column;
}

form.form_contact label {
    font-weight: 600;
}

form.form_contact input,
form.form_contact textarea {
    width: 100%;
    padding: 8px 0px 5px;
    margin-bottom: 20px;

    border: none;
    border-bottom: 2px solid #D1D1D1;

    font-family: 'Open sans';
    color: #5A5A5A;
    font-size: 14px;
    font-weight: 400;
}

form.form_contact textarea {
    max-width: 100%;
    min-width: 100%;
    max-height: 90px;
}

form.form_contact input[type="button"] {
    width: 180px;
    background: #4a7cbc;
    padding: 10px;
    border: none;
    border-radius: 25px;

    align-self: flex-end;

    color: #fff;
    font-family: 'Open sans';
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

form.form_contact input[type="button"]:hover {
    background: #4a7cbc;
}

/* Ventana de errores*/
.modal_wrap {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);

    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;

    display: flex;
    justify-content: center;
    align-items: center;
}

.mensaje_modal {
    background: #fff;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    width: 400px;
    padding: 30px 20px 15px;
}

.mensaje_modal h3 {
    text-align: center;
    font-family: 'Ubuntu';
    font-size: 20px;
    font-weight: 400;
}

.mensaje_modal h3:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #C5C5C5;
    margin: 10px 0px 15px;
}

.mensaje_modal p {
    font-size: 16px;
    color: #606060;
}

.mensaje_modal p:before {
    content: "\f00d";
    font-family: FontAwesome;
    display: inline-block;
    color: #E25151;
    margin-right: 8px;
}

#btnClose {
    display: inline-block;
    padding: 3px 10px;
    margin-top: 10px;

    background: #E25151;
    color: #fff;
    border: 2px solid #B14141;
    cursor: pointer;
}

.about {
    background: linear-gradient(to bottom,
        rgba(17, 17, 17, 0.623),
        rgba(17, 17, 17, 0.623),
        rgba(17, 17, 17, 0.623)), url(../img/);
    height: auto;
}

.n h4{
    color: #f2f2f2;
}

/*---------------------------------------footer-----------------------------------------*/
footer{
    width: 100%;
    padding: 50px 0px;
    background-image: url(../img/background-footer.svg);
    background-size: cover;
}

.container__footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    margin-top: 100px;
}

.box__footer{
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.box__footer .logo img{
    width: 300px;
    height: auto;
}

.box__copyright .mediospago img{
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.box__copyright .mediospago .mediospago2{
    width: 120px;
    height: 60px;
    object-fit: cover;
}

.box__footer .terms{
    max-width: 350px;
    margin-top: 20px;
    font-weight: 500;
    color: #9b9a9b;
    font-size: 18px;
}

.box__footer h2{
    margin-bottom: 10px;
    color: #4a7cbc;
    font-weight: 700;
}

.box__footer h3{
    size: 10px;
    margin-bottom: 10px;
    color: #616161;
    font-weight: 700;
}

.box__footer p{
    margin-bottom: 10px;
    color: #9b9a9b;
    font-weight: 700;
}

.box__copyright h2{
    margin-bottom: 5px;
    color: #4a7cbc;
    font-weight: 700;
}

.box__footer a{
    margin-top: 10px;
    color: #9b9a9b;
    font-weight: 600;
}

.box__footer a:hover{
    opacity: 0.8;
}

.box__footer a .fab{
    font-size: 20px;
}

.box__copyright{
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 0px 40px;
}

.box__copyright p{
    margin-top: 20px;
    color: #9b9a9b;
}

.box__copyright hr{
    border: none;
    height: 1px;
    background-color: #9b9a9b;
}


@media all and (max-width: 900px){
    header{
        height: 60px;
    }
    
    .container-logo img {
        width: 45px;
        margin: 5px 20px;
    }
    
    .icon-menu{
        display: block;
        position: absolute;
        right: 20px;
        top: 10px;
        font-size: 30px;
    }
    
    body{
        transition: all 300ms;
    }
    
    .body2{
        transform: translateX(-300px);
    }

    .menu{
        width: 300px;
        height: 100vh;
        position: fixed;
        top: 0px;
        right: -300px;
        background: #4a7cbc;
        margin-top: 0px;
        overflow-y: scroll;
    }

    .menu ul li a {
        color: #ffffff;
    }
    
    .menu ul li span {
        color: #ffffff;
    }

    .menu ul {
        flex-direction: column;
    }
    
    .menu ul li{
        padding: 10px 20px;
    }
    
    .menu ul li ul{
        top: 0;
        border-bottom: 1px solid transparent;
        background: #2D2F30;
    }
    
    .menu ul li:hover{
        border: 1px solid transparent;
        border-top: 4px solid transparent;
    }
    
    .menu ul li ul{
        width: 100%;
        position: relative;
        border: none;
        padding: 2px; 
    }
    
    .menu ul li ul li{
        border-bottom: 1px solid #414141;
    }
    
    .menu ul li ul li:hover{
        background: #363636; 
    }
    
    .menu ul li ul li ul{
        width: 100%;
        position: relative;
        left: 0px;
        top: 6px;
    }

    .slider li img{
        width: 100%;
        margin-top: 60px;
    }

    .form_wrap {
        width: 500px;
        height: 1000px;
        display: block;
    }
    
    
    .cantact_info::before {
        
       
        width: 500px;
        height: 100%;
    }
    
    .cantact_info {
        width: 100%;
    
    }
    

    form.form_contact {
        width: 100%;
        padding: 30px 40px;
    }

}

@media all and (max-width: 780px){
    .slider li img{
        width: 100%;
        margin-top: 60px;
    }

    .form_wrap {
        width: 500px;
        height: 1000px;
        display: block;
    }
    
    
    .cantact_info::before {
        
       
        width: 500px;
        height: 100%;
    }
    
    .cantact_info {
        width: 100%;
    
    }
    

    form.form_contact {
        width: 100%;
        padding: 30px 40px;
    }
}

@media all and (max-width: 490px){
    .form_wrap {
        width: 400px;
        height: 1000px;
        display: block;
    }
}

@media screen and (max-width: 380px){
    .form_wrap {
        width: 300px;
        height: 1000px;
        display: block;
    }
}