@font-face {
    font-family: GoudarHL;
    font-weight: 800;
    src: url("../fonts/GoudarHL_BoldItalic.otf") format("opentype");
}

.custom-rutas-header {
    max-width: 1140px;
    margin: auto;
    padding-bottom: 25px !important;
    font-family: 'Roboto', sans-serif;
    color: #252525;
    font-weight: 300;
}

.custom-rutas-header h1 {
    font-size: 35px;
}

.custom-rutas-header h3 {
    font-size: 22px;
}

.custom-rutas-main {
    max-width: 1140px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.custom-rutas-link {
    display: block;
    height: 400px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.custom-rutas-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    transition: all 0.25s ease;
}

.custom-rutas-link:hover .custom-rutas-overlay {
    background: transparent !important;
}

.custom-rutas-title {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 100%;
    text-align: center;
    font-family: 'GoudarHL', sans-serif;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 149px;
    transition: color 0.25s ease;
}

.custom-rutas-link:hover .custom-rutas-title {
    color: white !important;
}

.custom-rutas-link:nth-child(odd) .custom-rutas-overlay {
    background-color: rgba(17, 17, 85, 0.5);
}

.custom-rutas-link:nth-child(odd) .custom-rutas-title{
    color: #EF3E56;
} 

.custom-rutas-link:nth-child(even) .custom-rutas-overlay {
    background-color: rgba(239, 62, 86, 0.5);
}

.custom-rutas-link:nth-child(even) .custom-rutas-title{
    color: #111155;
}

@media (max-width: 1023px) {
    .custom-rutas-none {
        display: none;
    }

    .custom-rutas-main {
        grid-template-columns: 1fr;
    }
}