/*  Paleta de colores (de oscuro a claro):  
    #212529 -> white font
    #343A40
    #495057
    #6C757D -> black font
    #ADB5BD
    #CED4DA
    #DEE2E6
    #E9ECEF
    #F8F9FA

*/
/* Montserrat Thin */
@font-face {
    font-family: 'Montserrat';
    src: url('/css/fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100; 
    font-style: normal;
}

/* Montserrat Regular */
@font-face {
    font-family: 'Montserrat Regular';
    src: url('/css/fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400; 
    font-style: normal;
}

/* Montserrat Bold */
@font-face {
    font-family: 'Montserrat';
    src: url('/css/fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700; 
    font-style: normal;
}

/* Montserrat SemiBold */
@font-face {
    font-family: 'Montserrat SemiBold';
    src: url('/css/fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600; 
    font-style: normal;
}

/* Montserrat Italic */
@font-face {
    font-family: 'Montserrat';
    src: url('/css/fonts/Montserrat/Montserrat-italic.ttf') format('truetype');
    font-weight: 400; 
    font-style: italic;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: #F8F9FA;
    font-family: 'Montserrat Regular', sans-serif;
    font-weight: 400;
    color: #212529;
}
.container{
    border-radius: 8px;
}
.card-container{
    margin: 3rem auto;
    border-radius: 8px;
    border: none;
    box-shadow: 2px 4px 8px #212529;
    display: flex;
    flex-direction: row;
    width: fit-content;
}
#presentacion{
    background: linear-gradient(to bottom right, #212529, #6C757D);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    scale: 1.05;
    z-index: 9999;
    box-shadow: 2px 4px 8px #212529;
}
.card{
    border: none;
    margin: 0;
}

.card-header{
    font-size: 1.3em;
    font-weight: 600;
    padding: 1rem;
    text-align: center;
    border-bottom: #6c757d;
    color: #212529;
    font-family: 'Montserrat SemiBold';
    font-weight: 600;
    border-radius: 0 8px 0 0;
    width: 100%;
}
.card-body{
    background-color: #F8F9FA;
    border-radius: 0 0 8px 0;
    width: 100%;
}
.col-form-label{
    font-weight: 500;
    color: #495057; 
}
form{
    margin: 1rem 0;
    padding: 3rem;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
form > div{
    margin: 1rem 0;
}
.form-control{
    border-radius: 20px;
    padding: 0.3em;
}
.card-body input{
    padding: 0.4rem 1rem;
    border: none;
    border: 1px solid #DEE2E6;
    opacity: 0.9;
    color: #343A40;
    &:focus{
        opacity: 1;
        color: #212529;
    }
}
.btn-primary{
    color: #0d6efd;
    border: 1px solid #0d6efd;
    background-color: white;
    font-family: 'Montserrat SemiBold';
    font-weight: 600;
}
.btn-secondary{
    color: #6c757d;
    border: 1px solid #6c757d;
    background-color: white;
    font-family: 'Montserrat SemiBold';
    font-weight: 600;
}
a.btn-link{
    color: #343A40;
    opacity: 0.8;
    text-decoration: none;
    display: inline-block;
    position: relative;
    &:hover{
        opacity: 1;
    }
}
a.btn-link::after{
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #3d4f5a;
    transform-origin: bottom right;
    transition: transform 0.2s ease-out;
}
a.btn-link:hover::after{
    transform: scale(1);
    transform-origin: bottom left;
}

div.card img{
    object-fit: cover;
    margin:1rem;
}

#card-logo img{
    max-width: 450px;
}

#card-img img{
    max-height: 350px;
}

@media (max-width:1024px) {
    #presentacion{
        justify-content: center;
    }
    div.card img{
        margin:0.5rem 1rem;
    }
    #card-logo img{
        width: 350px;
    }

    #card-img{
        display: none;
    }
}
@media (max-width:768px){
    .card-head{
        border-radius: 8px 8px 0 0;
    }
    .card-body{
        border-radius: 0 0 8px 8px;
    }
    #presentacion{
        display: none;
    }
}