@charset "utf-8";
/* CSS Document */

body {
    font-family: 'Roboto', sans-serif;
}

.container-1200 {max-width: 1200px; margin: auto;}
.container-1000 {max-width: 1000px; margin: auto;}
.container-900 {max-width: 900px; margin: auto;}
.container-800 {max-width: 800px; margin: auto;}
.container-600 {max-width: 600px; margin: auto;}

.text-azul {color: #07b7d4;}
.text-naranja {color: #ff6600;}

/*BOTONES*/
/*para contenidos de ergo*/
.btn-primary {background-color: #07b7d4; border: solid 1px #07b7d4;}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {background-color: #008297; border: solid 1px #008297;}

/*cdlm*/
.btn-cdlm {background-color:#655BFB; border: solid 1px #655BFB;}
.btn-cdlm:hover, .btn-cdlm:active, .btn-cdlm:focus {background-color: #483fc7; border: solid 1px #483fc7;}

/*run tour*/
.btn-rt {background-color:#FF0000; border: solid 1px #FF0000;}
.btn-rt:hover, .btn-rt:active, .btn-rt:focus {background-color: #d90000; border: solid 1px #d90000;}

/*42k*/
.btn-42k {background-color:#141e50; border: solid 1px #141e50;}
.btn-42k:hover, .btn-42k:active, .btn-42k:focus {background-color: #0a102f; border: solid 1px #0a102f;}

/*smartfit*/
.btn-smartfit {background-color:#f9b80e; border: solid 1px #f9b80e;}
.btn-smartfit:hover, .btn-smartfit:active, .btn-smartfit:focus {background-color: #dda000; border: solid 1px #dda000;}

/*controlar display en mobile y desk*/
.desktop {display: block;}
.mobile {display: none;}
@media (max-width:800px) and (orientation:portrait) {
    .desktop {display: none;}
    .mobile {display: block;}
}

.hr-gradient {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #ff6600, transparent);
}

/*HEADER*/
header {
    background-image: url("../img/header-bg.png");
    background-position: top center;
    background-size: cover;
}
.brand-logo {width: 25%; max-width: 90px; transition: transform 0.5s ease;}
.brand-logo:hover {transform: scale(1.1);}

/*FOOTER*/
.footer-border-top {border-top: solid 4px #07b7d4;}


/*HOME*******************************/
.homeimg-hover {position: relative; display: block; overflow: hidden;}
.homeimg-hover img {transition: transform 0.5s ease; display: block; width: 100%;}
.homeimg-hover:hover img {transform: scale(.96);}
/* Efecto de brillo */
.homeimg-hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.4) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
}
.homeimg-hover:hover::after {
    animation: shine 0.9s ease;
}

/* Animación */
@keyframes shine {
    100% {left: 125%;}
}

/*PAGINAS EVENTOS*/
/* Card */
.carrera-card {
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.carrera-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Logo */
.logo-carrera {
    max-width: 180px;
    transition: transform 0.4s ease;
}

.carrera-card:hover .logo-carrera {
    transform: scale(1.08);
}

/* Link */
.link-web {
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-web:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Video */
.video-wrapper {
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    position: relative;
}

/* Botón volver */
.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: #fff;
    text-decoration: none;
}


/*nano gallery*/
/*hack para ocultar el número de fotos que sale sobre la imagen*/
.nGY2 .nGY2GThumbnailIconsFullThumbnail {display: none!important;}