@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    min-height: 100vh;

    display: grid;
    grid-template: "header header header"
        "aside section side"
        "footer footer footer";
    grid-template-columns: 12% 1fr 12%;
    grid-template-rows: 100px 1fr 40px;

    background-color: transparent;


}

header {
    padding: 0 20px;
    grid-area: header;
    display: flex;
    align-items: center;
    justify-content: center;

}

.header-container {
    box-sizing: border-box;
    width: 100%;
    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.562);

    background: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/iq98/admin/elrecurso/bgheader3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cursos-title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
}

/* input de buscador */

.container-input {
    position: relative;
}

.input {
    width: 150px;
    padding: 10px 0px 10px 40px;
    border-radius: 9999px;
    border: solid 1px #333;
    transition: all .2s ease-in-out;
    outline: none;
    opacity: 0.8;
}

.container-input svg {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(0, -50%);
}

.input:focus {
    opacity: 1;
    width: 250px;
}

/* Fin buscador*/

section {
    grid-area: section;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

.cards {
    width: 100%;

    padding: 15px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.card {
    max-width: 300px;
    width: 100%;
    /* min-height: 500px; */
    padding: 20px;
    margin: 20px;
    background-color: #fff;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;


    min-height: 230px;

}

.card-header {

    background: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/iq98/admin/elrecurso/bglogin2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 6px;

    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.card-header img {
    width: 70px;
    filter: drop-shadow(0 0 10px black);
}

.certif-tit {
    margin: 10px 0;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #063E72;
}

.btn-entrar {
    background-color: #193C7D;
    border: 1px solid white;
    width: 100%;
    text-align: center;
    padding: 7px;
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;

    transition: .3s ease all;
}

.btn-entrar:hover {
    background-color: white;
    border: 1px solid #193C7D;
    transform: scale(.8);
    color: #193C7D;
}

footer {
    grid-area: footer;
}

@media screen and (max-width:650px) {
    .header-container {
        flex-direction: column;
    }

    body {
        grid-template-rows: 150px 1fr 40px;
    }

}

@media screen and (max-width:500px) {
    .cursos-title {
        font-size: 18px;
    }

}

@media screen and (max-width:400px) {
    .cursos-title {
        display: none;
    }

    body {
        grid-template-rows: 100px 1fr 40px;
    }

}

.modal {
    z-index: 2;
    position: fixed;
    padding: 10px;
    overflow: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #11111171;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s .1s;
    --transform: translateY(-100vh);
    --transition: transform .5s;
    font-family: 'Poppins', sans-serif;

    overflow-y: hidden;
}

.modal-content {
    position: absolute;
    width: 100%;
    right: 0;
    max-width: 600px;
    height: 100%;

    background-color: white;

    border-radius: 30px 0 0 30px;
    padding: 15px;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-shadow: rgba(0, 0, 0, 0.564) 0px 0px 3px;
}

.content-show {
    animation: modal 1s ease-in-out;
}

.content-hide {
    animation: modalOut 1.5s ease-in-out;
}

.modal::-webkit-scrollbar {
    height: 1px;
    /* Ancho del scrollbar */
}

/* Estilo del thumb (la parte deslizante del scrollbar) */
.modal::-webkit-scrollbar-thumb {
    background-color: #88888800;
}

/* Estilo de la pista (la parte del fondo del scrollbar) */
.modal::-webkit-scrollbar-track {
    background-color: #f1f1f100;
}

/* Estilo de los botones de flecha (solo en algunos navegadores) */
.modal::-webkit-scrollbar-button {
    display: none;
}

.modal--show {
    opacity: 1;
    pointer-events: unset;
    transition: opacity .6s;
    --transform: translateY(0);
    --transition: transform .2s .1s;
}

.close {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 20px;
    padding: 5px 15px;
    background-color: transparent;
    border: none;
    outline: none;
}

@keyframes modal {
    0% {
        right: -100%;
    }


    100% {
        right: 0;
    }


}

@keyframes modalOut {

    0% {
        right: 0%;
    }

    10% {
        right: 0%;
    }

    100% {
        right: -100%;
    }

}

.modal-header {
    width: 100%;
    height: auto;

    border-radius: 20px;
    /* border: 1px solid #063E72; */

    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-modal {
    width: 150px;
    margin: 0px 30px 0px 0px;
}

.header-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.header-tag-tit {
    font-size: 24px;
    color: #063E72;
}

.header-tag {
    color: rgba(0, 0, 0, 0.691);
    margin-top: 7px;
}

.nav {
    width: 100%;
}

.nav-btn {
    padding: 2px 15px;
    background-color: transparent;
    border: none;
    font-size: 16px;
    transition: .3s ease all;
}

.btn-activo {
    background-color: #063E72;
    color: white;
    border-radius: 10px 0 10px 0;
}

.tab {
    display: none;
    overflow: auto;
}

.tab-activo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 15px 30px;
    width: 100%;
    height: 100%;
}

.tab-titulos {
    font-size: 20px;
    font-weight: 400;
    color: #95C11F;
}

.seleccionar-todos {
    width: 100%;
    padding: 7px 15px;
    background-color: #063E72;
    margin-top: 20px;
    border-radius: 10px 10px 0px 0px;

    border: 1px solid #063E72;
}

/* checkmar header */

/* Hide the default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

/* Create a custom checkbox */
.checkmark {
    --clr: white;
    position: relative;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #ccc;
    border-radius: 50%;
    transition: 300ms;
}

/* When the checkbox is checked, add a blue background */
.container input:checked~.checkmark {
    background-color: var(--clr);
    border-radius: .5rem;
    animation: pulse 500ms ease-in-out;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 0.25em;
    height: 0.5em;
    border: solid #063E72;
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 #0B6E4F90;
        rotate: 20deg;
    }

    50% {
        rotate: -20deg;
    }

    75% {
        box-shadow: 0 0 0 10px #0B6E4F60;
    }

    100% {
        box-shadow: 0 0 0 13px #0B6E4F30;
        rotate: 0;
    }
}

.check-text{
    color: white;
    padding: 0 10px;
}

/* checklist list */

.listado-alumnos{
    width: 100%;
    padding: 15px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 350px;

    border: 1px solid #063E72;

    overflow: auto;
}

.container-list input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.container-list{
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 18px;
    user-select: none;

    padding: 0 30px;

    width: 100%;

    padding-bottom: 10px;
}

/* Create a custom checkbox */
.checkmark-list {
    --clr: #063E72;
    position: relative;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #ccc;
    border-radius: 50%;
    transition: 300ms;
}

/* When the checkbox is checked, add a blue background */
.container-list input:checked~.checkmark-list {
    background-color: var(--clr);
    border-radius: .5rem;
    animation: pulse 500ms ease-in-out;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark-list:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-list input:checked~.checkmark-list:after {
    display: block;
}

/* Style the checkmark/indicator */
.container-list .checkmark-list:after {
    left: 7px;
    top: 3px;
    width: 0.25em;
    height: 0.5em;
    border: solid white;
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 #0B6E4F90;
        rotate: 20deg;
    }

    50% {
        rotate: -20deg;
    }

    75% {
        box-shadow: 0 0 0 10px #0B6E4F60;
    }

    100% {
        box-shadow: 0 0 0 13px #0B6E4F30;
        rotate: 0;
    }
}

.check-text-list{
    color: #063E72;
    padding: 0 10px;
}

.acti-certf{
    border: 1px solid white;
    width: 150px;
    padding: 7px;
    border-radius: 10px;
    font-size: 14px;
    margin: 10px;
    background-color: #466BB0;
    color: white;
    font-weight: 500;

    transition: .3s ease all;
}


.actu_lista{
    display: none;
    border: 1px solid white;
    width: 150px;
    padding: 7px;
    border-radius: 10px;
    font-size: 14px;
    margin: 10px;
    background-color: #466BB0;
    color: white;
    font-weight: 500;

    transition: .3s ease all;
}

.acti-certf:hover{
    background-color: white;
    border: solid 1px #466BB0;
    color: #466BB0;
    box-shadow: 0 0 15px #466bb075;
    transform: scale(.9);
}

.cMaterial{
    width: 100%;
    padding: 15px 0;
}

.field{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    margin-bottom: 20px ;
}

.tag{
    color: black;
    font-size: 16px;
    font-weight: 200;
    margin-bottom: 5px;
}

.field textarea{
    resize: none;
    width: 100%;
    max-width: 300px;
    height: 100px;

    overflow: hidden;

    border-radius: 15px;
    border: 2px solid rgba(128, 128, 128, 0.559);
    outline: none;
    font-size: 16px;
    color: rgba(128, 128, 128, 0.559);
    font-weight: 200;

    padding: 7px 10px;
}

textarea:focus{
    color: #063E72;
    font-weight: 500;
    border: 2px solid #063E72;
}

.res{
    font-size: 16px;
    max-width: 300px;
    width: 100%;
    border-radius: 10px;
    border: 2px rgba(128, 128, 128, 0.559) solid;
    outline: none;
    padding: 7px 10px;
    transition: .3s ease all;
    color: rgba(128, 128, 128, 0.559);

}

.res:focus{
    color: #063E72;
    font-weight: 500;
    border: 2px solid #063E72;
}

.multimedia{

    margin-top: 15px;
}

.field-check{
    margin-top: 5px;
    margin-bottom: 15px;
}

.field-check label{
    margin-right: 10px;
}

.file-btn{
    font-size: 16px;
    padding: 7px 10px;
    background-color: #96c11fd5;
    color: white;
    border-radius: 10px;
    border: 1px solid #96c11fd5;

    margin: 10px 0;

    transition: .3s ease all;
}

.file-btn:hover{
    background-color: white;
    color: #96c11fd5;
    border: #96c11fd5 solid 1px;
    
    transform: scale(.9);
}

.tab-cards{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.tab-card{
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 20px 0;
    padding: 20px 10px;

    border-radius: 20px;

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.446);
}

.tab-card-titulo{
    font-size: 20px;
    font-weight: 500;
    color: #063E72;
}

.doc-btn{
    text-decoration: none;
    margin: 10px 0;
    height: 40px;
    width: 150px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;

    color: white;
    background-color: #96c11fd5;
}

.desc{
    font-size: 14px;
    font-weight: 400;
}

.container-material input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;

}

.container-material{
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 18px;
    user-select: none;

    width: 100%;

    padding-bottom: 10px;
}

/* Create a custom checkbox */
.checkmark-material {
    --clr: #063E72;
    position: relative;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #ccc;
    border-radius: 50%;
    transition: 300ms;
}

/* When the checkbox is checked, add a blue background */
.container-material input:checked~.checkmark-material {
    background-color: var(--clr);
    border-radius: .5rem;
    animation: pulse 500ms ease-in-out;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark-material:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-material input:checked~.checkmark-material:after {
    display: block;
}

/* Style the checkmark/indicator */
.container-material .checkmark-material:after {
    left: 7px;
    top: 3px;
    width: 0.25em;
    height: 0.5em;
    border: solid white;
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 #0B6E4F90;
        rotate: 20deg;
    }

    50% {
        rotate: -20deg;
    }

    75% {
        box-shadow: 0 0 0 10px #0B6E4F60;
    }

    100% {
        box-shadow: 0 0 0 13px #0B6E4F30;
        rotate: 0;
    }
}

.check-text-material{
    font-size: 16px;
    margin-left: 10px;
}