html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin:0px;
    color:#202020;
}

h1 {
    font-size: 2em;
    font-family: 'Raleway', sans-serif;
    margin:0;
}

h2 {
    font-size: 1.3em;
    font-family: 'Raleway', sans-serif;
    margin-block-start: 0.85em;
    margin-block-end: 0.25em;
}

p {
    text-align: left;
    font-size: 1em;
}

small {
    font-size: 0.9em;
    text-align: left;
}

blockquote {
    letter-spacing: 1px;
    font-size: 1em;
    clear:both;
    margin: 0;
    padding: 24px 24px 8px 24px;
    color: #fff;
    border-bottom: 4px #E82121 solid;
    background-color: #202020;
    margin-block-end: 1em;
}

figure {
    margin:auto;
    display:block;
    width:100%;
    position:relative;
}

figure img {
    margin:auto;
    max-width:100%;
    display:block;
}

figcaption {
    padding: 0.5em 0.5em 0.5em 0.5em; 
    font-size: 0.8em;
    background-color:#E82121;
    color: #fff;
    letter-spacing: 0.05em;
    border-bottom: 4px solid #202020;
    clear:both;
}

figcaption a:hover {
    color:#fff;
    text-decoration: underline;
}

section {
    margin-block-end:1em;
    clear:both;
    padding: 0px 8px 0px 8px;
    max-width: 425px;
    min-width: 360px;
    margin:auto;    
}

main{
    margin:auto;
}   

footer {
    background-color:#202020;
    color:#fff;
    width:100%;
    margin:0px;
    border-bottom: 4px solid #E82121;
    padding-top:1em;
    clear:both;
}

footer p {
    margin:0px;
    font-size:0.75em;
}

footer a {
    margin:auto;
}

strong {
    font-weight: normal;
}

header {
    border-bottom: 4px solid #E82121;
    padding: 8px 0px 8px 0px;
}

a {
    color:#fff;
    text-decoration: none;
}

a:visited {
    color:#fff;
    text-decoration: none;
}

a:hover{
    color:#E82121;
    transition: 0.5s
}
nav {
    margin:auto;
    display:flex;
    max-width: 425px;
    height:3em;
    align-items: center;
    justify-content: space-between;     
}

nav a {
    width:33%;
    font-size:0.9em;
    text-align:center;
    color:#E82121;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    height:inherit;
    display:flex;
    align-items: center;
    justify-content: center;
}

nav a:visited {
    color:#E82121;
}

nav a:hover {
    color:#fff;
    text-decoration:underline;
    background-color:#E82121;
}

.author-quote {
    text-align: right;
    width:100%;
    margin-block-start: 1em;
    margin-block-end: 1em;
    display: block;
}

.author-photo {
    width: 55%;
    margin:auto;
    display:block;
    margin-left:35%;
    z-index: -1;
}

.author-name {
    padding:4px 8px 4px 8px;
    position: absolute;
    width:50%;
    bottom:0;
    background-color:#E82121;
    color:#fff;
    border-bottom: 4px solid #202020;
    bottom:8px;
}

.author-name h2 {
    margin:0px;
}

.heading-background {
    background-color: #202020;
    color:#fff; 
    width:inherit;
    margin:auto;
    padding: 16px 0px 16px 0px;
    margin-bottom: 1em;
}

.container {
    display:block;
    min-width:360px;
    max-width:425px;
    margin:auto;
    padding-left: 8px;
    padding-right: 8px;    
}

.spacer {
    width:100%;
    height:100px;
}

.spacer-2 {
    width:100%;
    height:80px;
}

.logo {
    display:block;
    width:56px;
    margin:auto;
}

.copyright {
    width:100%;
    margin:auto;
    text-align:center;
    clear:both;
    margin: 0.5em 0em 0.5em 0em;
}

.footer-logo {
    height:36px;
    transition: 0.5s
}

.footer-logo:hover {
    opacity:0.4;

}

.footer-logo-container {
    width:50%;
    float:left;
    margin-bottom:0.5em;
}

.footer-logo-container a{
    width:fit-content;
    display:block;
}

.triangle {
    height: 100px;
    width: 100px;
    clip-path: polygon(0 0, 100% 0, 27% 73%, 0 48%);
    background-color: #E82121;
    float: left;
    margin-left: -40px;
    margin-right: -50px;
}

.circle {
    width: 150px;
    height: 150px;
    background: #E82121;
    border-radius: 50%
}

.rectangle {
    width: 200px;
    height: 100px;
    background: #202020;
    float:left;
    position:relative;
    top:0;
}

.line {
    width: 10px;
    height: 2px;
    border-top: 80px solid #E82121;
    transform: rotate(45deg);
    margin-right: -10px;
    margin-left: 30px;
    margin-bottom: -30px;
    float: left;
    display: block;
}

.black {
    width: 10px;
    height: 2px;
    border-top: 80px solid #202020;
    transform: rotate(45deg);
    margin-right: -10px;
    margin-left: 30px;
    margin-bottom: -30px;
    float: left;
    display: block;
}

.underline {
    height:4px;
    background-color:#E82121;
    width:7em;
    margin-top:0.5em;
    margin-bottom:0em;
}

.flip-x {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.flip-y {
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
}

.shapes {
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 80px;
    display: block; 
}

.round-button {
    background-color: #202020;
    width:32px;
    height:32px;
    border-radius: 50%;;
    float:right;
    display:block;
    margin-bottom:20px;
    margin-right:8px;
    position:fixed;
    bottom:0;
    right:0;
    opacity: 0.5;
}

.round-button img {
    width:30px;
}

.two-images img {
    width:50%;
    display:block;
    float:left;
}
