html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}

.top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

#logo {
    width: 300px;
    height: auto;
}

#iframeContainer {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100% - 70px);
    overflow: hidden;
}

#time {
    font-size: 24px;
    color: #333;
}

#sleepMessage {
    font-size: 16px;
    color: #333;
}

#rainCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}





/* Para la web por horas */

.menu-toggle {
    position: absolute;
    top: 5px;
    left: 10px;
    z-index: 1;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle .hamburger {
    width: 30px;
    height: 2px;
    background: #333;
    position: relative;
}


.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #333;
}

.menu-toggle .hamburger::before {
    transform: translateY(-10px);
}

.menu-toggle .hamburger::after {
    transform: translateY(10px);
}



.hour-selector {
    position: absolute;
    top: 50px;
    left: 10px;
    z-index: 9999; /* este es el valor nuevo */
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: none;
}

.hour-selector ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hour-selector li {
    padding: 10px;
    cursor: pointer;
}

.hour-selector li:hover {
    background: #f0f0f0;
}