/* --- Testing --- */



/* --- Global Typography --- */

html {
    font-size: calc(20px + 2vmin);
    font-family: 'Grotesk';
}
@media screen and (max-width: 1800px) {
    html { font-size: calc(15px + 2vmin); }
}
@media screen and (max-width: 1200px) {
    html { font-size: calc(15px + 2vmin); }
}
@media screen and (max-width: 600px) {
    html { font-size: calc(10px + 3vmin); }
}



/* --- Margins and Reset --- */

html {
    margin: 0;
    padding: 0;
    color: black;
}
body   { margin: 1em; }
figure { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, div {
    font-weight: normal;
    font-family: inherit;    
    font-size: 1em;
    margin: 0;
    padding: 0;
}
p { margin: 1em 0; }
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
input {
    font: inherit;
    background-color: inherit;
    border: 1px solid black;
    border-radius: 0.2em;
    color: #000; /* most browsers */
    -webkit-text-fill-color: #000;
}
input[type="text"],
input[type="email"],
input[type="submit"] {
    padding: 0.1em 0.4em;
}
input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
input[type="submit"]:hover {
    color: white;
    -webkit-text-fill-color: white;
    background-color: black;
    border-color: black;
}
input[type="submit"]:active {
    color: white;
    -webkit-text-fill-color: white;
    background-color: blue;
    border-color: blue;
}




/* --- Links and Buttons Resets --- */

a {
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2.5px;
}
a:active {
    color: white;
    background-color: black !important;
}
button {
    font: inherit;
    background-color: inherit;
    cursor: pointer;
}
a[target="_blank"] { 
    color: blue; 
}




/* --- Type Size Variations --- */

h1, h2,
.index main,
article strong {
    font-family: 'Classic';
    font-size: 2.5rem;
    font-weight: 200;
}

article strong {
    line-height: 0;
}

article {
    max-width: 25em;
}

footer,
figcaption {
    font-size: 0.6rem;
    font-weight: 600;
}

.space {
    margin-top: 40vmin;
}
