* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}

/* nav bar  */
nav {
  background-color: white;
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
}

nav a:hover {
  color: #3d91cc;
}

a {
  text-decoration: none;
  color: #202a5d;
  font-size: 26px;
  margin-left: 100px;
}

nav img {
  width: 150px;
  height: 150px;
  margin-top: 10px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 1vw;
  grid-row-gap: 1vw;
}

.grid-1 {
  grid-area: 1 / 1 / 2 / 2;
  background-color: #3d91cc;
  height: 45vw;
  background-image: url(../images/PNG\ image.PNG),
    linear-gradient(to bottom right, #3d91cc, #202a5d);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.grid-2 {
  grid-area: 1 / 2 / 2 / 3;
  text-align: center;
  padding: 0px 300px;
  font-size: 4rem;
  color: #ffffff;
  background-color: #202a5d;
  display: flex;
  align-items: center;
}
.grid-3 {
  grid-area: 2 / 1 / 3 / 2;

  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  background-image: url(../images/About-me1.PNG),
    linear-gradient(to bottom right, #202a5d, #3d91cc);
}
.grid-4 {
  grid-area: 2 / 2 / 3 / 3;
  font-size: 1.5rem;
  text-align: justify;
  color: #202a5d;
  display: flex;
  align-items: center;
  margin-left: 100px;
  margin-right: 100px;
}
.grid-5 {
  grid-area: 3 / 1 / 4 / 2;
  background-image: linear-gradient(to bottom right, #202a5d, #3d91cc);
  font-size: 1.5rem;
  text-align: justify;
  color: #ffffff;
  display: flex;
  align-items: center;
  padding-left: 100px;
  padding-right: 100px;
}
.grid-6 {
  grid-area: 3 / 2 / 4 / 3;
  background-image: url(../images/About-me2.PNG);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #3d91cc;
}

/* footer  */

footer {
  background-color: rgba(0, 34, 98, 0.9);
  width: 100%;
  height: 250px;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-content {
  color: #ffffff;
  display: block;
}

.copyrights {
  text-align: center;
  margin-top: 10px;
}

/* footer icons and styling  */
footer a {
  color: #ffffff;
  font-size: 3rem;
  margin-left: 5%;
}

.icons {
  text-align: center;
}

footer a:hover {
  color: #3d91cc;
  transition: all 0.2s ease-in-out;
}

@media (max-width: 1400px) {
  nav {
    display: block;
    height: 70vw;
  }

  .grid-container {
    display: block;
  }

  footer {
    display: block;
  }

  .grid-2 {
    display: block;
    text-align: center;
    padding: 0;
  }

  .grid-4 {
    margin: 0 20px;
  }

  .grid-5 {
    padding: 0 20px;
  }

  .grid-3,
  .grid-6 {
    height: 45vw;
  }

  .grid-2 p,
  .grid-4 p,
  .grid-5 p {
    padding: 40px;
  }
}
