@font-face {
    font-family: highspeed;
    src: url(fonts/stratm.ttf);
    font-weight: bold;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 15px;
}
*::-webkit-scrollbar-track {
    background: #202627;
}

*::-webkit-scrollbar-thumb {
    background-color: #525152;
    border-radius: 12px;
    border: 2px double #201f1f;
}

* {
    margin: 0;
    font-family: highspeed;
}

html{
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(33,33,41,1) 0%, rgba(26,26,36,1) 0%, rgba(19,24,25,1) 50%, rgba(26,26,36,1) 100%, rgba(33,33,64,1) 100%);
}

header{
    margin: 0;
}

nav{
    margin-bottom: 0;
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(33,33,41,1) 0%, rgba(26,26,36,1) 0%, rgba(19,24,25,1) 50%, rgba(26,26,36,1) 100%, rgba(33,33,64,1) 100%);
    display: flex;
    justify-content: space-between;
    height: 75px;
}

h1, h2, p, a{
    text-shadow: 3px 2px 1px rgb(36, 33, 33);
}

.navder{
    display: flex;
    justify-items: center;
    align-items: center;
    margin-right: 5em;
}

.navder a{
    text-align: center;
    margin-right: 8em;
    font-size: 30px;
    color: #dad3d3;
    text-decoration: none;
    transition: all 200ms; 
}

.navder a:hover{
    opacity: 0.5;
    filter: drop-shadow(0px 0px 10px rgb(62, 64, 66));
}

#especial{
    margin-right: 0;
}


nav img{
    width: 120px;
    margin-right: 3em;
    margin-left: 2em;
    margin-top: 0.5em;
    transition: all 200ms;
}

nav img:hover{
    filter: drop-shadow(0px 0px 25px #5b5c5b)
}

.navizq{
    position: relative;
}

.navizq button{
    box-shadow: 6px 4px 4px rgb(36, 33, 33);
    position: absolute;
    top: 25%;
    width: 150px;
    height: 40px;
    background-color: #288dd1;
    color: white;
    border-radius: 4px;
    border: 0;
    font-size: 22px;
    transition: all 200ms; 
    cursor: pointer;
}

.navizq button:hover{
    background-color: rgba(40, 152, 226, 0.4);
    color: rgb(184, 179, 179);
    box-shadow: 0px 0px 0px rgb(36, 33, 33);
    filter: drop-shadow(0px 0px 10px rgb(31, 98, 143));
}

.headerfondo img{
    width: 100%;
    height: auto;
    min-height: 150px;
    max-height: 400px;
}

.contenido{
    margin-top: 0.3em;
    border-top: 2px solid rgb(76, 77, 76);
    margin-left: 1em;
    margin-right: 1em;
}

h1, h2{
    text-align: center;
    color: rgb(255, 177, 33);
    margin-top: 0.4em;
    font-size: 60px;
}

h2{
    font-size: 35px;
}

#titulo{
    font-weight: bold;
}

.contenido p, .noticias p{
    text-align: center;
    color: rgb(224, 217, 217);
    font-size: 22px;
    margin-top: 1em;
    margin-bottom: 2em;
}

footer{
    background-color: #292828;
    bottom: 0;
    width: 100%;
    height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer p{
    text-align: center;
    color: rgb(224, 217, 217);
    font-size: 22px;
}

.fade2{
    width: 100%;
    height: 10px;
    background: linear-gradient(0deg, rgba(22, 22, 24, 0.3) 0%, rgba(22, 20, 22, 0.3) 100%);
}

#video{
    display: block;
    margin: auto;
    margin-top: 1em;
    box-shadow: 5px 1px 35px rgb(34, 33, 33);
    width: 100%;
    max-width: 560px;
    transition: all 200ms; 
}

#video:hover{
    transform: scale(1.1);
    box-shadow: 5px 1px 40px rgb(39, 38, 38);
}

.bloques{
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-basis: 100%;
}

.bloque{
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(35,35,43,1) 0%, rgba(30,30,32,1) 100%, rgba(40,40,88,1) 100%);
    margin: 2em;
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
    box-shadow: 5px 1px 35px rgb(31, 29, 29);
    transition: all 200ms; 
    flex-basis: 100%;
}

.bloque:hover{
    transform: scale(1.1);
    box-shadow: 5px 1px 40px rgb(39, 38, 38);
}

.bloque p, .bloque h2{
    margin-bottom: 0.5em;
    transition: all 200ms;
}

.bloque img{
    display: block;
    margin: auto;
    width: 100%;
    max-width: 350px;
    border-radius: 3px;
}

#borde{
    border-bottom: 2px solid rgb(76, 77, 76);
    border-width: 2px;
    margin-left: 10em;
    margin-right: 10em;
}

.fade{
    margin-top: 1.5em;
    width: 100%;
    height: 70px;
    background: linear-gradient(0deg, rgba(30, 32, 37) 0%, rgba(43,35,43,0.05) 100%);
}

.noticias{
    margin-bottom: 0;
    width: 100%;
    background: linear-gradient(0deg, rgb(27, 27, 32) 0%, rgb(30, 32, 37) 100%);
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bloquenoticia{
    background-color: transparent;
    height: 200px;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 5em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5em;
}

.containernoticia{
    background-color: transparent;
    height: 200px;
    width: 100%;
    max-width: 600px;
    display: flex;
    transition: all 200ms; 
}

.containernoticia img{
    width: 100%;
    max-width: 300px;
    border-radius: 3px;
    box-shadow: 5px 1px 35px rgb(43, 40, 40);
}

.containernoticia:hover{
    transform: scale(1.05);
}

.bloquetextos{
    display: block;
}

.bloquetextos p{
    margin: 0;
    margin-left: 0.9em;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    font-size: 16px;
    text-align: left;
    color: rgb(185, 181, 181);
}

#noticiaespecial{
    color: white;
    font-size: 20px;
    margin-left: 0.8em;
}

/* animaciones */

.logoanim{
    animation-name: logoanim;
    animation-fill-mode: both;
    animation-duration: 0.5s;
}

.fadedown{
    animation-name: fadedown;
    animation-fill-mode: both;
    animation-duration: 0.5s;
}

.fadedownleve{
    animation-name: fadedownleve;
    animation-fill-mode: both;
    animation-duration: 0.5s;
}

.fadeleftleve{
    animation-name: fadeleftleve;
    animation-duration: 0.5s;
}

.faderightleve{
    animation-name: faderightleve;
    animation-duration: 0.5s;
}

.fadedownmasleve{
    animation-name: fadedownmasleve;
    animation-duration: 0.5s;
}

.fadedownmasleve2{
    animation-name: fadedownmasleve;
    animation-duration: 0.8s;
}

.fadedownmasleve3{
    animation-name: fadedownmasleve;
    animation-duration: 1.1s;
}

.fadeupleve2{
    animation-name: fadeupleve;
    animation-duration: 0.7s;
}

.fadeupleve3{
    animation-name: fadeupleve;
    animation-duration: 0.9s;
}

.fadeupleve4{
    animation-name: fadeupleve;
    animation-duration: 1.1s;
}

.fadeupleve{
    animation-name: fadeupleve;
    animation-duration: 0.5s;
}

.fadedownespecial{
    animation-name: fadedownespecial;
    animation-fill-mode: both;
    animation-duration: 0.5s;
}

.banneranim{
    animation-name: banneranim;
    animation-fill-mode: both;
    animation-duration: 0.8s;
}

.fadeanim{
    animation-name: fadeanim;
    animation-fill-mode: both;
    animation-duration: 0.4s; 
}

/* sección feedback */

input{
    border-radius: 4px;
    resize: none;
    color: rgb(224, 217, 217);
    background: linear-gradient(90deg, rgb(5, 3, 36) 0%, rgb(25, 25, 31) 0%, rgb(27, 27, 29) 100%, rgb(31, 31, 68) 100%);
    border: 0;
    font-size: 17px;
    box-shadow: 3px 1px 40px rgb(46, 45, 45);
    transition: all 200ms;
    width: 100%;
    max-width: 169px;
}

input:hover{
    box-shadow: 3px 1px 40px rgb(63, 62, 62);
}

.contacto{
    width: 100%;
    max-width: 650px;
    height: 310px;
    display: flex;
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(35,35,43,1) 0%, rgb(37, 37, 39) 100%, rgba(40,40,88,1) 100%);
    box-shadow: 5px 1px 35px rgb(32, 32, 32);
    justify-content: center;
    align-items: center;
    margin: auto;
    transition: all 200ms;
}

.contacto:hover{
    transform: scale(1.05);
    box-shadow: 5px 1px 35px rgb(36, 36, 36);
}

.cajacontacto{
    width: 100%;
    max-width: 600px;
    height: 200px;
    background-color: transparent;
    margin: auto;
    margin-top: 0.5em;
}

.cajacontacto button{
    display: block;
    margin: auto;
    margin-top: 1em;
    width: 70px;
    height: 30px;
    border-radius: 4px;
    font-size: 18px;
    background: linear-gradient(90deg, rgb(5, 3, 36) 0%, rgb(25, 25, 31) 0%, rgb(27, 27, 29) 100%, rgb(31, 31, 68) 100%);
    border: 0;
    color: rgb(224, 217, 217);
    box-shadow: 3px 1px 40px rgb(56, 55, 55);
    transition: all 200ms;
    cursor:pointer;
}

.cajacontacto button:hover{
    transform: scale(1.1);
    box-shadow: 3px 1px 40px rgb(66, 65, 65);
}

.contactochico{
    display: flex;
    justify-content: center;
    align-items: center;
}

.bloquecontacto{
    margin: 2em;
    margin-top: 0;
    margin-bottom: 0;
}

.contactogrande{
    display: block;
    margin-top: 3em;
}

.contactogrande p{
    margin: 0;
    text-align: left;
}

.contactogrande textarea{
    display: block;
    margin: auto;
    width: 100%;
    height: 126px;
    max-width: 600px;
    box-sizing: border-box;
    background: linear-gradient(90deg, rgb(5, 3, 36) 0%, rgb(25, 25, 31) 0%, rgb(27, 27, 29) 100%, rgb(31, 31, 68) 100%);
    border: 0;
    color: rgb(224, 217, 217);
    font-size: 17px;
    box-shadow: 3px 1px 40px rgb(46, 45, 45);
    transition: all 200ms;
}

.contactogrande textarea:hover{
    box-shadow: 3px 1px 40px rgb(53, 52, 52);
}

.bloquecontacto p{
    margin: 0;
    text-align: left;
}

/* sección mapas */

.bloquesmapas{
    width: 100%;
    display: block;
}

.bloquemapas{
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.bloquemapa{
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(35,35,43,1) 0%, rgba(30,30,32,1) 100%, rgba(40,40,88,1) 100%);
    margin: 2em;
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
    box-shadow: 5px 1px 35px rgb(37, 36, 36);
    transition: all 200ms; 
}

.bloquemapa:hover{
    transform: scale(1.1);
    box-shadow: 5px 1px 40px rgb(49, 48, 48);
}

.titulomapa{
    display: block;
}

.titulomapa h2{
    transition: all 200ms; 
}

.bloquemapa img{
    width: 100%;
    max-width: 400px;
    border-radius: 3px;
}

.titulomapa img{
    display: block;
    margin: auto;
    width: 70px;
    margin-top: 0.4em;
    filter: drop-shadow(0px 0px 35px #3c3d3c)
}

.clasificacionmapa{
    display: flex;
    justify-content: center;
}

.clasificacionmapa img{
    width: 30px;
    margin-bottom: 1em;
    margin-top: 1.5em;
    transition: all 200ms;
}

.clasificacionmapa img:hover{
    transform: scale(1.25);
    margin-right: 1em;
    margin-left: 1em;
}

#agrandado{
    width: 75px;
}

/* keyframes */

@keyframes logoanim{
    from{
        opacity: 0.2;
        transform: translate3d(-100%, 0, 0);
        filter: drop-shadow(0px 0px 25px #b9bbb9)
    }  
    to{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadedown{
    from{
        opacity: 0.2;
        transform: translate3d(0, -100%, 0);
    }  
    to{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadedownespecial{
    from{
        opacity: 0;
        transform: translate3d(0, -100%, 0);
        filter: drop-shadow(0px 0px 10px rgb(96, 170, 219));
        box-shadow: 0px 0px 0px rgb(36, 33, 33);
    }  
    to{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadedownleve{
    from{
        opacity: 0.23;
        transform: translate3d(0, -30%, 0);
    }  
    to{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadedownmasleve{
    from{
        opacity: 0.23;
        transform: translate3d(0, -10%, 0);
    }  
    to{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeleftleve{
    from{
        opacity: 0.23;
        transform: translate3d(-30%, 0, 0);
    }  
    to{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes faderightleve{
    from{
        opacity: 0.23;
        transform: translate3d(30%, 0, 0);
    }  
    to{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeupleve{
    from{
        opacity: 0.23;
        transform: translate3d(0, 30%, 0);
    }  
    to{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeanim{
    from{
        opacity: 0.3;
    }  
    to{
        opacity: 1;
    }
}


@keyframes banneranim{
    from{
        opacity: 0.3;
        transform: translate3d(-30%, 0, 0);
        box-shadow: 0px 0px 0px rgb(36, 33, 33);
    }  
    to{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* responsive */

@media (max-width: 1300px){
    .navder a{
        margin-right: 4em;
    }

    .bloque h2{
        font-size: 28px;
    }
    
    .bloque p{
        font-size: 18px;
    }

    .bloquemapa h2{
        font-size: 22px;
    }

    .titulomapa img{
        width: 60px;
    }

    #agrandado{
        width: 60px;
    }
}

@media (max-width: 1000px){
    .navder{
        margin-right: 2em;
    }

    .navder a{
        margin-right: 2em;
        font-size: 24px;
    }

    .navizq button{
        width: 100px;
        height: 40px;
        font-size: 17px;
    }

    .headerfondo img{
        min-height: 110px;
    }

    .noticias{
        display: block;
        height: 450px;
    }

    .bloquenoticia{
        display: block;
    }

    .containernoticia{
        margin: auto;
        margin-bottom: 2em;
    }

    h1{
        font-size: 45px;
    }

    h2{
        font-size: 25px;
    }

    .contenido p, .noticias p{
        font-size: 21px;
    }

    .bloque h2{
        font-size: 26px;
    }
    
    .bloque p{
        font-size: 16px;
    }

    .responsivemapa{
        display: block;
    }

    .bloquemapas{
        display: block;
    }

    .bloquemapa{
        margin: auto;
        margin-top: 1em;
        margin-bottom: 1em;
    }

    .titulomapa h2{
        font-size: 30px;
    }
}

@media (max-width: 800px){
    .navder a{
        margin-right: 0.5em;
        font-size: 18px;
    }

    .navizq img{
        margin-right: 0.6em;
    }

    .bloques{
        margin-top: 2em;
        display: block;
    }

    .bloque{
        margin: auto;
        max-width: 500px;
    }

    .bloque h2{
        margin: 0;
        padding-top: 1em;
        padding-bottom: 1em;
    }

    .bloque p{
        padding-bottom: 1em;
    }

    .bloquetextos{
        width: 100%;
        max-width: 300px;
    }

    .bloquetextos p{
        font-size: 15px;
    }

    #noticiaespecial{
        margin-left: 0.65em;
    }

    .contactogrande p{
        text-align: center;
    }

    .contactogrande textarea{
        max-width: 430px;
    }

    .bloquemapa{
        display: block;
    }
}

@media (max-width: 500px){
    .navder a{
        margin-right: 0.5em;
        font-size: 14px;
    }
    .navizq img{
        margin-left: 0.2em;
    }

    .navizq button{
        width: 60px;
        height: 30px;
        font-size: 12px;
        top: 30%;
    }

    .noticias{
        margin: auto;
    }

    .containernoticia img{
        width: 170px;
        height: 120px;
    }

    .bloquetextos p{
        font-size: 13px;
    }
}
