* {
    margin: 0.2em;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Russo One', sans-serif;
    background-color: #6cf4f4;
    color: white;
    position: relative;
    overflow-x: hidden;
}

/* Marca de agua */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/img/logo-casup&bike.jpg') center/40% no-repeat;
    opacity: 0.1;
    z-index: -1;
}

/* Barra lateral */
.sidebar {
    position: fixed;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.sidebar img {
    width: 40px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

/* Encabezado */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(0,0,0,0.4);
}

.logo {
    height: 130px;
    border-radius: 6em;
}

/* Botón idioma */
.lang-btn {
    background-color: #00ff88;
    color: #000;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

.lang-btn:hover {
    background-color: #00cc66;
}

/* Hero */
.hero {
    height: 70vh;
    background: url('/img/supfondo.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    background-color: rgba(0,0,0,0.4);
    padding: 20px;
    text-align: center;
}

.overlay h2 {
    font-size: 3rem;
}

/* Descripción */
.descripcion {
    padding: 30px;
    background-color: rgba(0,0,0,0.4);
    text-align: center;
}

.descripcion h2 {
    margin-bottom: 1em;
}

/* Tabla precios */
.precios {
    padding: 30px;
    background-color: rgba(0,0,0,0.6);
}

.precios h2 {
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    color: white;
}

th, td {
    border: 1px solid white;
    padding: 10px;
    text-align: center;
}

.galeria{ 
    font-size: 2em;
    text-align: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;

}

/* Bicis */
.bicis {
    height: 100vh;
    background: url('/img/bici.jpeg') center/cover no-repeat;
}

footer {
    margin-bottom: 1em;
    padding: 1em;
    background-color: aliceblue;
    color: black;
}

/* para celulares */
@media (max-width: 768px) {

    .logo {
        height: 90px;
        border-radius: 3em;
    }

    header {
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }

    .sidebar {
        flex-direction: row;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        gap: 10px;
    }

    .sidebar img {
        width: 30px;
    }

    .overlay h2 {
        font-size: 1.8rem;
    }

    .descripcion, .precios {
        padding: 15px;
    }

    table {
        font-size: 0.85rem;
    }

    .bicis {
        height: 50vh;   
    }
}
