@font-face {
    font-family: BreePeru;
    font-style: normal;
    font-weight: 400;
    src:
        local("bree 400"),
        local("bree-400"),
        url(../fonts/font-bree/breeperu_light.otf) format("opentype");
}
@font-face {
    font-family: BreePeru;
    font-style: italic;
    font-weight: 400;
    src:
        local("bree 400"),
        local("bree-400"),
        url(../fonts/font-bree/breeperu_lightoblique.otf) format("opentype");
}
@font-face {
    font-family: BreePeru;
    font-style: normal;
    font-weight: 500;
    src:
        local("bree 500"),
        local("bree-500"),
        url(../fonts/font-bree/breeperu_regular.otf) format("opentype");
}
@font-face {
    font-family: BreePeru;
    font-style: italic;
    font-weight: 500;
    src:
        local("bree 500"),
        local("bree-500"),
        url(../fonts/font-bree/breeperu_regularoblique.otf) format("opentype");
}
@font-face {
    font-family: BreePeru;
    font-style: normal;
    font-weight: 700;
    src:
        local("bree 700"),
        local("bree-700"),
        url(../fonts/font-bree/breeperu_bold.otf) format("opentype");
}
@font-face {
    font-family: ClanOt;
    font-weight: 400;
    font-style: normal;
    src:
        local("clanOt 400"),
        local("clanOt-400"),
        url(../fonts/font-clan/clanOt-400.otf) format("opentype");
}
@font-face {
    font-family: ClanOt;
    font-style: normal;
    font-weight: 500;
    src:
        local("clanOt 500"),
        local("clanOt-500"),
        url(../fonts/font-clan/clanOt-500.otf) format("opentype");
}
@font-face {
    font-family: ClanOt;
    font-style: normal;
    font-weight: 700;
    src:
        local("clanOt 700"),
        local("clanOt-700"),
        url(../fonts/font-clan/clanOt-700.otf) format("opentype");
}
@font-face {
    font-family: ClanOt;
    font-style: normal;
    font-weight: 900;
    src:
        local("clanOt 900"),
        local("clanOt-900"),
        url(../fonts/font-clan/clanOt-900.otf) format("opentype");
}

/* preload */
.preload {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #f3edef;
}
.preload img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
}
body {
    /* overflow-x:hidden;     Hide horizontal scrollbar */
    font-family: BreePeru;
    font-size: 0.75rem;
    line-height: 1rem;
}
/* lineas rojas */
.styled div {
    border: solid 1px;
    border-color: greenyellow;
}
.flotante {
    width: auto;
    display: scroll;
    position: fixed;
    bottom: 320px;
    right: 0px;
    z-index: 1;
}

/* HEADER +++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
header {
    position: relative;
    background-color: #d52b1e;
    height: 100vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
    color: white;
}
header .logo {
    width: auto;
    height: auto;
}
@media (max-width: 767px) {
    header .logo {
        width: 50%;
        height: auto;
    }
}
header .lugar {
    margin: 1.25rem;
    border-left: 2px double #fff;
    width: auto;
    height: auto;
}
@media (max-width: 767px) {
    header .lugar {
        margin: 1.25rem;
        border-left: 0px double #fff;
    }
}
header .lugarf {
    margin: 0px 10px 10px 10px;
}
@media (max-width: 767px) {
    header .lugarf {
        margin: 0px 10px 10px 10px;
    }
}
header .lugarm {
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border: 1px solid #fff;
    margin: 1.25rem;
}
header .contador {
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border: 1px solid #fff;
    margin: 1.25rem 1.25rem 0px 1.25rem;
    padding: 10px;
}
@media (max-width: 767px) {
    header .contador {
        border-radius: 10px 10px 10px 10px;
        -webkit-border-radius: 10px 10px 10px 10px;
        -moz-border-radius: 10px 10px 10px 10px;
        border: 1px solid #fff;
    }
}
header .comienza {
    width: auto;
    text-align: center;
    font-size: x-large;
    padding-bottom: 14px;
    padding-top: 10px;
}
@media (max-width: 767px) {
    header .comienza {
        width: auto;
        text-align: center;
        font-size: medium;
        padding-bottom: 8px;
        padding-top: 5px;
    }
}
header .entrada {
    width: 12%;
    padding-right: 8px;
}
@media (max-width: 767px) {
    header .entrada {
        width: 14%;
        height: auto;
    }
}
header .cuadrocount {
    width: auto;
}
@media (max-width: 767px) {
    header .cuadrocount {
        width: auto;
    }
}
header .bienvenida {
    padding-top: 10%;
}
@media (max-width: 767px) {
    header .bienvenida {
        padding-top: 44%;
    }
}
header .mouse {
    width: 38%;
    height: auto;
}

header .bajando {
    position: absolute;
    left: 50%;
    bottom: -14rem;
}
/* header video */

header video {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
header .container {
    position: relative;
    z-index: 2;
}

header .overlay {
    position: absolute;
    background-image: url(../img/tv.png);
    background-size: auto;
    background-repeat: repeat;
    background-position: center center;
    background-color: rgba(0, 0, 0, 0.35);
    height: 100vh;
    width: 100%;
    z-index: 1;
}

/*
header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}
*/

/********* */

footer {
    background-color: #f0f0f0;
}
.logos-redes {
    text-decoration: none;
}
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    background-color: #fdc82f;
}

/* Nav bar
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.navbar {
    background-color: #ffffff !important;
    height: auto;
}
nav li {
    font-size: 1.25rem;
}
nav li a:hover {
    font-weight: 700;
    text-decoration: underline;
}
nav .amar {
    margin-top: 10px;
    position: absolute;
}

nav .entrada {
    width: 12%;
    padding-right: 8px;
}

.logo {
    height: auto;
    width: 74px;
}

.mensaje {
    position: absolute;
    top: 100%;
    left: 0px;
    z-index: 200;
    width: 100%;
    background-color: #d52b1e;
    text-align: center;
    color: white;
    -webkit-box-shadow: 0px 4px 13px 0px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 0px 4px 13px 0px rgba(0, 0, 0, 0.24);
    box-shadow: 0px 4px 13px 0px rgba(0, 0, 0, 0.24);
}
.mensaje h5 {
    margin-top: 10px;
}
/* contador */
#clock {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    margin: 0px;
    padding: 0px;
}
#clock p {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    /*background-color: #5e7c57;*/
    margin-top: 1em;
    padding: 1em;
    text-align: center;
}
#clock p span:nth-child(1) {
    font-size: 40px;
    font-weight: 700;
}
#clock p span:nth-child(2) {
    margin-top: 10px;
    font-size: 12px;
    margin-bottom: -1.25rem;
}
@media (max-width: 767px) {
    #clock {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        margin-top: -18px;
        padding: 0px;
    }
}
/* FERIA +++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#feria {
    padding-top: 100px;
    padding-bottom: 100px;
    height: auto;
    background-color: white;
}
@media (max-width: 767px) {
    #feria {
        padding-top: 100px;
        padding-bottom: 56px;
        height: auto;
        background-color: white;
    }
}
.spencer {
    scroll-margin: 6rem;
}
#feria h1 {
    color: #d52b1e;
    font-size: 3.5rem;
    font-weight: 700;
}
#feria .entrada {
    width: 12%;
    padding-right: 8px;
}
#feria button {
    margin-bottom: 1.25rem;
}
@media (max-width: 767px) {
    #feria button {
        margin-bottom: 30px;
        width: 100%;
    }
}
#feria .video {
    display: flex;
    justify-content: center;
}
#feria .video iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
}
/* EXPOSITORES ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#expositores {
    padding-top: 100px;
    padding-bottom: 100px;
    height: auto;
    background-color: #d52b1e;
}
#expositores h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
}
#expositores img {
    width: 200px;
    margin-top: 1.25rem;
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
}
@media (max-width: 767px) {
    #expositores img {
        width: 100px;
        margin-top: 1.25rem;
        border-radius: 10px 10px 10px 10px;
        -webkit-border-radius: 10px 10px 10px 10px;
        -moz-border-radius: 10px 10px 10px 10px;
    }
}
#feria p {
    text-align: justify;
}
/* CONOCE PERU ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#conoce {
    padding-top: 100px;
    padding-bottom: 100px;
    height: auto;
    background-color: white;
}

#conoce h1 {
    color: #d52b1e;
    font-size: 3.5rem;
    font-weight: 700;
}

/* PARALLAX */
.parallax1 {
    /* The image used */
    background-image: url("../img/parallax_1.jpg");
    /* Set a specific height */
    min-height: 500px;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
    -moz-box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
    box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
}
.parallax2 {
    /* The image used */
    background-image: url("../img/parallax_2.jpg");
    /* Set a specific height */
    min-height: 500px;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
    -moz-box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
    box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
}

@media (max-width: 767px) {
    .parallax1 {
        /* The image used */
        background-image: url("../img/parallax_1_m.jpg");
        /* Set a specific height */
        min-height: 500px;
        /* Create the parallax scrolling effect */
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        -webkit-box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
        -moz-box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
        box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
    }
    .parallax2 {
        /* The image used */
        background-image: url("../img/parallax_2_m.jpg");
        /* Set a specific height */
        min-height: 500px;
        /* Create the parallax scrolling effect */
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        -webkit-box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
        -moz-box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
        box-shadow: inset 0px 4px 13px 0px rgba(0, 0, 0, 0.52);
    }
}

/* MAPA ++++++++++++++++++++++++++++++++++++++++++++++++++*/
#mapa {
    background-color: white;
    padding-top: 100px;

    height: auto;
}
#mapa h1 {
    color: #d52b1e;
    font-size: 3.5rem;
    font-weight: 700;
}
#mapa .horario {
    background-color: #f2f2f2;
    padding: 40px 1.25rem 30px 50px;
}

/* REDES ********************************************************/
#redes {
    background-color: #d52b1e;
    height: 280px;
}
#redes .hashtag {
    color: white;
    padding-top: 40px;
}
#redes .siguenos {
    padding-top: 30px;
    padding-bottom: 18px;
    color: white;
    font-size: 26px;
}
.logospie {
    text-align: center;
}
.red_movil {
    width: 80%;
    height: 80%;
    margin: 0px;
    padding: 0px;
}

/* carrusel */
.card-lugar {
    background-color: #d52b1e;
    color: white;
    text-align: center;
}

#conoce .carousel-inner {
    padding: 1em;
}

#conoce .card {
    margin: 0 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
}

#conoce .carousel-control-prev,
#conoce .carousel-control-next {
    background-color: #d52b1e;
    width: 6vh;
    height: 6vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
#conoce .carousel-control-prev {
    left: -3%;
}
#conoce .carousel-control-next {
    right: -3%;
}

@media (min-width: 768px) {
    #conoce .carousel-item {
        margin-right: 5px;
        flex: 0 0 33.333333%;
        display: block;
    }

    #conoce .carousel-inner {
        display: flex;
    }
}

#conoce .card .img-wrapper {
    max-width: 100%;
    height: 13em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#conoce .card img {
    max-height: 100%;
}

@media (max-width: 767px) {
    #conoce .card .img-wrapper {
        height: 17em;
    }
}

.konami-active div {
  border: 1px solid red;
}

