* {
    margin:0;
    padding:0;
}
@font-face {
    font-family: 'Lato';
    src: url('../../../webfonts/Lato/Lato-Regular.ttf') format('truetype');
}
body{
    font-family: Lato;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
nav{
    background-color: #001F3F;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#img_brand{
    height: 100%;
}
#link_brand{
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    text-decoration: none;
    height: 80%;
}
h1{
    font-size: 25px;
}
.nav_list{
    display: flex;
    list-style: none;
}
.nav_links{
    margin-right: 15px;
}
.nav_links a{
    color: #fff;
    text-decoration: none;
}
#info{
    display: inline-block;
    padding: 5px 0px 5px 0px;
    background-color: #001F3F;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}
#info:hover{
    color: #e0e0e0;
    border: solid #e0e0e0;
    border-width: 0px 0px 2px 0px;
}
main{
    background-color: #F4EDE4;
    flex-grow: 1;
}
.header{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #001F3F;
    color: #ffffff;
}
.header_div{
    display: inline-block;
    margin: 15px;
    padding: 15px;
}
#header_img{
    min-width: 350px;
    filter: drop-shadow(#000e1b 1rem 8px);
}
#header_title{
    font-size: 38px;
    margin: 10px;
}
#header_text{
    font-size: 20px;
    margin: 10px;
}
.div_button{
    padding: 5px;
    margin: 10px;
}
#header_button1{
    display: inline-block;
    padding: 13px 0;
    background-color: #fff;
    color: #001F3F;
    text-decoration: none;
    border: 5px solid #fff;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}
#header_button1:hover{
    border: 5px solid #00152b;
}
#login_button{
    text-align: center;
    display: inline-block;
    background-color: #001F3F;
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    padding: 15px 0;
}
#login_button:hover{
    background-color: #00152b;
}
#enter_system{
    text-align: center;
    display: inline-block;
    background-color: #001F3F;
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    padding: 15px 0;
}
#enter_system:hover{
    background-color: #00152b;
}
.container{
    margin: 0px;
    padding: 5px;
}
.container_div{
    display: block;
    text-align: center;
    padding: 16px;
}
#container_title{
    font-size: 30px;
}
.table{
    width: 100%;
    padding: 20px 0;
}
table{
    width: 100%;
    margin: 20px auto 0 auto;
    border: solid 3px #000;
    padding: 0;
    border-collapse: collapse;
}
.search-input{
    background-color: #F4EDE4;
    font-size: 1em;
    padding: 0.6em 1em;
    border: none;
    border-bottom: solid 1px #000;
    outline: none;
}
td, th{
    font-weight: bold;
    padding: 10px 10px;
    border: 0.5px solid #000;
    text-transform: capitalize;
}
th{
    font-size: 21px;
}
td{
    font-size: 19px;
    text-transform: capitalize;
}
tr:hover td{
    background-color: #b6afa6;
}
.btn_table{
    background-color: #001F3F;
    color: #fff;
    border: none;
    outline: none;
    padding: 3px;
    border-radius: 3px;
    cursor: pointer;
}
.btn_table:hover{
    background-color: #00152b;
    color: #ccc;
}
.footer_div{
    margin-top: 15px;
    padding: 0 10px;
    font-size: 20px;
    overflow: hidden;
}
#filter_race{
    background-color: #001F3F;
    border: none;
    color: #fff;
    padding: 12px 28px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}
#filter_race:hover{
    background-color: #fff;
    outline: 3px solid #001F3F;
    color: #001F3F;
}
#delete_filter{
    background-color: #444;
    border: none;
    color: #fff;
    padding: 12px 28px;
    text-align: center;
    text-decoration: none;
    display: none;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}
#delete_filter:hover{
    background-color: #fff;
    outline: 3px solid #444;
    color: #444;
}
#filter_race, #delete_filter {
    float: left;
    margin-right: 10px;
}
.index_buttons{
    float: right;
}
.pag_button{
    padding: 5px;
    color: #000;
    background-color: transparent;
    font-size: 18px;
    cursor: pointer;
    border: none;
    width: 45px;
    height: 45px;
    margin: 0 3px;
}
.pag_button.active, .pag_button:hover{
    border-radius: 50%;
    color: #fff;
    background-color: #001F3F;
}
.text{
    width: fit-content;
}
.text:hover{
    border-radius: 6px;
}
#container_subtitle{
    margin-top: 5px;
    color: #666;
    font-style: italic;
}
.container_cuc{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.form_cuc, .result_cuc{
    margin: 35px 0;
    width: 350px;
    text-align: start;
    font-size: 20px;
}
#cucDog{
    margin-top: 10px;
    padding: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    outline: none;
}
#cucDog:focus{
    background-color: #ddd;
    border: 1px solid #222;
}
#cucSend{
    background-color: #04AA6D;
    padding: 5px 10px;
    color: #fff;
    font-size: 16px;
    outline: none;
    border: none;
    cursor: pointer;
}
#cucSend:hover{
    background-color: #047a4f;
}
.item_cuc{
    margin-bottom: 3px;
}
.item_cuc span{
    font-weight: 700;
}
#container_buttons{
    display: flex;
    justify-content: space-evenly;
    font-size: 23px;
    border-radius: none;
}
#container_button1{
    display: inline-block;
    padding: 10px 20px;
    background-color: #F4EDE4;
    color: #001F3F;
    text-decoration: none;
    border: 3px solid #001F3F;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
}
#container_button1:hover{
    background-color: #c4bdb5;
    cursor: not-allowed;
}
#container_button2{
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
    background-color: #F4EDE4;
    color: #001F3F;
    text-decoration: none;
    border: 3px solid #001F3F;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
}
#container_button2:hover{
    background-color: #c4bdb5;
}
.slider{
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1200px;
}
.slider__container{
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    gap: 1em;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}
.slider__arrow{
    width: 50%;
    cursor: pointer;
}
.slider__arrow:nth-of-type(2){
    justify-self: end;
}
.slider__body{
    display: grid;
    grid-column: 2/3;
    grid-row: 1/2;
    opacity: 0;
    pointer-events: none;
    grid-template-columns: 1fr max-content;
    align-items: center;
    transition: opacity 1.5s;
}
.slider__body--show{
    opacity: 1;
    pointer-events: unset;
}
.slider__texts{
    max-width: 700px;
}
.subtitle{
    font-size: 1.7rem;
    margin-bottom: 20px;
}
.slider__img{
    width: 230px;
    height: 230px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
#button_kca{
    margin-top: 15px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #F4EDE4;
    color: #6B86D1;
    text-decoration: none;
    border: 3px solid #6B86D1;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}
#button_kca_system{
    margin-top: 15px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #6B86D1;
    color: #F4EDE4;
    text-decoration: none;
    border: 3px solid #F4EDE4;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}
#button_kca:hover{
    background-color: #c4bdb5;
}
#button_kca_system:hover{
    background-color: #5268a5;
}
#button_ace{
    margin-top: 15px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #F7E165;
    color: #7E1E04;
    text-decoration: none;
    border: 3px solid #7E1E04;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}
#button_ace_system{
    margin-top: 15px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #7E1E04;
    color: #F7E165;
    text-decoration: none;
    border: 3px solid #F4EDE4;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}
#button_ace:hover{
    background-color: #c4b24f;
}
#button_ace_system:hover{
    background-color: #491202;
}
#container_img{
    height: 200px;
}
.slider__img:hover {
    -webkit-transform:scale(1.20);
    transform:scale(1.20);
    transition:all .5s ease-in-out;
}
footer{
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 7px;
}
.modal_activate, .modal_race{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #111111bd;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s .8s;
    --transform: translateY(-100vh);
    --transition: transform .8s;
}
.modal--show{
    opacity: 1;
    pointer-events: unset;
    transition: opacity .6s;
    --transform: translateY(0);
    --transition: transform .8s .7s;
}
.modal__container{
    width: 90%;
    max-width: 600px;
    background-color: #fff;
    max-height: 90%;
    margin: auto;
    border-radius: 6px;
    padding: 1.7em 1.5em;
    display: grid;
    gap: 1em;
    place-items: start;
    grid-auto-columns: 100%;
    transform: var(--transform);
    transition: var(--transition);
}
.divButtonRace{
    display: flex;
    justify-content: start;
}
.modal_race .modal__container{
    max-width: 500px;
}
.modal_race .modal__button{
    background-color: #04AA6D;
    padding: 10px 20px;
    margin: 0 auto;
    height: fit-content;
}
.modal_race .modal__button:hover{
    background-color: #047a4f;
}
.modal__header{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.modal__title{
    font-size: 1.5rem;
}
hr.rounded {
    margin-top: 0;
    width: 100%;
}
.modal__close__activate, .modal__close__race{
    cursor: pointer;
}
#form__activate{
    width: 100%;
}
.modal__form {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    width: 100%;
}
.modal__input {
    vertical-align: middle;
    margin: 5px 10px 5px 0;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    flex-grow: 1;
}
.modal__button {
    padding: 10px 20px;
    background-color: #1e90ff;
    border: 1px solid #ddd;
    color: #fff;
    cursor: pointer;
}
.modal__button:hover{
    background-color: #1a6abb;
}
.modal__buttonLoad{
    cursor: default;
    background-color: #ccc;
    color: #000;
    padding: 5px 10px;
    font-weight: bolder;
}
.modal__buttonLoad:hover{
    background-color: #ccc;
}
.modal__buttonSuccess{
    cursor: default;
    background-color: #5cb85c;
    color: #fff;
    padding: 5px 10px;
    font-weight: bolder;
}
.modal__buttonSuccess:hover{
    background-color: #5cb85c;
}
.modal__buttonError{
    cursor: default;
    background-color: #C62828;
    color: #fff;
    padding: 5px 10px;
    font-weight: bolder;
}
.modal__buttonError:hover{
    background-color: #C62828;
}
#loadSvg{
    animation-name: spin;
    animation-duration: 1200ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.verifyResponseError{
    color: #fff;
    margin: auto;
    margin-top: 5px;
    width: max-content;
    padding: 10px 10px;
    background-color: #C62828;
    border-radius: 25px;
}
.verifyResponseSuccess{
    margin: auto;
    margin-top: 5px;
    width: max-content;
    padding: 10px 10px;
    background-color: #5cb85c;
    border-radius: 25px;
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

@media (max-width: 854px) {
    h1{
        font-size: 23px;
    }
    .nav_list{
        font-size: 14px;
    }
    #container_title{
        font-size: 25px;
    }
    .search-input{
        width: 150px;
        font-size: 0.8em;
    }
    #filter_race, #delete_filter{
        font-size: 14px;
        padding: 10px 20px;
        margin: 3px 1px;
    }
    #filter_race{
        margin-left: 2px;
    }
    .index_buttons button{
        font-size: 14px;
        margin: 0 2px;
        padding: 4px;
    }
    .form_cuc, .result_cuc{
        width: 250px;
    }
    #cucDog{
        width: 150px;
    }
    .header{
        flex-direction: column;
    }
    .header_div:nth-child(2) {
        order: -1; /* Cambia el orden del segundo .header_div */
        margin: 20px 0 0;
    }
    .header_div{
        margin: 0;
        padding: 0 10px;
    }
    .table_responsive{
        padding: 10px;
    }
    .table_responsive .container_div .table {
        width: 100%;
        overflow-x: auto;
        padding: 0 0 10px;
    }
    .footer_div {
        margin: 15px auto 0;
        font-size: 14px;
        overflow-x: auto;
        width: max-content;
    }
    #filter_race, #delete_filter{
        padding: 10px 20px;
        margin: 4px 2px;
    }
    .index_buttons{
        margin-left: 5px;
        overflow-x: inherit;
    }
    .index_buttons button{
        margin: 0 2px;
        font-size: 12px;
    }
    .container_cuc{
        flex-direction: column;
    }
    #container_subtitle{
        margin: 5px 0 20px;
    }
    .form_cuc, .result_cuc{
        text-align: center;
        width: 100%;
        margin: 20px 0;
    }
    .slider__container{
        gap: 0;
    }
    .slider__arrow{
        width: 30%;
    }
    .subtitle{
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    #button_kca, #button_kca_system, #button_ace, #button_ace_system{
        padding: 8px 18px;
        margin-top: 10px;
    }
    .slider__body{
        grid-template-columns: 1fr; /* Establece una sola columna en cada fila */
        grid-auto-flow: row; /* Asegura que los elementos fluyan en filas en lugar de columnas */
    }
    .table{
        display: flex;
        flex-direction: column-reverse;
    }
}
