/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root {
    --bright-red: #E02021;
    --crimson-red: #660202;
    --white: #fff;
    --black: #000;

    --main-font: "Bangers", Impact, sans-serif;
    --body-font: "Patrick Hand", fantasy, sans-serif;
}

body {
    background-color: var(--crimson-red);
    width: 100vw;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-around;
    padding-top: 1rem;
}

header,
main,
footer {
    background-color: var(--bright-red);
    width: 90vw;
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--body-font);
    border: 3px solid var(--black);
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

h1 {
    font-size: 3.6rem;
    font-family: var(--main-font);
    font-weight: bold;
    -webkit-text-stroke: 1px var(--white);
    align-self: center;
    margin-top: 6px;
}

nav ul {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 6px;
}

nav a {
    text-decoration: none;
    color: var(--black);
}

nav a:hover {
    color: var(--white);
}

#mainside-left {
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.6rem;
    height: 9rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#mainside-left img {
    width: 96%;
    min-width: 100px;
    height: auto;
}

#mainside-left p {
    grid-row: 2/3;
    grid-column: 1/-1;
}

h2 {
    font-size: 2.4rem;
}

section {
    background-color: var(--white);
    border: 3px solid var(--black);
    margin: 1rem;
    padding: 1rem;
    font-size: 1.2rem;
}

@media screen and (min-width:475px) {
    #mainside-left {
        grid-template-columns: 25% 1fr;
    }

    #mainside-left img {
        grid-row: 1/-1;
        grid-column: 1/2;
    }

    #mainside-left p {
        grid-row: 2/3;
        grid-column: 2/3;
    }
}

@media screen and (min-width:700px) {
    body {
        padding-top: 2rem;
    }

    h1 {
        font-size: 5rem;
    }

    main {
        display: grid;
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: 25% 1fr 25%;
    }

    #mainside-left {
        grid-row: 1/-1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
    }

    #mainside-left img {
        width: 96%;
    }

    #mainside-right {
        grid-row: 1/-1;
        grid-column: 3/4;
    }
}

@media screen and (min-width:1200px) {
    body {
        padding-top: 3rem;
    }
}