/* CSS Stylesheet */

/* 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;
}



/* --- --- My style sheet starts here --- --- */

/* ----- LAYOUT ----- */

body {
    margin: 0 auto;
    width:80%;
    max-width: 76vw;
    font-size: 1em;
    line-height: 1.5;
    font-family: 'Quicksand', Arial, Courier, Verdana, sans-serif;
    font-weight: 400;
    color: #b6bbcf;
    background-color: #0b1333;
}

.wrapper {
    background-color: #0b1333;
}

header {
    margin: 2em auto 0; /*top|horizontal|bottom*/
    text-align: center;
}

main {
    margin-bottom: 2em;
}

p {
    margin-top: 1em;
    padding-right: .5em;
    padding-left: .5em;
}

footer {
    padding: 1.2em 0 1em .5em;
    border-top: 1px solid #a9b0c9;
    opacity: .6;
}

/* ----- NAVIGATION ----- */

nav {
    margin-top: .5em;
}

a {
    text-decoration:underline;
    color: #a9b0c9;
    font-weight: 400; /*Otherwise will look bold*/
}

ul {
    margin-top: 1.2em;
    padding-top: 1.2em;
    padding-bottom: 1.2em;
    border-bottom: 1px solid #fcc912;
}

ul li {
    padding-bottom: .1em;
    text-align: center;
    font-weight: 500;
    color:#e4e5eb;
}

li:first-child {
    color: #fcc912;
}

/* ----- TYPOGRAPHY -----> four fonts were chosen because one, Rochester, will be just for the word "Little" as it is the main adjective for the prince ----- */

ul {
    font-size: calc(1em + .1vw);
}

header h1, p strong, cite {
    font-family: "Arima Madurai", "Snell Roundhan", "Apple Chancery", "Brush Script MT", cursive; /* quote marks in every single font family names, including the ones that are not google fonts, were suggested by W3C validator */
}

header h1 {
    font-size: 3em;
    font-size: calc(3em + .8vw);
    color: #fcc912;
}

h1 strong {
    font-family: "Rochester", "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive;
    font-size: 2.8em;
    font-size: calc(2.8em + .8vw);
    display: block;
    margin-top: -.5em;
    margin-bottom: -.3em;
}

header p, main h1 {
    font-family: 'Lato', Arial, Courier, Verdana, sans-serif;
    text-transform: uppercase;
    color:#e4e5eb;
}

header p {
    font-size: 1.3em;
}

main h1 {
    font-size: 2em;
    text-align: center;
    margin-top: 1.2em;
}

aside p {
    margin-top: 1.5em;
}

aside p:first-of-type:first-letter {
    font-weight: 500;
    font-size: 1.8em;
    color:#e4e5eb
}

p strong, cite {
    font-weight: 500;
    font-size: 1.5em;
    display: block;
    margin-left: .5em;
}

cite {
    padding-top: 1em;
    padding-left: .5em;
}

cite + p {
    margin-top: .2em;
    margin-left: .8em;
    font-size: 1em;
}

#author {
    font-size: .6em;
    font-size: calc(.6em + .5vw);
    padding-top: 2em;
    color:#e4e5eb;
}

#author a {
    text-decoration: none;
    color:#e4e5eb;
}

/* ----- /\/\ MEDIA QUERIES \/\/ ----- */

@media (min-width:480px) {
    ul {
        display: flex;
    }

    li {
        flex: 1;
        padding-right: .2em;
    }
}

@media (min-width:850px) {
    body {
        width: 90%;
    } /*this width percentage makes the information look nicer*/

    .wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        column-gap: .8em;
    } /*Grid Area: row-start/column-start/row-end/column-end*/

    header {
        grid-area: 1/1/3/2;
    }

    header h1 {
        font-size: 4em;
    }

    header p {
        margin-top: 2em;
    }

    aside {
        grid-area: 3/1/5/2;
    }

    main {
        grid-area: 1/2/5/3;
        margin-top: 1.8em; /* 30/16 = 1.8 */
    }

    p strong {
        margin-left: 1.5em;
    }

}

@media (min-width:1100px) {
    body {
        font-size: calc(1.1em + .03vw);
    }

    .wrapper {
        display:grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
    }

    header {
        grid-area: 1/1/3/4;
    }

    header h1 {
        margin-top: .8em;
    }

    h1 strong {
        font-size: 5em;
    }

    header p {
        margin-top: 1.3em;
        margin-bottom: 1.7em;
        padding-top: 1.3em;
    }

   main {
        width: 90%;
        margin: 2em auto;
    }

    .wrapper main {
        grid-area: 3/2/5/4;
        column-count: 2;
        column-gap:2.5em;
        margin-top:0;
    }

    aside p:first-of-type {
        margin-top: -14px;
    }

    .wrapper main p:first-of-type {
        margin-top: 0;
    } /*Second column will be aligned to the first one*/
}
