/* 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;
}

/* End of CSS Reset */

/* Mobile */
body {
    background-color: rgb(11, 6, 36);
    color: rgb(184, 175, 196);
}

#open-nav {
    display: block;
    font-size: 30px;
    margin-left: 30px;
}

nav {
    display: none;
    margin-left: 30px;
    flex-direction: column;
}

nav a {
    font-size: 25px;
    margin: 10px 0;
    text-decoration: none;
    color: red;
}

main {
    display: grid;
    grid-template-columns: 100%;
    margin: 0 15px;
}

h2 {
    width: 100%;
    text-align: center;
    font-size: 25px;
    margin-bottom: 15px;
    color: red;
}

p {
    font-size: 18px;
    line-height: 25px;
}

img {
    width: 100%;
    display: none;
}

section {
    margin: 15px 5px;
}

h1 {
    text-align: center;
    font-size: 50px;
    color: red;
    margin-top: 25px;
}

@media screen and (min-width: 600px) and (max-width: 1199px) {
    #open-nav {
        display: none;
    }

    nav {
        display: flex;
        width: 100%;
        justify-content: space-around;
        font-size: 25px;
        margin-bottom: 30px;
        flex-direction: row;
        margin: 30px 0;
    }

    nav a {
        text-decoration: none;
        color: rgb(184, 175, 196);
        width: 25%;
        text-align: center;
        transition: 0.2s;
    }

    nav a:hover {
        background-color: red;
        color: rgb(11, 6, 36);
    }

    main {
        display: grid;
        grid-template-columns: 50% 50%;
        margin: 0 35px;
    }

    p {
        font-size: 20px;
        line-height: 25px;
    }

    h2 {
        width: 100%;
        text-align: center;
        font-size: 25px;
        margin-bottom: 25px;
    }

    section {
        margin: 20px;
    }

    img {
        width: 100%;
        display: block;
    }

    #logo {
        width: 75px;
        margin-left: 48%;
    }
}

@media screen and (min-width: 1200px) {
    #open-nav {
        display: none;
    }

    nav {
        display: flex;
        width: 100%;
        justify-content: space-around;
        font-size: 30px;
        margin: 30px 0;
        flex-direction: row;
    }

    nav a {
        text-decoration: none;
        color: rgb(184, 175, 196);
        width: 25%;
        text-align: center;
        transition: 0.2s;
    }

    nav a:hover {
        background-color: red;
        color: rgb(11, 6, 36);
    }

    main {
        display: grid;
        grid-template-columns: 33% 33% 33%;
        margin: 0 50px;
    }

    p {
        font-size: 22px;
        line-height: 25px;
    }

    h2 {
        width: 100%;
        text-align: center;
        font-size: 25px;
        margin-bottom: 25px;
    }

    section {
        margin: 20px;
    }

    img {
        width: 100%;
        display: block;
    }

    #logo {
        width: 75px;
        margin-left: 48%;
    }
}