/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@200;400;800&family=Montserrat:wght@100;200;400;700;900&display=swap');

/* colors */
:root {
    --000: #000;
    --negro: #181919;
    --FFF: #FFF;
    --blanco: #EFE8E1;
    --gris: #BCB3AC;
    --verde: #23A299;
    --amarillo: #F4B532;
    --azul: #156A8F;
    --rosa: #F59390;
    --rojo: #EC483E;
    --negro-deg: radial-gradient(circle at 65% -5%, #332b2b 0, #262222 25%, #181919 50%, #040f0f 75%, #000002 100%);
    --blanco-deg: radial-gradient(circle at 65% -5%, #ffffff 0, #faf7f4 25%, #efe8e1 50%, #e5d9cf 75%, #dcccbf 100%);
    --verde-deg: radial-gradient(circle at 65% -5%, #61baaa 0, #48afa2 25%, #23a299 50%, #009690 75%, #008b8a 100%);
    --amarillo-deg: radial-gradient(circle at 65% -5%, #ffd457 0, #fdc546 25%, #f4b532 50%, #eba51b 75%, #e39600 100%);
    --azul-deg: radial-gradient(circle at 65% -5%, #4c83a2 0, #156a8f 50%, #00527d 100%);
    --rosa-deg: radial-gradient(circle at 65% -5%, #ffb1a4 0, #ffa39b 25%, #f59390 50%, #ea8386 75%, #e1757f 100%);
    --rojo-deg: radial-gradient(circle at 65% -5%, #fe6f48 0, #f65e43 25%, #ec483d 50%, #e22e38 75%, #d90336 100%);
}
.bg-negro { background-color: var(--negro) !important; color: var(--blanco) !important; }
.bg-blanco { background-color: var(--blanco) !important; color: var(--negro) !important; }
.bg-verde { background-color: var(--verde) !important; color: var(--blanco) !important; }
.bg-amarillo { background-color: var(--amarillo) !important; color: var(--negro) !important; }
.bg-azul { background-color: var(--azul) !important; color: var(--blanco) !important; }
.bg-rosa { background-color: var(--rosa) !important; color: var(--blanco) !important; }
.bg-rojo { background-color: var(--rojo) !important; color: var(--blanco) !important; }

.bg-negro-deg { background-color: var(--negro) !important; background-image: var(--negro-deg) !important; color: var(--blanco) !important; }
.bg-blanco-deg { background-color: var(--blanco) !important; background-image: var(--blanco-deg) !important; color: var(--negro) !important; }
.bg-verde-deg { background-color: var(--verde) !important; background-image: var(--verde-deg) !important; color: var(--blanco) !important; }
.bg-amarillo-deg { background-color: var(--amarillo) !important; background-image: var(--amarillo-deg) !important; color: var(--negro) !important; }
.bg-azul-deg { background-color: var(--azul) !important; background-image: var(--azul-deg) !important; color: var(--blanco) !important; }
.bg-rosa-deg { background-color: var(--rosa) !important; background-image: var(--rosa-deg) !important; color: var(--negro) !important; }
.bg-rojo-deg { background-color: var(--rojo) !important; background-image: var(--rojo-deg) !important; color: var(--blanco) !important; }

/* general */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--blanco);
    color: var(--negro);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4 {
    font-family: 'Crimson Pro', serif;
    color: inherit;
    margin: 15px 0;
    padding: 0;
    line-height: 0.9;
}
h1 {
    font-size: 3em;
}
h2 {
    font-size: 2em;
}
h3 {
    font-size: 1.5em;
}
p {
    margin: 0;
    padding: 0;
}
a {
    color: var(--rojo);
    text-decoration: underline;
}

/* loading */
#loading {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10;
}
#loading img {
    height: 100px;
}

/* forms */
label {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 15px 0;
}
label span {
    padding-left: 15px;
}
input, select {
    padding: 15px;
    border-radius: 15px;
    border: none;
    background-color: var(--blanco);
    background-size: 25px auto;
    background-repeat: no-repeat;
    background-position: right center;
    color: var(--negro);
    margin-top: 2px;
    max-width: 300px;
}
input:focus, select:focus {
    outline: none;
}
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../img/ico_edit-black.svg');
    padding-right: 20px;
}
select option {
    padding: 15px;
    border: 1px solid #ccc;
}
.info-form {
    margin: 10px 0;
    font-size: 0.8em;
}
.info-form a {
    color: inherit;
    text-decoration: underline;
}

@keyframes temblor {
    0% { transform: translate(-2px, -2px); }
    25% { transform: translate(2px, 2px); }
    50% { transform: translate(-2px, -2px); }
    75% { transform: translate(2px, 2px); }
    100% { transform: translate(0, 0); }
}
input.field-error {
    color: var(--rojo);
    background-image: url("../img/field_error.svg");
    animation: temblor 0.2s 2;
}
button {
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    background: transparent;
    color: var(--negro);
    border-radius: 50px;
    display: inline;
    cursor: pointer;
}
.btn {
    margin: 0;
    border: 1px solid transparent;
    background: transparent;
    color: var(--rojo);
    border-radius: 50px;
    cursor: pointer;
    display: block;
    width: 100%;
    max-width: 300px;
    text-align: center;
    font-weight: 800;
    padding: 15px 0;
    text-transform: uppercase;
    font-size: 0.8em;
    text-decoration: none;
}
.btn.btn-border {
    color: var(--negro);
    border: 2px solid var(--negro);
    padding: 10px 25px;
}
.btn.btn-image {
    border-radius: 0;
}
.btn.btn-image img {
    height: 40px;
}

/* tools */
.banda {
    width: 100%;
}
.h100 {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.aire {
    padding: 25px 0;
}
.bloque {
    display: flex;
    flex-direction: column;
    padding: 15px;
}

/* layout */
header {
    position: fixed;
    width: 100%;
    height: 50px;
    padding: 25px 0;
    transition: padding 500ms ease-in-out;
}
main {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 0;
}
footer {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 0;
}


/* header */
header .wrapper {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
body.header-sticked header,
body.sticked header {
    background-color: var(--rojo) !important;
    background-image: var(--rojo-deg) !important;
}
body.sticked header {
    padding: 10px 0;
}
header .left, header .right {
    display: flex;
    align-items: center;
    padding: 0 15px;
}
header .logo {
    height: 40px;
    margin-left: 15px;
}
header .btnUser {
    margin-right: 15px;
}
header .btn.btnLang {
    color: var(--blanco);
    border-color: var(--blanco);
    padding: 5px;
    border-radius: 5px;
    font-size: 0.6em;
    font-weight: 800;
    min-width: 30px;
}

/* footer */
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 0;
}
footer .logo {
    width: 60px;
    margin-bottom: 25px;
}
footer .footer-social {
    text-align: center;
    padding: 25px 0;
}
footer .footer-social a {
    color: var(--blanco);
}
footer .footer-social a:hover {
    color: var(--FFF);
}
footer .footer-legal {
    text-align: center;
    padding: 25px 0;
    font-size: 0.8em;
}
footer .footer-legal a {
    color: inherit;
}
footer .footer-copy {
    text-align: center;
    padding: 25px 0;
    font-size: 0.8em;
}
footer .footer-copy a {
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}

/* Cover */
.cover {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 25px;
}
.cover .texto {
    width: 50%;
    padding-left: 25px;
}
.cover .texto h1 {
    margin-bottom: 15px;
}
.cover .texto p {
    margin-bottom: 15px;
}
.cover .imagen {
    width: 50%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
}
.cover .imagen img {
    display: block;
    width: 100%;
    height: auto;
}

/* Bloque */
.bloque {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.bloque .texto {
    width: 40%;
}
.bloque .texto h1 {
    margin-bottom: 15px;
}
.bloque .texto p {
    margin-bottom: 15px;
}
.bloque .imagen {
    width: 50%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
}
.bloque .imagen img {
    display: block;
    width: 100%;
    height: auto;
}


/* legal */
.legal {
    padding-top: 50px;
}
.legal a {
    font-size: 0.75em;
    color: var(--blanco);
    text-decoration: underline;
}
body.page-legal {
    background-image: none;
    background-color: var(--blanco);
    color: var(--negro);
    padding-bottom: 100px;
    height: auto;
}
body.page-legal main {
    justify-content: normal;
    text-align: left;
    align-items: normal;
    height: auto;
}
body.page-legal h1,
body.page-legal h2 {
    width: 100%;
    text-align: left;
    margin: 25px 0 15px 0;
}
body.page-legal .logo {
    width: 50%;
    height: auto;
    max-width: 200px;
    margin-bottom: 50px;
}



@media (max-width: 900px) {
    .cover {
        padding-top: 100px;
    }
    .cover,
    .bloque {
        flex-direction: column;
    }
    .cover .texto {
        width: 90%;
        margin: 0 auto 50px auto;
        padding: 0;
        font-size: 0.9em;
        text-align: center;
    }
    .cover .btn {
        margin: auto;
    }
    .cover .imagen {
        width: 90%;
        width: 400px;
    }
    .bloque .texto,
    .bloque .imagen {
        width: 90%;
        max-width: 500px;
        margin: 25px 0;
    }
}
