*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#eef4fa;
}

header{
    width:100%;
    height:70px;
    background:#1565c0;
    color:white;
    display:flex;
    align-items:center;
    padding:0 20px;
    position:fixed;
    top:0;
    z-index:1000;
}

header h2{
    margin-left:20px;
}

#abrir,#cerrar{
    background:none;
    border:none;
    color:white;
    font-size:30px;
    cursor:pointer;
}

#menu{

    position:fixed;

    left:-320px;

    top:0;

    width:320px;

    height:100%;

    background:#0d47a1;

    transition:.4s;

    overflow-y:auto;

    padding-top:20px;

    z-index:9999;

}

#menu ul{

    list-style:none;

}

#menu li{

    border-bottom:1px solid rgba(255,255,255,.1);

}

#menu a{

    color:white;

    text-decoration:none;

    display:block;

    padding:16px;

}

#menu a:hover{

    background:#1976d2;

}

.contenido{

    margin-top:100px;

    padding:30px;

}

.inicio{

    max-width:1000px;

    margin:auto;

    background:white;

    border-radius:15px;

    padding:40px;

    box-shadow:0 0 15px rgba(0,0,0,.15);

}

.inicio h1{

    color:#1565c0;

    text-align:center;

    margin-bottom:20px;

}

.portada{

    width:100%;

    border-radius:15px;

    margin:20px 0;

}

footer{

    text-align:center;

    background:#1565c0;

    color:white;

    padding:20px;

    margin-top:50px;

}

/*====================================================
            ESTILO PARA LAS ESCALAS
=====================================================*/

.escala{

    max-width:1100px;
    margin:auto;
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.escala-header{

    background:linear-gradient(135deg,#1565c0,#42a5f5);

    color:white;

    padding:45px;

    text-align:center;

}

.escala-header h1{

    font-size:42px;

    margin-bottom:10px;

}

.escala-header p{

    font-size:20px;

}

.escala-body{

    padding:40px;

}

.escala-body section{

    margin-bottom:35px;

}

.escala-body h2{

    color:#1565c0;

    margin-bottom:15px;

    border-left:6px solid #42a5f5;

    padding-left:12px;

}

.escala-body p{

    text-align:justify;

    line-height:1.8;

    color:#444;

}

.escala-body ul{

    margin-left:25px;

}

.escala-body li{

    margin-bottom:12px;

    line-height:1.7;

}

.alerta{

    background:#fff8e1;

    border-left:8px solid #ff9800;

    padding:25px;

    border-radius:10px;

    margin:40px 0;

}

.alerta h2{

    border:none;

    color:#e65100;

}

.pregunta{

    background:#f8f9fa;

    padding:20px;

    border-radius:10px;

    margin-bottom:20px;

    border-left:6px solid #1565c0;

}

.pregunta h3{

    color:#1565c0;

    margin-bottom:10px;

}

.btn-regresar{

    display:inline-block;

    margin-top:20px;

    background:#1565c0;

    color:white;

    text-decoration:none;

    padding:14px 30px;

    border-radius:8px;

    transition:.3s;

}

.btn-regresar:hover{

    background:#0d47a1;

}

@media(max-width:768px){

.escala-header{

padding:30px;

}

.escala-header h1{

font-size:30px;

}

.escala-body{

padding:20px;

}

}

.portada {
    display: block;
    width: 350px;
    max-width: 90%;
    height: auto;
    margin: 20px auto;
    border-radius: 12px;
}


.imagen-tema {
    display: block;
    width: 750px;
    max-width: 90%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
}

#cerrar {

    position:absolute;

    top:15px;

    right:18px;

}

#menu > ul {

    margin-top:50px;

}

#menu .menu-medicina a {
    background-color: red !important;
    color: white !important;
    font-weight: bold;
}

#menu .menu-medicina a i {
    color: white !important;
}

