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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: grid;
    grid-template:
        "header header header" 75px
        "aside main side" 1fr
        "footer footer footer" 35px / 12% 1fr 12%;
}


/*--------------------------HEADER--------------------------------*/

header {
    grid-area: header;
    background-image: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/nuevo_lastoo/flash_cards/elrecurso/header1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.logo {
    width: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 100%;
}

/*---------------------------MAIN--------------------------------*/

main {
    grid-area: main;
    padding: 20px 0;
    text-align: center;
}

.categoria {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 10px;
}

.categoriaInputLabel {
    font-size: 22px;
    font-weight: 500;
}
    
.categoriaInput {
    font-size: 18px;
    width: 100%;
    padding: 10px;
    outline: none;
    border: 1px solid #747474af;
}

.title_main {
    background: #ccc;
    background: rgb(219,49,31);
    background: linear-gradient(216deg, rgba(219,49,31,1) 0%, rgba(255,181,20,1) 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    text-align: center;
    font-size: 45px;
    font-weight: bolder;
    letter-spacing: 2px;
}

.flashcards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 45px;
    margin: 20px 0;
}

.flashcard {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    max-width: 400px;
    border-radius: 10px;
    padding: 20px 30px;
    box-shadow: 0px 4px 15px -6px #000;
}

label {
    font-weight: 600;   
    font-size: 19px;
}

.input {
    border: 1px solid #747474af;
    font-size: 18px;
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 17px;
    outline: none;
}

.buttons {
    width: 400px;
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

button {
    border: none;
    border-radius: 8px;
    padding: 13px 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    background: rgb(219,33,31);
    background: linear-gradient(100deg, rgba(219, 34, 31, 0.752) 0%, rgba(255, 173, 20, 0.842) 100%);
    outline: none;
    transition: all 0.2s;
}

button:hover {
    transform: scale(1.07);
    box-shadow: 0px 4px 15px -7px #5a5a5ad8;
}

/*--------------------------FOOTER--------------------------------*/

footer {
    grid-area: footer;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 13px;
    background-image: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/nuevo_lastoo/flash_cards/elrecurso/header1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;


    p {
        span {
            color: #3dd2ff;
        }
    }
}