/*
    Theme Name: Fotoviajero
    Theme URI: 
    Author: Alfredo Sis
    Author URI: https://github.com/alfredsis
    Description: Theme Diseñado para el blog elfotoviajero
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: blog, travel, viajes, mobile first
    Text Domain: fotoviajero
    Screenshot: screenshot.png
*/

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:wght@300;400;500&family=Mulish:wght@300;400;500&family=Oswald:wght@400;500&display=swap');

:root {
    --fuente-texto: 'Fira Sans Condensed', sans-serif;
    --fuente-headings: 'Oswald', sans-serif;
    --fuente-secundaria: 'Mulish', sans-serif;
    --fondo: #f6f7f9;
}

.texto{
    font-family: var(--fuente-secundaria);
}

html{
    box-sizing: border-box;
    font-size: 62.5%;  /* 10 px = 1rem */
    line-height: 1.65;
}
*, *:before, *:after {
    box-sizing: inherit;
}

h1{
    font-size: 6rem;
}

h2{
    font-size: 2.8rem;
}
h3{
   font-size: 2.2rem;
}

p{
   font-size: 1.8rem;
   margin: 0; 
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
/* img{
    display: block;
    max-width: 100%;
    height: auto;
} */
body{
    background-color: var(--fondo);
}

.contenedor{
    width: 95%;
    margin: 0 auto 10rem auto;
}
@media(min-width: 768px){
    .contenedor{
    width: 70%;
    }
}

/** Utilidades **/

.text-center{
    text-align: center;
}



body{
    font-family: 'Roboto Condensed', sans-serif;
}


/** Header **/

.header{    
    padding: 1rem 0;
    position: fixed;
    z-index: 3 ;
    width: 100%;
    height: 13rem;    
    background-color: "";
    transition: 0.4s ease;
    padding-top: 2rem;
}

.header2{    
   background-color: #fff;
   height: 9rem;     
   transition: 0.4s ease;
   padding-top: 1rem;   

}


.invertir{
    filter: invert(100%);
}

.shadow{
    box-shadow: 0px 7px 29px 0px rgba(100, 100, 111, 0.2);
}

.menu-hamburguesa{
    cursor: pointer;    
}

.menu-hamburguesa svg{
    height: 5rem;
    
}


.barra-navegacion{
    display: none;    
}

.barra-navegacion2{
     display: flex;
     flex-direction: row;
     align-items: center;
     justify-content: space-between;
     padding: 0 2rem;
}

.menu-contenedor-mobil{
    background-color: #fff;
}

@media (min-width: 768px){
    .menu-contenedor-mobil{
        display: none;
    }
  
}



.no-mostrar{
    display: none;
    transition: 0.3s ease;    
}

.hambu{
    fill: #fff;
}
.equis{
    display: none;
    fill: #fff;
}


@media (min-width: 768px){
    .barra-navegacion{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;      
    }
    .barra-navegacion2{
        display: none;    
    }
}



.menu-1 ul, .menu-2 ul{
    display: flex;
    flex-direction: row;    
}


.menus-a {
    font-family: var(--fuente-headings);
    display: block;
    text-align: center;
    color: #ffffff;    
    font-size: 2.2rem;
    padding: 0.5rem 2rem;   
    transition: transform .3s ease;       
}

.menus-a:hover{
    color: #bcbcbc;
    transition: 0.3s ease;
    transform: scale(1.04);
}

.menus-b{
    font-family: var(--fuente-headings);
    display: block;
    text-align: center;
    color: #272727;    
    font-size: 2.2rem;
    padding: 0.5rem 2rem;  
    transition: transform .3s ease;  
}

.menus-b:hover{
    color: #8e8e8e;
    transition: 0.3s ease;
    transform: scale(1.04);
}


.fade-in {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease;
	animation-duration: 0.8s;
   
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.fade-out {
	opacity: 1;
	animation-name: fadeOutOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-out; /* Cambiamos a ease-out para una salida más suave */
	animation-duration: 0.3s;
}

@keyframes fadeOutOpacity {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}



@media (min-width: 768px){
    .menu-1 .current_page_item a,.menu-2 .current_page_item a {    
    
    border-bottom: #888888 solid;
    border-width: 1px;      
    }
}

.logo{
    width: 80% ;    
}
@media (max-width: 768px) {
    .logo{
        width: 45% ;    
    }  
}


.logo img{
    width: 100%;  
    transition: transform .3s ease;  
}

.logo img:hover{
    transform: scale(1.06);
}
@media(min-width:768px){
    .logo{
        width: 30rem ;
        padding: 0 2rem;
    }

}

/*************************------------ Post Cards------------------ **/

.listado-grid {
margin-top: 2rem;
display: grid;
padding: 0 1rem;

width: 100%;
}

@media(min-width: 768px){
    .listado-grid{
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        width: 100%;
        
    }
}


.card{

    margin-top: 10rem;
    width: 100%;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;

}

.card img{
    
    width: 100%;
    height: 20rem;
    object-fit: cover;
}
@media(min-width:768px){
    .card img{
    
        width: 100%;
        height: 30rem;
        
    }
}


.card .contenido{
 padding: 0 30px 30px 30px;
}

.contenido h3{
    font-size: 3rem;
    font-family: var(--fuente-texto);
    color: black;
    transition: all 0.25s linear;
    margin: 1.6rem 0 1rem 0;
    
}
.contenido h3:hover{  
    color: #508EA8; 
    
}

.contenido  p{
    font-weight: 400;
    font-family: var(--fuente-texto);
    color: #757575;
    margin-bottom: 2rem;
   
}

.contenido .read-more{
    font-weight: 500;
    font-family: var(--fuente-texto);
    color: #242424;    
}
.contenido .read-more:hover{
    transition: all 0.25s linear;
    color: #508EA8;    
}

.autor{
    display: flex;
    gap: 1rem;
    
}

.autor img{
   
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

.autor-date{    
    display: flex;
    flex-direction: column;   
    line-height: 1;
    /* align-content: center;    */
    flex-wrap: wrap; 
    height: 4rem;
   
}



.autor p{
margin: 1px 0px;
font-size: 1.5rem;
}
.autor .autor-p{
    color: #5f5f5f;
    font-weight: 500;
    margin-top: 4px;
}




/** -------------------------------  Slider -------------------------------  **/

.pagina{
    width: 100%;
    height: 75rem;
    position: relative;
}

.slider-inner-div{
    width: 100%;
    height: 75rem;
    position: relative;
}

.img-slider{
    width: 100%;
    object-fit: cover;
    height: 75rem;  
    position: absolute; 
   
}
.slider-background{
    
    width: 100%;
    height: 100%; 
    position: absolute;
    top: 50%;
    left: 50%;  
    transform: translate(-50%, -50%);
    background: rgb(0,0,0);
    background: radial-gradient(circle, rgba(0,0,0,0.30155812324929976) 0%, rgba(0,0,0,0.5452556022408963) 77%);
}
.slider-inner{
    position: absolute;
    top: 50%;
    left: 50%;    
    transform: translate(-50%, -50%);
    color: #fff;    
    font-family: var(--fuente-texto);  
        
}

@media (max-width: 768px){
    .slider-inner{
       width: 75%;        
    }
   
}



.read-more-slider{
    padding: 1rem;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 12px;
    font-size: 2rem;  
    font-weight: 500;
    transition: 0.25s ease-out;
}

.read-more-slider:hover{
  
    color: #000000ae;
    border: 2px solid #ffffff34; 
    background: #ffffff87;
}

.flechas{
    height:3rem;
    transition: 0.2s ease;
    fill: #fff;

}

.flechas:hover{
    height: 4.3rem;
}

 

.slider-inner h1{
    margin-bottom: 1rem;
    font-size: 4rem;
}

@media (min-width: 768px){
    .slider-inner h1{
        margin-bottom: 1rem;
    }
}


.slider-inner p{
    margin-bottom: 3rem;
}


/** ---------------------------- Imagen destacada POST --------------------------- **/



.post-container{
    width: 100%;   
    display: flex;
    align-items: center;
    flex-direction: column;
}

.post-head{
    position: relative;
    width: 100%;
   
}

.imagen-destacada{
    width: 100%;
    object-fit: cover;
    height: 60rem;
    /* position: absolute; */
}





.title-post{
    position: absolute;
    top: 50%;
    left: 50%;  
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: var(--fuente-headings);
    text-transform: uppercase;    
}

@media (max-width: 768px){
    .title-post{
       font-size: 4rem;  
       width: 80%;
    }
}


.capa{
    background: rgb(0,0,0);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.212) 0%, rgba(0, 0, 0, 0) 77%);
    width: 100%;
    height: 100%;    
    position: absolute;
    top: 49%;
    left: 50%;  
    transform: translate(-50%, -50%);
    margin: 0;
}
.capa-post{
    background: rgba(0, 0, 0, 0.25);    
    width: 100%;
    height: 100%;    
    position: absolute;
    top: 49%;
    left: 50%;  
    transform: translate(-50%, -50%);
    margin: 0;
}



.post-body {
    width: 60%;
    background-color: #fff;
    padding: 3rem 7rem;
    font-family: var(--fuente-secundaria);
    display: flex;
    flex-direction: column;
}

@media (max-width: 1080px) {
    .post-body {
        width: 85%;
        padding: 3rem 5rem;
    }
}

@media (max-width: 768px) {
    .post-body {
        width: 100%;
        padding: 3rem;
    }
}


.date-post{
font-size: 1.5rem;
justify-content: center;
display: flex;
width: 100%;
margin-top: -20px;
margin-bottom: 30px;

}


/* --------------------- Footer ----------------------*/

.footer{
    background-color: #1d1d1d;
    display: flex;
    flex-direction: column;
    color: #fff;
    padding: 2rem 0;
    
}

.redes-sociales ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.redes-sociales li{
margin: 0 0.6rem;
}
.redes-sociales svg{
    fill: #fff;
    height: 3rem;
   
}

.redes-sociales svg:hover{
    fill: #b1b1b1;    
    transition: all 0.3s ease;        
}



.footer hr{
    width: 80%;
    height: 1px;
    background-color: rgb(93, 93, 93);
    border: 0px;
}

.copyright{
    display: flex;
    justify-content: center;
    color: #575757;
}

@media (max-width: 768px) {
    .copyright p{
        font-size: 1.3rem;
    }
}



.espacio{
    height: 13rem;
}


/**--------------------------- Comentarios ------------------------------- **/

.comment-respond{
    background-color: var(--fondo) ;
    padding: 0 2rem 2rem 2rem;
    border-radius: 25px;
}

.comment-form-url{
    display: none;
}



.comment-form-comment label, .comment-form-author label, .comment-form-email label{
    font-weight: 600;
    color: #0c3966 ;
}

#comment{
    max-width: 100%;
    min-width: 100%;
    min-height: 6rem;
    max-height: 13rem;
    border-radius: 10px;
}

.comment-form-author input, .comment-form-email input{
    border-radius: 10px;
}

.comment-form-cookies-consent label{
    font-size: 1.5rem;
}

.form-submit{
    padding: 2rem;
}

.form-submit input{
    background-color: #175ea5;
    color: #ffffff; 
    padding: 1.6rem 1rem;
    border-radius: 5px;
    border: none;
    transition: 0.25s ease;
}

.form-submit input:hover{
    background-color: #134070;     
}
#cancel-comment-reply-link{
    color: #ffffff;
    background-color: #e16e5f;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1.4rem;
    transition: 0.2s ease;
}
#cancel-comment-reply-link:hover{    
    background-color: #d93939;   
}


/* 
.wp-block-latest-comments{
    background-color: var(--fondo);
    padding: 2rem;
    border-radius: 25px;
}

.wp-block-latest-comments__comment{
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    border-radius: 5px;
    padding: 1rem;
}
.wp-block-latest-comments__comment-meta{
    display: flex;
    flex-direction: row; 
    align-items: baseline;   
}
.wp-block-latest-comments__comment-author{
    font-size: 1.3rem;
    font-weight: 600;  
    color: #1d1d1d; 
}
.wp-block-latest-comments__comment-author:visited{
    color: #1d1d1d;
}

.wp-block-latest-comments__comment-meta{
    color: #ffffff;     
}
.wp-block-latest-comments__comment-link{
    display: none;
}
.wp-block-latest-comments__comment-date{
    color: #868686;
    font-size: 1.1rem;
    font-weight: 600;
}
.wp-block-latest-comments__comment-excerpt{
    font-size: 1.5rem;
}
 */

 .wp-block-comment-template{
    background-color: var(--fondo);
    padding: 2rem;
    border-radius: 25px;
 }

 @media (max-width: 768px) {
    .wp-block-comment-template{       
        padding: 1rem;        
     }

}

 .wp-block-columns{
    background-color: #fff;    
    border-radius: 5px;   
    padding: 1rem;
 }



 .wp-block-comment-author-name a{
    font-size: 1.5rem;
    font-weight: 600;  
    color: #1d1d1d; 
   
 }

 .wp-block-comment-date a{
    color: #868686;
    font-size: 1.2rem;
    font-weight: 600;
 }

 .wp-block-comments h2{
    font-size: 2rem;
 }

 .wp-block-comment-edit-link a{
    color: #1a4c89;
    font-size: 1.2rem;
    font-weight: 600;
 }
.wp-block-comment-content{
    font-size: 1.5rem;
    padding: 0.5rem 0;
    font-weight: 500;   
}

@media (max-width: 768px) {
    .wp-block-comment-content p{
        font-size: 1.4rem;
          
    }    
}

.comment-reply-link{
    color: #4d4d4d;
    font-size: 1.3rem;          
}

.comment-reply-link:hover{
    color: #000000;   
    font-weight: 600;
}

.comment ol li div{
    background-color: #e5edfa;
}




