:root {
    --black1: #151517;
    --black2: #201F1F;
    --grey4: #3F3F3F;
    --greyTarjetas: ##3f3f3fd4;
    --grey3: #A1A1A1;
    --grey2: #BFBFBF;
    --white: #ffffff;
    --red: #D04747;
    --red2: #784344;
    --red3: #561519bd;
    --green: #165F45;
    --primary: #FF4E4E;
    --linkcolor: #ffffff;
}

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

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


a{
    text-decoration: none;
    color: var(--linkcolor);
}


body {
    font-family: "Red Hat Display", system-ui;
    background-color: #15151759;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo{
    display: flex;
}

main{
    display: block;
}
.informacion-container {
    height: calc(100vh - 170px);/* Ajusta la altura */
    overflow-y: auto;
}
/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 5px;
  }

  *::-webkit-scrollbar-track {
    background: #616161;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #d9d9d9;
    border-radius: 10px;
    border: 8px solid #ffffff;
  }
.main-div {
    display: flex;
    justify-content: flex-start;
    /* background-image: url(../destituidos/img/bg-2.jpg); */
    background-color: #13141af2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8576024159663865) 47%, rgba(0, 0, 0, 0) 100%);


}

.informacion-container-right {
    font-family: "Archivo Black", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    color: white;
    padding: 5% 5% 3% 0%;
    /* margin-top: calc(50% - 210px); */
    width: 100%;
}


.segundo {
    width: 500px;
    height: 600px;
    background-color: red;
}

.filtros {
    display: flex;
    max-width: 100%;
    justify-content: center;
    align-items: flex-start;
}

.informacion-container {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    width: 1151px;
    margin: auto;
    padding-top: 50px;
    margin-right: 130px;
}

.wrapper-titulo {
    width: 50%;
    display: flex;
    padding: 0% 5% 0% 3%;
    padding-bottom: calc(50% - 571px);
    flex-direction: column-reverse;
}



.instrucciones-wrap {
    font-family: "Red Hat Display", system-ui;
    font-weight: normal;
    font-size: 18px;
    color: white;
    padding: 0% 5% 5% 0%;
}



p.titulo-funcionarios {
    font-size: 44px;
}

p.instrucciones {
    line-height: 26px;
}

.informacion-container[data-animated=true] {
    /* overflow: auto; */
}

.informacion-container[data-animated=true] .informacion-container {
    flex-wrap: nowrap;
    animation: scroll 40s linear;
}
/* Clase para el fade-in */
.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in; /* Ajusta la duración y el tipo de transición */
}

.fade-in.show {
    opacity: 1;
}
/* Animation */

@keyframes scroll {
    to {
        transform: translate(100%);
    }
    
}

.des-ul{
    display: flex;
    gap: 13px;
}

header {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    background-color: var(--red3);
    padding: 1rem 0;
    justify-content: center;
}

.btn {
    background-color: var(--red2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    padding: 8px 17px;
    text-decoration: none;
    color: var(--white) !important;
}



/* Tarjeta de persona */

.info {
    display: flex;
}

.replacement-info {
    display: flex;
}

.replacement-more-info {
    display: flex;
    padding: 7px 0px 0px 0px;
    justify-content: space-between;
}

.replacement-details {
    width: 74%;
    background-color: #02452db3;
    border-radius: 14px;
    padding: 10px 3px 8px 10px;
}

.replacement-icon {
    margin-top: -30px;
    padding: 0px 0px 0px 14px;
}

.destituido {
    display: block;
    /* align-items: center; */
    width: 359px;
}

.destituido-reemplazo {
    width: 359px;
}

.destituido-doble {
    display: flex;
    align-items: center;
}

.foto{
    width: 25%;
}

.informacion{
    width: 74%;
    background-color: #3f3f3fd4;
    border-radius: 14px;
    padding: 10px 3px 8px 10px;
}

.nombre {
    font-size: 0.99rem;
    color: var(--white);
    padding-bottom: 5px;
}

.replacement-nombre {
        font-size: 0.99rem;
        color: var(--white);
        padding-bottom: 5px;
}

.cargo{
    font-family: "Red Hat Display", system-ui;
    color: var(--white);
    font-weight: 200;
    font-size: 0.9rem;
}

.replacement-cargo {
    font-family: "Red Hat Display", system-ui;
    color: var(--white);
    font-weight: 200;
    font-size: 0.9rem;
}

.mas-info {
    display: flex;
    align-items: center;
    padding: 11px 0px 0px 0px;
}


/* razones */


.razon {
    display: block;
    width: 50%;
    text-align: center;
    border-radius: 25px;
    background-color: var(--red);
    color: var(--white);
}

.replacement-razon {
    display: block;
    width: 50%;
    text-align: center;
    border-radius: 25px;
    background-color: var(--green);
    color: var(--white);
}

.replacement-extra-info {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 9px;
    color: var(--white) !important;
    padding: 0px 6px 0px 0px;
}


.no-info{
    display: block;
    background-color: var(--red);
    width: 50%;
    align-items: center;
    color: var(--white);
    text-align: center;
    border-radius: 25px;
    padding: 3px 0px 3px 0px;
}

.sustituto {
    background-color: var(--green);
    color: var(--white);
    padding: 4px 0px 4px 0px;
}

.fecha {
    font-size: 14px;
    color: var(--grey3);
}

.replacement-fecha {
    font-size: 14px;
    color: var(--grey3);
}

.fecha-container {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    color: #bfbfbf;
    font-size: 0.9rem;
    padding: 0px 0px 0px 0px;
    width: 50%;
    gap: 9px;
}

.icono {
    margin-right: 3px;
    font-size: 16px;
}

/* tarjeta de reemplazo */

.doble {
    width: 375px;

}

.reemplazo {
    margin-top: -13px;
}    

.image-change {
    display: flex;
    max-width: 69px;
    padding: 0px 0px 0px 11px;
    margin: -22px 0px 0px 0px;
}


a.fas.fa-link, a.icono {
    display: none;
}



/* Medias */
@media (min-width: 375px) {
    .des-ul {
        display: flex;
        flex-wrap: wrap;
        gap: 13px;
    }
    .informacion-container {
        width: 100%;
        margin: auto;
        flex-wrap: nowrap;
        height: calc(100vh - 250px);
    }

    .informacion {
        width: 300px;
    }

}

@media (min-width: 768px) {
    .informacion-container {
        width: 763px;
        margin: auto;
    }
    .informacion-container {
        height: calc(100vh - 70px);;/* Ajusta la altura */
        overflow-y: scroll;
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {
    .informacion-container {
        width: 763px;
        margin: auto;
    }
}

@media (max-width: 1089px) {
    .main-div {
        flex-direction: column-reverse;
    }
    .wrapper-titulo {
        width: 100%;
        padding: 0% 3% 0% 3%;
        flex-direction: column-reverse;
    }
    
}

@media (min-width: 1192px) {
    .informacion-container {
        width: 80%;
        justify-content: center;
    }

}

@media (min-width: 1200px) {

    .informacion-container {
        /* width: 751px; */
    }
}

