html {
    font-size: 200%;
}

body {
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 1.125rem;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    background-color: #2e537d; /* color for letterbox areas */
}

#bg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(0px);
    z-index: -1;
    pointer-events: none;
}

#wind-arrow {
    width: 150%;
    max-width: 250px;
    height: auto;
    opacity: 0.8;
    pointer-events: none;
    transition: transform 0.3s;
}

.env-container {
    position: relative;
    display: inline-block;
}
.env-definition {
    font-size: 8pt;
    font-style: italic;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    width: 200px;
    display: none;
    z-index: 100;
    text-align: left;
}
.env-container:hover .env-definition {
    display: block;
}

.current-conditions {
    font-size: 1.25rem;
}

.subheading {
    font-size: 1.5rem;
}

.tide-table td, .tide-table th {
    border: 1px solid #ddd;
    padding: 2px 4px;
    text-align: center;
}

.highlight-tide {
    background-color: #bfdbfe;
}

.tide-table {
    font-size: 2em;
}

#tide-section {
    overflow-x: auto;
}

input[type="range"]::-webkit-slider-thumb {
    width: 35px;
    height: 35px;
}
input[type="range"]::-moz-range-thumb {
    width: 35px;
    height: 35px;
}
.scroll-wheel {
    font-family: 'Courier New', monospace;
    background-color: #f7f7f7;
    border: 2px solid #888;
    border-radius: 8px;
    padding: 4px;
    height: 6rem;
    overflow-y: auto;
}
.scroll-wheel option {
    padding: 2px 4px;
}

.date-scroll {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding: 4px 0;
    scroll-snap-type: x mandatory;
}
.forecast-card {
    flex: 0 0 auto;
    font-family: 'Courier New', monospace;
    background-color: #f7f7f7;
    border: 2px solid #888;
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer;
    user-select: none;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.forecast-card.selected {
    background-color: #bfdbfe;
}

.forecast-card .date-month-day {
    font-size: 0.7em;
    
}



.forecast-card .date-time {
    font-size: 0.7em;
	font-weight: bold;
    
}


.forecast-card .date-weekday {
    font-size: 0.75em;
	
}
