/*
Theme Name: Tema web diseño 2024
Author: Eduardo Rodríguez Riquelme
Description: Tema diseñado y personalizado para portafolio de Eduardo Rodríguez.
Version: 1.0
*/






/* Reset general de márgenes y rellenos */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* Sección menu/logo: inicio de estilos */
.menu-contenedor{
    padding-top: 10px;
    padding-bottom: 10px;
    background-color:  #5040DD;
    height: auto;
}

.logo-menu{
    width: 160px;
    height: 40px;
}

.navbar-nav .nav-item {
    margin-right: 15px; /* Ajusta el espaciado según sea necesario */
    
}


.icono_menu_pixelado {
    color: white; /* Color del icono de menú */
}



.navbar-nav .nav-item {
    margin-right: 15px; /* Espaciado entre elementos del menú */
}

#navbarNav {
    margin-left: auto;
}

.navbar-collapse {
    display: flex;
    justify-content:flex-end;
}

@media (max-width: 768px) {
    .navbar-collapse {
        display: flex;
        justify-content:end;
        text-align: end;
    }

    .navbar-toggler {
        margin-left: auto;
        margin-right: 0;
    }   

    .logo-menu{
        width: 120px;
        height: 30px;
    }
}

/* Cambiar el color del texto de los botones del menú */
.navbar-nav .nav-link {
    color: #ffffff !important; /* Cambia #ffffff por el color de texto que desees */
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 20px;
}


/* Cambiar el color de fondo de los botones del menú al pasar el mouse */
.navbar-nav .nav-link:hover {
    color:white !important;
    text-decoration:line-through;
}

/* Cambiar el color de fondo de los botones del menú activos */
.navbar-nav .nav-item.active .nav-link {
    font-weight: 600;
    color: #ffffff; /* Cambia #ffffff por el color de texto que desees */
}







/* Sección uno: inicio de estilos */


.seccion-uno {
    text-align: center;
    background-image: url('img/fondo_home_01.jpg');
    background-repeat:no-repeat;
    background-size: cover;
    height: 630px;
  }


  @media (max-width: 768px) {
    /* Estilos específicos para dispositivos móviles con ancho máximo de 576px */
    .seccion-uno {
        background-size: cover; /* Cambia el tamaño del fondo para que se ajuste al contenedor */
        height: 200px; /* Permite que la altura se ajuste según el contenido */
    }
  }




/* Estilos textos seccion uno */

.texto_saludo,
.texto_nombre,
.texto_profesion {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
    font-size: rem; /* Cambiado a rem */
    transition: transform 0.3s ease;
    cursor: pointer;
}

.texto_nombre {
    font-size: 5rem; /* Cambiado a rem */
    font-weight: 400;
}

.texto_profesion {
    font-size: 1.5rem; /* Cambiado a rem */
}

/* Efecto de hover */
.texto_saludo:hover,
.texto_nombre:hover,
.texto_profesion:hover {
    transform: scale(1.1); /* Aumenta el tamaño al hacer hover */
    color: #988ef6; /* Cambia el color al hacer hover */
}



  /* Media queries para dispositivos móviles */
@media (max-width: 768px) {
    .texto_saludo {
      font-size: 1.2rem; /* Tamaño ajustado para dispositivos móviles */
    }
  
    .texto_nombre {
      font-size: 3rem; /* Tamaño ajustado para dispositivos móviles */
    }
  
    .texto_profesion {
      font-size: 1rem; /* Tamaño ajustado para dispositivos móviles */
    }
    
  }

  /* Sección uno: fin de estilos */



/* Sección dos: inicio de estilos */

/* Estilos base */
.subtitulo-secciones {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 1.125rem; /* Cambiado a rem */
    color: #5040dd;
}

.titulo-secciones {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 2.5rem; /* Cambiado a rem */
    color: #101010;
}

.descripcion-secciones {
    color: #727171;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 14px;
    text-align: justify;
    text-align-last: center;
    line-height: 1.2; /* Ajuste al line-height */
}

/* Estilos específicos para dispositivos móviles */
@media (max-width: 768px) {
    .titulo-secciones {
        font-size: 2rem; /* Tamaño de fuente reducido para pantallas pequeñas */
    }

    .descripcion-secciones {
        font-size: 0.80rem; /* Tamaño de fuente reducido para pantallas pequeñas */
        line-height: 1.1; /* Line-height ajustado */
		color: #727171;
		font-weight: 300;
    }
}



/*Atributos Cards*/

.card {
    width: 250px;
    height: 250px;
    margin: 10px;
    padding-top: 30px;
    display: flex;
    align-items: center;
    border: 3px solid #5040dd;
    border-radius: 0;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card-img-top {
    width: 60px;
    height: 60px;
}

.card-title {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight:bold;
    font-size: 18px;
    color: #5040dd;
}

.card-text {
    line-height: 1;
    text-align: center;
    color: #818181;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card:hover {
    transform: scale(1.05); /* Aumenta el tamaño al hacer hover */
    background-color: #32278e; /* Cambia el color del borde */
    border-radius: none;
    border-width: 0;
}

.card:hover .card-title {
    color: #ffffff; /* Cambia el color del título al hacer hover */
}

.card:hover .card-text {
    color: #ffffff; /* Cambia el color del texto al hacer hover */
}


/* Media query para dispositivos móviles */
@media screen and (max-width: 768px) {
    .card {
        width: calc(50% - 20px); /* 50% del ancho de la pantalla menos el margen */
    }
}

/* Sección dos: fin de estilos */



/* Sección tres: inicio de estilos */

/*tabs trabajos*/

.contenedor {
    max-width: 100em;
    width: 100%;
    padding: 1em;
    margin-top: 50px;
    height: 45em; /* Ajusta la altura automáticamente según el contenido */
}  

.contenedor .ul{
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.contenedor .li{
    background-color: white;
    color: #101010;
    font-family: "Montserrat", sans-serif;
    padding: 1em;
    margin: 0 3em 0 0;
    list-style: none;
    transition: all .8s ease;
    transform: translateX(0%);
    cursor: pointer;
    width: 100px; 
    height: 60px; 
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 16px;
    border-bottom: 1px solid #5040dd; /* Agrega una línea en la parte inferior de la caja */
}
.contenedor .li.activo{
    background-color: #5040dd;
    color: white;
    font-weight: 600;
    transform: translateX(5%);

}

.contenedor .subcontenedor{
    position: relative;
    min-height: 135vh;
    display: flex;
    justify-content: center;
}

.contenedor .bloque{
    position: absolute;
    opacity: 0;
    transition: all .8s ease;
    transform: translateY(50%);
}

.contenedor .bloque.activo{
    opacity: 1;
    transform: translateY(0%);

}


@media screen and (max-width: 768px) {
    .contenedor {
        width: 100%;
        padding: 1em;
        margin-top: 50px;
        height: 80em; /* Ajusta la altura automáticamente según el contenido */
    }

}




/*Bloques trabajos*/

/* Estilos generales */
.tarjeta1,
.tarjeta2,
.tarjeta3,
.tarjeta4,
.tarjeta5,
.tarjeta6,
.tarjeta7,
.tarjeta8,
.tarjeta9,
.tarjeta10,
.tarjeta11,
.tarjeta12 {
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1em;
    padding: 1em;
}

/* Estilos para pantallas grandes */

/* Tarjetas ux */

.tarjeta1 {
    background-image: url('img/nanai_proyecto_02.jpg');
    background-position: center;
    width: 600px;
    height: 250px;
}

.tarjeta2 {
    background-image: url('img/nanai_proyecto_01.jpg');
    background-position: center;
    width: 500px;
    height: 250px;
}


.tarjeta3 {
    background-image: url('img/nanai_proyecto_03.jpg');
    background-position: center;
    width: 500px;
    height: 250px;
}

.tarjeta4 {
    background-image: url('img/nanai_proyecto_04.jpg');
    background-position: center;
    width: 600px;
    height: 250px;
}


/* Tarjetas front */

.tarjeta5 {
    background-image: url('img/sibarita_proyecto_1.jpg');
    background-position: center;
    width: 600px;
    height: 250px;
}

.tarjeta6 {
    background-image: url('img/sibarita_proyecto_2.jpg');
    background-position: center;
    width: 500px;
    height: 250px;
}


.tarjeta7 {
    background-image: url('img/sibarita_proyecto_3.jpg');
    background-position: center;
    width: 500px;
    height: 250px;
}

.tarjeta8 {
    background-image: url('img/sibarita_proyecto_4.jpg');
    background-position: center;
    width: 600px;
    height: 250px;
}

/* Fin tarjetas front */


/* Tarjetas wp */

.tarjeta9 {
    background-image: url('img/marsella_proyecto_1.jpg');
    background-position: center;
    width: 600px;
    height: 250px;
}

.tarjeta10 {
    background-image: url('img/marsella_proyecto_2.jpg');
    background-position: center;
    width: 500px;
    height: 250px;
}


.tarjeta11 {
    background-image: url('img/marsella_proyecto_3.jpg');
    background-position: center;
    width: 500px;
    height: 250px;
}

.tarjeta12 {
    background-image: url('img/marsella_proyecto_4.jpg');
    background-position: center;
    width: 600px;
    height: 250px;
}

/* Fin tarjetas wp */




/* Media queries para dispositivos móviles */
@media screen and (max-width: 768px) {
.tarjeta1,
.tarjeta2,
.tarjeta3,
.tarjeta4,
.tarjeta5,
.tarjeta6,
.tarjeta7,
.tarjeta8,
.tarjeta9,
.tarjeta10,
.tarjeta11,
.tarjeta12 {
        width: 360px;
        height: 250px;
    }
}



/* Sección tres: fin de estilos */







/* Sección cuatro: inicio de estilos */

.container-skills{
    margin-top: 50px;
}


@media screen and (max-width: 768px) {
    .container-skills{
        margin-top: 50px;
    }
    
}



/*Carga circular porcentajes*/

.progress-container {
    height: auto;
    display: flex;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 100px;
}

.progress-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-right: 50px; /* Espacio a la derecha del icono */
}

.progress-circle {
    width: 100px;
    height: 100px;
    background: conic-gradient(#9c93ea 0%, #5040DD var(--percentage), #ddd var(--percentage), #ddd 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-family: "Montserrat", sans-serif;
    color: #333;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.progress-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 1;
}

.progress-circle::after {
    content: attr(data-percentage) '%';
    position: absolute;
    z-index: 2;
    font-weight: bold;
}

.progress-label {
    margin-top: 10px;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #101010;
    display: flex;
    align-items:start;
    gap: 5px;
    margin-right: 30px; /* Espacio a la derecha del icono */
}

.progress-label i {
    font-size: 20px;
    color: #5040DD; /* Color del ícono */
    padding: 5px;
}

@keyframes progress {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(1turn); }
}

.progress-circle[data-percentage="100"] {
    background: conic-gradient(#9c93ea 0%, #5040DD 100%);
}


/* Carga circular porcentajes */

@media (max-width: 767px) {
    /* Estilos para dispositivos con ancho máximo de 767px (tabletas y móviles) */
    .progress-container {
        flex-direction: column; /* Cambia la dirección del contenedor a columna */
        align-items: center; /* Centra los elementos horizontalmente */
        margin-top: -20px;
        margin-bottom: 100px;
        
    }

    .progress-item {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .row_carga1 {
        margin-top: 50px;
        padding-left: 50px;
        display: flex; /* Cambia a display flex para centrar los elementos */
        flex-direction: row; /* Cambia la dirección de los elementos dentro de row_carga1 a fila */
        align-items: center; /* Centra los elementos verticalmente */
        justify-content: center; /* Centra los elementos horizontalmente */
    }
}



/* Sección cuatro: fin de estilos */



/* Sección seis: inicio de estilos */

.seccion-seis {
    text-align: center;
    background-image: url('img/02_banner_sobre_mi.jpg');
    background-repeat:no-repeat;
    background-size: cover;
    height: 630px;
    margin-bottom: 50px;
  }


  @media (max-width: 768px) {
    /* Estilos específicos para dispositivos móviles con ancho máximo de 576px */
    .seccion-seis {
      background-size: cover; /* Cambia el tamaño del fondo para que se ajuste al contenedor */
      height: 200px; /* Permite que la altura se ajuste según el contenido */
    }
  }

  /* Sección seis: fin de estilos */



  
  
  
  
  /* Sección ocho: inicio de estilos */


  /*Bloques trabajos*/

/* Estilos generales */
.caja1,
.caja2,
.caja3,
.caja4,
.caja5,
.caja6 {
    position: relative; /* Para posicionar el overlay */
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1em;
    padding: 1em;
}

.overlay_cajas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(80, 64, 221, 0.9); /* Color con transparencia */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.titulo {
    margin: 0;
    font-size: 1.5em;
    text-align: center;
}

.descripcion {
    font-size: 1em;
    text-align: center;
}

.caja1:hover .overlay_cajas,
.caja2:hover .overlay_cajas,
.caja3:hover .overlay_cajas,
.caja4:hover .overlay_cajas,
.caja5:hover .overlay_cajas,
.caja6:hover .overlay_cajas {
    opacity: 1;
}

/* Estilos para pantallas grandes */
.caja1 {
    background-image: url('img/portafolio_diseno/agenda_adama.jpg');
    background-position: center; /* Centra la imagen de fondo */
    width: 600px;
    height: 250px;
}

.caja2 {
    background-image: url('img/portafolio_diseno/logotipo.jpg');
    background-position: center; /* Centra la imagen de fondo */
    background-repeat: no-repeat;
    width: 500px;
    height: 250px;
}

.caja3 {
    background-image: url('img/portafolio_diseno/logotipo_petshop.jpg');
    background-position: center; /* Centra la imagen de fondo */
    width: 500px;
    height: 250px;
}

.caja4 {
    background-image: url('img/portafolio_diseno/folletos_marsella.jpg');
    background-position: center; /* Centra la imagen de fondo */
    width: 600px;
    height: 250px;
}

.caja5 {
    background-image: url('img/portafolio_diseno/vehiculo_cm_petshop.jpg');
    background-position: center; /* Centra la imagen de fondo */
    width: 600px;
    height: 250px;
}

.caja6 {
    background-image: url('img/portafolio_diseno/logo_soveam.jpg');
    background-position: center; /* Centra la imagen de fondo */
    width: 500px;
    height: 250px;
}

/* Media queries para dispositivos móviles */
@media screen and (max-width: 768px) {
    .caja1,
    .caja2,
    .caja3,
    .caja4,
    .caja5,
    .caja6 {
        width: 250px;
        height: 250px;
    }

    .eduuno{
        display: flex;
        justify-content: center;
    }
}

  


/* Sección ocho: fin de estilos */







/* Sección nueve: estilos para la sección de contacto */


/* CSS para el botón de Behance */
.btn-behance {
    background-color: #5040DD; /* Morado */
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
}

.btn-behance:hover {
    background-color:  white; /* Morado oscuro para el hover */
    border-color:  #5040DD;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color:  #5040DD;
    font-weight:lighter;
}

/* CSS para el botón de descargar CV */
.btn-cv {
    background-color: white; /* Gris */
    border-color:  #5040DD;
    color:  #5040DD;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
}

.btn-cv:hover {
    background-color:  #5040DD; /* Gris oscuro para el hover */
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: white;
    font-weight:lighter;
}

/* CSS para asegurar el mismo ancho y alto */
.btn-custom {
    width: 170px; /* Ajusta el ancho según tus necesidades */
    height: 50px; /* Ajusta la altura según tus necesidades */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px; /* Ajusta el tamaño de la fuente según tus necesidades */
    font-family: "Montserrat", sans-serif;
}

/* CSS para aumentar la separación entre los botones */
.btn-margin {
    margin: 0 15px; /* Ajusta el valor según la separación deseada */
}


/* Estilos CSS para dispositivos móviles */
@media (max-width: 767px) {
    .btn-margin {
        margin-bottom: 10px; /* Ajusta el espacio entre botones en móvil */
    }
}


/* Fin de estilos para la sección de contacto */



/* Sección diez: estilos */

/* Banner sección */

.banner-proyectos {
    background-image: url('img/03_banner_mis_trabajos.jpg');
    background-repeat:no-repeat;
    background-size: cover;
    background-position: center; /* Centra la imagen de fondo */
    height: 350px;
  }


  @media (max-width: 768px) {
    /* Estilos específicos para dispositivos móviles con ancho máximo de 768px */
    .banner-proyectos {
      background-repeat: no-repeat;
      background-size: cover; /* Cambia el tamaño del fondo para que se ajuste al contenedor */
      background-position: center; /* Centra la imagen de fondo */
      height: 200px; /* Altura específica */
    }
  }
  

/* Secció diez: fin de estilos */





/* Sección doce: estilos */

/* Atributos Cards */

.cardwork-area{
    position: relative;
    width: 250px;
    height: 250px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card_areas{
    background-color: #5040DD;
}
.cardwork {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cardwork-img-top {
    width: 250px;/*debe ir al 100% (quizas) */
    height: 250px;/*auto (quizas)*/
}

.cardwork-icon-top{
    width: 80px;
    height: 80px;
    
}

.cardwork-body {
    text-align: center;
}

.cardwork-title {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: white;
}

.cardwork-text {
    line-height: 1;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: lighter;
    font-size: 13px;
    line-height: 1; /* Ajusta el espaciado entre líneas */
    padding: 0 10px; /* Ajusta el valor de acuerdo a tus necesidades */
    letter-spacing: -0.3px; /* Ajusta el espaciado entre caracteres */
}

.cardwork-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cardwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(80, 64, 221, 0.8);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px; /* Ajusta según sea necesario */
}

.cardwork:hover {
    transform: scale(1.05); /* Aumenta el tamaño al hacer hover */
}

.cardwork:hover .cardwork-overlay {
    opacity: 1;
}

.overlay-icono {
    margin-bottom: 10px; /* Ajusta el valor según sea necesario */
}

.overlay-title {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none !important;
    margin-bottom: 8px; /* Ajusta el valor según sea necesario */
}


.overlay-description {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight:lighter;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0; /* Último elemento no necesita margen inferior */
}




/* Media query para dispositivos móviles */
@media screen and (max-width: 768px) {
    .cardwork,
    .cardwork-area {
        width: calc(50% - 20px); /* 50% del ancho de la pantalla menos el margen */
    }
}


/* Secció doce: fin de estilos */




/* Footer: inicio de estilos */
.footer {
    background-color: #5040dd;
    padding: 0px 0;
}

.footer img {
    max-width: 200px; /* Ajusta el tamaño máximo del logotipo */
    padding-top: 2em;
}

.disenado_por{
    color: white;
    font-family: "Montserrat", sans-serif;
}


/* Redes de contacto */


.titulo-seccion{
    font-family: "Montserrat", sans-serif;
    color:#5040dd;
    font-size: 50px;
    font-weight: 700;
}

.linkedin i {
    color: #5040dd;
    font-size: 33px;
    width: 50px;
    height: 50px;
  }
  
  .linkedin a {
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: black;
  }

  .linkedin a:hover {
    color: #5040dd;
  }


  .behance i {
    color: #5040dd;
    font-size: 33px;
    width: 50px;
    height: 50px;
  }
  
  .behance a {
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: black;
  }

  .behance a:hover {
    color: #5040dd;
  }


  .mail i {
    color: #5040dd;
    font-size: 33px;
    width: 50px;
    height: 50px;
  }
  
  .mail a {
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: black;
  }

  .mail a:hover {
    color: #5040dd;
  }



/* Footer: fin de estilos */



/* 01.Estilos secciones trabajos entradas single.php*/

/* Estilos para la imagen destacada */

.imagen-destacada img {
    width: 100%;
    height:auto;
    margin-top: -20px;
   
}




@media (max-width: 768px) {
    .imagen-destacada img {
        width: auto; /* La imagen se adapta al ancho según el dispositivo */
    }
}
