body {
    background-color: #1B3936;
}
html, body {
    scroll-behavior: auto;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1B3936;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}
.navbar.scrolled {
    opacity: 1; /* Opacidad al 100% cuando se desplaza */
}
.navbar-logo {
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    gap: 10px;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navbar-menu a:hover {
    background-color: #575757;
}

.navbar-toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}
.carousel-caption d-none d-md-block h5,
.p1 {
    color: rgb(255, 255, 255);
    background-color: #1B3936;
}
h5 {
    color: rgb(255, 255, 255);
    background-color: #1B3936;
}
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color 0.3s ease;
    animation: float 3s ease-in-out infinite;
}
.whatsapp-button img {
    width: 30px;
    height: 30px;
}
.whatsapp-button:hover {
    background-color: #20b358;
}
.whatsapp-button::before {
    content: "¡Contáctenos!";
    position: absolute;
    right: 70px;
    bottom: 20px;
    background-color: #25d366;
    color: white;
    padding: 10px;
    border-radius: 5px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.whatsapp-button:hover::before {
    opacity: 1;
    transform: translateX(0);
}
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.social-container {
    margin-top: 50px;
    text-align: center;
}
.social-title {
    font-size: 36px;
    color: #ffffff;
}
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 30px;
}
.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.social-icon a {
    text-decoration: none;
    color: #333;
}
.social-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.social-icon p {
    margin-top: 10px;
    font-size: 16px;
    color: #ffffff;
}
.containermap {
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
h1 {
    color: #ffffff;
}
.map-container {
    width: 80%;
    height: 500px;
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}
iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.apartado1 {
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    margin-top: 150px;
    z-index: 999;
}
#left, #right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.apartado1 #left p{
    margin-left: 40px;
}
#left img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
}
#left p {
    margin-top: 20px;
    font-size: 27px;
    padding: 20px;
    text-align: justify;
}
#right h1 {
    font-family: 'Playwrite CU', sans-serif;
    color: #1B3936;
    font-weight: bolder;
    font-size: 50px;
    margin-top: 20px;
}
#right h2 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 60px;
}
.conoce-mas {
    text-align: center;
    padding: 50px;
    background-color: #1B3936;
}
.conoce-mas h1 {
    color: #ffffff;
    font-family: 'Playwrite CU', sans-serif;
    font-size: 60px;
}
.video-container {
    margin-top: 20px;
    height: 500px;
    width: 70%;
    align-items: center;
    margin: auto;
}

.info-paragraph {
    background-color: #f0f0f0;
    width: 100%;
    padding: 20px;
    text-align: center;
    color: #1B3936;
}

.info-paragraph p {
    margin: 0;
    font-size: 18px;
    margin-left: 20%;
    margin-right: 20%;
    padding: 5%;
    text-align: justify;

}
.background-casco {
    background-image: url(..//img/rueda-1.png);
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
    text-align: left;
    position: relative;
  }
  .content-casco {
    max-width: 800px;
    padding: 20px;
    border-radius: 10px;
  }
  .content-casco h1 {
    font-size: 3em;
    margin-bottom: 10px;
    margin-left: 20%;
  }
  .content-casco p {
    font-size: 1.3em;
    line-height: 1.5;
    margin-left: 20%;
    text-align: justify;
    font-weight: bold;
  }
  .helmet-casco {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
  }


@media (max-width: 768px) {
    .helmet-casco {
        width: 0%;
        height: 0%;
      }
    .video-container {
        margin-top: 20px;
        height: 300px;
        width: 100%;
        align-items: center;
    }
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .navbar-menu.active {
        display: flex;
    }
    .navbar-toggle {
        display: block;
    }
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    .whatsapp-button img {
        width: 25px;
        height: 25px;
    }
    .whatsapp-button::before {
        right: 60px;
        bottom: 20px;
        padding: 8px;
    }
    .social-container {
        margin-top: 20px;
    }
    .social-title {
        font-size: 28px;
    }
    .social-icons {
        gap: 20px;
    }
    .social-icon img {
        width: 50px;
        height: 50px;
    }
    .social-icon p {
        font-size: 14px;
    }
    .containermap {
        height: auto;
        padding: 20px;
    }
    .map-container {
        width: 100%;
        height: 300px;
    }
    .apartado1 {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    #left, #right {
        width: 100%;
        height: auto;
        align-items: center;
    }
    #left img {
        width: 150px;
        height: 200px;
    }
    #right h1 {
        font-size: 32px;
    }
    #right h2 {
        font-size: 36px;
    }
    .info-paragraph {
        padding: 15px;
    }

    .info-paragraph p {
        font-size: 16px;
    }
    .info-paragraph p {
        margin: 0;
        font-size: 18px;
        padding: 5%;
        text-align: left;
    }
    .content-casco p, .content-casco h1 {
        margin-left: 0%;
      }
    
}

.container-beneficio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    background-color: #2e2e2e;
  }
  .benefit-beneficio {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background: #f9f9f9;
  }
  .icon-beneficio {
    font-size: 3em;
    color: #ff7f00;
    margin-right: 20px;
  }
  .text-beneficio {
    flex: 1;
  }
  .text-beneficio h3 {
    margin: 0;
    font-size: 1.5em;
  }
  .text-beneficio p {
    margin: 10px 0 0;
    font-size: 1em;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    .container-beneficio {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 480px) {
    .container-beneficio {
      grid-template-columns: 1fr;
    }
    .icon-beneficio {
      font-size: 2em;
    }
  }

  .footer-container {
    background-color: #2e2e2e;
    color: #ffffff;
    padding: 40px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin-top: 20px;
}

.footer-logo img {
    max-width: 200px;
    margin-top: 20px;

}

.footer-contact-info p,
.footer-contact-info a {
    font-size: 14px;
    line-height: 1.6;
    margin: 5px 0;
    color: #ffffff;
    text-decoration: none;
}

.footer-social-media a {
    color: #ffffff;
    font-size: 40px;
    margin: 0 10px;
}
.footer-social-media a:hover {
    transform: scale(1.2);
    color: #25d366; /* Un color brillante, puedes cambiarlo según tu preferencia */
}

.servicios{
    font-size: 80px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    clear: both;
    text-align: center;
    margin: auto;
    padding: 20px;
    margin-top: 50px;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-recommendations {
        display: none;
    }
}

.bodyterreta {
    margin-top: 60px; /* Espacio para el menú fijo */
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.container-inicio {
    position: relative;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 20px;
}

.container-inicio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-overlay-inicio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.text-overlay-inicio h1 {
    font-size: 50px;
    line-height: 1;
    margin: 0;
    font-weight: normal;
}

.text-overlay-inicio h1 span {
    color: #32cd32;
}

.text-overlay-inicio p {
    text-align: center;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;
}

/* Responsive Design */
@media (max-width: 767px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #1B3936;
    }

    .navbar-menu.show {
        display: flex;
    }

    .navbar-menu a {
        padding: 10px;
        border-top: 1px solid #ddd;
    }

    .container-inicio {
        width: 300px;
        height: 300px;
    }

    .text-overlay-inicio h1 {
        font-size: 30px;
    }
}

.dashed-decor-line-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0; /* Asegura que esté por debajo del menú */
}

.dashed-line-image-holder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 30px;
    z-index: -1; /* Asegura que esté por debajo del menú */
}

.dashed-line-image {
    width: 100%; /* Ajusta el tamaño según sea necesario */
    height: auto;
}

.medida{
    background-color: #f0f0f0;
    width: 100%;
    padding: 20px;
    text-align: center;
    color: #1B3936;
}

.medida p {
    margin: 0;
    font-size: 18px;
    margin-left: 20%;
    margin-right: 20%;
    padding: 2%;
    text-align: left;
}
.medida .titulomedida{
    margin: 0;
    font-size: 30px;
    margin-left: 22%;
    margin-right: 20%;
    text-align: left;
}
.medida .sabermas{
    text-decoration: none;
    border-style: solid;
    border: black;
    background-color: #1B3936;
    color: white;
    display: inline;
    font-size: 30px;
    padding: 4px; 
}
.medida a{
    text-decoration: none;
}
.medida .sabermas:hover{
    background-color: #32cd32;
    color: black;
}

.servicios-container {
    position: relative;
    text-align: center;
    margin-top: 50px;
    background-color:#2e2e2e;
}
.servicios-centered {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color:#20b358;
    font-size: 24px;
    font-weight: bold;
}
.servicios-image {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
.servicios-bottom-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(255, 255, 255);
    font-size: 22px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color:#2e2e2e;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 50px;
    margin-top: 80px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #2c2f38;
    padding: 20px;
    color: #fff;
    max-width: 100%;
    box-sizing: border-box;
}

.info-box {
    background-color: #fff;
    color: #2c2f38;
    margin: 10px;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    width: calc(50% - 40px);
}

.info-box i {
    font-size: 24px;
    color: #32cd32;
    margin-bottom: 10px;
}
        .contact-form {
            background-color:#32cd32;
            padding: 40px;
            border-radius: 5px;
            max-width: 50%;
            box-sizing: border-box;
            margin: 10px;
            flex-grow: 1;
        }
        .contact-form h2 {
            color: #2c2f38;
            margin-bottom: 20px;
        }
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border: none;
            border-radius: 5px;
        }
        .contact-form button {
            background-color: #2e2e2e;
            color: #fff;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
        }
        .contact-form button:hover {
            background-color: #2e2e2e;
        }
        @media (max-width: 768px) {
            .contact-info, .contact-form {
                max-width: 100%;
                margin: 10px 0;
            }
            .info-box {
                width: calc(100% - 40px);
            }
            .servicios-centered{
                font-size: 0px;
            }
            .text-contacto{
                font-size: 20px;
            }
        }       
    
        .carousel-container {
            position: relative;
            width: 300px;
            height: 400px;
            overflow: hidden;
            margin: auto;
            border-style: solid;
            border-color: #2e2e2e;
            border-width: 10px;
            border-radius: 8px;
        }
        
        .carousel {
            display: flex;
            width: 1200px; /* 4 images * 300px */
            transition: transform 0.5s ease-in-out;
        }
        
        .slide {
            min-width: 300px;
            height: 400px;
        }
        
        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .prev, .next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0,0,0,0.5);
            color: white;
            border: none;
            font-size: 18px;
            padding: 10px;
            cursor: pointer;
        }
        
        .prev {
            left: 0;
        }
        
        .next {
            right: 0;
        }

        .text-contacto{
            color: #ffffff;
        font-family: 'Playwrite CU', sans-serif;
        font-size: 50px;
        text-align: center;
        align-items: center;
        margin-top: 110px;
        }

        .actividad{
            text-align: center;
            font-size: 48px;
            font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;;
            margin-top: 50px;
            color: white;
            margin-bottom: -35px;
        }


        .container-folleto-fin {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh; /* Puedes ajustar esto según necesites */
        }
        
        .carousel-folletof {
            position: relative;
            max-width: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
        }
        
        .carousel-container-folletof {
            display: flex;
            width: 100%;
            transition: transform 0.5s ease-in-out;
        }
        
        .carousel-slidef {
            min-width: 100%;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
        }
        
        .carousel-slidef img {
            width: 438px;
            height: 528px;
            border-style: solid;
            border-color:#32cd32;
            border-width: 8px;
        }
        
        .container-folleto-fin {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh; /* Puedes ajustar esto según necesites */
        }
        
        .carousel-folletof {
            position: relative;
            max-width: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
        }
        
        .carousel-container-folletof {
            display: flex;
            width: 100%;
            transition: transform 0.5s ease-in-out;
        }
        
        .carousel-slidef {
            min-width: 100%;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
        }
        
        .carousel-slidef img {
            height: auto;

        }
        
        button {
            background-color: rgba(0, 0, 0, 0.5);
            border: none;
            color: white;
            padding: 10px;
            cursor: pointer;
            z-index: 10;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
        }
        
        button.prevf {
            left: 400px;
        }
        
        button.nextf {
            right: 400px;
        }
        
        @media (max-width: 748px) {
            .carousel-slidef img {
                height: auto;
                width: 100%;
            }
        
            .carousel-folletof {
                flex-direction: column;
            }
        
            button.prevf {
                left: 10px;
                margin-right: 0; /* Resetea el margen derecho */
            }
        
            button.nextf {
                right: 10px;
                margin-left: 0; /* Resetea el margen izquierdo */
            }
        
            .carousel-slidef img {
                width: 100%;
                border-style: solid;
                border-width: 8px;
            }
        
            .actividad {
                font-size: 38px;
            }
        }
        
        
             
        