@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --dark-blue: 31,53,97;
    --light-blue: 0,154,185;
    --normal-font: 1.5rem;
    --h1-font: 4rem;
    --h2-font: 2.8rem;
    --button-padding: 1.2rem 3rem;
    --button-min-width: 15rem;
    --white: 255,255,255;
    --font: 'Montserrat', sans-serif;
    
    --container-max-width: 120rem;
    --container-padding: 0 2.5rem;
    --transition: all 0.2s ease-in-out;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: var(--font);
}

body {
    margin: 0;
    font-size: var(--normal-font);
    color: rgb(var(--dark-blue));
}

h1 {
    font-size: var(--h1-font);
}

h2 {
    font-size: var(--h2-font);
    text-align: center;
}

h3 {
    margin: 0;
}
a{
    text-decoration: none;
}
/*MODIFICADORES*/
.flex{
    display: flex;
}
.flex.wrap{
    flex-wrap: wrap;
}
.flex.grow{
    flex-grow: 1;
}
.flex.space-between{
    justify-content: space-between;
}
.flex.x-center{
   justify-content: center; 
}
.flex.y-center{
    align-items: center; 
}
.flex.column {
    flex-direction: column;
}
.flex.x-end {
    justify-content: flex-end;
}
.flex.x-start {
    justify-content: flex-start;
}
.x-auto{
    margin: 0 auto;
}
.y-auto{
    margin: auto 0;
}
.width-full{
    width: 100%;
}

/*.MODIFICADORES*/

/*botones*/
a.btn{
    border: rgb(var(--dark-blue)) solid 1px;
    padding: var(--button-padding);
    min-width: var(--button-min-width);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: inline-block;
}

.btn.linear,
.btn.solid:hover{
    background-color: rgba(var(--dark-blue),0);
    color: rgb(var(--dark-blue));
}
.btn.linear:hover,
.btn.solid{
    color: rgb(var(--white));
    background-color: rgba(var(--dark-blue),1);
}
.btn.header{
    background-color: rgba(var(--light-blue),1);
}
.btn.header:hover{
    color: rgb(var(--white));
    background-color: rgba(var(--light-blue),0);
    border-color: rgb(var(--white)) solid 1px;
}
/*.botones*/


/*GLOBALES*/
.container{
    max-width: var(--container-max-width);
    width: 100%;
    padding: var(--container-padding);
}

.bg-blue {
    background-color: rgb(var(--dark-blue));
    color: rgb(var(--white));
}

.regular {
    font-weight: normal;
}
/*.GLOBALES*/
/*HEADER*/

    /*header bar*/
.header__bar__container{
    background: rgb(var(--white));
    position: fixed;
    z-index: 99;
}
.header__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 1em;
    padding-bottom: 1em;
}

.header__bar ul {
    display: flex;
    align-items: center;
    margin: 0;
    list-style: none;
}

.header__bar li a{
    margin: 1.4rem 0 1.4rem 2rem;
    color: rgb(var(--dark-blue));
    transition: var(--transition);
}
.header__bar li a.selected,
.header__bar li a:hover{
    color: rgb(var(--light-blue));
}

input#menuShowIcon{
    display: none;
    position: absolute;
    z-index: -1;
    height: 0;
    width: 0;
    transform: scale(0);
    opacity: 0;
}
    /*.header bar*/

.header__image {
    height: 100vh;

    color: rgb(var(--white));

    background-image: url(resources/images/desktop/header-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.header__image h1 {
    max-width: 47.4rem;
    margin-bottom: 6.5rem;
    text-align: center;
}

.header__image p {
    font-size: rgb(var(--normal-font));
}

.header__image a {
    border: rgb(var(--light-blue)) solid 1px;
}

.filter-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 100vh;
    background-color: #010a1c75;
}
/*.HEADER*/

.icons {
    width: 15rem;
    text-align: center;
    margin: 5rem 3rem 6rem 3rem;
}

.first-article {
    grid-template-columns: 50% 50%;
}

.culture {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.culture-cnt {
    grid-column-start: 1;
    grid-column-end: 3;
}

.title-notice {
    padding-top: 9rem;
    padding-bottom: 9rem;
}
.noticias{
    margin: 0;
    padding: 6rem 0 1rem;
}

article {
    text-align: center;
    padding: 1rem;
}

.sct-about {
    display: grid;
    grid-template-columns: repeat(2, 50%);
}

footer.footer {
    padding: 7rem 1rem;
}

footer address {
    text-align: right;
}

footer img {
    width: 21rem;
    margin: 2rem;
}

footer div>h3 {
    text-align: center;
}

.btn.footer {
    color: rgb(var(--white));
    border-color: rgb(var(--white));
    margin: 2rem;
}

.btn.footer:hover {
    background: rgb(var(--white));
    color: rgb(var(--dark-blue));
}

.bold {
    font-weight: bold;
}

address {
    font-style: normal;
}



/*SPLIDE*/
.splide#galeria{
    width: 100vw;
    height: 400px;
}
.splide__arrow--prev {
    left: 0;
}
.splide__arrow--next {
    right: 0;
}
.splide__arrow--next,
.splide__arrow--prev{
    width: 5rem;
    height: 100%;
    opacity: 0.2;
    border-radius: 0;
    background: transparent;
}
.splide__arrow:hover {
    cursor: pointer;
    opacity: .2;
}

.splide#noticias{
    padding: 1.5rem 1.5rem 6rem;
    min-height: 400px;
}

/*.SPLIDE*/
@media screen and (max-width: 650px){
    

    h1 {
        font-size: 2.8rem;
    }

    .regular {
        font-weight: bold;
    }

    .sct-about {
        grid-template-columns: 100%;
    }

    #icons-move {
        order: 1;
    }

    .flex.x-center-mbl{
       justify-content: center; 
    }

    .flex.y-center-mbl{
        align-items: center; 
    }
    
}

/*------*/
@media (min-width: 1480px) {
    .hidden-desktop{
        display:none;
    }
}
@media (max-width: 1480px) {
    .hidden-laptop{
        display:none;
    }
}
@media (max-width: 1240px) {
    .hidden-tablet{
        display:none;
    }
    
}
@media (max-width: 750px) {
    .hidden-mobile{
        display:none;
    }
    .header__bar {
        justify-content: center;
        align-items: flex-start;
        background-color: rgb(var(--dark-blue));
    }

    .menu-mobile {    
        display: flex;
        justify-content: space-between;
        align-items: center;

        width: 100%;

    }

    .menu-icon {
        width: 25px;
        height: 25px;
        user-select: none;
        cursor: pointer;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        -webkit-tap-highlight-color: transparent;
        
    }
    .menu-icon .burguer{
        width: 100%;
        height: 3px;
        background-color: #fff;
        user-select: none;
    }
    .menu-icon .burguer:before{
        top: 2px;
    }
    .menu-icon .burguer:after{
        bottom: 2px;
    }
    .menu-icon .burguer:before,
    .menu-icon .burguer:after{
        content: '';
        width: 100%;
        position: absolute;
        height: 3px;
        background-color: #fff;
        left: 0;
    }
    input#menuShowIcon:checked + label .burguer{
        background: transparent;
    }
    input#menuShowIcon:checked + label .burguer:after{
        transform: rotate(45deg);
        bottom: 11px;
    }
    input#menuShowIcon:checked + label .burguer:before{
        transform: rotate(-45deg);
        top: 11px;
    }

    .header__bar ul {
        padding: 0;
        padding-top: 3rem;
        flex-direction: column;
    }

    .header__bar li {
        padding: 13px 0;
    }

    .header__bar li a {
        font-size: 2rem;
        color: rgb(var(--white));
        margin: 0;
    }

    .header__image {
        background-position-x: 85%;
    }

    .header__bar li:last-child {
        margin-top: 13px;
    }

    .header__bar li:last-child a {
        padding: var(--button-padding);

        font-weight: 600;
        color: rgb(var(--white));
        border: rgb(var(--white)) solid 1px;
    }
    #menuMobile{
        height: 0;
        overflow: hidden;
        transition: all 0.2s ease-in-out;
    }
    #menuMobile.show{
        height: 100vh;
    }

    .splide#galeria{
        width: 100vw;
        height: 100vw;
    }
    .splide#noticias{
        padding: 1.5rem 1.5rem 3rem;
        min-height: 100vw;
    }
    .noticias{
        padding: 3rem 0 0;
    }
    .splide__slide img {
        width : 100%;
        height: auto;
    }
    .icons {
        width: 15rem;
        text-align: center;
        margin: 2rem 3rem 3rem 3rem;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .change-order {
        order: -1;
    }

}
