/**
 * @author 		Miguel Falcón <hola@miguelfalcon.es>
 * @copyright 	2023 Miguel Falcón Castro
 * @license		https://creativecommons.org/licenses/by-nc-nd/3.0/ Creative Commons (CC) BY-NC-ND 3.0
 * @version 	1.0.0
 * @since 		File available since Release 1.0.0
 * @deprecated 	File deprecated in Release 2.0.0
 */

/* *
 * *
 * * Reset & Fonts
 * *
 * */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* { margin: 0; padding: 0; -webkit-text-size-adjust: none; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
*::-moz-selection { color: #ffffff; background-color: #030a1d; } *::selection { color: #ffffff; background-color: #030a1d; }

body { font: 400 16px/180% 'Montserrat', sans-serif !important; color: #030a1d; background-color: #ffffff; }
body.noscroll { overflow: hidden; }

header, main, footer { position: relative; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; text-transform: inherit; font-weight: 700; font-family: 'Montserrat', sans-serif !important; }

h1 { font-size: 40px; line-height: 120%; font-weight: 700; }
h2 { font-size: 32px; line-height: 120%; font-weight: 700; }
h3 { font-size: 28px; line-height: 120%; }
h4 { font-size: 20px; line-height: 120%; }
h5 { font-size: 18px; line-height: 120%; }
h6 { font-size: 16px; line-height: 120%; }

hr { margin: 20px 0 40px; color: #dddddd; background-color: #dddddd; border-color: #dddddd; }

p { margin: 0 0 20px; }
p:last-child { margin: 0; }

a { text-decoration: none; color: inherit; -webkit-transition: all .3s; transition: all .3s; }

ul { list-style: outside; margin: 0; padding: 0 0 0 20px; }
ul li { margin: 0 0 5px; }
ul li:last-child { margin: 0; }

ul.doble { display: flex; flex-wrap: wrap; margin: -10px; }
ul.doble li { width: calc(50% - 10px); margin: 5px; }

ul.sinpuntos { list-style: none; }

img { display: block; width: 100%; max-width: 100%; }

strong { font-weight: 700; }

small { font-size: 70%; line-height: 120%; }
.small { font-size: 14px; line-height: 180%; }

video { display: block; width: 100%; }

input, select { display: block; width: 100%; margin: 0 0 10px; padding: 10px 20px !important; font-family: 'Montserrat', sans-serif !important; background-color: #f5f5f5; border: 1px solid #dddddd; border-radius: 8px; }
input:focus, select:focus, input:focus-visible, select:focus-visible { outline: none; border: 1px solid #dddddd; }
input:last-child, select:last-child { margin: 0 !important; }

.wrapper { padding: 40px 20px; }
.wrapper.small { padding: 40px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.container.small { max-width: 1040px; }
.container.xsmall { max-width: 800px; }

.d-block { display: block; }
.d-inline-block { display: inline-block; }

.mb-0 { margin-bottom: 0px !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 20px !important; }
.mb-3 { margin-bottom: 30px !important; }
.mb-4 { margin-bottom: 40px !important; }
.mb-8 { margin-bottom: 80px !important; }

.pt-0 { padding-top: 0px !important; }

.pb-0 { padding-bottom: 0px !important; }
.pb-1 { padding-bottom: 10px !important; }
.pb-2 { padding-bottom: 20px !important; }
.pb-3 { padding-bottom: 30px !important; }
.pb-4 { padding-bottom: 40px !important; }
.pb-8 { padding-bottom: 80px !important; }

.t-center { text-align: center; }
.t-right { text-align: right; }
.t-junto { display: inline-block !important; }
.t-upper { text-transform: uppercase; }

.t-primary { color: #004bff !important; }
.t-secondary { color: #004bff !important; }
.t-dark { color: #030a1d !important; }
.t-light { color: #ffffff !important; }
.t-surface { color: #666666 !important; }

.b-primary { background-color: #004bff !important; }
.b-secondary { background-color: #004bff !important; }
.b-dark { background-color: #030a1d !important; }
.b-light { background-color: #ffffff !important; }
.b-surface { background-color: #f5f5f5 !important; }

.border { border: 2px solid #004bff; }
.rounded { border-radius: 8px; }

.btn { cursor: pointer; display: inline-block; padding: 12px 30px; font-weight: 700; font-size: 16px; line-height: 120%; color: #ffffff; background-color: #004bff; border: 2px solid #004bff; border-radius: 100px; }
.btn:hover { color: #030a1d; background-color: transparent; border-color: #004bff; }
.btn.ondark:hover { color: #ffffff; }

.caja { padding: 40px; background-color: #202020; border-radius: 24px; }
.caja.big { padding: 80px; }

.doble { display: flex; margin: -20px auto; }
.doble.centro { align-items: center; }
.doble .izq { width: calc(50% - 40px); margin: 20px; }
.doble .der { width: calc(50% - 40px); margin: 20px; }

.doble.slim { margin: -10px 0; }
.doble.slim .izq { width: calc(50% - 20px); margin: 10px; }
.doble.slim .der { width: calc(50% - 20px); margin: 10px; }

/* *
 * *
 * * Header
 * *
 * */
.logo { display: inline-block; width: 100%; max-width: 200px; }

/* *
 * *
 * * Home
 * *
 * */
#hero { overflow: hidden; position: relative; border-radius: 0 0 25px 25px; }
#hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,.4); }
#hero .container { position: relative; }
#hero .container .der { padding: 30px; border-radius: 16px; }

.cajas { display: flex; padding: 20px; border-radius: 16px; }
.cajas .elemento { width: 25%; padding: 20px; text-align: center; }
.cajas .elemento img { display: inline-block; width: 100%; max-width: 75px; }
.cajas .elemento p { margin: 10px 0 0; font-size: 12px; line-height: 140%; }
.cajas.typ .elemento { width: 33.333%; }
.cajas.typ .elemento span { display: block; margin: 0 0 0px; font-weight: 700; font-size: 60px !important; line-height: 100%; }
.cajas.typ .elemento p {  }

/* *
 * *
 * * Footer
 * *
 * */
#footer { overflow: hidden; position: relative; border-radius: 25px 25px 0 0; }
#footer::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,.4); }
#footer .container { position: relative; }

/* *
 * *
 * * Popup
 * *
 * */
#popup { z-index: 999; overflow: auto; visibility: hidden; opacity: 0; position: fixed; top: 0; left: 0; display: flex; justify-content: center; align-items: flex-start; width: 100%; height: 100%; padding: 30px; -webkit-transition: all .3s; transition: all .3s; }
#popup.open { visibility: visible; opacity: 1; }
#popup .close { opacity: .6; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #0F0F0F; }
#popup .box { overflow: auto; position: relative; width: 100%; max-width: 600px; max-height: 100%; padding: 30px; background-color: #ffffff; border: 2px solid #ffffff; border-radius: 16px; }
#popup .box > div { display: none; }
#popup .box > div.open { display: block; }


/* *
 * *
 * * Responsive
 * *
 * */
@media(max-width: 980px) {

    /* *
     * *
     * * Reset & Fonts
     * *
     * */
    body { font: 400 13px/180% 'Montserrat', sans-serif !important; }
    h1 { font-size: 32px; line-height: 120%; }
    h2 { font-size: 28px; line-height: 120%; }
    h3 { font-size: 24px; line-height: 120%; }
    h4 { font-size: 20px; line-height: 120%; }

    .wrapper { padding: 40px 20px; }

    .caja { padding: 20px; border-radius: 12px; }
    .caja.big { padding: 20px; }

    .doble { flex-wrap: wrap; margin: 0; }
    .doble.invert { flex-direction: column-reverse; }
    .doble .izq { width: 100%; margin: 0 0 20px; }
    .doble.invert .izq { margin: 20px 0 0; }
    .doble .der { width: 100%; margin: 0; }

    .doble.slim { margin: 0; }
    .doble.slim .izq { width: 100%; margin: 0 0 20px; }
    .doble.slim .der { width: 100%; margin: 0; }

    /* *
     * *
     * * Home
     * *
     * */
    #hero .container .der { padding: 20px; }

    .cajas { flex-wrap: wrap; padding: 0px; }
    .cajas .elemento { width: 50%; }

}

@media(max-width: 540px) {

    /* *
     * *
     * * Home
     * *
     * */
    .cajas { flex-direction: column; }
    .cajas .elemento { width: 100%; }
    .cajas .elemento img { max-width: 50px; }

    .cajas.typ .elemento { width: 100%; }

}