body {
    margin: 0;
    //padding: 20px; /* Espacio interno opcional */
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #006465;
    //background-color: #fff;

  background-color: #f5f5f5;
  background-image: 
    /* Textura de papel */
    linear-gradient(rgba(255,255,255,1), rgba(255,255,255,0.8)),
    /* Patrón de hojas variadas */
    url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='leafShadow' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='2' dy='3' stdDeviation='2' flood-color='%23333' flood-opacity='0.1'/%3E%3C/filter%3E%3C/defs%3E%3C!-- Hoja redondeada (estilo laurel) --%3E%3Cpath d='M100 200 C150 100, 250 100, 300 200 C250 300, 150 300, 100 200' fill='%234CAF50' filter='url(%23leafShadow)'/%3E%3C!-- Hoja puntiaguda (estilo arce) --%3E%3Cpath d='M200 50 L250 100 L300 50 L350 150 L300 200 L200 250 L100 200 L50 150 L100 100 Z' fill='%232E7D32' opacity='0.9'/%3E%3C!-- Hoja asimétrica (estilo tropical) --%3E%3Cpath d='M50 350 Q100 250, 150 300 Q200 350, 150 380 Q100 400, 50 350' fill='%238BC34A'/%3E%3C!-- Hoja pequeña (estilo hiedra) --%3E%3Cpath d='M350 100 L370 70 L350 50 L330 70 Z' fill='%232E7D32'/%3E%3C/svg%3E");
  background-size: 500px 500px; /* Mayor tamaño para evitar repetición densa */
  height: 100vh;
 
}

/*///////////////////////////////////////////////////////////////////////////////////////*/
/* Navbar styles menu de inicio */
    .navbar {
        background-color: rgba(58, 58, 58, 1) !important; 
        position: fixed; 
        top: 0;
        width: 100%;
        color: white;
        font-family: 'Roboto', sans-serif; /* Cambiar a la fuente que prefieras */
    }
    .nav-link, .navbar-brand {
        color: white !important;        
    }
    .navbar-nav .nav-item {
      display: inline-block;
      //margin-right: auto; 
    }

 /*///////////////////////////////////////////////////////////////////////////////////////*/   
/* carrusel*/

/* Pantallas medianas (tablets, 600px en adelante) */
@media (max-width: 600px) {
    .carousel {
        margin-top: 70px; /* Ajusta según la altura del navbar */
    }
    p{
        font-size: 16px;
        margin-bottom: 1rem;
        color: #0f928c;
        padding: 0px 10px 0px 10px;
    }
    ul{
        font-size: 16px;
        margin-bottom: 1rem;
        color: #0f928c; 
        padding: 0px 10px 0px 10px; 
    } 
.black-sectionfondo {
    background-color: white; /* blanco */
    color: black; /* Color del texto */
    margin-top: 70px;
    padding-top: 50px; /* Espaciado interno para que el contenido no esté pegado al borde */
    padding-bottom: 100px; /* Espaciado interno para que el contenido no esté pegado al borde */
    font-family: Roboto, sans-serif;  
    background-image: url('../img/fondo_login.jpg'); /* URL de la imagen de fondo */
    background-size: cover; /* Ajusta la imagen para cubrir toda la sección */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
}    
}

/* Pantallas grandes (escritorios, 1024px en adelante) */
@media screen and (min-width: 1024px) {
    .carousel {
        margin-top: 70px; /* Ajuste para pantallas medianas */
    }
    p{
        font-size: 16px;
        margin-bottom: 1rem;
        color: #0f928c;
    }
    ul{
        font-size: 16px;
        margin-bottom: 1rem;
        color: #0f928c;  
    }  

.black-sectionfondo {
    background-color: white; /* blanco */
    color: black; /* Color del texto */
    margin-top: 70px;
    padding-top: 30px; /* Espaciado interno para que el contenido no esté pegado al borde */
    padding-bottom: 30px; /* Espaciado interno para que el contenido no esté pegado al borde */
    font-family: Roboto, sans-serif;  
    background-image: url('../img/fondo_login.jpg'); /* URL de la imagen de fondo */
    background-size: cover; /* Ajusta la imagen para cubrir toda la sección */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
}

}


/* Pantallas muy grandes (1440px en adelante) */
@media screen and (min-width: 1440px) {
    .carousel {
        margin-top: 70px; /* Ajuste para pantallas largas */
    }

    p{
        font-size: 18px;
        margin-bottom: 1rem;
        color: #0f928c;
        
    }
    ul{
        font-size: 18px;
        margin-bottom: 1rem;
        color: #0f928c; 
    }
.black-sectionfondo {
    background-color: white; /* blanco */
    color: black; /* Color del texto */
    margin-top: 70px;
    padding-top: 170px; /* Espaciado interno para que el contenido no esté pegado al borde */
    padding-bottom: 170px; /* Espaciado interno para que el contenido no esté pegado al borde */
    font-family: Roboto, sans-serif;  
    background-image: url('../img/fondo_login.jpg'); /* URL de la imagen de fondo */
    background-size: cover; /* Ajusta la imagen para cubrir toda la sección */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
}
  }




 /*///////////////////////////////////////////////////////////////////////////////////////*/   

  /* Pantallas medianas (tablets, 600px en adelante) */
@media (max-width: 600px) {
/* Sección hero con imagen de fondo */
.hero-section {
    position: relative;
    width: 100%;
    height: auto; /* Altura completa de la ventana */
    background-image: url('../img/fondo_ceub.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax opcional */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

/* Overlay verde oscuro con opacidad */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 60, 40, 0.7); /* Verde oscuro con 70% de opacidad */
}

/* Contenido de texto */
.hero-content {
    position: relative;
    //max-width: 800px;
    padding: 1rem 0 1rem 0;
    z-index: 1;
}

.hero-content h1 {
    font-size: 1.5rem;
   // margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 1rem;

}
.hero-content ul {
    font-size: 18px;
    margin-bottom: 1rem;
}
}
/* Pantallas grandes (escritorios, 1024px en adelante) */
@media screen and (min-width: 1024px) {
/* Sección hero con imagen de fondo */
.hero-section {
    position: relative;
    width: 100%;
    height: auto; /* Altura completa de la ventana */
    background-image: url('../img/fondo_ceub.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax opcional */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

/* Overlay verde oscuro con opacidad */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 60, 40, 0.7); /* Verde oscuro con 70% de opacidad */
}

/* Contenido de texto */
.hero-content {
    position: relative;
    //max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 1rem;

}
.hero-content ul {
    font-size: 18px;
    margin-bottom: 1rem;
}
}
/* Pantallas muy grandes (1440px en adelante) */
@media screen and (min-width: 1440px) {
/* Sección hero con imagen de fondo */
.hero-section {
    position: relative;
    width: 100%;
    height: auto; /* Altura completa de la ventana */
    background-image: url('../img/fondo_ceub.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax opcional */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

/* Overlay verde oscuro con opacidad */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 60, 40, 0.7); /* Verde oscuro con 70% de opacidad */
}

/* Contenido de texto */
.hero-content {
    position: relative;
    //max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 1rem;

}
.hero-content ul {
    font-size: 18px;
    margin-bottom: 1rem;
}
  }














/*///////////////////////////////////////////////////////////////////////////////////////*/

/*Footer pie de pagina*/

    .footer-style {
    padding-top: 40px;
    padding-bottom: 60px;
    background-color: rgba(58, 58, 58, 1) !important; 
    color: white;
    }

    .footer-style h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    footer {
      color: white;
      font-family: Roboto, sans-serif;
    }

    footer .footer-above {
      padding-top: 50px;
      background-color: #2C3E50;
    }

    footer .footer-col {
      margin-bottom: 50px;
    }

    footer .footer-below {
      padding: 25px 0;
      background-color: #233140;
    }

    /*Footer pie de pagina*/
/*///////////////////////////////////////////////////////////////////////////////////////*/

        .responsive-iframe {
            position: relative;
            overflow: hidden;
            width: 100%;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
        }

        .responsive-iframe iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }



/*///////////////////////////////////////////////////////////////////////////////////////*/
/*boton magico*/
 .btn-container {
            display: flex;
            justify-content: center;
            align-items: center;
           // height: 100vh;
        }
        
        .btn-magico {
            position: relative;
            padding: 10px 30px;
            font-size: 18px;
            font-weight: bold;
            color: white;
            background: linear-gradient(135deg, #1e5631, #4c9a2a);
            border: none;
            border-radius: 15px;
            cursor: pointer;
            overflow: hidden;
            z-index: 1;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        
        .btn-magico:hover {
            background: linear-gradient(135deg, #2d7a3a, #3a9e4a);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }
        
        .btn-magico::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(
                rgba(255, 255, 0, 0.8) 0deg,
                rgba(144, 238, 144, 0.6) 90deg,
                rgba(255, 255, 0, 0.8) 180deg,
                rgba(144, 238, 144, 0.6) 270deg,
                rgba(255, 255, 0, 0.8) 360deg
            );
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
            animation: rotar 3s linear infinite;
        }
        
        .btn-magico:hover::before {
            opacity: 1;
        }
        
        @keyframes rotar {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }