:root {
    --primary: #0936ff;
    --white: #fff;
    --black: #222;
    --grey1: #3a3b3c;
    --grey2: #828282;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}


/*Tipo de letra*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
html {
    box-sizing: border-box;
    font-size: 62.5%;
}

body {
    font-family: "Open Sans", sans-serif;
    font-size: 1.6rem;
    background-color: var(--white);
    color: var(--black);
    font-weight: 400;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

.container {
    max-width: 114rem;
    margin: 0 auto;
}

@media (max-width: 1200rem) {
    .container {
        padding: 0 3rem;
    }
}


/*Navegacion*/

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--white);
    height: 6.5rem;
    line-height: 6.5rem;
}

.nav.fix-nav {
    width: 100%;
    box-sizing: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.wrapper .logo a {
    color: var(--primary);
    font-size: 2.7rem;
    font-weight: 600;
    padding: 0.5rem;
    border: 3px solid var(--black);
}

.wrapper .nav-list {
    display: inline-flex;
}

.nav-list li i {
    color: var(--grey2);
}

.nav-list a {
    color: var(--black);
    font-size: 1.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 300ms ease;
}

.nav-list a:hover {
    color: var(--primary);
}

.nav-list .icons span {
    display: inline-block;
    margin: 0.5rem 1rem 0 0;
    position: relative;
}

.nav-list .icons .count {
    justify-content: center;
    position: absolute;
    top: 0;
    right: -.8rem;
    background-color: var(--primary);
    height: 2rem;
    padding: .5rem;
    color: var(--white);
    font-weight: 700;
    border-radius: 50%;
}

.nav-list .drop-menu1,
.nav-list .drop-menu2,
.nav-list .drop-menu3 {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    width: 20rem;
    top: 8.5rem;
    line-height: 4.5rem;
    position: absolute;
    background-color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: all 300ms es;
}

.nav-list .drop-menu1 li a,
.nav-list .drop-menu2 li a,
.nav-list .drop-menu3 li a {
    display: block;
    font-size: 1.5rem;
    width: 100%;
    padding: 0 0 0 1.5rem;
    border-radius: 0;
    color: var(--grey2);
    transition: all 300ms ease;
}

.nav-list .drop-menu1 li a:hover,
.nav-list .drop-menu2 li a:hover,
.nav-list .drop-menu3 li a:hover {
    color: var(--primary);
}

.nav-list li:hover .drop-menu1,
.nav-list li:hover .drop-menu2,
.nav-list li:hover .drop-menu3 {
    opacity: 1;
    visibility: visible;
    top: 6.5rem;
}

.nav-list .mobile-item {
    display: none;
}

.nav-list input {
    display: none;
}

.wrapper .btn {
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    display: none;
}

@media (max-width: 968px) {
    .wrapper .nav-list {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        width: 100%;
        max-width: 35rem;
        background-color: var(--white);
        display: block;
        overflow-y: auto;
        line-height: 5rem;
        box-shadow: 0 1.5rem 1.5rem rgba(0, 0, 0, 0.1);
        transition: all 300ms linear;
    }
    .wrapper .nav-list.show {
        left: 0;
    }
    .nav-list li {
        margin: 1.5rem 1rem;
    }
    .nav-list a {
        display: block;
        font-size: 1.8rem;
        padding: 0 2rem;
        color: var(--black);
    }
    .nav-list .drop-menu1,
    .nav-list .drop-menu2,
    .nav-list .drop-menu3 {
        position: static;
        opacity: 1;
        visibility: visible;
        top: 6.5rem;
        padding-left: 2rem;
        width: 100%;
        max-height: 0;
        overflow: hidden;
    }
    #showdrop1:checked~.drop-menu1,
    #showdrop2:checked~.drop-menu2,
    #showdrop3:checked~.drop-menu3 {
        max-height: 100%;
    }
    .nav-list .drop-menu1 li,
    .nav-list .drop-menu2 li,
    .nav-list .drop-menu2 li {
        margin: 0;
    }
    .nav-list .drop-menu1 li a,
    .nav-list .drop-menu2 li a,
    .nav-list .drop-menu2 li a {
        color: var(--grey2);
        font-size: 1.5rem;
    }
    .nav-list .desktop-item {
        display: none;
    }
    .nav-list .mobile-item {
        display: block;
        font-size: 1.8rem;
        padding-left: 2rem;
        color: var(--black);
        cursor: pointer;
        border-radius: 0.5rem;
        transition: all 300ms ease;
    }
    .nav-list .mobile-item:hover {
        color: var(--primary);
    }
    .wrapper .btn {
        display: block;
        color: var(--black);
    }
    .nav-list .top {
        position: relative;
        display: block;
        background-color: var(--primary);
        width: 100%;
        height: 8rem;
    }
    .nav-list .close-btn {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        color: var(--while);
    }
    .nav-list .icons {
        padding-left: 2rem;
    }
}


/*Contacto*/

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

:focus {
    outline: none;
}


/* FORMULARIO =================================== */

.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: #0936ff;
    opacity: 0.9;
}

.cantact_info {
    width: 38%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('../img/fondo.jpg');
    background-size: cover;
    background-position: center center;
}

.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: #000000;
    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: #000000;
    font-size: 14px;
    font-weight: 400;
}

form.form_contact textarea {
    max-width: 100%;
    min-width: 100%;
    max-height: 90px;
}

form.form_contact input[type="submit"] {
    width: 180px;
    background: #0936ff;
    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="submit"]:hover {
    background: #3371B6;
}