@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    background-color: rgb(20, 20, 20);
    color: white;
    font-family: system-ui, -apple-system, "Inter", BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    width:  100%;
    overflow-x: hidden;
}

.main_event {
    border-radius: 10px;
    width: 90%;
    height: 30vmax;
    object-fit: cover;
    object-position: center;
    margin-top: 40px; /* Use margin instead of padding for outer spacing */
}

.advisory {
    width: 88%;
    margin-top: 2.5vw;
    margin-bottom: 2.5vw;
    padding: 1.7vw;
    padding-top: 3vw;
    padding-bottom: 3vw;
    background-color: rgb(32, 28, 5);
    border-radius: 10px;
    border: 0.2vw solid rgb(251, 173, 38);
}

.advisory.hidden {
    display: none;
}

.advisory h1 {
    text-align: left;
    font-size: 2vw;
    color: rgb(251, 173, 38);
    width: 100%;
    padding: 0;
    margin: 0;
}

.advisory p {
    padding: 0;
    margin: 0;
    margin-top: 14px;
    font-size: 2vw;
}

.percentage {
    margin-top: 6vw;
    text-align: left;
    width: 90%;
}

.percentage b {
    font-size: 5vw;
}

.chance {
    margin-top: 10px;
    width: 100%;
    height: 2vw;
    border-radius: 100vw;
    display: flex;
    overflow: hidden;
}

.chance .suspension_chance {
    background-color: rgb(255, 0, 0);
    width: 100%; /* adjust width according to value */
    height: 100%;
}

.chance .normal_chance {
    background-color: rgb(0, 255, 85);
    width: 100%; /* adjust width according to value */
    height: 100%;
}

.calendar {
    width: 90%;
    background-color: rgb(49, 49, 49);
    border-radius: 10px;
    padding: 2.5vw 3vw;
    box-sizing: border-box;
    margin-bottom: 3vw;
}

.calendar_week {
    margin-bottom: 2.5vw;
}

.calendar_week:last-child {
    margin-bottom: 0;
}

.calendar_week_label {
    font-size: 1.6vw;
    color: rgb(150, 150, 150);
    font-weight: bold;
    margin-bottom: 1vw;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar_row {
    display: flex;
    gap: 1vw;
}

.calendar_cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(38, 38, 38);
    border-radius: 8px;
    padding: 1.4vw 0;
    transition: 0.2s;
}

.calendar_weekday {
    font-size: 1.2vw;
    color: rgb(140, 140, 140);
    font-weight: bold;
    margin-bottom: 0.4vw;
}

.calendar_daynum {
    font-size: 2vw;
    font-weight: bolder;
}

.calendar_cell.past,
.calendar_cell.weekend {
    opacity: 0.35;
}

.calendar_cell.pending {
    opacity: 0.5;
}

.calendar_cell.clickable {
    cursor: pointer;
}

.calendar_cell.clickable:hover {
    background-color: rgb(60, 60, 60);
}

.calendar_cell.today .calendar_weekday {
    color: rgb(0, 200, 255);
}

.calendar_cell.risk-low.clickable {
    background-color: rgba(0, 255, 85, 0.16);
}

.calendar_cell.risk-mid.clickable {
    background-color: rgba(255, 200, 0, 0.18);
}

.calendar_cell.risk-high.clickable {
    background-color: rgba(255, 0, 0, 0.22);
}

.calendar_cell.selected {
    outline: 2px solid rgb(0, 115, 255);
    background-color: rgb(0, 115, 255) !important;
}

.precip_chart,
.precip_chart_hourly {
    width: 90%;
    background-color: rgb(49, 49, 49);
    border-radius: 10px;
    padding: 2vw;
    box-sizing: border-box;
    margin-bottom: 3vw;
}

.precip_bars,
.precip_bars_hourly {
    width: 100%;
}

.line_chart_svg {
    width: 100%;
    height: auto;
    display: block;
}

.line_chart_axis {
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1;
}

.line_chart_area {
    fill: rgba(0, 153, 255, 0.15);
    stroke: none;
}

.line_chart_line {
    fill: none;
    stroke: rgb(0, 153, 255);
    stroke-width: 3;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.line_chart_dot {
    fill: rgb(0, 153, 255);
    stroke: rgb(49, 49, 49);
    stroke-width: 2;
}

.line_chart_dot.current {
    fill: rgb(0, 255, 133);
}

.line_chart_xlabel {
    fill: rgb(170, 170, 170);
    font-size: 20px;
    font-weight: bold;
}

.line_chart_value {
    fill: rgb(180, 210, 255);
    font-size: 20px;
    font-weight: bold;
}