  body {
    margin: 0 auto;
    font-family: Verdana, Geneva, Tahoma, sans-serif, sans-serif;
    background-color: rgb(86, 106, 218);
    width: 100%;
    max-width: 1900px;
    box-sizing: border-box;
  }
    .container {
        display: grid;
        grid-template-areas:
            "banner banner"
            "nav nav"
            "article picture"
            "footer footer";
        grid-gap: 10px;
        padding: 10px;
        padding-bottom: 0;
        min-height:100vh;
        grid-template-rows: 112px 45px 66% 120px;
        
    }

    @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: 20px;
     padding: 5px;
      }

    .nav {
     grid-area: nav; 
    background-color: #e8ff16;
     color: rgb(255, 255, 255); 
     width: 100%;
     }

    .article { 
    grid-area: article; 
    background-color: rgb(255, 230, 0); 
    font-size:  30px;
    height: 640px;
    font-weight: bold;
      border: 1px solid #ccc; 
    overflow: auto; 
    color: white;
    -webkit-text-stroke: #000000 4px;
    paint-order: stroke fill;
    text-align: center;
    }
    .footer { grid-area: footer; 
    background-color: #4ca5b1; 
    color: white; 
    text-align: center; 
    padding: 10px;
    transform: translateY(60px);

    }
    .greentext {
        color: #00ff00;
    }

    ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #000000;
       width: 100%;

}

li {
  float: left;
  width: 25%;

}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  width: 100%;

}

@keyframes sizeUp {
  from {transform: scale(1);}
  to {transform: scale(1.1);}
}

    @media screen and (max-width: 1000px){
  .container {
    grid-template-areas:
      "banner"
      "nav"
      "article"
      "picture"
      "footer";
    grid-template-rows: auto auto auto auto auto;
    width: 100%;
    padding: 10px;
  }
  .banner {
    height: 100px;
  }

  body{
    width: 100%;
    height: auto;
  }

  .article{
    height: auto;
    width: auto;
  }
  .picture{
    width: auto;
  }

  ul li {
     width: 100%;
      float: none; 
    }
}
 
li a:hover:not(.active) {
  background-color: #696969;
  animation: sizeUp 0.6s ease-out forwards;
}

.active {
  background-color: #00e1ff;
}

.active:hover{
  animation: sizeUp 0.6s ease-out forwards;
}

.picture{
    grid-area: picture; 
    background-color: #00c3ff;
    animation: fadeIn 2s ease-in-out;
}

.image1{
  height: 30%;
  width: 80%;
  margin-left: 5%;
  margin-top: 3%;
}

.image2{ 
  height:20%;
  width: 50%;
  margin-left: 20%;
  margin-top: 20%;
}

