:root {
    box-sizing: border-box;
}
*, ::before, ::after {
    box-sizing: inherit;
}
body {
    background-color: rgb(179, 209, 196);
    margin: 0;
}
.title{
    padding-left: 0.3em;
    background-color: #fff;
    margin-bottom: 0;
    margin-top: 0;
}
.title > a{
    text-decoration: none;
    color: black;
}
header{
    margin: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
main{
    margin-top: 5em;
    margin-left: 1rem;
    margin-right: 1em;
}
footer{
    background-color: hsl(0, 27%, 61%);
    position: absolute;
    width: 100%;
}
footer > * {
    margin: 1rem;
    text-align: center;
}
h1{
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}
h2{
    font-size: 1.8em;
}
h3{
    font-size: 1.4em;
}

.menu {
    position: relative;
}
.nav-list{
    text-transform: uppercase;
    display: flex;
    font-size: 1em;
    list-style-type: none;
    align-items: stretch;
    flex-direction: column;
    margin: 0;
    padding: 0.3em;
    background-color: hsl(0, 27%, 61%);
}
.nav-list > li > a{
    display: block;
    text-align: left;
    text-decoration: none;
    color: black;
    font-size: 1em;
    background-color: #fff;
    padding-left: 0.5em;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}
.nav-list > li {
    padding: 0.4em;
    flex: 1;
}
.nav-list > li > a:active{
    background-color: rgb(177, 65, 65);
}
.hamburger-menu {
    position: absolute;
    top: -1.2em;
    right: 0;
    border: 0;
    color: rgb(177, 65, 65);
    background-color: transparent;
    font-size: 3em;
    width: 1em;
    height: 1em;
    line-height: 1;
    text-indent: 5em;
    white-space: nowrap;
    overflow: hidden;
}  
  .hamburger-menu::after {
    position: absolute;
    top: 0.2em;
    left: 0.2em;
    display: block;
    content: "\2261";
    text-indent: 0;
  }
  .dropdown-nav {
    display: none;
    position: absolute;
    right: 0;
    left: 0;
    margin: 0;
  }
  .menu.is-open .dropdown-nav {
    display: block;
  }
  .sources-list{
    font-size: .8em;
  }
  #wrapper{
    max-width: 100%;
  }
  img{
    max-width: 14em;
  }
  .images{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  #editor{
    font-weight: bold;
  }
  .img-caption{
    display: block;
    text-align: center;
  }
  figcaption{
    font-size: 0.8em;
  }
@media (min-width:768px){
    .nav-list{
        flex-direction: row;
    }
    .nav-list > li > a{
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        align-self: stretch;
        text-align: center;
        padding-left: 0;
    }
    .title{
        font-size: 2.2em;
    }
    main{
        margin-top: 10em;
    }
    .hamburger-menu {
        display: none;
    }
    .dropdown-nav {
        display: block;
        position: static;
    }
    .images{
        flex-wrap: nowrap;
    }
    img{
        max-width: 16em;
    }
    .paragraghs{
        font-size: 1.2em;
    }
    figcaption{
        font-size: 1em;
    }

}
@media (min-width: 1024px) {
    .title {
        font-size: 2.6em;
    }
    .section-content {
        display: flex;
    }
    .section-content > .paragraghs, .section-content > p {
        margin: 2em 2em 2em 0em;
        flex: 75%;
    }  
    .images {
        flex: 25%;
        margin: 2em 2em 2em 2em;
        flex-wrap: wrap;
    }
    .nav-list > li > a:hover{
        background-color: rgb(177, 65, 65);
    }
}