@font-face {
    font-family: 'Aptos';
    src: url("../../fonts/Aptos/Aptos.eot");
    src: url("../../fonts/Aptos/Aptos.eot?#iefix") format("embedded-opentype"),
    url("../../fonts/Aptos/Aptos.woff") format("woff"),
    url("../../fonts/Aptos/Aptos.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}


:root{
    --primary: #E32528;
    --secondary: #981416;
    --terciary: #981416;
    --white: #fff;
    --dark: #1B0C0C; 
    --doctaforum-color: #97C579;
    --footer-bg: #fff;
    --footer-text: #333;
    --footer-height: 50px;
    --header-height: 120px;

    --accord: 'Accord', sans-serif;
    --aptos: 'Aptos_serif', sans-serif;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} 

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -webkit-scroll-behavior: smooth;
    scrollbar-width: thin; 
}

body{
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--white-color);
    flex-wrap: wrap;
    font-family: 'Aptos';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

body.menu-open {
    overflow: hidden;
}

.container-login{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 15px;
    min-height: calc(100vh - var(--footer-height));
}

.container{
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 50px 15px;
    min-height: calc(100vh - (var(--footer-height) + var(--header-height)));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fer-flex{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.close-modal{
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
}

.close-modal .bar-modal{
    display: block;
    width: 25px;
    height: 3px;
    transition: all 0.3s ease-in-out;
    background-color: var(--terciary);
}

.close-modal .bar-modal:first-child{
    transform: translateY(-1px) translateX(10px) rotate(45deg);

}
.close-modal .bar-modal:last-child{
    transform: translateY(-1px) translateX(-10px) rotate(-45deg);
}

/** Estilos swal */
body.swal2-shown{
    padding: 0 !important;
} 
.swal2-popup {
    font-family: var(--aptos) !important;
    font-size: 16px !important;
    border-radius: 8px !important;
}

.swal2-close{
    color: var(--secondary) !important;
}

.swal2-close:focus{
    box-shadow: none !important;
}


.swal2-title{
    font-family: var(--aptos) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--dark) !important;
    line-height: normal !important;
}

.swal2-content{
    font-family: var(--accord) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    color: var(--dark) !important;
}

.swal2-confirm, .swal2-confirm:focus{
    width: fit-content !important;
    background-color: var(--secondary) !important;
    text-transform: initial !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 10px 40px !important;
    border: none !important;
    color: var(--white) !important;
    font-family: var(--accord) !important;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    box-shadow: none !important;
}

.swal2-loader{
    border-color: var(--secondary) transparent var(--secondary) transparent !important;
}