

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f5f7;
    color: #333333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    padding: 80px 20px 20px 20px; 
}



.banner-superior {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(orange, rgb(158, 66, 0));
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.bloque-izquierdo {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.logo-o-nombre {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.accesos-rapidos a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

#menu-toggle {
    display: none; 
}

.menu-icon {
    font-size: 28px;
    color: white;
    cursor: pointer;
    user-select: none;
}

.sidebar {
    position: fixed;
    top: 60px; 
    bottom: 0; 
    left: -250px;
    width: 250px;
    background-color: #222;
    transition: left 0.3s ease;
    overflow-y: auto; 
    z-index: 999; 
}

.sidebar a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #333;
}

.sidebar a:hover {
    background-color: #444;
}

#menu-toggle:checked ~ .sidebar {
    left: 0;
}

.logo {
    color: rgb(220, 243, 245);
    text-shadow: 0px 2px 0px  #000000;
    font-size: 20px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}




.contenedor-principal {
    background-color: #ffffff;
    max-width: 800px;
    width: 100%;      
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.cabecera {
    background: linear-gradient(135deg, #ffcb2e 0%, #987c2a 100%);
    color: #ffffff;
    padding: 40px 30px;
    text-align: center;
    border-bottom: 4px solid #501c14;
}

.cabecera h1 {
    font-size: 32px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: black;
    text-shadow: 0px 1px 2px #222;
}

.cabecera .subtitulo {
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0px 1px 2px #222;
}

.contenido {
    padding: 40px 30px;
}

.contenido section {
    margin-bottom: 35px;
}

.contenido section:last-child {
    margin-bottom: 0;
}

.contenido h2 {
    font-size: 22px;
    color: #1e3c72;
    border-bottom: 2px solid #e0e4e8;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.contenido p {
    font-size: 16px;
    color: #555555;
    text-align: justify;
}

.habilidades ul {
    list-style-type: none;
    margin-top: 15px;
}

.habilidades li {
    background-color: #f9fafd;
    border-left: 4px solid #2a5298;
    margin-bottom: 10px;
    padding: 12px 15px;
    font-size: 15px;
    color: #444444;
}

.habilidades li strong {
    color: #1e3c72;
}

.pie-pagina {
    background-color: #f1f3f6;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #777777;
    border-top: 1px solid #e0e4e8;
}

.pBanner {
    color: white;
    border: solid;
    background-color: orange;
    text-shadow: 0px 1px 2px black;
    font-size: 20px;
    font-family:Georgia, 'Times New Roman', Times, serif;

    padding: 2px 10px; 
    margin: 4px auto;  
}



@media (max-width: 600px) {
    body {
        
        padding: 70px 10px 10px 10px; 
    }

    .cabecera {
        padding: 25px 15px; 
    }

    .cabecera h1 {
        font-size: 26px; 
    }

    .cabecera .subtitulo {
        font-size: 16px;
    }

    .contenido {
        padding: 25px 15px; 
    }

    .contenido h2 {
        font-size: 20px;
    }

    .contenido p {
        font-size: 15px;
        text-align: left; 
    }

    .habilidades li {
        padding: 10px;
        font-size: 14px;
    }
}



@keyframes myFrameDash {
    0% {
        transform: scale(0);   
        opacity: 0;            
    }
    70% {
        transform: scale(1.2); 
        opacity: 0.7;
    }
    100% {
        transform: scale(1);   
        opacity: 1;            
    }
}

@keyframes myFrameDashSlow {
    0% {
        transform: scale(0);   
        opacity: 0;            
    }
    70% {
        transform: scale(1.09); 
        opacity: 0.8;
    }
    100% {
        transform: scale(1);   
        opacity: 1;            
    }
}