  body {
    margin: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif, sans-serif;
    background-color: rgb(128, 128, 128);
    width: 100%;
    box-sizing: border-box;
    min-height: 100vh;
    overflow-x: hidden;
  }
    .container {
        display: grid;
        grid-template-areas:
            "banner banner"
            "nav nav"
            "picture article"
            "footer footer";
        grid-gap: 10px;
        padding: 10px;
        padding-bottom: 0;
        min-height: 100vh;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto 1fr auto;
        
    }

    @keyframes fadeIn{
        from {opacity: 0; transform: translateY(-20px) scale(0.8, 0.8);}
        to {opacity: 1; transform: translateY(0) scale(1, 1);}
    }

    .fadeIn{
        animation: fadeIn 1s ease-out;
    }

    .banner { 
      grid-area: banner; 
    background-color: #000000; color: white; 
    text-align: center;
    font-size: 1.25rem;
     padding: 5px;
      }

    .banner img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    .nav {
     grid-area: nav; 
    background-color: #e8ff16;
     color: rgb(255, 255, 255); 
     width: 100%;
     opacity: 1;
     }

    .picture { 
      grid-area: picture; 
    background-color: transparent; 
    text-align: center;
    border-radius: 10px;
    margin-top: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .picture img, .picture video {
      width: 100%;
      max-width: 100%;
      height: auto;
      object-fit: contain;
      display: block;
      margin: 0 auto;
    }

    .article { 
    grid-area: article; 
    background-color: rgb(73, 73, 73); 
    font-size: 1.5rem;
    min-height: auto;
    font-weight: bold;
      border: 1px solid #ccc; 
    overflow: auto; 
    color: white;
    -webkit-text-stroke: #000000 4px;
    paint-order: stroke fill;
    text-align: center;
    border-radius: 10px;
    margin-top: 2%;
    }
    .footer {
       grid-area: footer; 
    background-color: #4d4d4d; 
    color: white; 
    text-align: center; 
    padding: 10px;
    text-align: center;
    font-size: 30px;
    }
    .greentext {
        color: #00ff00;
    }

    ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #353535;
       width: 100%;

}

li {
  float: left;
  width: 25%;

}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  width: 100%;

}

/* Mobile layout */
@media screen and (max-width: 1000px) {
  body {
    overflow: auto;
  }
  .container {
    grid-template-areas:
      "banner"
      "nav"
      "picture"
      "article"
      "footer";
    grid-template-rows: auto auto auto auto auto;
    width: 100%;
    grid-template-columns: 1fr;
    grid-gap: 6px;
    padding: 6px;
    min-height: auto;
  }
  .banner {
    height: auto;
  }

  .article {
    height: auto;
    width: 100%;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 12px;
  }
  .picture {
    width: 100%;
    height: auto;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .introex {
    width: 100%;
    height: auto;
  }

  .nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  ul li {
    width: 100%;
    float: none;
  }

  li a {
    padding: 12px 10px;
  }
}
 
li a:hover:not(.active) {
  background-color: #696969;
  animation: sizeUp 0.6s ease-out forwards;
}

.active {
  background-color: #b4b4b4;
}

.active:hover{
  animation: sizeUp 0.6s ease-out forwards;
}

.picture{
    grid-area: picture; 
    background-color: transparent;
    animation: fadeIn 2s ease-in-out;
    margin-top: 2%;
}

.image1{
  height: 30%;
  width: 80%;
  margin-left: 5%;
  margin-top: 3%;
}

.image2{ 
  height:20%;
  width: 50%;
  margin-left: 20%;
  margin-top: 20%;
}

