body {
  margin: 0;
  font-family: comfortaa, cursive;
  transition: all 1s;
  background-color: #0F0438;
  color: white;
}

.contact-dark .form-control {
  color: white;
  background-color: black;
  transition: all 1s;
}

.form-group div>textarea {
  color: black;
  background-color: white;
  transition: all 1s;
}

.submit {
  font-family: comfortaa;
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: .7em;
  position: absolute;
  border: none;

  background-color: #8240e5;

  padding: 10px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: background-color .5s;
}

.form-control {
  border-radius: 8px;
  width: 40vw;
}

@media screen and (min-width: 702px) {
  .grid-container {
    position: relative;
    display: grid;
    justify-content: center;
    grid-template-columns: 450px;
    column-gap: 40px;
    grid-template-rows: auto auto;
  }

  .supergrid-container {

    display: grid;
    justify-content: center;
    grid-template-columns: 500px 500px;
    column-gap: 300px;
    grid-template-rows: auto auto;
  }

  .supergrid-item {
    top: 20px;
    border-radius: 24px 24px 18px 18px;
    position: relative;
    background-color: #2e1489;
      box-shadow: #2a1968 0px 10px 100px;
    text-align: center;
  }
  img{
    position: absolute;
    top: 50px;
    left: 24px;



  }
}


.grid-item {
  border-radius: 24px 24px 18px 18px;
  position: relative;
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 1.2em;
  height: 400px;
}


.border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

}

/*
Styling for grid images.
*/
#snake {
  box-sizing: border-box;
  border-top: 40px;
  background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0.6)), url("/images/Snakegame.png");
  background-position: initial;
  background-repeat: no-repeat;
  background-size: cover;
}
#weather {
  background: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), url("/images/weatherapp.png");
  background-position: initial;
  background-repeat: no-repeat;
  background-size: cover;
}

.grid-item p {
  position: relative;
  top: 20%;
  padding: 10px;
}





.grid-container a {
  font-family: comfortaa;
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: .7em;
  position: absolute;
  border: none;
  border-radius: 4px;
  background-color: #4211F5;

  padding: 10px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: background-color .5s;
}

.grid-container a:hover {
  background-color: rgb(216, 127, 115);
}

.grid-container a:active {
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

.source {
  top: 85%;
  left: 15%;
}

.get {
  top: 85%;
  right: 15%;
}


.main {
  text-align: center;
}

.topnav {
  
  overflow: hidden;
  background-color: #250075;

  
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  background-color: #250075;
  text-align: center;
  padding: 28px 14px;
  text-decoration: none;
  font-size: 17px;
  transition: background-color, color, 0.5s;
}

.topnav a:hover {
  cursor: pointer;
  background-color: #442cca;
  color: rgb(255, 255, 255);
}

.topnav a i {
  font-size: 110%;
}

.topnav a.active {
  background-color: #4211F5;
  border: 1px solid #4211F5;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 701px) {
  .topnav a:not(:first-child) {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }



}


@media screen and (max-width: 701px) {
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

}




.blog-post-title {
  font-size: 2rem;
  text-align: center;
}

.blog-post-subtitle {
  font-size: 1.2;
  text-align: center;

}