* {
    font-family: "Century Gothic Regular", Calibri, Tahoma, Arial, sans-serif;
}

body {
    background-color: #F88379;
    transition: background-color 800ms ease;
}

.dark_mode {
    background-color: #121212;
    transition: background-color 800ms ease;
    color: white;
}

.dark_mode header {
    box-shadow: 5px 10px #03DAC5;
    background-color: #1F1B24;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
}

.dark_mode footer {
    box-shadow: 5px 10px #03DAC5;
    background-color: #1F1B24;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
}

.dark_mode nav {
    box-shadow: 5px 10px #03DAC5;
    background-color: #1F1B24;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
}

.dark_mode nav a {
    color: white;
}

.dark_mode nav li a.active {
    background-color: #BB86FC;
    transition: background-color 800ms ease;
    color: white;
}

.dark_mode nav li a:hover:not(.active) {
    background-color: #03DAC5;
    color: white;
}

.dark_mode aside {
    box-shadow: 5px 10px #03DAC5;
    background-color: #1F1B24;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
}

.dark_mode h2 {
    box-shadow: 5px 10px #BB86FC;
    background-color: #1F1B24;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
}

.dark_mode p {
    box-shadow: 5px 10px #BB86FC;
    background-color: #1F1B24;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
}

.dark_mode #todays_date p {
    box-shadow: 5px 10px #03DAC5;
    background-color: #1F1B24;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
}

.dark_mode video {
    box-shadow: 5px 10px #BB86FC;
    background-color: #1F1B24;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
}

#wrapper {
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-template-rows: 100px auto 50px;
    grid-template-areas: "dark header todays_date"
                         "nav main aside"   
                         "footer footer footer";
}

#todays_date {
    grid-area: todays_date;
    display: flex;
    justify-content: right;
    align-items: center;
}

#dark {
    grid-area: dark;
    display: flex;
    justify-content: center;
    align-items: center;
}

#dark ul {
    list-style-type: none;
}

header {
    grid-area: header;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: solid;
    border-radius: 15px;
    margin: 15px;
    box-shadow: 5px 10px #880808;
    background-color: #FF5F1F;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
}

footer {
    grid-area: footer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: solid;
    border-radius: 15px;
    padding: 15px;
    margin: 15px;
    box-shadow: 5px 10px #880808;
    background-color: #FF5F1F;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
}

nav {
    grid-area: nav;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    border: solid;
    border-radius: 15px;
    margin: 15px;
    padding: 15px;
    box-shadow: 5px 10px #880808;
    background-color: #F4BB44;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
    font-weight: bold;
}

nav ul { 
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: max-content;
}

nav li a {
    display: block;
    color: black;
    text-decoration: none;
}

nav li { 
    padding: 10px;
}

nav a { 
    text-decoration: none; 
}

nav li a.active {
    background-color: #FF6329;
    transition: background-color 800ms ease;
    color: black;
}
  
nav li a:hover:not(.active) {
    background-color: #FF5F1F;
    color: white;
}

main {
    grid-area: main;
    padding: 20px;
}

video {
    display: block;
    margin-top: 15px;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    height: fit-content;
    background-color: #F4BB44;
    box-shadow: 5px 10px #880808;
    border: solid;
    border-radius: 15px;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
}

aside{
    grid-area: aside;
    padding: 10px;
    margin: 15px;
    border: solid;
    border-radius: 15px;
    box-shadow: 5px 10px #880808;
    background-color: #F4BB44;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
    width: fit-content;
    height: fit-content;
}

h2 {
    text-align: center;
    border: solid;
    border-radius: 15px;
    margin: 15px;
    box-shadow: 5px 10px #880808;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
    background-color: #FF5F1F;
}

p {
    border: solid;
    border-radius: 15px;
    margin: 15px;
    padding: 15px;
    box-shadow: 5px 10px #880808;
    transition: background-color 800ms ease;
    transition: box-shadow 800ms ease;
    background-color: #F4BB44;
    font-family: "Century Gothic SemiBold", "Century Gothic Regular", Calibri, Tahoma, Arial, sans-serif;
}

#todays_date p {
    width: fit-content;
}

aside img {
    border: solid;
    border-radius: 15px;
    width: 290px;
}

@media (max-width: 1024px) {
    #wrapper {
        grid-template-columns: auto;
        grid-template-rows: auto;
        grid-template-areas: "dark header todays_date"
                             "nav nav nav"
                             "main main main"
                             "aside aside aside"
                             "footer footer footer";
    }
    nav {
        text-align: center;
        justify-content: center;
    }
    nav li {
        display: inline-block;
    }
    aside {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    #wrapper {
        grid-template-columns: auto;
        grid-template-rows: auto;
        grid-template-areas: "dark todays_date"
                             "header"
                             "nav"   
                             "main"
                             "footer";
    }
    aside {
        display: none;
    }
    video {
        display: none;
    }
    nav {
        padding: 0;
    }
    nav ul {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }
    nav li {
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        padding-left: 1em;
        padding-right: 1em;
    }
}