body{
    font-family: Arial, sans-serif; 
    margin: 0;
}

/* Grid-Layout */
#container {
    display: grid;
    width: 100%;
    grid-template-columns: 200px auto;
    grid-template-rows: 100px auto 100px;
    grid-template-areas: 
        "header header"
        "nav main"
        "footer footer";
    gap: 15px;
    min-height: 100vh;
    background-color: #1a1a1a;
}

/* Header */
header {
    grid-area: header;
    background-color: #0d0d0d;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 3px solid #333;
}

/* Navigation */
#logo{
    display: inline-block;
    max-width: 90px;
    margin-top: 10px;
    margin-left: 50px;
    margin-bottom: 0;
}
#title {
    display: inline-block;
    text-transform: uppercase; 
    font-size: 100px;
    margin: 0px auto;
    color: #ffcc00;
    font-family: "Tiny5";
}
/* Navigation */
nav {
    grid-area: nav;
    background-color: #111;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-right: 3px solid #333;
}

nav a {
    color: #ffaa00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, 

}

nav a:hover {
    color: #ffcc00;
    background-color: #222;
    border-radius: 5px;
    padding: 4px;
}
/* Listen */
ul {
    padding-left: 0px;
}
li {
    list-style: none;
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 15px;
}

li a {
    color: #fff;
    font-weight: bold;
}

li a:hover {
    color: #ffcc00;
    background-color: #222;
    border-radius: 5px;
    padding: 4px;
}

.Consoles{
    font-size: 25px;
    margin: 0;
    margin-top: 15px;
}
details{
    margin-bottom: 30px;
}
summary{
    font-family: "tiny5", sans-serif;
    color: #ffcc00;
}
/* Main Content */
main {
    grid-area: main;
    background-color: #1a1a1a;
    font-family: "tiny5", sans-serif;
    text-align: center;
    padding: 30px;
    color: white;
}

main h1, main h2 {
    color: #ffcc00;
    margin-bottom: 20px;
}

/* Text */
p {
    font-family: sans-serif;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* Links */
a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #ffaa00;
    text-decoration: underline;
}

/* Bilder */
img {
    width: 300px;
    height: auto;
    margin: 15px;
    border-radius: 8px;
    transition: transform 0.3s;
}

img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    grid-area: footer;
    background-color: #222;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-top: 3px solid #333;
}

/* Kästen für Spiele (optional, falls du sie hinzufügen möchtest) */
.GameTitle {
    border: 2px solid #333;   
    padding: 20px;             
    margin: 25px 0;           
    border-radius: 12px;        
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    background-color: #2a2a2a; 
    color: #ffcc00;
}

.GameTitle:hover {
    transform: translateY(-5px);
    box-shadow: 4px 6px 12px rgba(0,0,0,0.5);
}


.buttonTetris, .buttonZelda, .buttonMK64 {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #ffcc00;
    color: #000;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}

.buttonTetris:hover,
.buttonZelda:hover,
.buttonMK64:hover {
    background-color: #ffaa00;
    transform: scale(1.05);
}


main p {
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: repeat(3, 200px);
  gap: 10px;
  width: 1200px;
  font-weight: bold;
  margin: 0px auto;
}



#item1 {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}
/* Footer */
#footer {
    grid-area: footer;
    background-color: #222;
    color: #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    border-top: 3px solid #333;
    padding: 0cm;
    color: #ffaa00;
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}
.footerinhalt {
    color: #ffaa00;
    font-weight: normal;
    font-family: "tiny5", sans-serif;
    text-decoration: none;
    margin: 0;
}

a.footerinhalt:hover{
    text-decoration: underline;
}
@media (max-width: 900px) {

  #title{
    font-size: 70px;
  }

}


@media (max-width: 680px) {
    #title{
        font-size: 60px;
    }

        #container{
        grid-template-columns: auto;
        grid-template-rows: 150px auto auto 150px;
        grid-template-areas:    "header"
                                "nav"
                                "main"
                                "footer";
    }
    header{
        grid-area: header;
    }
    #Logo{
        margin-left: 20px !important;
    }
    #title{
        font-size: 45px;
    }
    nav {
        grid-area: nav;
    }
    #nav li{
        font-size: 35px;

    }
    #nav summary{
        font-size: 30px;
    }
    main{
        grid-area: main;
    }
    footer{
        grid-area: footer;
    }
}


