html, body {
    height: 180%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #F7F3EF;
}

.principal-container {
    display: grid;
    grid-template-rows: auto auto;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style:italic;
}

.principal-container h1,h2 {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-style:italic;
    color: #C75C5C;
}

.header {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    padding: 0 20px;
    border-radius: 15px;
}

.p-header {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: x-large;
    color: #C75C5C;
}

.div-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-iniciar-sesion,
.btn-registrarte {
    color: #5D797F;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-sobre-nosotros:hover, 
.btn-iniciar-sesion:hover, 
.btn-registrarte:hover {
    background-color: #5D797F;
    color: #FFFFFF;
}

.principal-card {
    margin: 20px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 5%;
    overflow-y: auto;
}

.footer {
    display: flex;
    gap: 20px;
    background-color: #ffffff;
    justify-content: space-around;
    flex-direction: row;
    padding: 20px;
    margin-top: 2rem;
    border-radius: 15px;
}

.footer-izq, .footer-der {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.footer-titulo {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-style:italic;
    font-size: large;
    color: #C75C5C;
}

.p-footer-1, .p-footer-2, .p-footer-3, .p-footer-4 {
    font-size: medium;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

.p-footer-1, .p-footer-3 {
    font-style: italic;
}

@media (max-width: 600px) {

    html, body {
        height: 150%;
        width: 100%;
        margin: 0;
        padding: 0;
        background-color: #F7F3EF;
    }

    .principal-container {
        display: grid;
        grid-template-rows: auto auto;
        height: 80%;
        width: 100%;
        margin: 0px;
        padding: 1rem;
        box-sizing: border-box;
        font-family: "Roboto", sans-serif;
        font-weight: 300;
        font-style: italic;
    }

    .header {
        display: flex;
        flex-direction: row;
        text-align: center;
        justify-content: space-between;
        align-items: center;
        background-color: #FFFFFF;
        padding: 0 20px;
        border-radius: 15px;
        height: 125%;
    }

    .p-header {
        margin: 0;
        font-family: "Roboto", sans-serif;
        font-weight: 900;
        font-style: italic;
        font-size: medium;
        color: #C75C5C;
    }

    .btn-iniciar-sesion {
        color: #5D797F;
        border: none;
        padding: 0.5rem 1rem;
        margin: 0 0.5rem;
        border-radius: 4px;
        cursor: pointer;
        width: 50%;
        font-size: x-small;
    }

    .btn-registrarte {
        
        color: #5D797F;
        border: none;
        padding: 0.5rem 1rem;
        margin: 0 0.5rem;
        border-radius: 4px;
        cursor: pointer;
        width: 40%;
        font-size: x-small;

    }

    .principal-card {
        margin: 20px auto;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        height: 100%;
        width: 100%;
        box-sizing: border-box;
        padding: 5%;
        overflow-y: auto;
        font-size: small;
    }

    .footer {
        display: flex;
        gap: 20px;
        background-color: #ffffff;
        justify-content: space-around;
        flex-direction: row;
        padding: 20px;
        margin-top: 2rem;
        border-radius: 15px;
        height: 70%;
    }

}