html {
    min-width: 1500px;
    margin: auto;
}

body {
    background-color: black;
    color: whitesmoke;
    height: 1000px;
    font-size: 1em;
}

header {
    display: flex;
    justify-content: center;
    font-size: 2rem;
    font-family: 'serif';
    flex-direction: column;
    align-items: center;
}

section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

h1 {
    margin: 20px 0;
}

h2 {
    font-size: 2.4rem;
    font-family: 'serif';
}

h3 {
    font-size: 2rem;
}

p, h4, li {
    font-size: 1.6rem;
}

img {
    margin: 10px;
    display: inline;
}

div {
    display: flex;
}

a {
    color: whitesmoke;
    font-size: 1.3rem;
    padding-top: 14px;
    margin-bottom: 14px;
}

.secondH1 {
    font-size: 2.2rem;
}

@media (min-width: 0) and (max-width: 500px){
    div {flex-direction: column;}
    html {min-width: 400px;}
    h1 {text-align: center; font-size: 1.6rem;}
    h2 {font-size: 1.3rem;}
    h3 {font-size: 1rem; text-align: center;}
    img { height: 150px; width: 320px;}
    p, h4, li {font-size: 1.2rem; text-align: center;}
    header {display: block;}
    ul > li {text-align: left;}
    a {font-size: 1rem;}
    .firstH1 {font-size: 3.3rem; font-style: italic;} 
    .longP {margin: 14px 8px 0 8px;}
    .secondH1 {font-size: 1.7rem;}
}








