html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #D3D3D3; /* Gris medio claro */
}

main {
    flex: 1; /* Esto asegura que el contenido principal empuje el footer hacia abajo */
}

/* Botones y controles */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Tarjetas */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

    .card:hover {
        transform: translateY(-8px);
        /*background: linear-gradient(to bottom, #fff, #f9f3ee);*/
    }

/* Carrusel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #E67E22;
    border: 1px solid #D35400;
    color: #E67E22;
    opacity: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    z-index: 2;
}

.carousel-control-prev {
    left: 5px;
}

.carousel-control-next {
    right: 5px;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 0.6;
    }

/* Navbar */
.navbar-brand {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
}

.navbar img:hover {
    cursor: pointer;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: #FFE5B4;
}

::-webkit-scrollbar-thumb {
    background-color: #E67E22;
    border-radius: 8px;
    border: 3px solid #FFE5B4;
}

* {
    scrollbar-width: thick;
    scrollbar-color: #E67E22 #FFE5B4;
}

/* Títulos destacados */
.my-4 {
    color: #E67E22;
    font-weight: bold;
    -webkit-text-stroke: 2px black;
}

/* Botón personalizado */
.btn-outline-primary {
    background-color: #E67E22;
    border: 2px solid black;
    color: #ffffff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: #D35400;
        border-color: black;
        color: #ffffff;
    }

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto; /* Esto empuja el footer al fondo */
}

.form-control:focus {
    border-color: #FF8800; /* Color del borde al enfocar */
    box-shadow: 0 0 5px #FF8800; /* Resalta el foco */
    outline: none; /* Elimina el borde predeterminado */
}


@media (max-width: 576px) {
    .scroll-controls {
        padding: 6px 12px;
        gap: 8px;
    }

    .btn-scroll {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}