:root {
    --primary-blue: rgb(11, 105, 255);
    --primary-blue-dark: rgb(14, 70, 158);
    --secondary-text: #6b7280;
    --bg-light: #f7f9fb;
    --bg-dark: #111827;
    --max-width: 1280px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-light);
    color: #1f2937;
}

/*SOBRE LOS PDFS DE MATEMÁTICAS*/
.file__container iframe {
    border-radius: 5px;
    box-shadow: 0 0 7px #777;
    width: 100%;
    max-width: 600px;
    height: 700px;
}

.file__container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-basis: 400px
}

.card-img-top {
    object-fit: cover;
    object-position: center;
}

.comment__imgs {
    width: 20px;
    height: 20px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.main-section-home {
    padding: 0 40px;
}

/* FOOTER STYLE */

.main-footer {
    background-color: var(--bg-dark);
    color: #9ca3af;
    padding-top: 2.5rem;
    padding-bottom: 1.7rem;
    margin-top: auto;
    box-shadow: -10px 0 30px #292929;
}

.footer-content {
    text-align: center;
    font-size: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: #f9fafb;
    transition: color 0.15s, transform 0.15s ease-in-out;
    font-size: 1.8rem;
}

.social-links a:hover {
    transform: scale(1.5);
}

.social-links .fb-ionicon:hover {
    color: var(--primary-blue);
}

.social-links .ig-ionicon:hover {
    color: #C13584;
}

.social-links .yt-ionicon:hover {
    color: rgb(228, 36, 36);
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
    .footer-links {
        flex-direction: row;
        gap: 2rem;
    }
}

@media screen and (max-width:768px) {
    .file__container iframe {
        height: 500px
    }
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.footer-links a:hover {
    color: white;
}

.footer-paragraph-content {
    padding: 0 15px;
}

/*MATEMATICAS EDIT CSS*/

.container-extra-activities,
.container-extra-activities-data {
    min-height: 80vh;
    padding-right: 35px;
    padding-left: 35px;
}

.empty-forms {
    text-align: center;
}

/*LOGGED OUT SECTION*/
.container-logged-out {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form__container-logged-out {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px #777;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    display: flex;
    align-items: center;
}

.form__container-logged-out h3 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.form__container-logged-out p {
    text-align: center;
}

@media screen and (max-width:1300px) {
    #main__logo-header {
        width: 200px !important;
    }
}

@media screen and (max-width:991.9px) {
    #main__logo-header {
        width: 230px !important;
    }
}


/*LOGGED-OUT-STYLE*/

.logged--out-logo {
    max-width: 100%;
    width: 220px;
}

.form__container-logged-out a {
    text-decoration: none;
    color: #444;

    &:hover {
        color: rgb(17, 84, 189);
    }
}


/*

    ---------------------------ESTILOS DE EL PANEL DE USUARIO-----------------

*/

.main-content-panel {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*

-----------------ESTILOS DE LOS POSTS


*/

.main-content-post {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100;
}