@font-face { 
    font-family: Rokkitt;
    src: url('fonts/Rokkitt-VariableFont_wght.ttf'); 
}

/* apply a natural box layout model to all elements, but allowing components to change */
html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

:root {
    /* colors */
    --blue: #6AA4E4;
    --dark-blue: #002F87;
    --orange: #F79520;
    --red: #C44545;
    --off-white: #EAEAEA;

    /* root font size */
    font-size: 28px;
}

html, body {
    /* height, margin, padding required in html to allow height percentages elsewhere */
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    line-height: 32px;
    font-family: Rokkitt;
}

#all_container {
    background-color: var(--blue);
    background: rgb(173,207,245);
    background: radial-gradient(circle, rgba(173,207,245,1) 0%, rgba(106,164,228,1) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

#logo_container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25%;
    padding-bottom: 2em;
}

#logo_container img.logo {
    height: 100%;
}

#weather_reports {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 2em;
}

.weather-report {
    display: flex;
    flex-direction: column;
    margin: .75em;
    padding-top: .75em;
    padding-bottom: .75em;
    /* padding: 3rem 1rem; */
    text-align: center;
    justify-content: center;
    background-color: white;
    border-radius: 1em;
    box-shadow: 2px 2px 32px 8px rgba(64,64,64,0.25);
    width: 14%;
    height: 100%;
}

.weather-report * {
    margin-top: .25em;
    margin-bottom: .25em;
    margin-left: .25em;
    margin-right: .25em;
}

img.weather-icon {
    display: block;
    aspect-ratio: 1 / 1;
    width: 100%;
    margin: 0;
}

p.weekday {
    font-weight: bold;
    font-size: 1.5rem;
    white-space: nowrap;
}

p.date {
    font-size: 1.25rem;
}

p.temp {
    font-size: 2rem;
    font-weight: bold;
}

p.temps {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

span.low {
    color: var(--blue);
}

span.high {
    color: var(--orange);
}

p.desc {
    font-size: 1.1rem;
    text-transform: capitalize;
    /* white-space: nowrap; */
}

#weather_alerts_container {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: var(--red);
}

.swiper-slide {
    display: flex;
    flex-direction: row;
}

.swiper-slide img {
    aspect-ratio: 1/1;
    width: 8rem;
    transform: scale(1.25);
    margin-left: 1em;
}

.alert-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1em;
    line-height: 1.25em;
}

.alert-info > * {
    margin: .2em;
    color: var(--off-white);
    font-size: 1.1em;
}

.bold {
    font-weight: bold;
}

.uppercase {
    text-transform: uppercase;
}