/*BODY*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@200;400;600&display=swap');

body {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-self: center;
    background-color: #EAECEE;
    color: #34414B;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.marco {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    align-content: center;
    width: 100%;
    box-sizing: border-box;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    box-sizing: border-box;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    box-sizing: border-box;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    box-sizing: border-box;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 22px;
}

.hr {
    display: flex;
    width: 100%;
    height: 0%;
    margin: 30px 0px;
    border-bottom: solid 2px #BFC6CC;
}

/*CABECERA*/

.cabecera {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    align-content: center;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    background-color: #FAFCFE;
}

.cabecera_contenido {
    display: flex;
    align-content: center;
    justify-content: center;
    align-self: center;
    width: 100%;
    max-width: 2862px;
    min-height: 100vh;
    box-sizing: border-box;
}

header {
    display: flex;
    flex-direction: column;
    flex: 1 1 17%;
    width: 17%;
    align-content: center;
    min-height: 100%;
    margin: 0;
    padding: 1%;
    box-sizing: border-box;
}

.sello {
    display: flex;
    flex: 1 1 70%;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    max-width: 150px;
    margin: 0% 0% 15% 0%;
}

.logo img {
    width: 100%;
    margin: auto;
}

.texto_sello {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.sello h1 {
    color: #536878;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 15% 0% 0% 0%;
}

@media screen and (max-width:1366px) {
    
    .cabecera_contenido {
        flex-direction: column;
    }
    
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-height: 100px;
    }
    
    .sello {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    
    .sello h1 {
        font-size: 1.3rem;
        margin: 10px;
    }
    
    .logo {
        max-width: 70px;
        margin: 10px;
    }
    
}

@media screen and (max-width:960px) {
    
    header {
        align-items: center;
        justify-content: center;
        padding: 2%;
        max-height: 1000px;
        min-height: 50vh;
        width: 100%;
    }
    
    .sello {
        justify-content: center;
        align-items: center;
        height: 70%;
        margin: auto;
    }
    
    .texto_sello {
        margin-left: 0px;
        height: 30%;
    }
    
    .sello h1 {
        font-size: 1.5rem;
    }
    
    .logo {
        max-width: 100px;
    }
    
}

@media screen and (max-width:600px) {
    
    header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2%;
        width: 100%;
    }
    
    .sello {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 70%;
    }
    
    .logo {
        width: 150px;
        margin: 15%;
    }
    
}

/*Menú*/

.prado {
    display: flex;
    position: relative;
    align-content: center;
    justify-content: center;
    flex: 1 1 83%;
    width: 83%;
    min-height: 100%;
    margin: 0;
    padding: 0%;
    box-sizing: border-box;
    overflow: auto;
}

.menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 50%;
    width: 70%;
    list-style: none;
    margin: auto;
    padding: 0;
    box-sizing: border-box;
}

.menu div a {
    text-decoration: none;
    width: 70%;
}

.menubutton {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin: 40px;
    padding: 10px;
    border-bottom: solid 2px rgba(250, 252, 254, 0);
    box-sizing: border-box;
    transition: 0.5s;
}

.menubutton figcaption {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    text-decoration: none;
    color: #536878;
    margin: 15px 0px 0px 0px;
    transition: 0.3s;
}

.menubutton .pin {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 130px;
    max-width: 130px;
    background-image: url(../images/pin_sparkle2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: none;
    overflow: hidden;
    padding: 0%;
    margin: 0%;
    transition: 0.5s;
}

.menubutton .pin img {
    width: 100%;
    height: 100%;
    margin: 0%;
    padding: 0%;
}

.menubutton:hover, .menu a:focus .menubutton {
    border-bottom: solid 2px #DAA520;
    transition: 0.3s;
}

.menubutton:hover .pin, .menu a:focus .menubutton .pin {
    background-image: url(../images/pin_sparkle.png);
    transition: 0.5s;
}

.menubutton:hover figcaption, .menu a:focus .menubutton figcaption {
    color: #2A343C;
    transition: 0.5s;
}

@media screen and (max-width:1366px) {
    
    .prado {
        width: 100%;
    }
    
    .menu {
        justify-content: space-around;
        max-width: 1000px;
        border-top: solid 2px #EAECEE;
        border-bottom: solid 2px #EAECEE;
    }
    
}

@media screen and (max-width:960px) {
    
    .prado {
        min-height: 50vh;
    }
    
    .menu {
        width: 80%;
        border-top: none;
        border-bottom: none;
    }
    
    .menubutton {
        flex-direction: column;
        height: 140px;
        min-width: 140px;
        width: 140px;
        margin: 20px;
        border-radius: 15px;
        border: solid 2px #BFC6CC;
    }
    
    .menubutton .pin {
        height: 80px;
        width: 80px;
        background-image: none;
    }
    
    .menubutton figcaption {
        font-size: 1rem;
        font-weight: 400;
        margin: 0;
        max-width: 130px;
        border-bottom: none;
    }

    .menubutton:hover, .menu a:focus .menubutton {
        border: solid 2px #DAA520;
        transition: 0.3s;
    }

    .menubutton:hover .pin, .menu a:focus .menubutton .pin {
        background-image: none;
    }
    
}

@media screen and (max-width:600px) {
    
    .prado {
        padding: 10px;
    }
    
    .menu {
        flex-direction: column;
        justify-content: center;
    }
    
    .menubutton {
        flex-direction: column;
        height: 100%;
        min-width: 140px;
        width: 140px;
        height: 45px;
        margin: 5px;
        border-radius: 10px;
    }
    
    .menubutton .pin {
        display: none;
    }
    
    .menubutton figcaption {
        margin: 0px;
    }
}

/*CUERPO*/

.cuerpo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-self: center;
    width: 100%;
    max-width: 2862px;
    box-sizing: border-box;
}

/*Nav*/

nav {
    display: flex;
    flex-direction: column;
    flex: 1 1 17%;
    position: relative;
    width: 17%;
    margin: 0;
    padding: 2%;
    background-color: #EAECEE;
    box-sizing: border-box;
    z-index: 1;
}

nav .nav_body {
    position: sticky;
    top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    box-sizing: border-box;
}

nav ul li {
    display: flex;
    flex-direction: column;
    flex: 1 1 100%;
    flex-wrap: nowrap;
    margin: 0%;
    box-sizing: border-box;
}

nav ul li a {
    display: flex;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #34414B;
    padding: 7px 10px;
    line-height: 20px;
    margin: 0%;
}

.boton_desplegable {
    border-left: solid 2px rgba(234, 236, 238, 0);
    box-sizing: border-box;
    transition: 0.3s;
}

.boton_desplegable:hover, .boton_desplegable:active {
    border-left: solid 2px #DAA520;
    transition: 0.3s;
}

.boton_minimenu span {
    display: none;
}

.desplegable {
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    transition: 0.5s;
    box-sizing: border-box;
}

.desplegable li {
    box-sizing: border-box;
}

.desplegable li a {
    padding-left: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    box-sizing: border-box;
}

.desplegable li:hover, .desplegable li:active {
    background-color: #FAFCFE;
}

.boton_desplegable:hover .desplegable, .boton_desplegable:active .desplegable {
    margin-bottom: 10px;
    max-height: 700px;
    transition: 0.5s;
}

@media screen and (max-width:1366px) {
    nav {
        width: 100%;
        position: sticky;
        top: 0px;
        align-items: center;
        margin-top: 1%;
    }
    
    nav .nav_body {
        position: relative;
        top: 0;
        align-items: baseline;
    }
    
    .minimenu {
        width: 80%;
    }
    
    nav ul {
        flex-direction: row;
        justify-content: space-around;
        margin: auto;
    }
    
    nav ul li {
        max-width: 300px;
    }
    
    .desplegable {
        flex-direction: column;
    }
}

@media screen and (max-width:960px) {
    
    .minimenu {
        width: 100%;
    }
}

@media screen and (max-width:720px) {
    
    .minimenu_open {
        padding-bottom: 40px;
    }
    
    nav ul {
        flex-direction: column;
    }

    .boton_minimenu span {
        display: block;
        font-size: 2.5rem;
        text-align: end;
        margin-right: 10px;
    }

    .boton_minimenu {
        align-self: flex-start;
        width: 100%;
        cursor: pointer;
        text-decoration: none;
        color: #34414B;
        font-family: 'Montserrat', sans-serif;
        font-weight: 500;
        font-size: 1.2rem;
        box-sizing: border-box;
        transition: 0.3s;
    }

    .boton_minimenu:hover {
        color: #DAA520;
        transition: 0.3s;
    }

    .minimenu {
        max-height: 0px;
        margin: 0px 0px 0px 0px;
        width: 50%;
        overflow: hidden;
        transition: 0.5s;
        box-sizing: border-box;
    }

    .minimenu_open {
        margin-top: 20px;
        max-height: 700px;
        transition: 0.5s;
        box-sizing: border-box;
    }
}

/*Secciones*/

@media screen and (max-width:1366px) {
    .cuerpo {
        flex-direction: column;
    }
}

main {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 83%;
    padding: 1% 0%;
    background-color: #EAECEE;
    box-sizing: border-box;
}

@media screen and (max-width:1366px) {
    main {
        width: 100%;
    }
}

main section {
    display: flex;
    flex-direction: column;
    padding: 3%;
    padding-bottom: 60px;
    margin-bottom: 100px;
    background-color: #FAFCFE;
    border-radius: 5px;
    box-sizing: border-box;
}

section h2 {
    flex: 1 1 100%;
    align-items: center;
    text-align: center;
    font-size: 2.5rem;
    color: #536878;
    margin: 0%;
    margin-top: 100px;
    padding: 20px;
}

section h3 {
    color: #34414B;
    margin: 0%;
    margin-top: 10px;
    padding: 0;
}

section article {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    justify-content: space-between;
    align-content: space-between;
    border-bottom: solid 2px #BFC6CC;
    margin: 0%;
    margin-top: 5%;
    padding: 3%;
    padding-top: 100px;
    padding-bottom: 5%;
    box-sizing: border-box;
}

section .texto {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: stretch;
    flex: 1 1 55%;
    max-width: 700px;
    min-height: 100%;
    margin: 0%;
    padding: 0;
    box-sizing: border-box;
}

/*acordeón*/

section .acordeon {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

section .panel {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: space-between;
    align-content: stretch;
    height: 100%;
    margin: 0%;
    padding: 0;
    box-sizing: border-box;
}

.flecha {
    display: none;
}

/*resto del artículo*/

section .texto_panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    min-height: 220px;
    height: 100%;
    margin: 15px 15px 0px 0px;
    padding: 0;
    padding-right: 30px;
    box-sizing: border-box;
}

.texto_panel p {
    width: 100%;
    box-sizing: border-box;
}

.idiomas {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    align-items: baseline;
}

.idiomas a {
    color: #536878;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin: 15px 15px 0px 0px;
    cursor: pointer;
    border-bottom: solid 2px rgba(218, 165, 32, 0);
    transition: 0.3s;
}

.idiomas a:hover, .idiomas a:focus {
    color: #2A343C;
    border-bottom: solid 2px #DAA520;
    transition: 0.3s;
}

.present {
    display: block;
}

.missing {
    display: none;
}

@media screen and (max-width:2560px) {
    
    main section {
        border-radius: 5px 0px 0px 5px;
    }
    
}

@media screen and (max-width:1920px) {
    
    section .texto {
        max-width: 100%;
    }
}

@media screen and (max-width:1366px) {
    main {
        padding: 1%;
    }
    
    main section {
        border-radius: 5px;
    }
}

@media screen and (max-width:960px) {
    
    section .texto_panel {
        padding-right: 0px;
    }
}

@media screen and (max-width:720px) {
    
    section .texto_panel {
        min-height: 300px;
    }
    
    section h2 {
        padding: 0px;
        font-size: 2.5rem;
    }
    
    section h3 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width:540px) {
    
    section h2 {
        font-size: 2rem;
    }
    
}

section .miniatura {
    display: flex;
    flex: 1 1 35%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    margin: 0%;
    overflow: visible;
    cursor: pointer;
    box-sizing: border-box;
}

section .miniatura .lupa {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    align-content: center;
    top: 0px;
    width: 100%;
    max-width: 250px;
    height: 100%;
    max-height: 250px;
    background-color: rgba(42, 52, 60, 0.7);
    box-sizing: border-box;
    opacity: 0;
    transition: 0.8s;
}

section .miniatura .lupa p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #FAFCFE;
    font-size: 3rem;
    transform: rotate(-45deg);
}

section .miniatura:hover .lupa {
    opacity: 1;
    transition: 0.8s;
}

section .miniatura figcaption {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-align: right;
    line-height: 22px;
    width: 100%;
    max-width: 250px;
    margin-top: 10px;
    padding: 0;
    font-size: 0.9rem;
    transition: 0.5s;
}

section .miniatura figcaption a {
    border-bottom: solid 2px rgba(218, 165, 32, 0);
    color: #536878;
    transition: 0.5s;
}

section .miniatura:hover figcaption a, section .miniatura figcaption a:focus {
    color: #2A343C;
    border-bottom: solid 2px #DAA520;
    transition: 0.3s;
}

section .miniatura img {
    width: 100%;
    max-width: 250px;
    transition: 0.5s;
}

@media screen and (max-width: 1366px) {
    section article {
        flex-direction: row;
    }
    
    section .texto {
        flex: 1 1 50%;
    }
    
    section .miniatura {
        flex: 1 1 50%;
    }
}

@media screen and (max-width: 960px) {
    section article {
        flex-direction: column;
        align-items: center;
    }
    
    section .texto {
        width: 70%;
        margin-top: 30px;
    }
    
    section .miniatura figcaption {
        text-align: right;
    }
}

@media screen and (max-width: 720px) {
    section .panel {
        height: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        padding-bottom: none;
    }
    
    section .texto {
        width: 100%;
    }
    
    section .miniatura .lupa {
        max-width: 220px;
        max-height: 220px;
    }
    
    section .miniatura img {
        max-width: 220px;
    }
    
    .miniatura img:hover {
        transform: none;
    }
    
    section .acordeon {
        justify-content: space-between;
        cursor: pointer;
    }
    
    section .acordeon:active {
        color: #2A343C;
        transition: 0.3s;
    }
    
    .flecha {
        display: flex;
        font-family: 'Montserrat', sans-serif;
        font-weight: 300;
        font-size: 1.3rem;
        color: #536878;
        margin: 0px 30px;
        transform: rotate(90deg);
        transition: 0.5s;
    }

    .activo .flecha {
        transform: rotate(-90deg);
        transition: 0.5s;
    }
}

/*Modales de Sección*/

.modalsecciones {
    display: none;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(34, 34, 34, 0.9);
    box-sizing: border-box;
}

.desplegado {
    display: block;
}

.contenido {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    margin: auto;
    top: 0%;
    bottom: 0%;
    right: 0%;
    left: 0%;
    max-width: 2862px;
    max-height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}

.ilustraciones {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    margin: auto;
    top: 0%;
    bottom: 0%;
    right: 0%;
    left: 0%;
    max-width: 2862px;
    max-height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}

.slide {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: auto;
    padding: 0%;
    width: 100%;
    max-width: 2862px;
    max-height: 100vh;
    box-sizing: border-box;
}

.slide picture {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: auto;
    max-height: 100vh;
    max-width: 100vh;
}

.slide picture img {
    max-width: 2862px;
    max-height: 100vh;
}

@media screen and (max-width: 960px) {
    .slide picture img {
        max-width: 100%;
    }
}

.prev,
.next {
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #BFC6CC;
    background-color: rgba(52, 65, 75, 0.75);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 25px;
    width: 45px;
    height: 45px;
    margin: 5%;
    border-radius: 23px;
    border: solid 2px rgba(191, 198, 204, 0);
    box-sizing: border-box;
    cursor: pointer;
    transition: 0.5s;
}

.next {
    right: 0%;
}

.prev:hover,
.next:hover {
    color: #FAFCFE;
    border: solid 2px #BFC6CC;
    transition: 0.3s;
}

.prev:focus,
.next:focus {
    color: #FAFCFE;
    border: solid 2px #BFC6CC;
    transition: 0.3s;
}

@media screen and (max-width:960px) {
    .prev {
        left: 0%;
        margin: 0%;
        width: 35px;
        height: 35px;
        border-left: none;
        border-radius: 0px 18px 18px 0px;
    }

    .prev:hover {
        border-left: none;
    }

    .prev:focus {
        border-left: none;
    }
    
    .next {
        right: 0%;
        margin: 0%;
        width: 35px;
        height: 35px;
        border-right: none;
        border-radius: 18px 0px 0px 18px;
    }

    .next:hover {
        border-right: none;
    }

    .next:focus {
        border-right: none;
    }
}

.close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 5%;
    top: 10%;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #BFC6CC;
    background-color: rgba(52, 65, 75, 0.75);
    font-size: 40px;
    width: 45px;
    height: 45px;
    border-radius: 23px;
    border: solid 2px rgba(191, 198, 204, 0);
    box-sizing: border-box;
    cursor: pointer;
    transition: 0.5s;
}

.close:hover {
    color: #FAFCFE;
    border: solid 2px #BFC6CC;
    transition: 0.3s;
}

.close:focus {
    color: #FAFCFE;
    border: solid 2px #BFC6CC;
    transition: 0.3s;
}

@media screen and (max-width:960px) {
    
    .close {
        right: 0%;
        margin: 0%;
        width: 35px;
        height: 35px;
        border-right: none;
        border-radius: 18px 0px 0px 18px;
    }

    .close:hover {
        border-right: none;
    }

    .close:focus {
        border-right: none;
    }
}

.titulo {
    position: absolute;
    text-align: center;
    width: 100%;
    background-color: #EAECEE;
    color: #34414B;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 12px;
    bottom: 0%;
    box-sizing: border-box;
}

@media screen and (max-width:720px) {
    .titulo {
        text-align: left;
    }
}

/*Modales de información*/

.valle {
    display: flex;
    position: relative;
    align-content: center;
    justify-content: center;
    width: 100%;
    height: 700px;
    margin: 0;
    padding: 0%;
    box-sizing: border-box;
    overflow: auto;
}

.vallebuttons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-self: center;
    width: 70%;
    padding: 5% 0% 5% 0%;
    border-bottom: solid 2px #BFC6CC;
    border-top: solid 2px #BFC6CC;
}

.vallebutton {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #536878;
    background-color: #FAFCFE;
    padding: 10px;
    margin: 9%;
    height: 160px;
    width: 160px;
    border-radius: 80px;
    border: solid 2px #BFC6CC;
    box-sizing: border-box;
}

.vallebutton:focus,
.vallebutton:hover {
    color: #2A343C;
    background-color: #FAFCFE;
    border: solid 2px #DAA520;
    transition: 0.3s;
}

@media screen and (max-width:960px) {
    .vallebuttons {
        width: 100%;
    }
    
    .vallebutton {
        font-size: 1.2rem;
        margin: 10%;
    }
}

@media screen and (max-width:720px) {
    .valle {
        max-height: 600px;
        margin-bottom: 15%;
    }
    
    .vallebuttons {
        flex-direction: column;
        padding: 0%;
        border-bottom: none;
        border-top: none;
    }
}

.modal {
    display: none;
    position: absolute;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FAFCFE;
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    border-radius: 5px 0px 0px 5px;
}

.abierto {
    display: flex;
}

.cerrar_modales {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 5%;
    right: 5%;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    color: #536878;
    font-size: 35px;
    font-weight: 200;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: solid 2px rgba(191, 198, 204, 0);
    cursor: pointer;
    box-sizing: border-box;
    transition: 0.3s;
}

.cerrar_modales:hover,
.cerrar_modales:focus {
    color: #2A343C;
    border: solid 2px #DAA520;
    transition: 0.3s;
}

@media screen and (max-width:1366px) {
    .modal {
        padding-top: 80px;
    }
    
    .cerrar_modales {
        top: 85px;
    }
}

@media screen and (max-width:720px) {
    .modal {
        padding: 1%;
        padding-top: 70px;
    }
    
    .cerrar_modales {
        top: 80px;
        right: 2%;
    }
}

/*about*/

.ficha {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-self: center;
    box-sizing: border-box;
    margin: auto;
}

#about figure {
    display: flex;
    flex: 1 1 30%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 2% 4%;
}

#about figure img {
    width: 100%;
    max-width: 150px;
}

#texto_about {
    display: flex;
    flex: 1 1 70%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 2% 0%;
}

#texto_about p {
    display: flex;
    flex-direction: column;
    max-width: 30%;
    margin: 0px 10px;
}

.cv {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #536878;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    border-bottom: solid 2px rgba(218, 165, 32, 0);
    margin: 4% 0%;
}

.cv:hover, .cv:focus {
    color: #2A343C;
    border-bottom: solid 2px #DAA520;
    transition: 0.3s;
}

@media screen and (max-width:1920px) {
    
    .ficha {
        flex-direction: column;
        justify-content: center;
        width: 50%;
    }
    
    #texto_about {
        margin: 0% 4%;
    }
    
    #texto_about p {
        flex-direction: row;
        max-width: 100%;
        margin: 10px 0px;
    }
    
}

@media screen and (max-width:1366px) {
    
    .ficha {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 65%;
    }
    
    .ficha figure {
        flex: 1 1 25%;
        max-width: 150px;
    }
    
    #texto_about {
        flex: 1 1 80%;
    }
    
    #texto_about p {
        max-width: 100%;
    }
    
}

@media screen and (max-width:960px) {
    
    .ficha {
        align-items: flex-start;
        width: 90%;
    }
    
}

@media screen and (max-width:720px) {
    
    .ficha {
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }
    
    #texto_about {
        flex: 1 1 100%;
    }
    
    .ficha figure {
        flex: 1 1 20%;
        width: 130px;
    }
    
}

/*contacto*/

#contacto {
    display: flex;
    flex-direction: column;
    margin: 5%;
    padding: 10px 0px;
    width: 50%;
    box-sizing: border-box;
    overflow: visible;
}

#contacto label {
    margin: 10px 0px 5px 0px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

#contacto input {
    color: #2A343C;
    background-color: #FAFCFE;
    border: solid 1px #BFC6CC;
    padding: 5px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

#contacto input:focus {
    border: solid 1px #536878;
    transition: 0.3s;
    outline: none;
}

#contacto textarea {
    color: #2A343C;
    background-color: #FAFCFE;
    border: solid 1px #BFC6CC;
    padding: 5px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

#contacto textarea:focus {
    border: solid 1px #536878;
    transition: 0.3s;
    outline: none;
}

.minicontacto {
    display: flex;
    flex-direction: column;
}

.botones_contacto {
    display: flex;
    justify-content: flex-end;
}

.botones_contacto #borrar, .botones_contacto #enviar {
    color: #FAFCFE;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background-color: #34414B;
    border: solid 1px #34414B;
    border-radius: 3px;
    margin: 0% 0% 0% 5%;
    padding: 10px;
    cursor: pointer;
}

@media screen and (max-width:720px) {
    .botones_contacto {
        margin-top: 5%;
    }
}

.botones_contacto #borrar:hover, .botones_contacto #enviar:hover {
    background-color: #DAA520;
    border: solid 1px #DAA520;
    transition: 0.3s;
}

.botones_contacto #borrar:focus, .botones_contacto #enviar:focus {
    color: #34414B;
    background-color: #FAFCFE;
    border: solid 1px #34414B;
    transition: 0.3s;
    outline: none;
}

.checkbox {
    padding: 10px 0px;
}

.checkbox #politica {
    margin: 0% 2% 0% 0%;
}

.checkbox #politica:focus {
    outline: solid;
    outline-color: #34414B;
    outline-width: 1px;
}

.parrafos {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 1 1 100%;
    font-weight: 500;
    margin-top: 10px;
}

.parrafosp {
    font-family: 'Montserrat', sans-serif;
    color: #2A343C;
    border-left: solid 5px #DAA520;
    margin: 10px 0px 0px 0px;
    padding-left: 5px;
    opacity: 0;
    transition: 0.3s;
}

.validacion {
    font-family: 'Montserrat', sans-serif;
    color: #2A343C;
    border-left: solid 5px #DAA520;
    margin: 10px 0px 0px 0px;
    padding-left: 5px;
    opacity: 1;
    transition: 0.3s;
}

.primera_capa {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
}

.primera_capa a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border-bottom: solid 2px rgba(218, 165, 32, 0);
    cursor: pointer;
    transition: 0.3s;
}

.primera_capa a:hover {
    color: #2A343C;
    border-bottom: solid 2px #DAA520;
    transition: 0.3s;
}

@media screen and (max-width: 960px) {
    #contacto {
        width: 65%;
    }
}

@media screen and (max-width: 720px) {
    #contacto {
        width: 100%;
    }
}

/*politica de privacidad*/

#privacidad {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #34414B;
    border-bottom: solid 2px rgba(218, 165, 32, 0);
    cursor: pointer;
    transition: 0.3s;
}

#privacidad:hover, #privacidad:focus {
    color: #2A343C;
    border-bottom: solid 2px #DAA520;
    transition: 0.3s;
}

@media screen and (max-width: 720px) {
    #privacidad {
        border-bottom: solid 2px #BFC6CC;
    }
}

.encabezado_privacidad .cerrar {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #34414B;
    right: 25px;
    font-size: 35px;
    font-weight: lighter;
    margin: 0px 0px 0px 10px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: solid 2px rgba(191, 198, 204, 0);
    cursor: pointer;
    box-sizing: border-box;
    transition: 0.3s;
}

.encabezado_privacidad .cerrar:hover, .encabezado_privacidad .cerrar:focus {
    color: #2A343C;
    border: solid 2px #DAA520;
    text-decoration: none;
    transition: 0.3s;
}

@media screen and (max-width:720px) {
    
    .encabezado_privacidad .cerrar {
        border: none;
    }
    
    .encabezado_privacidad .cerrar:hover, .encabezado_privacidad .cerrar:focus {
        color: #DAA520;
        border: none;
    }
}

.fondo_privacidad {
    display: none;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(34, 34, 34, 0.9);
    box-sizing: border-box;
}

.desplegado {
    display: block;
}

.texto_privacidad {
    position: absolute;
    margin: auto;
    top: 0%;
    bottom: 0%;
    right: 0%;
    left: 0%;
    width: 50%;
    height: 70%;
    overflow: auto;
    background-color: #FAFCFE;
    padding: 0% 3%;
    box-sizing: border-box;
}

.texto_privacidad h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.texto_privacidad a {
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    font-weight: 600;
    color: #34414B;
    border-bottom: solid 2px rgba(218, 165, 32, 0);
    cursor: pointer;
}

.texto_privacidad a:hover, .texto_privacidad a:active {
    color: #2A343C;
    border-bottom: solid 2px #DAA520;
    transition: 0.3s;
}

.encabezado_privacidad {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding-top: 50px;
}

@media screen and (max-width: 768px) {
    .texto_privacidad {
        width: 70%;
        height: 80%;
    }
}


/*FOOTER*/

footer {
    display: flex;
    flex-direction: column;
    align-self: center;
    align-content: center;
    width: 100%;
    background-color: #2A343C;
}

.informacion {
    display: flex;
    flex-direction: column;
    align-self: center;
    align-content: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 2862px;
    margin: auto;
    padding: 10% 2% 2% 2%;
    color: #BFC6CC;
    line-height: 25px;
    bottom: 0%;
    box-sizing: border-box;
}

footer address {
    display: flex;
    text-align: right;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
}

footer div {
    display: flex;
    flex-direction: column;
}

footer .acordeon {
    display: flex;
    align-items: center;
    margin-top: 5%;
    margin-bottom: 0.5%;
    box-sizing: border-box;
    cursor: pointer;
}
    
footer .acordeon p {
    display: flex;
    font-size: 1rem;
}

footer .flecha {
    display: flex;
    color: #BFC6CC;
    font-size: 1.5rem;
    margin-left: 0px;
    margin-top: 0%;
    margin-bottom: 0%;
    margin: auto;
    transform: rotate(90deg);
    transition: 0.5s;
}

footer .activo .flecha {
    transform: rotate(-90deg);
    transition: 0.5s;
}

footer .panel {
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    box-sizing: border-box;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

footer .panel p {
    flex: 1 1 50%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.7rem;
    padding: 1%;
}

footer a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-decoration: none;
    color: #BFC6CC;
    cursor: pointer;
    transition: 0.3s;
}

footer a:hover, footer a:active, footer a:focus {
    color: #DAA520;
    transition: 0.3s;
}

footer .hr {
    border-bottom: solid 2px #34414B;
}

@media screen and (max-width: 960px) {
    
    .footer_address {
        flex-direction: column;
    }
    
    footer .panel {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
}

/*MENSAJE ENVIADO*/

.enviado {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    position: absolute;
    margin: auto;
    top: 0%;
    bottom: 0%;
    right: 0%;
    left: 0%;
    width: 50%;
    height: 80%;
    overflow: auto;
    background-color: #FAFCFE;
    padding: 3%;
    border-radius: 10px;
    box-sizing: border-box;
}

.enviado h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.volver figure {
    width: 100px;
    border: solid 2px rgba(218, 165, 32, 0);
    border-radius: 10px;
    padding: 3%;
    box-sizing: border-box;
}

.volver figure img {
    max-width: 100%;
    max-height: 100%;
    align-self: center;
}

.volver p {
    font-family: 'Montserrat', sans-serif;
    color: #2A343C;
    font-weight: 400;
    opacity: 0;
    transition: 0.5s;
}

.volver:hover p, .enviado a:focus p {
    opacity: 1;
    transition: 0.5s;
}

.volver:hover figure, .volver a:focus figure {
    border: solid 2px #DAA520;
    transition: 0.5s;
}

@media screen and (max-width: 960px) {
    .enviado {
        justify-content: flex-start;
        width: 90%;
        height: 90%;
        padding: 1%;
    }
    
    .volver figure {
        height: 80px;
        width: 80px;
    }
    
    .volver p {
        opacity: 1;
        color: #2A343C;
    }
}

@media screen and (max-width: 540px) {
    .enviado {
        justify-content: center;
        width: 100%;
        height: 100%;
        border-radius: 0px;
    }
}

/*Retoques Generales*/

a {
    text-decoration: none;
    transition: 0.3s;
}

a:focus {
    outline: none;
    transition: 0.3s;
}

[data-title] {
    position: relative;
}

[data-title]:hover {
    color: #DAA520;
}

[data-title]:after {
    content: attr(data-title);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 22px;
    display: flex;
    justify-content: center;
    align-content: center;
    min-width: 150px;
    width: 100%;
    flex-wrap: wrap;
    color: #FAFCFE;
    background-color: rgba(42, 52, 60, 0.9);
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    text-align: left;
    padding: 10px;
    margin-bottom: 3px;
    border-radius: 3px;
    transition: 0.3s;
}

[data-title]:hover:after {
    opacity: 1;
    visibility: visible;
    transition: 0.3s;
}