@import url("menu.css");
@import url("button.css");
@import url("text.css");
@import url("animation.css");
@import url("card.css");

/* Aeonik */
@font-face {
    font-family: "Aeonik";
    src: url("../../../fonts/kybernus/Aeonik-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Aeonik";
    src: url("../../../fonts/kybernus/Aeonik-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Aeonik";
    src: url("../../../fonts/kybernus/Aeonik-Bold.ttf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

/* Grift */
@font-face {
    font-family: "Grift";
    src: url("../../../fonts/kybernus/Grift-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Grift";
    src: url("../../../fonts/kybernus/Grift-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Grift";
    src: url("../../../fonts/kybernus/Grift-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Grift";
    src: url("../../../fonts/kybernus/Grift-ExtraBoldItalic.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Grift";
    src: url("../../../fonts/kybernus/Grift-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
}

body {
    --bs-body-font-family: "Grift";
    --bs-body-font-weight: 500;
    font-style: normal;
    background-color: #f0f1fa;
    color: #000000;
}

.text-title {
    opacity: 0;

    /*@media (width < 768px) {
        opacity: 1;
    }*/
}

.btn-with-floating-dots {
    position: relative;
}

.floating-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    font-size: 0.8em;
    pointer-events: none;
}

.bg-black {
    background-color: #000000;
}

.bg-black-transparent {
    background-color: rgb(0, 0, 0, 0.5);
}

.section-info {
    background-color: #393b46;
}

.section-footer {
    background-color: rgba(57, 59, 70, 0.5);
}

.content-separation-line {
    border-bottom: 10px solid #a5eeff;
}

.line-container {
    display: flex;
    align-items: baseline;
    overflow: hidden;
}

.line {
    background-color: rgb(135, 135, 241);
    height: 10px;
    width: 0;
}

.text {
    margin-left: 10px;
    white-space: nowrap;
    opacity: 0;
    /* font-size: 74px; */
}

/* Carousel */
.splide {
    padding-bottom: 20px;
    .splide__pagination__page

{
    /* width: 150px;
    max-width: 150px; */
    width: max(50px, min(8vw, 150px));
    max-width: max(50px, min(8vw, 150px));
    border-radius: var(--bs-border-radius-pill) !important;
    background: #6b6b6b;
    /* margin-right: 1.5rem !important;
    margin-left: 1.5rem !important; */
    margin-right: max(0.5rem, min(2vw, 1.5rem)) !important;
    margin-left: max(0.5rem, min(2vw, 1.5rem)) !important;
}

.splide__pagination {
    position: static;
}

.splide__pagination__page.is-active {
    /* width: 150px;
    max-width: 150px; */
    width: max(50px, min(8vw, 150px));
    max-width: max(50px, min(8vw, 150px));
    background: #f5ad1d;
    transform: scale(1);
}

}

/*Mapa*/
#detail-state svg path {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

/* Imagen Impulsores*/
.img-impulsor {
    width: 85px;
    height: 85px;


    @media (width < 992px) {
        width: 70px;
        height: 70px;
    }
}

/*Modal*/
@keyframes abrirModal {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0%);
    }
}

@keyframes cerrarModal {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(100%);
    }
}

.modalEstado {
    .modal.fade.show

{
    animation: abrirModal 0.6s ease;
}

.modal.fade {
    animation: cerrarModal 0.6s ease-out;
}

}

.footer-line {
    transform: scaleY(0);
    transform-origin: top center;
}

/* .footer-texto {
  opacity: 0;
  transform: translateX(50px);
} */

/* Video kybernus */
@media not (pointer: coarse) {
    .kyb-content-preview {
        position: relative;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .kyb-content-preview img:first-child {
        transition: opacity 0.3s ease;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .kyb-img-play {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 2;
        height: 50%;
        max-width: 100px;
    }

    .kyb-content-preview:hover img:first-child {
        opacity: 0.5;
    }

    .kyb-content-preview:hover .kyb-img-play {
        opacity: 1;
    }

    .kyb-transparencia {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (pointer: coarse) {
    .kyb-img-play {
        display: none;
    }
}

/* Logo */
.img-container {
    position: relative;
    width: 260px;
    height: 130px;
    overflow: hidden;
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: left center; /* Importante para escalar desde la izquierda */
}

.visible {
    display: block;
}

.hidden {
    display: none;
}

.oculto-linea {
    width: 0;
    opacity: 0;
}

/*.oculto-texto {
  opacity: 0;
}*/

.img-social-networks {
    background: #393b46;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 9px;

    @media(width <= 768px) {
        width: 35px;
        height: 35px;
    }
}

.modal-close-button {
    background: #404040;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.form-control:focus {
    box-shadow: none;
}

#pklsFormulario .formularioDatos {
    background-color: #404040 !important;
    color: white !important;
}

#pklsFormulario .btn {
    background-color: mediumpurple !important;
    color: white;
    width: 170%;
    border-radius: 28px;
}

#pklsFormulario .start-50 {
    left: 45% !important;
}

#pklsFormulario .line-input {
    border: none;
    border-bottom: 1px solid white;
    outline: none;
    padding: 0px 0 !important;
    font-size: 16px;
    background-color: transparent;
    color: white;
    border-radius: 0px !important;
}
