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

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

}

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

    display: grid;
    grid-template:  "header header header" 100px 
                    "aside main side" 1fr 
                    "footer footer footer" 40px / 15% 1fr 15%;

    /* background: url(bg2.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat; */
}

header {
    grid-area: header;

    padding: 15px 40px;
    background: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/lastoo_e/vista_docente/recurso/bg-header.jpg);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}

.header-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    height: 70px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.559));
}

.header-btn {
    padding: 10px 25px;
    background-color: white;
    color: #003D7C;
    text-decoration: none;

    border-radius: 20px;

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

    transition: ease all .2s;
}

.header-btn:hover {
    background-color: #061B35;
    color: white;
    transform: scale(1.04);
    box-shadow: 7px 5px 5px rgba(0, 0, 0, 0.401);
}

main {
    grid-area: main;

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

.evaluacion {
    width: 100%;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.info {
    width: 80%;
    max-width: 700px;
    padding: 20px 20px;
    box-shadow: 0 0 5px black;

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

    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 20px;

}

.info-general {
    width: 100%;
    display: grid;
    grid-template:  "titulo titulo" auto 
                    "apertura apertura" auto 
                    "cierre cierre" auto 
                    "duracion x" auto / 1fr 1fr;
    grid-gap: 10px;

}

.field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10px;
}

.field input {
    width: 100%;
    font-size: 16px;
    padding: 7px 0 7px 12px;
    border-radius: 10px;

    border: solid 1px rgba(128, 128, 128, 0.664);
    outline: none;

    color: rgba(128, 128, 128, 0.664);
    transition: color .2s ease;
}

.field input:hover {
    color: #003D7C;
}

.field input:focus {
    color: #003D7C;
}

.field span {
    font-weight: 200;
}

.titulo {
    grid-area: titulo;
}

.field-inicio {
    grid-area: apertura;

    display: grid;
    grid-template: "tag tag"auto "fecha hora"auto / 1fr 1fr;
    margin-bottom: 10px;
}

.field-cierre {
    grid-area: cierre;

    display: grid;
    grid-template: "tag tag"auto "fecha hora"auto / 1fr 1fr;

    margin-bottom: 10px;
}

.field-inicio h4,
.field-cierre h4 {
    grid-area: tag;
}

.preguntas {
    width: 100%;
    max-width: 700px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.preguntamas{
    width: 100%;
    height: 40px;
    font-size: 20px;
    border-radius: 10px;
    border: dashed 2px grey;
    color: grey;

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

    margin: 10px 0;
    cursor: pointer;
}

.preg{
    margin-top: 30px;
}

.pregunta{
    position: relative;
    border: solid #003D7C 1.5px;
    border-radius: 10px;
    padding: 20px 30px;

    margin-bottom: 15px;
}

.trash{
    position: absolute;
    top: 10px;
    right: 10px;

    background-color: transparent;
    color: red;
    border: none;
    outline: none;

    cursor: pointer;

    font-size: 20px;
}
.field-pregunta{
    margin-bottom: 15px;
}

.respuesta{
    margin: 10px 0;
}

.correcta{
    margin-top: 15px;
    margin-bottom: 10px;
}

footer {
    grid-area: footer;
    background: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/lastoo_e/vista_docente/recurso/bg-header.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.guardar{
    color: #fff;
    background-color: #003D7C;
    border: 1.5px solid #fff;
    border-radius: 10px;
    font-weight: 500;
    margin: 20px 0;

    padding: 10px 50px;

    transition: .2s ease all;
}


.alert{
    position: fixed;
    top: 0;
    left: 0;

    background-color: rgba(0, 0, 0, 0.164);
    
    width: 100%;
    height: 100%;

    z-index: 8;

    opacity: 0;
    pointer-events: none;
}

.alert--show{
    opacity: 1;
    pointer-events: unset;

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

.alert-container{
    padding: 40px;
    background-color: white;
    border-radius: 30px;

    max-width: 400px;

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

.alert-titulo{
    font-size: 20px;
    font-weight: 600;
    color: #003D7C;
    margin: 10px;

    text-align: center;
}

.success{
    height: 250px;
}

.error{
    height: 250px;
}

.alert-container button{
    padding: 5px 30px;
    font-size: 18px;
    border-radius: 10px;
    background-color: #4DA167;
    border: 1px solid #4DA167;
    color: white;

    margin-top: 15px;
    cursor: pointer;
}

.guardar:hover{
    background-color: #fff;
    border: #003D7C 1px solid;
    color: #003D7C;
    box-shadow: 5px 7px 5px rgba(0, 0, 0, 0.433);
    cursor: pointer;
}