/*
 Theme Name:   Divi Child
 Theme URI:    https://rapapawn.temp.libnamic.eu/
 Description:  Tema hijo de Divi
 Author:       Tibnamic
 Author URI:   https://libnamic.com/es/
 Template:     Divi
 Version:      1.0.0
*/

/* Importar el estilo del tema padre */
@import url("../Divi/style.css");

@font-face {
    font-family: 'HappyTimesAtTheIkob';
    src: url('fonts/happy-times-at-the-ikob-webfont.woff2') format('woff2'),
         url('fonts/happy-times-at-the-ikob-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HappyTimesAtTheIkob';
    src: url('fonts/happy-times-at-the-ikob_italic-webfont.woff2') format('woff2'),
         url('fonts/happy-times-at-the-ikob_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}


body{
    font-family: 'HappyTimesAtTheIkob', sans-serif;
    font-style: normal;

}

header{
    z-index: 999999;
    position: relative;
}

.italic-text {
    font-family: 'HappyTimesAtTheIkob', sans-serif;
    font-style: italic;
}

/* CSS para hacer girar la imagen */
.animacionabout .et_pb_image_wrap img {
    animation: rotate 4s linear infinite;
    width:20rem;
}

.animacionabout{
    display: flex;
    align-items: center;
    justify-content: center;
    height:20rem;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* border-bottom: 2px black dotted; */


/* menu */
nav#top-menu-nav{
    width: 100%;
}
#top-menu{
 display: flex;
 justify-content: space-between;
}

.et_pb_section.et_pb_section--with-menu{
padding: 0;
}
header .et_pb_menu__menu,nav.et-menu-nav {
    width: 100%;
}
ul#menu-menu-principal {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.et_header_style_centered  #top-menu>li>a, .et-menu-nav #menu-menu-principal>li>a {

    padding-bottom: 0;
}
.et_header_style_centered  #top-menu>li,.et-menu-nav #menu-menu-principal>li{
    padding: 1em;
    
}

div .et_mobile_menu li a {
    border-bottom: none;
}

.et_header_style_centered  #top-menu>.current_page_item, #top-menu>.current-menu-parent{
    padding: 1em 2em;
    background-image: url('./images/bubble.svg');
    background-size: contain; 
    background-position: center; 
    background-repeat: no-repeat; 
}

.et-menu-nav #menu-menu-principal .current-menu-item, 
.et-menu-nav #menu-menu-principal .current_page_item, 
.et-menu-nav #menu-menu-principal .current-menu-parent  {
    padding: 1em 2em;
    background-image: url('./images/bubble.svg');
    background-size: contain; 
    background-position: center; 
    background-repeat: no-repeat; 
}
.mobile_nav .et_mobile_menu{
    width: fit-content;
    border-radius: 5px;
    padding: 1em 30% 1em 1em;
    box-shadow: 0 1px 1px rgba(0,0,0,.1)
}

.mobile_nav li.menu-item{
    width: fit-content;
    padding: 0.5rem 2rem;

}
.mobile_nav .current_page_item ,
.mobile_nav .current-menu-parent,
.mobile_nav .current-menu-item{
    background-image: url('./images/bubble2.svg');
    background-size: contain; 
    background-position: center; 
    background-repeat: no-repeat; 
}
.title-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.title-container >* {
    margin: 0.1rem;
    cursor: pointer;
}
.text-container.hide-text-container{
    display: none;
}
.dots{
    flex: 1;
    border-bottom: 2px dotted #000000;
    margin-bottom: 0.3rem;
}

.dropdown-element a{
    color: #000000;
    text-decoration: underline;
}

.dropdown-element a:hover{
    opacity: 0.8;
    text-decoration: none;
}

.end-arrow {
    margin-left: auto; 
    transition: transform 0.3s ease; 
}

.end-arrow.arrow-top {
    transform: rotate(180deg); 
}

/* 
preloader-landing-first
preloader-landing
preloader-work 
preloader-about
*/

/* #preloader-landing-first.hidden,
#preloader-landing.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out;
}

 */
/* Estilo general del preloader */
#preloader-landing-first, #preloader-landing, #preloader-work, #preloader-about{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: #FFFFFF80; */ 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999; /* Asegúrate de que esté encima de todo el contenido */
}

#preloader-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */ /* Ajusta la imagen para cubrir el área del preloader */
    overflow: visible;
    object-fit: fill;
}

#preloader .preloader-rotate{
    rotate: 188deg;
    
}



/* Oculta el preloader cuando la página está completamente cargada */
#preloader-landing-first.hidden, #preloader-landing.hidden, #preloader-work.hidden, #preloader-about.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out;
}

div#main-content, div.et_pb_section,header#main-header,header#main-header #mobile_menu{
    background-color: #f1f1f1;
}
.single-content{
    display: flex;
}
.single-content #primary{
    padding-top: 5rem;
    position: relative;
}

@media (max-width: 980px) {
    .single-content #primary{
        padding-top: 1rem;
    }
    div.single-content {
        
        flex-direction: column-reverse;
    }

    div.categories-sidebar {
        width: initial;
        min-width: initial;
        
    }
    .back-button {

        left: 50%;
        transform: translateX(-50%);
    
    }

    div.menufooter .et_pb_row {
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 1rem;
    }
    div.menufooter .et_pb_row >.et_pb_column{
        margin:  0.5rem 0;
        width: auto;
        flex: 1 1 20%;
    }
    .et_pb_image_wrap img {
    
        max-width: 9rem;
    }
    
}

@media (max-width: 575px) {
    div.menufooter .et_pb_row {
        display: flex;
        flex-wrap: wrap;
        
    }
    div.menufooter .et_pb_column {
        width: 27% !important;
    }
    div.menufooter .et_pb_row .et_pb_column:has(img) {
        width: 47% !important;
        
    }
}
@media (max-width: 575px) {
    div.menufooter .et_pb_row {
        display: flex;
        flex-wrap: wrap;
        
    }
    div.menufooter .et_pb_column {
        width: initial !important;
    }
    div.menufooter .et_pb_row .et_pb_column:has(img) {
        width: 47% !important;
        
    }

    div.menufooter .et_pb_image{
        text-align: center;
    }
}
.single-content .main-content{
    flex: 1;
    width: 50%;
}
.categories-sidebar{
    width: 35vw;
    min-width: 22em;
    padding: 1em;
    font-size: 1.1rem;
}
.categories-sidebar #left-area ul{
    list-style-type: none;
    padding-left: 0;
}
.categories-sidebar #left-area a{
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 1.2em;
    padding-bottom: 1em;
    border-bottom: 1px solid #000000;

}
.categories-sidebar a{
    color: #000000;
   
}

li .post-title.current-post{
    font-style: italic;
}

.categories-sidebar .back-button a{
    padding: 0.7em 1rem;
}
.background-link {
    
    background-size: 100% 100%; 
    background-position: center; 
    background-repeat: no-repeat; 
    
}

.back-button {
    position: absolute;
    bottom: 1.5em;
    z-index: 99999;
}

div.single-content{

    width: 85%;
   /*  max-width: 1080px; */
    margin: auto;
    position: relative;
}

/*change Divi hamburger menu to X*/
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}


@media (max-width: 980px) {
    header .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
        
        justify-content: flex-start;
    }
}
/* Cambiar el ícono del menú hamburguesa a una imagen */
.mobile_nav.closed .mobile_menu_bar:before {
    content: '';
    display: inline-block;
    background-image: url('./images/icon-mano-abajo.svg'); /* Reemplaza con la URL de tu imagen */
    background-size: contain; /* Ajusta el tamaño de la imagen */
    background-repeat: no-repeat;
    width: 3em; /* Ajusta el ancho de la imagen según sea necesario */
    height: 2em; /* Ajusta la altura de la imagen según sea necesario */
    vertical-align: middle; /* Ajusta la alineación vertical si es necesario */
}
.mobile_nav.opened .mobile_menu_bar:before {
    content: '';
    display: inline-block;
    background-image: url('./images/icon-fondo-menu.svg'); /* Reemplaza con la URL de tu imagen */
    background-size: contain; /* Ajusta el tamaño de la imagen */
    background-repeat: no-repeat;
    width: 3em; /* Ajusta el ancho de la imagen según sea necesario */
    height: 2em; /* Ajusta la altura de la imagen según sea necesario */
    vertical-align: middle; /* Ajusta la alineación vertical si es necesario */
}

.contact-movil {
    text-align: center;
}
.copy-email{
    font-weight: 700;
    font-size: 14px; 
    /* display:block;  */
    /* margin-bottom: 10px; 
    /* font-weight: bold;  */
    /* position: relative; */
}
.copy-message{

    display: none;
    /* background-color: rgb(224, 224, 224); */
    background-image: url("./images/bubble.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 5px 11px;
    color: rgb(0, 0, 0);
    font-size: 12px;
    position: absolute;
    z-index: 9999;
    top: 1.6rem;
    left: 0;
    width: max-content;
    white-space: nowrap; /* Evita que el texto se rompa en múltiples líneas */
    background-size: 110% 100%;
}

.single-content .container{
    width: 95%;
}


.main-content-works{
    padding-top: 30px;
}
.main-content-works .et_pb_row, #left-area, .single-content-works #left-area{
    width : 100%;
}

div.single-content.single-content-works{
    width: 85%;
}
.main-content-works .entry-content .et_pb_section{
    width:95%;
    margin:auto;
}

.single-content-works ul > li:first-child .post-title {
    font-style: italic;
}

@media (min-width: 981px) {
    .et_right_sidebar .single-content-works  #left-area {
        /* float: left; */
        padding-right: 0;
    }
}

.works-button{
    display: none;
}

@media (max-width: 980px) {
    .single-content-works ul > li:first-child .post-title {
        font-style: initial;
    }

    .single-content.single-content-works .content-area{
        display:block;
    }
    .single-content.single-content-works .main-content-works{
        display:none;
    }

    .single-content .content-area{
        display:none;
    }
    #back-to-top.single-content #main-content .container{
        padding-top: 10px;
    }
    .works-button{
        padding: 0 2em;
        text-align: end;
        display: block;
        position: fixed;
        z-index: 999;
        right: 0;
    }
    .works-button a{
        padding: 0.5rem 1em;
    }

}

#landing-page-background{

    background-size: 100% 100%;
}

#landing-page-background.loader-landing-page-background{
    background-image: initial !important;
}



/* Estilos base de los enlaces del menú */
div .et_header_style_centered #top-menu > li > a,
div .et-menu-nav #menu-menu-principal > li > a ,
.mobile_nav li.menu-item >a{
    font-size: 1.2rem;
    padding: 2em;
}

div .mobile_nav li.menu-item {
    padding: 0.5rem;
}

div .et_header_style_centered #top-menu > li,
div .et-menu-nav #menu-menu-principal > li,
div .et-menu-nav #menu-menu-principal >li.current_page_item 
 {
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

/* Imagen home */
.et-menu-nav #menu-menu-principal .et_pb_menu_page_id-home.menu-item-type-post_type.current-menu-item {
    background-image: url('./images/menu/menu-home.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.et-menu-nav #menu-menu-principal .et_pb_menu_page_id-home.menu-item-type-post_type:hover {
    background-image: url('./images/menu/fondo-menu-home.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

/* Imagen work */
.et-menu-nav #menu-menu-principal .menu-item-type-taxonomy.current-menu-item,
.et-menu-nav #menu-menu-principal .menu-item-type-taxonomy.current-menu-parent {
    background-image: url('./images/menu/menu-work.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.et-menu-nav #menu-menu-principal .menu-item-type-taxonomy.current-menu-item:hover,
.et-menu-nav #menu-menu-principal .menu-item-type-taxonomy.current-menu-parent:hover,
.et-menu-nav #menu-menu-principal .menu-item-type-taxonomy:hover {
    background-image: url('./images/menu/fondo-menu-work.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

/* Imagen páginas estándar */
.et-menu-nav #menu-menu-principal .menu-item-type-post_type.current-menu-item {
    background-image: url('./images/menu/menu-page.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.et-menu-nav #menu-menu-principal .menu-item-type-post_type:hover {
    background-image: url('./images/menu/fondo-menu-page.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

/* Enlaces personalizados */
.et-menu-nav #menu-menu-principal .menu-item-type-custom:hover {
    background-image: url('./images/menu/fondo-menu-custom.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

/* Menú móvil: logo */
.et_pb_menu__logo:hover {
    background-image: url('./images/menu/menu-home.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

/* Menú móvil: work */
.et_mobile_nav_menu .et_mobile_menu .menu-item-type-taxonomy.current-menu-item,
.et_mobile_nav_menu .et_mobile_menu .menu-item-type-taxonomy.current-menu-parent {
    background-image: url('./images/menu/menu-work.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.et_mobile_nav_menu .et_mobile_menu .menu-item-type-taxonomy.current-menu-item:hover,
.et_mobile_nav_menu .et_mobile_menu .menu-item-type-taxonomy.current-menu-parent:hover,
.et_mobile_nav_menu .et_mobile_menu .menu-item-type-taxonomy:hover {
    background-image: url('./images/menu/fondo-menu-work.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

/* Menú móvil: páginas */
.et_mobile_nav_menu .et_mobile_menu .menu-item-type-post_type.current-menu-item {
    background-image: url('./images/menu/menu-page.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.et_mobile_nav_menu .et_mobile_menu .menu-item-type-post_type:hover {
    background-image: url('./images/menu/fondo-menu-page.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

/* Menú móvil: enlaces personalizados */
.et_mobile_nav_menu .et_mobile_menu .menu-item-type-custom:hover {
    background-image: url('./images/menu/fondo-menu-custom.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}
