* {
    font-family: sans-serif;
}

body{
    overflow-x: hidden;
}

.white {
    color: #fff;
}

.bg-dark{
    background-color: #202A5B !important;
}

#servicio{
    overflow: hidden;
    padding-top: 100px;
}
#conocenos{
    padding-top: 100px !important;
}
#contacto{
    padding-top: 100px !important;
}

.servicios-menu{
    width: 100%;
    
   /* background-color: #fff;*/
    border-radius: 20px;
   /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;*/
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    
}
.kirby {
    display: none;
    position: absolute;
    z-index: 1000000;
    width: 150px;
    animation: floatMove 7s ease-in-out infinite;
}
@keyframes floatMove {
    0% {
        transform: translateX(0vw) translateY(0px);
    }
    10% {
        transform: translateX(10vw) translateY(30px);
    }
    20% {
        transform: translateX(20vw) translateY(0px);
    }
    30% {
        transform: translateX(30vw) translateY(30px);
    }
    40% {
        transform: translateX(40vw) translateY(0px);
    }
    
    50% {
        transform: translateX(50vw) translateY(30px);
    }
    60% {
        transform: translateX(60vw) translateY(0px);
    }
    70% {
        transform: translateX(70vw) translateY(30px);
    }
    80% {
        transform: translateX(80vw) translateY(0px);
    }
    90% {
        transform: translateX(90vw) translateY(30px);
    }
    100% {
        transform: translateX(100vw) translateY(0px);
    }
}


 .formulario{
    padding: 20px;
    border-radius: 10px;
    width: 70%;
    background-color: #ffffffd6;
    backdrop-filter: blur(10px);
    border: #202a5b35 1px solid;
 }

.divisor{
    height: 222px;
    width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    padding: 10px;
    cursor: pointer;
}

.divisor:hover{
    background-color: white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transform: scale(1.05);
    
}

.enlace{
    text-decoration: none;
    color: #202A5B;
}

.enlaces{
    text-decoration: none;
    color: white;
}


.loader-bg {
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 10000;
    top: 0;
    transition: opacity 0.5s ease-out;
}

.loader-bg.hidden {
    opacity: 0;
    pointer-events: none;
}

.contenido {
    width: 50vw;
    height: 45vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contenido img {
    height: 90%;
    margin-bottom: 10px;
}

/* HTML: <div class="loader"></div> */
.loader {
    height: 4px;
    width: 130px;
    --c: no-repeat linear-gradient(#f9ac00 0 0);
    background: var(--c), var(--c), #f6d68e;
    background-size: 60% 100%;
    animation: l16 3s infinite;
}

@keyframes l16 {
    0% {
        background-position: -150% 0, -150% 0
    }

    66% {
        background-position: 250% 0, -150% 0
    }

    100% {
        background-position: 250% 0, 250% 0
    }
}

.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    width: calc(100% * 12); /* Ajusta según el número total de items en tu carrusel */
    animation: scroll 30s linear infinite;
}

.carousel-item {
    flex: 0 0 auto;
    width: calc(100% / 6); /* Ajusta según cuántas marcas quieras mostrar al mismo tiempo */
    padding: 0 10px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.parallax {
    background-image: url('../img/contactame.jpg'); /* Reemplaza con tu imagen */
    height: 100vh;
    background-attachment: fixed;
    background-position:top;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
  }

  .parallax-content {
    background: rgba(44, 39, 181, 0.759); /* Fondo semitransparente */
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
  }

  .parallax h1 {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .parallax button {
    font-size: 1.2rem;
    padding: 10px 20px;
  }

/* Estilo para ocupar el 100% de la altura de la vista con fondo parallax */
.full-height {
    height: 100vh;
    background-image: url('../img/fondo.png');
    /* Reemplaza con la ruta de tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: filter 0.3s ease;
    background-size: cover;
    transform: scale(1.5);
    animation: zoomBackground 2s ease-in-out forwards;
}



@keyframes zoomBackground {
    from {

        transform: scale(1.5);
    }

    to {

        transform: scale(1);
    }
}





.image-right {
    position: absolute;
    transition: transform 0.1s ease-out;
}

.image1 {
    top: 13%;
    right: 37%;
    max-width: 46%;
    opacity: 0;

    animation: zoomImage1 2s ease-in-out 0.5s forwards;
}

.image2 {
    top: 33%;
    right: 10%;
    max-width: 29%;
    opacity: 0;
    animation: zoomImage2 2s ease-in-out 1s forwards;
}

@keyframes zoomImage1 {
    from {
        max-width: 46%;
        opacity: 0;

    }

    to {
        max-width: 36%;
        opacity: 1;

    }
}

@keyframes zoomImage2 {
    from {
        max-width: 29%;
        opacity: 0;
    }

    to {
        max-width: 24%;
        opacity: 1;
    }
}

.demo a {
    position: absolute;
    bottom: 20px;
    left: 50%;
    z-index: 2;
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: #fff;
    font: normal 400 20px/1 'Josefin Sans', sans-serif;
    letter-spacing: .1em;
    text-decoration: none;
    transition: opacity .3s;
}

.demo a:hover {
    opacity: .5;
}


#section03 a {
    padding-top: 60px;
}

#section03 a span {
    position: absolute;
    top: 60;
    left: 50%;
    width: 46px;
    height: 46px;
    margin-left: -23px;
    border: 1px solid #202A5B;
    border-radius: 100%;
    box-sizing: border-box;
}

#section03 a span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: '';
    width: 16px;
    height: 16px;
    margin: -12px 0 0 -8px;
    border-left: 1px solid #202A5B;
    border-bottom: 1px solid #202A5B;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-sizing: border-box;
}

#section03 a span::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    content: '';
    width: 44px;
    height: 44px;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .1);
    border-radius: 100%;
    opacity: 0;
    -webkit-animation: sdb03 3s infinite;
    animation: sdb03 3s infinite;
    box-sizing: border-box;
}

@-webkit-keyframes sdb03 {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    60% {
        box-shadow: 0 0 0 60px rgba(255, 255, 255, .1);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes sdb03 {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    60% {
        box-shadow: 0 0 0 60px rgba(255, 255, 255, .1);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.localizar{
    position: absolute;
    
}

.floating {
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-left: 63px;
    margin-top: -30px;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 30px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

.scroll-down-btn {
    margin-bottom: 20px;
    /* Ajusta la distancia desde la parte inferior */
}

.scroll-down-btn .btn {
    color: white;
    /* Ajusta el color de la flecha */
}

.scroll-down-btn .btn:hover {
    color: #f9ac00;
    /* Cambia el color de la flecha al pasar el mouse */
}

/* Estilo para el menú superior */
.navbar-custom {
    background-color: transparent;
    transition: background-color 0.3s;
}

/* Cambia el fondo del menú cuando se desplaza la página */
.navbar-scrolled {
    background-color: rgb(255, 255, 255);
}

/* Estilo de los enlaces del menú */
.navbar-nav .nav-link {
    color: #202A5B;
    font-weight: bold;
    position: relative;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #202A5B;
}

/* Línea amarilla debajo del enlace al hacer hover */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #f9ac00;
    bottom: -5px;
    left: 50%;
    transition: width 0.3s, left 0.3s;
}

/* Mantener la línea amarilla para el enlace activo */
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

.first-text {
    position: absolute;
    z-index: 10;
    left: 48px;
    background-color: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 15px;
}

.extra{
    display: block;
}

@media only screen and (max-width: 600px) {
    .image1{
        display: none;
    }
    .image2{
        display: none;
    }
    .extra{
        display: none !important;;
    }
    .localizar{
        display: none;
    }

    #guardia{
        height: 150vh !important;
    }
    

    #monitoreo{
        height: 150vh !important;
    }

    #alarma{
        height: 200vh !important;
    }

    #video{
        height: 150vh !important;
    }
}
