@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

/* VARIABLES */
:root {
    --base: #ffffff;
    --primary: #343a40;
    --secondary: #17a2b8;
}

/* GENERAL SETTINGS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
body {
    background: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 16px;
}

/* LAYOUT */
.container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    min-height: 600px;
    background: var(--base);
    display: grid;
    grid-template-columns: 1fr 2fr;
    box-shadow: 0px 10px 25px #333;
    margin: 1.5rem;
}
.container .left_side {
    background: var(--primary);
    padding: 1.5rem;
}
.container .right_side {
    background: var(--base);
    padding: 1.5rem;
}

/* LEFT SIDE ITEMS */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
    color: var(--base);
    border-bottom: 1px solid var(--base);

}
.profile .img_setting {
    position: relative;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    overflow: hidden;
}
.profile .img_setting img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile h4 {
    font-size: 1.2rem;
    margin-top: 0.8rem;
    font-weight: 600;
}
.profile h5 {
    font-size: 0.9rem;
    margin-top: 0.2rem;
    font-weight: 300;
    line-height: 1rem;
}
.profile .btn {
    margin-top: 0.8rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 20px;
    cursor: pointer;
}
.profile .btn:hover{
    background: var(--primary);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}
.left_items .phone{
font-size: medium;
}
.left_items {
    margin-top: 1.2rem;
    color: var(--base);
}
.left_items .title {
    padding-bottom: 0.5rem;
}
.left_items ul li {
    list-style: none;
    margin-bottom: 0.2rem;
}
.left_items ul li .icons {
    display: inline-block;
    width: 1.2rem;
    font-size: 1.2rem;
    color: var(--secondary);
}
.left_items ul li .text {
    font-weight: 200;
}
.left_items ul li .dates {
    color: var(--secondary);
    font-weight: 300;
}
.phone a{
    color: #f8f9fa;
    font-style: italic;
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium; 
}
.phone a:hover{
    color: turquoise;   
}
.what a{
    color: white;
}
.what a:hover{
    color: rgb(8, 245, 8);
}
.tele a{
    color: white
}
.tele a:hover{
    color:rgb(17, 209, 243)
}
.disc a{
    color: white
}
.disc a:hover{
    color:rgb(179, 15, 255)
}
.certificatins a{
    color: #17a2b8;
    font-style: italic;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small; 
}
.certificatins a:hover{
    color: turquoise;
}
.languages a{
    color: #17a2b8;
    font-style: italic;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small; 
}
.languages a:hover{
    color: turquoise;
}
.languages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.languages li {
    margin-right: 1rem;
}
.languages .percent {
    width: 100%;
    height: 0.4rem;
    background: black;
    display: block;
    margin-top: 0.4rem;
}
.languages .percent div {
    width: 100%;
    height: 0.4rem;
    background: var(--secondary);
}

/* RIGHT SIDE ITEMS */
.right_items {
    font-size: 18px;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--primary);
}
.right_items .title {
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.resumen {
    font-size: small;
}
.experience {
    display: flex;
    flex-direction: row;
    margin: 1rem 0;
}
.experience .time_line {
    margin-top: 1px;
}
.experience .time_line .time_point {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    background: var(--secondary);
    border-radius: 50%;
}
.experience .time_line .time_road {
    width: 0.2rem;
    height: 100%;
    display: block;
    background: var(--secondary);
    transform: translate(0.5rem, 0);
}
.experience .content {
    display: grid;
    grid-template-columns: 10rem auto;
}
.experience .content .interval {
    color: var(--primary);
    min-width: 10rem;
    text-align: center;
    font-weight: 400;
}
.experience .content .description h4 {
    color: var(--secondary);
}
.skills {
    width: 100%;
    display: grid;
    grid-template-columns: 10rem 1fr;
    margin: 1rem 0;
}
.skills .percent {
    width: 100%;
    height: 0.8rem;
    background: var(--primary);
}
.skills .percent div {
    width: 100%;
    height: 0.8rem;
    background: var(--secondary);
}
.knowledge-grid {
    list-style-type: none; /* Elimina los marcadores de lista */
    padding-left: 0; /* Elimina el padding izquierdo predeterminado */
    display: grid; /* Activa CSS Grid */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Columnas un poco más estrechas */
    gap: 8px; /* Espacio reducido entre los elementos */
}

.knowledge-grid li {
    background-color: #f4f4f4; /* Fondo de cada ítem */
    padding: 8px; /* Espaciado interno reducido */
    border-radius: 4px; /* Bordes redondeados más pequeños */
    text-align: center; /* Centra el texto */
    font-size: 14px; /* Tamaño del texto mantiene en 18px */
}
.hobby {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.hobby li {
    list-style: none;
    width: 2rem;
    font-size: 1.2rem;
}
.hobby li .bx {
    color: var(--secondary);
    width: 2rem;
    font-size: 1.2rem;
}
.link a{
    color: #343a40;
}
.link a:hover{
    color: dodgerblue;
}
.twit a{
    color: #343a40;
}
.twit a:hover{
    color:rgb(17, 209, 243);
}
.git a{
    color: #343a40;
}
.git a:hover{
    color:rgb(155, 155, 155);
}
.insta a{
    color:#343a40;
}
.insta a:hover{
    color:rgb(195, 0, 255);
}

/* RESPONSIVE SETTINGS */
@media (max-width: 800px){
    .container {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 500px){
    .experience .content {
        grid-template-columns: 1fr;
        margin: 0 3rem;
    }
    .hobby {
        grid-template-columns: repeat(2, 1fr);
    }
    .hobby li {
        margin-bottom: 1rem;
    }
    .img_setting img {
        width: 100%;
        height: auto;
    }
}
/* Estilo predeterminado para los iconos en línea */
.hobby {
    display: flex;
    gap: 10px; /* Espacio entre los iconos */
}

/* Media query para ajustar el diseño cuando la pantalla es más estrecha */
@media (max-width: 600px) {
    .hobby {
        flex-direction: column; /* Apila los iconos verticalmente en pantallas estrechas */
    }
}
/* Estilos para el contenedor de las banderas y el interruptor de idioma */
#language-switcher {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    z-index: 1000; /* Ajusta el z-index según sea necesario */
}

/* Estilos para los enlaces de cambio de idioma */
#language-switcher a {
    margin-right: 10px;
}

/* Ajusta los estilos de las banderas según sea necesario */
#language-switcher img {
    width: 30px; /* Ajusta el tamaño de las banderas según tus necesidades */
    height: auto;
    border-radius: 50%; /* Bordes redondeados para las banderas */
    cursor: pointer; /* Cambia el cursor al pasar sobre las banderas */
}

/* Ajusta el tamaño y posición del interruptor de idioma */
#language-switcher a {
    width: 30px; /* Ajusta el ancho del enlace según tus necesidades */
    height: 30px; /* Ajusta la altura del enlace según tus necesidades */
}

/* GENERAL SETTINGS */
body {
    background: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 16px;
    overflow-x: hidden; /* Evita la barra de desplazamiento horizontal */
}

/* Puedes agregar estilos adicionales según tus preferencias */
