.flex-container {
  display: flex;
  flex-wrap: wrap;
  background-color: #210424;
 }

.flex-container > div {
  background-color: #7F00FF;
  width: 250px;
  height: 500px;
  margin: auto;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: 25px;
  font-size: 30px;
  }

.purplewhat {
  text-align: center;
  justify-content: center;
  align-items: center;
}
 .whatweown {
    background-color: black;
  }
  h3 {
    opacity: 0.99;
    background-image: linear-gradient(to right, #22ff00 0%, #d400ff  51%, #22ff00  100%);
            height: px;
            padding: 15px 15px;
            text-align: center;
            text-transform: uppercase;
            transition: 0.5s;
            background-size: 200% auto;
            color: black;            
            box-shadow: 0 0 20px #eee;
            border-radius: 18px;
            display: block;
            text-align: center;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            line-height: 77px;
            font-size: 25px;
 }
 
   h3:hover {
            background-position: right center; /* change the direction of the change here */
            color: #fff;
            text-decoration: none;
          }

    h1 {
      height: 60px;
      width: 100;
   color:  #39ff14;
  background-image: linear-gradient(#1E90ff, #E967A4);
   text-align: center;
      justify-content: center;
    font-size: 55px;
    margin: 0px;
    padding: 2px;
   }
 
   h2 {
   color:   purple;
     background-color: red; /* For browsers that do not support gradients */
  background-image: linear-gradient(#39FF14, #800080);
   text-align: center;
    font-size: 45px;
    height: 55px;
    margin: 7px;
    padding: 2px;
   }

  h4 {
    color: purple;
  }

 
  p {
   color: #000;
   height: 421px;
   font-weight: bold;
   text-align: center;
   font-size: 21px;
    line-height: 27px;
     /* color of background */
   }

 
 * {
  padding: 0;
  margin: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Tahoma, Serif;
  color: #fff;
}

nav {
  display: flex;
  justify-content:space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #000;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  padding-left: 1rem;
}

nav a {
  text-decoration: none;
  color: #0d47a1;
}

 /*
  Extra small devices (phones, 600px and down)
*/
@media only screen and (max-width: 600px) {
  nav {
    flex-direction: column;
  }
  nav ul {
    flex-direction: column;
    padding-top: 0.5rem;
  }
  nav li {
    padding: 0.5rem 0;
  }
  footer {
    height: 200px;
 
    border-style: 2px solid black !important;
   
  }