@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Germania+One&display=swap');
@import url('css/pie.css');
@import url('css/404.css');

html {
	font-size: 62.5%; /** Reset para REMS - 62.5% = 10px de 16px **/
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*, *:before, *:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
    font-family: "Roboto", sans-serif;
    background-color: rgb(224, 165, 125);
}

header {
    padding: 5px 5px;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

.contenedor {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

p {
    font-size: 2.4rem;
    color: white;
}

.una-sola-linea {
    white-space: nowrap;
}

.centrar {
    text-align: center !important;
}

.tiempo {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

main h3{
    font-family: 'Germania One', sans-serif;
    font-size: 1.8rem !important;
    color: white !important;
    text-align: center !important;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    border-radius: 30px;
}

.sombra {
    filter: drop-shadow(5px 10px 3px rgba(0, 0, 0, 0.3));
}

.espaciado {
    padding: 20px;
}

.redondear {
    border-radius: 30px;
}

.barranavegar{
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 16px 64px;
    background-color: rgba(95,158,160,0.5);
    position: sticky; /* Para que el menú se quede fijado */
    top: 0px; /* A la parte de arriba */
    height: 80px;
    z-index: 9999;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    padding: 10px;
    height: 70px;
}

.logo span {
    font-size: 1.6rem;
    text-align: center;
    padding: 0;
    margin: 0;
    transition: all 0.5s ease;
}

.logo span a {
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    text-decoration: none !important;
}

.nav-links {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.nav-links li {
    margin-left: 15px;
}

.nav-links a,
.redes-sociales a {
    color: white;
    font-size: 1.4rem;
    padding: 8px 10px;
    border-radius: 15px;
    transition: background-color 0.3s ease;
    text-decoration: none !important;
}

.nav-links a:hover,
.redes-sociales a:hover,
.logo span a:hover  {
    background-color: brown;
}

.redes-sociales a {
    margin-left: 5px;
    padding: 5px 10px;
}

#check, .menu-icon {
    display: none;
}

header {
    max-width:120rem;
    width:95%;
    margin: 0 auto;
}

header p {
    font-size: 1.8rem;
    text-indent: 2rem;
    color: white;
    text-align: justify;
    font-weight: normal;
}

main {
    padding: 0 0 20px 0;
}

main h1{
    font-family: 'Germania One', sans-serif;
    font-size: 2.2rem !important;
    padding: 10px;
    text-decoration: underline;
    color: white !important;
    text-align: center !important;
    filter: drop-shadow(5px 10px 3px rgba(0, 0, 0, 0.3));
}

main h2{
    font-family: 'Germania One', sans-serif;
    font-size: 2rem !important;
    color: white !important;
    text-align: center !important;
}

main a {
    text-decoration: none !important;
    color:brown !important;
}

main a:hover {
    color:white !important;
}

.video-youtube {
    aspect-ratio: auto;
    width: 100%;
}

/*---- Inicio ----*/

/*---- Fin Inicio ----*/

/*---- Historia ----*/

/*---- Fin Historia ----*/

/*---- Monumentos ----*/

.tarjetas {
    display: flex;
    /*flex-wrap: wrap;*/
    flex-direction: column;
}

.tarjeta {
    /* flex: 50%;*/
    margin: 10px;
    padding: 20px;
    border: 5px solid rgb(225, 116, 33);
    border-radius: 30px;
    /*display: flex;
    flex-direction: column-reverse;*/
    filter: drop-shadow(5px 10px 3px rgba(0, 0, 0, 0.3));
}

/*.texto-tarjeta {
    flex-grow: 1;
    flex-shrink: 1;
}*/

/*.texto-tarjeta h2 {
    filter: none;
}*/

.imagenes-tarjeta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.imagen-tarjeta img,
.sendero img,
.monumento img,
.imagen {
    display: block; /* Evita espacio extra debajo de la imagen */
    max-width: 100%; /* La imagen no será más ancha que su contenedor */
    height: auto;   /* Mantiene la proporción original de la imagen */
    margin: 0 auto;
    padding: 10px;
    border-radius: 30px;
}

/*---- Fin Monumentos ----*/

/*---- Rutas -----*/

/*.rutas {
    text-align: center;
    font-size: 2rem;
}*/

.sendero,
.monumento,
.rutas {
    /*display: flex;*/
    align-items: center;
    align-content: center;
    /*justify-content: center;
    flex-wrap: wrap;*/
}

/*.sendero img {
    display: block; 
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 10px;
    border-radius: 30px;
}

.sendero img {
    padding: 20px;
    border-radius: 30px;
}
*/
/*---- Fin Rutas -----*/

/*---- Obras Pictoricas -----*/

.obras {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 20px;
}

.obra img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/*---- Fin Obras Pictoricas -----*/

@media (width <= 768px) {
    #check,
    #cancel {
        display: none;
    }
    
    .menu-icon {
        /*flex-direction: column;*/
        cursor: pointer;
        margin-left: auto;
        position: relative;
        padding: 10px;
        color: white;
        font-size: 3.0rem;
        transition: all 0.3s ease;
    }

    .menu-icon{
        display: block;
    }

    #check:checked ~ .menu-icon #btn {
        display: none;     
    }
    
    #check:checked ~ .menu-icon #cancel {
        display: block;     
    }

    #check:checked ~ .nav-links {
        transform: translateX(0%);
    }

    .nav-links {
        display: block;
        text-align: center;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.7);
        transition: all 0.5s ease;
        transform: translateX(-100%);
        height: max-content;
    }

    .nav-links li {
        padding: 15px 15px;
    }
    
    .nav-links a {
        color: red;
        font-size: 1.6rem;
        transition: background-color 0.3s ease;
    }

    .nav-links a:hover {
        color: white;
        transition: background-color 0.3s ease;
    }

    header p {
        font-size: 1.4rem;
    }
    
    main h1{
        font-size: 2rem !important;
    }
    
    main h2{
        font-size: 1.6rem !important;
    }

    .obras {
        max-width: 50%;
        grid-template-columns: repeat(1, 1fr);
    }

    .obra img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (769px <= width <= 1024px) {
    
}

@media (1025px <= width <= 1200px) {
    .logo span {
        font-size: 1.8rem;
    }

    .nav-links a,
    .redes-sociales a {
        font-size: 1.6rem;
    }

    header p {
        font-size: 2rem;
    }
    
    main h1{
        font-size: 2.4rem !important;
    }
    
    main h2{
        font-size: 2.2rem !important;
    }

    main h3{
        font-size: 2rem !important;
    }
}

@media (width >= 1201px) {
    .logo span {
        font-size: 2rem;
    }

    .nav-links a,
    .redes-sociales a {
        font-size: 1.8rem;
    }

    header p {
        font-size: 2.2rem;
    }
    
    main h1{
        font-size: 2.6rem !important;
    }
    
    main h2{
        font-size: 2.4rem !important;
    }

    main h3{
        font-size: 2.2rem !important;
    }    
}