* {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
    margin: 0;
}

img, picture, video, canvas, svg {
    max-width: 100%;
    display: block;
}

input, button, textarea, select {
    font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Site design elements */
body {
    min-height: 100vh;
    scroll-behavior: smooth;
    line-height: 2.2em;
    font-family: "Open Sans";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header input {
    display: none;
}
  
header .hamburger {
    padding: 1rem 1rem;
    display: inline-block;
    width: 1.2em;
    height: 1em;
    cursor: pointer;
    user-select: none;
}
  
header .hamburger .hamburger-bar {
    width: 1.2em;
    height: 0.2em;
    background-color: white;
    display: block;
    border-radius: 0.2em;
    transition: all 0.4s ease-in-out;
    position: relative;
}
  
header .hamburger .bar1 {
    top: 0;
}
  
header .hamburger .bar2 {
    top: 0.2em;
}
  
header .hamburger .bar3 {
    top: 0.4em;
}
  
header .menu-toggle:checked + label > .bar1 {  
    width: 1.6em;
    transform: rotate(45deg) translate(0.15em, 0.4em);
}
  
header .menu-toggle:checked + label > .bar2 {  
    opacity: 0;
}
  
header .menu-toggle:checked + label > .bar3 {  
    width: 1.6em;
    transform: rotate(-45deg) translate(0.15em,-0.4em);
}
  
header nav {
    width: 90%;
    display: none;
    padding: 0.5em 0;
}
  
header .menu-toggle:checked ~ nav {
    display: block;
}
  
header nav ul {
    padding: 0;
    list-style: none;
    line-height: 1.5;
}
  
header nav ul li {
    padding: 0 1em;
    position: relative;
}
  
header a {
    color: black;
    text-decoration: none;
}
  
header nav a:hover {
    color: rgb(103, 103, 232);
}
  
header nav ul ul {
    display: none;
    padding-left: 0.5em;
}
  
header nav ul li:hover > ul {
    display: inherit;
}
  

@media (min-width: 42em) {
    header .hamburger {
        display: none;
    }
  
    header nav {
        width: auto;
        display: block;
    }
  
    header nav ul {        
        display: flex;
    }
  
    header nav ul li {
        display: inline-block;
        padding: 0 1em;
    }
  
    header nav ul ul {
        padding: 0.5em 1em 0 1em;
        position: absolute;
        display: none;
    }
  
    header nav ul ul li {
        line-height: 1.5;
        padding: 0;
        white-space: nowrap;
    }
  
    header nav ul li:hover > ul {
        display: flex;
        flex-direction: column;
        translate: -1em;
    }
}