/*==================================================
=            CONFIGURACIÓN GENERAL
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f4f7fb;
    color:#333;
    line-height:1.8;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

/*==================================================
=            HEADER
==================================================*/

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:75px;

    background:#0b3d91;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 8%;

    box-shadow:0 5px 15px rgba(0,0,0,.15);

    z-index:1000;

}

.logo{

    color:#fff;
    font-size:24px;
    font-weight:700;

}

.logo i{

    color:#ffd54f;
    margin-right:10px;

}

nav{

    display:flex;
    gap:25px;

}

nav a{

    color:#fff;
    font-size:15px;
    font-weight:500;

    transition:.3s;

    position:relative;

}

nav a:hover{

    color:#ffd54f;

}

nav a::after{

    content:'';

    position:absolute;

    width:0;

    left:0;
    bottom:-6px;

    height:2px;

    background:#ffd54f;

    transition:.3s;

}

nav a:hover::after{

    width:100%;

}

/*==================================================
=            HERO
==================================================*/

.hero{

    height:100vh;

    background:linear-gradient(rgba(11,61,145,.75),rgba(11,61,145,.75)),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1500&q=80");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    color:white;

    padding:40px;

}

.hero-contenido{

    max-width:900px;

}

.hero h1{

    font-size:60px;
    margin-bottom:15px;

}

.hero h2{

    font-size:34px;

    color:#FFD54F;

    margin-bottom:20px;

}

.hero p{

    font-size:20px;

    margin-bottom:35px;

}

/*==================================================
=            BOTÓN PRINCIPAL
==================================================*/

.boton{

    display:inline-block;

    background:#FFD54F;

    color:#0b3d91;

    padding:15px 40px;

    border-radius:50px;

    font-weight:600;

    transition:.4s;

}

.boton:hover{

    transform:translateY(-5px);

    background:white;

}

/*==================================================
=            CONTENEDOR
==================================================*/

.contenedor{

    width:90%;

    max-width:1200px;

    margin:auto;

    padding:90px 0;

}

.contenedor h2{

    font-size:36px;

    color:#0b3d91;

    margin-bottom:25px;

    text-align:center;

}

.contenedor p{

    font-size:17px;

    text-align:justify;

}

/*==================================================
=            TITULOS DE SECCIÓN
==================================================*/

.titulo-seccion{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:15px;

    margin-bottom:35px;

}

.titulo-seccion i{

    font-size:34px;

    color:#FFD54F;

}

.titulo-seccion h2{

    margin:0;

}

/*==================================================
=            TARJETAS
==================================================*/

.card{

    background:white;

    border-radius:18px;

    padding:40px;

    box-shadow:0 10px 30px rgba(0,0,0,.10);

    transition:.4s;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 40px rgba(0,0,0,.18);

}

.card h3{

    color:#0b3d91;

    font-size:28px;

    margin-bottom:20px;

}

.card h4{

    margin-top:30px;

    margin-bottom:20px;

    color:#0b3d91;

    font-size:24px;

}

.card h5{

    margin-top:25px;

    margin-bottom:12px;

    color:#1e4fb5;

    font-size:19px;

}

.card hr{

    margin:35px 0;

    border:none;

    height:2px;

    background:#e8e8e8;

}

/*==================================================
=            BOTÓN GOOGLE DRIVE
==================================================*/

.drive{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-top:25px;

    background:#1a73e8;

    color:white;

    padding:14px 28px;

    border-radius:40px;

    transition:.3s;

    font-weight:600;

}

.drive:hover{

    background:#1558b0;

    transform:scale(1.05);

}

.drive i{

    font-size:22px;

}

/*==================================================
=            TABLA DE AUTOEVALUACIÓN
==================================================*/

table{

    width:100%;

    border-collapse:collapse;

    margin-top:40px;

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

}

table th{

    background:#0b3d91;

    color:white;

    padding:18px;

    font-size:18px;

}

table td{

    padding:18px;

    text-align:center;

    border-bottom:1px solid #e5e5e5;

    font-size:16px;

}

table tr:hover{

    background:#f4f7fb;

}

.total{

    background:#FFD54F;

    font-weight:bold;

    color:#0b3d91;

}

/*==================================================
=            JUSTIFICACIÓN
==================================================*/

.justificacion{

    margin-top:35px;

    padding:25px;

    background:white;

    border-left:6px solid #0b3d91;

    border-radius:12px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

/*==================================================
=            FOOTER
==================================================*/

footer{

    background:#0b3d91;

    color:white;

    text-align:center;

    padding:30px;

    margin-top:80px;

}

footer p{

    font-size:15px;

}

/*==================================================
=            BOTÓN VOLVER ARRIBA
==================================================*/

#btnArriba{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#FFD54F;

    color:#0b3d91;

    font-size:22px;

    cursor:pointer;

    display:none;

    transition:.3s;

    box-shadow:0 8px 20px rgba(0,0,0,.25);

    z-index:999;

}

#btnArriba:hover{

    transform:translateY(-6px);

    background:#ffffff;

}

/*==================================================
=            ANIMACIONES
==================================================*/

.card{

    animation:subir .8s ease;

}

@keyframes subir{

    from{

        opacity:0;

        transform:translateY(60px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero h1{

    animation:titulo 1.2s ease;

}

.hero h2{

    animation:titulo 1.6s ease;

}

.hero p{

    animation:titulo 2s ease;

}

.boton{

    animation:titulo 2.3s ease;

}

@keyframes titulo{

    from{

        opacity:0;

        transform:translateY(-40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==================================================
=            SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#ececec;

}

::-webkit-scrollbar-thumb{

    background:#0b3d91;

    border-radius:10px;

}

::-webkit-scrollbar-thumb:hover{

    background:#082d6b;

}

/*==================================================
=            SEPARACIÓN ENTRE SECCIONES
==================================================*/

section{

    scroll-margin-top:90px;

}

/*==================================================
=            EFECTOS GENERALES
==================================================*/

.card p{

    margin-bottom:18px;

}

.card:hover h3{

    color:#1f5cd8;

}

.card:hover h4{

    color:#1f5cd8;

}

h1,h2,h3,h4,h5{

    font-weight:700;

}

/*==================================================
=            RESPONSIVE TABLET
==================================================*/

@media(max-width:992px){

header{

    flex-direction:column;

    height:auto;

    padding:20px;

}

nav{

    flex-wrap:wrap;

    justify-content:center;

    margin-top:15px;

}

.hero h1{

    font-size:45px;

}

.hero h2{

    font-size:28px;

}

.hero p{

    font-size:18px;

}

.card{

    padding:30px;

}

.contenedor{

    width:94%;

}

}

/*==================================================
=            RESPONSIVE CELULAR
==================================================*/

@media(max-width:768px){

header{

    position:relative;

}

nav{

    gap:12px;

}

nav a{

    font-size:14px;

}

.hero{

    height:auto;

    padding:120px 20px 80px;

}

.hero h1{

    font-size:34px;

}

.hero h2{

    font-size:24px;

}

.hero p{

    font-size:16px;

}

.contenedor h2{

    font-size:28px;

}

.card{

    padding:25px;

}

.card h3{

    font-size:22px;

}

.card h4{

    font-size:20px;

}

.card h5{

    font-size:18px;

}

.drive{

    width:100%;

    justify-content:center;

}

table{

    display:block;

    overflow-x:auto;

}

#btnArriba{

    right:18px;

    bottom:18px;

}

footer{

    padding:25px 15px;

}

}

/*==================================================
=            RESPONSIVE PEQUEÑO
==================================================*/

@media(max-width:480px){

.hero h1{

    font-size:28px;

}

.hero h2{

    font-size:20px;

}

.hero p{

    font-size:15px;

}

.boton{

    width:100%;

    text-align:center;

}

.logo{

    font-size:20px;

}

nav{

    flex-direction:column;

    align-items:center;

}

nav a{

    padding:6px 0;

}

.card{

    padding:20px;

}

}
.preview-documento{

    width:100%;

    height:650px;

    margin:25px 0;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.18);

}

.preview-documento iframe{

    width:100%;

    height:100%;

    border:none;

}