* {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: black;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#wrapper {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-areas:
        "banner"
        "menu"
        "content"
        "base";
    grid-template-columns: 1fr;
    grid-template-rows: minmax(150px, auto) minmax(100px, auto) minmax(580px, auto) minmax(200px, auto);
}

header {
    width: 100%;
    background-color: lavender;
    grid-area: banner;
    display: grid;
    grid-template-areas: "logol h1 logor";
    grid-template-rows: 1fr;
    grid-template-columns: 20% 60% 20%;
    padding: 0.3em;
    margin: 0em;
}

#logol {
    grid-area: logol;
}

header h1 {
    font-size: 105pt;
    -webkit-text-fill-color: blueviolet;
    -webkit-text-stroke-width: 0.1px;
    -webkit-text-stroke-color: black;
    font-family: 'old english text mt', 'castellar', 'Arial Narrow', Arial, sans-serif;
    justify-self: center;
    padding: 0rem 0.3rem 0.3rem 0.3rem;
    margin: 0.3rem;
}

#logor {
    grid-area: logor;
    float: right;
}

nav {
    background-color: lavender;
    grid-area: menu;
    padding: 1rem;
    margin: 0rem;
}

nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
}

nav a {
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-size: 25pt;
    font-weight: bold;
    color: rgb(53, 4, 99);
    text-decoration: none;
    display: block;
    padding: 1rem;
}

nav a:hover {
    background-color: silver;
}

main {
    max-width: 1920px;
    min-height: 580px;
    background-color: lavender;
    grid-area: content;
}

/*Main-index*/
#main-index {

    display: grid;
    grid-template-areas:
        "heading2"
        "article1"
        "heading3"
        "article2";
    grid-template-columns: 1fr;
    grid-template-rows:  40px 1fr 40px 1fr;
    margin: 0;
    padding: 1rem;
}

#main-index h2 {
    background-color: blueviolet;
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-size: 35px;
    font-weight: bold;
    grid-area: heading2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

section#new-release {
    background-color: #fae6e6;
    grid-area: article1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem 0 0 0;
}

section#new-release {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem;
}

section#new-release section {
    width: 250px;
    height: minmax(300px, auto);
    margin: 1em;
}

section#new-release p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16pt;
}

#main-index h3 {
    background-color: blueviolet;
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-size: 35px;
    font-weight: bold;
    grid-area: heading3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#popular {
    background-color: #fafae6;

    grid-area: article2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem 0 0 0;
}

section#popular {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem;
}

section#popular section {
    width: 250px;
    height: minmax(300px, auto);
    margin: 1em;
}

section#popular p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16pt;
}

/*main-about*/
#main-about {
    display: grid;
    grid-template-areas:
        "heading1 heading1"
        "heading2 heading2";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 40px 40px 1fr;
    margin: 0;
    padding: 1rem;
}

#main-about h2 {
    
    background-color: blueviolet;
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-size: 35px;
    font-weight: bold;
    grid-area: heading1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#main-about h3 {
    background-color: #fae6e6;
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-size: 35px;
    font-weight: bold;
    grid-area: heading2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#main-about h4 {
    background-color: blueviolet;
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-size: 35px;
    font-weight: bold;
    min-height: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 0.5em;
    margin: 1em 1em 1em 1em;
}

#main-about h5 {
    background-color: blueviolet;
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-size: 35px;
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    margin: 1em 1em 1em 1em;
}

#main-about p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    grid-area: about;
    display: flex;
    flex-wrap: wrap;
    padding: 0 2em 0.5em 2em;
}

/*main-reviews*/
#main-reviews {

    display: grid;
    grid-template-areas:
        "heading2"
        "article";
    grid-template-columns: 1fr;
    grid-template-rows:  40px 1fr;
    margin: 0;
    padding: 1rem;
}
#main-reviews h2 {
    background-color: blueviolet;
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-size: 35px;
    font-weight: bold;
    grid-area: heading2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#reviews {
    background-color: #fae6e6;

    grid-area: article;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem 0 0 0;
}

section#reviews {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem;
}

section#reviews section {
    width: 250px;
    height: minmax(300px, auto);
    margin: 1em;
}

section#reviews p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16pt;
}

/*main-news*/
#main-news {
    display: grid;
    grid-template-areas:
        "heading2"
        "article1";
    grid-template-columns: 1fr;
    grid-template-rows: 40px minmax(300px, auto);
    margin: 0;
    padding: 1rem;
}

#main-news h2 {
    background-color: blueviolet;
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-size: 35px;
    font-weight: bold;
    grid-area: heading2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

section#news {
    background-color: #fae6e6;
    grid-area: article1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem 0 0 0;
}

section#news {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem;
}

section#news section {
    width: 250px;
    height: minmax(300px, auto);
    margin: 1em;
}

section#news p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15pt;
}

#news h3, h4, h5, h6 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15pt;
}

#news h3, h5, h6 {
    padding-bottom: 2rem;
}

#section1 {
    background-color: blue;
}

/*main-contact*/

#dragonr {
    float: right;
}

#main-contact form {
    place-items: center;

}

#main-contact form fieldset {
    background-color: #fae6e6 ;
    display: grid;
    grid-template-columns: 1fr 2fr;
    width: 60%;
    align-items: center;
    margin: 1rem;
}

#main-contact form fieldset input,
textarea {
    width: 80%;
    padding: 0.5rem;
    margin: 0.5rem;
}

form fieldset label,
legend {
    color: rgb(53, 4, 99);
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
}

form fieldset label {
    justify-self: center;
}

fieldset legend {
    font-size: 18pt;
}

#submit {
    background-color: #fafae6;
    display: block;
    width: 20px;
    margin: 0 auto;
    justify-self: right;
}

footer {
    background-color: lavender;

    width: 100%;
    grid-area: base;
    display: grid;
    grid-template-areas: "menu policy policy social";
    grid-template-columns: 1fr 1fr 1fr 5%;
}

footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer menu a {
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
    text-decoration: none;
    font-size: 15pt;
    display: block;
    width: 30%;
    color: black;
    padding: 0 0 0 1em;
}

footer policies h1 {
    font-size: 15pt;
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
}

footer policies a {
    grid-area: policy;
    font-size: 12pt;
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
    text-decoration: none;
    display: block;
    width: 50%;
    padding: 0;
}

footer ul li a:hover {
    background-color: silver;
    color: black;
}

#social {
    float: right;
}

#main-error {
    
    grid-template-areas:
        "heading2"
        "video"
        "text";
    grid-template-columns: 1fr;
    grid-template-rows: 60px minmax(300px, auto);
    margin: 0;
    padding: 1rem;
}

#main-error h2 {
    background-color: blueviolet;
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-size: 50px;
    font-weight: bold;
    grid-area: heading2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

#main-error video {
    grid-area: video;
    display: block;
    margin: 0 auto;
}

#main-error p1, p2, a {
    font-family: 'castellar', 'Arial Narrow', Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    grid-area: text;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	
}

#main-error p2, a {
	margin: 0 0 1em 0
}		



@media screen and (max-width: 1380px) {
    header h1 {
        font-size: 70pt;
    }
}

@media screen and (max-width: 930px) {
    header h1 {
        font-size: 60pt;
    }
}

@media screen and (max-width: 820px) {
    header h1 {
        font-size: 50pt;
    }
}

@media screen and (max-width: 820px) {
    #main-about h2 {
        font-size: 25px;   
    }
}

@media screen and (max-width: 820px) {
    #main-about h3 {
        font-size: 25px;   
    }
}

@media screen and (max-width: 600px) {
    #main-about h3 {
        font-size: 20px;   
    }
}