* {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: black;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #262521;
    padding: 1%;
    background-size: cover;
    background-position: center;
}

#wrapper{
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-areas: 
        "banner"
        "menu"
        "content"
        "footer";
    grid-template-columns: 1fr;
    grid-template-rows: 150px 80px auto auto;
    background-color: #262521; 
    padding: 10px;
}

header{
    background-color: #1c1818;
    grid-area: banner;
    display: grid;
    grid-template-areas: "logo company";
    grid-template-columns: 250px 500px;
    grid-template-rows: 1fr;
    padding: 1%;
}


#logo{
    grid-area: logo;
    background-image: url(../images/logo.jpg);
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

header h1{
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    grid-area: company;
    font-size: 60px;
    text-align: center;
    padding: 6%;
    color: white;
}

h2{
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    color: white;
    display: block;
    padding: 2%;
    text-align: center;
}

h3{
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 350;
    font-style: normal;
    font-size: 25px;
    color: white;
    display: block;
    padding: 1%;
}

p{
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    color: white;
    display: block;
    padding: 2%;
}

nav{
    background-color:#3a2f1c;
    grid-area: menu;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align:center;
    font-size: 30px;
    padding: 1%;
}

nav a{
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;

}
nav ul{
    list-style-type: none;
    display: flex;
    gap: 30px;
}
nav li{
    display:inline;
}
nav a:link{
    text-decoration:none;
    color:white;
}

nav a:hover{
    color:#453922;
}

nav a:visited{
    color: white;
}

#homemain, #storymain, #gamemain, #behindmain {
    background-color: #262521;
    grid-area: content;
    gap: 10px;
    padding: 10px;
}

#charactermain {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

#homemain img{
    width: 700px;
    height:auto;
    display: block;
    margin: 0 auto;
}

#behindmain img{
    width: 700px;
    height:auto;
    display: block;
    margin: 0 auto;
}

.character {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: #fff;
}
  
.character img {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    object-fit: cover;
}
  
.character-info h2 {
    margin-top: 0;
    color: white;
}

.profile {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    background-color: #262521;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    color: white;
}
  
.profile img {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    object-fit: cover;
}
  
.profile h3 {
    margin-top: 0;
    font-size: 24px;
}
  
 .profile p {
    font-size: 18px;
}
  
.quote {
    font-style: italic;
    color: #ccc;
    padding-left: 10px;
    border-left: 4px solid #444;
    margin-top: 10px;
}

ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
}

ul ul {
    list-style-type:circle;
    padding-left: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
}
  
li {
    margin-bottom: 6px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 300;
    font-size: 20px;
    color: white;
}

footer {
    background-color: #453922;
    grid-area: footer;
    display: grid;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 200;
    font-style: normal;
    padding: 1%;
    justify-content: center;
    align-items: center;
    text-align:center;
}

footer a{
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    color: white;
}

footer ul{
    list-style-type: none;
    display: flex;
    gap: 10px;
}

footer li{
    display:inline;
    padding: 20px;
}
footer a:link{
    text-decoration:none;
    color:white;
}

footer a:hover{
    color:#453922;
}

footer a:visited{
    color: white;
}

@media (max-width: 600px) {
    #wrapper {
      max-width: 100%;
      padding: 5px;
      grid-template-areas:
        "banner"
        "menu"
        "content"
        "footer";
      grid-template-columns: 1fr;
      grid-template-rows: 120px auto auto auto;
    }
  
    header {
      grid-template-columns: 150px 1fr;
      padding: 5px;
    }
  
    header h1 {
      font-size: 30px;
      padding: 2%;
      text-align: left;
    }
  
    #logo {
      background-size: contain;
      background-position: center;
    }
  
    nav {
      font-size: 18px;
      padding: 0.5rem;
    }
  
    nav ul {
      flex-direction:column;
      gap: 15px;
      padding: 0;
    }
  
    nav li {
      display: block;
    }
  
    nav a {
      font-size: 18px;
    }
  
    h2 {
      font-size: 22px;
      padding: 1%;
    }
  
    h3 {
      font-size: 18px;
      padding: 0.5%;
    }
  
    p, li {
      font-size: 16px;
      padding: 1%;
    }
  
    #homemain img,
    #behindmain img {
      width: 100%;
      max-width: 100%;
      height: auto;
    }
  
    .character, .profile {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      gap: 10px;
    }
  
    .character img, .profile img {
      max-width: 100%;
      height: auto;
    }
  
    footer {
      font-size: 14px;
      padding: 5px;
    }
  
    footer ul {
      flex-direction: column;
      gap: 5px;
    }
  
    footer li {
      padding: 5px 0;
    }
  }