@import "variables.scss";
* {
    font-family: "gothic", sans-serif;
}

body {
    font-size: 16px;
}

// html {
//   scroll-behavior: smooth;
// }
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-family: $fuente_titulo;
    color: color(texto);
}

h1 {
    font-weight: 800;
    padding: 0 0 5px 10px;
    margin: 0 0 20px 0;
    color: #FFF;
    font-size: 2.5em;
    line-height: 0.8em;
}

h2 {
    font-family: $fuente_titulo;
    font-weight: 400;
    padding: 0 0 10px 0;
    color: #FFF;
    font-size: 4em;
    letter-spacing: 2px;
    line-height: 1.1em;
    margin: 0 0 10px 0;
}

h3 {
    font-family: $fuente_titulo;
    font-weight: 400;
    padding: 0 0 10px 0;
    color: #FFF;
    font-size: 2.2em;
    letter-spacing: 2px;
    line-height: 1.1em;
    margin: 0 0 10px 0;
    b {
        font-weight: 600;
    }
}

h4 {
    font-family: $fuente_titulo;
    color: #FFF;
    border-bottom: 2px solid #FFF;
    font-weight: 800;
    font-size: 1.3em;
    letter-spacing: 2px;
    margin: 0 0 0.3em;
}

h5 {
    font-size: 1.2em;
    font-family: $fuente_titulo;
}

h6 {
    font-size: 1.2em;
    font-weight: 400;
    margin: 0 0 5px 0;
}

.clearfix {
    clear: both;
}

.animate {
    opacity: 0;
}

.animated {
    opacity: 1;
}

.movil {
    display: none !important;
}

.img-responsive {
    display: inline-block;
    height: auto;
    max-width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    &.nowrap {
        flex-wrap: nowrap;
    }
}

.wrap {
    margin: 0 auto;
    width: 80%;
    position: relative;
    max-width: 1280px;
}

.wrap-interior {
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-justify {
    text-align: justify !important;
}

.display-movil {
    display: none;
}

.clear {
    clear: both;
}

::selection {
    color: #fff;
    background: color("azul");
}

.texto {
    color: color(texto);
    line-height: 1.8em;
    font-size: .9em;
    font-weight: 400;
    margin: 0 0 20px 0;
    p {
        margin-top: 0;
    }
}

.slick-slide,
.slick-slide a,
section {
    outline: none;
}

.slick-arrow {
    font-size: 0;
    line-height: 0;
    display: block;
    border: 2px solid #fff;
    padding: 20px;
    color: #fff;
    transition: all 0.2s ease;
    position: absolute;
    bottom: 2%;
    transform: translateY(-50%);
    z-index: 20;
    background: none;
    outline: none;
    &.slick-disabled {
        opacity: 0.5;
    }
    &.slick-prev {
        right: calc(20% + 60px);
        &:after {
            content: "\f053";
            font-family: "Font Awesome 5 Pro";
            font-size: 15px;
            position: absolute;
            font-weight: 900;
            left: 35%;
        }
    }
    &.slick-next {
        right: 20%;
        &:after {
            content: "\f054";
            font-family: "Font Awesome 5 Pro";
            font-weight: 900;
            font-size: 15px;
            position: absolute;
            right: 35%;
        }
    }
    &:hover {
        color: darken(#fff, 10%);
    }
}

.slick-dots {
    text-align: center;
    padding: 0;
    margin: 20px 0 0 0;
    font-size: 0;
    li {
        display: inline-block;
        list-style: none;
        padding: 0 15px 0 0;
        margin: 0 0 10px 0;
        border-bottom: 2px solid #fff;
        &:last-child {
            margin: 0;
            padding: 0;
        }
        button {
            transition: all 0.3s ease;
            font-size: 0;
            width: 20px;
            height: 20px;
            border: 1px solid color("azul");
            border-radius: 50%;
            padding: 0;
            outline: 0;
            background: none;
        }
        &.slick-active {
            button {
                background: color("azul");
            }
        }
    }
}

.ver-mas {
    border: 0;
    padding: 10px 40px 10px 20px;
    color: #fff;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 3px solid #fff;
    position: relative;
    letter-spacing: 1px;
    &:after {
        content: ">>";
        position: absolute;
        right: 10px;
        top: 19px;
        line-height: 0;
    }
    &:hover {
        color: darken(#fff, 10%);
    }
}

.btn-submenu {
    display: inline-block;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    vertical-align: top;
    margin: 0 20px 0 0;
    &.azul {
        .submenu {
            a {
                color: color("azul");
                &.active,
                &:hover {
                    color: color("rojo");
                }
            }
        }
    }
    &:last-child {
        margin: 0;
    }
    &:hover {
        overflow: visible;
        .submenu {
            opacity: 1;
            left: 10%;
        }
    }
    .submenu {
        padding: 20px 0 0 0;
        transition: all 0.2s ease-in-out;
        opacity: 0;
        position: absolute;
        z-index: 20;
        top: 100%;
        list-style: none;
        text-align: left;
        width: 100%;
        margin: 0;
        left: 50%;
        a {
            white-space: nowrap;
            display: block;
            color: #fff;
            width: 100%;
            text-decoration: none;
            position: relative;
            padding: 5px 0 5px 15px;
            &:hover {
                color: darken(#fff, 20%);
            }
            &:before {
                content: ">";
                position: absolute;
                left: 0;
                top: 4px;
            }
        }
    }
}

@keyframes animarMenu {
    0% {
        opacity: 0;
    }
    100% {
        opacity: .8;
        left: 0;
        width: 100%;
    }
}

@keyframes animacionnavegar {
    0% {
        transform: translate(0, 0px);
    }
    50% {
        transform: translate(0, -20px);
    }
    90% {
        transform: translate(0, 0px);
    }
}

@keyframes animacionnavegarmenu {
    0% {
        transform: translate(0, 0px);
    }
    50% {
        transform: translate(-10px, 0);
    }
    90% {
        transform: translate(0, 0px);
    }
}