* {
  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;
}

/* portfolio  */

.top-page {
  text-align: center;
  background-color: rgba(0, 34, 98);
  height: 200px;
  padding: 3% 0;
}

h1 {
  color: white;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
}

.box {
  height: 0.4rem;
  border-radius: 3px;
  width: 50%;
  margin-left: 25%;
  background-color: white;
}

.portfolio-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 0.5vw;
  grid-row-gap: 0.5vw;
  height: 1000px;
  margin-top: 0.5vw;
  margin-bottom: 0.5vw;
}

.portfolio-section a {
  display: block;
  margin: 0;
}

.image-1 {
  grid-area: 1 / 1 / 2 / 2;
  background-color: #3d91cc;
  background-image: url(../images/port-1.png);
  background-size: 400px;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 2px;
}

/* h2::before {
  visibility: hidden;
}

.div1 :hover h2 {
  visibility: visible;
} */

.image-1:hover {
  background-color: rgb(139, 0, 219);
  cursor: pointer;
  transition: ease-in-out 0.2s;
}

.image-2 {
  grid-area: 1 / 2 / 2 / 3;
  background-image: url(../images/port-4.png);
  background-color: #7ea6f7;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 2px;
}

.image-2:hover {
  background-color: rgb(255, 188, 33);
  cursor: pointer;
  transition: ease-in-out 0.2s;
}

.image-3 {
  grid-area: 1 / 3 / 2 / 4;

  background-image: url(../images/port-2.png);
  background-color: #3d91cc;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 2px;
}

.image-3:hover {
  background-color: rgb(4, 181, 21);
  cursor: pointer;
  transition: ease-in-out 0.2s;
}
.project-1 {
  grid-area: 2 / 1 / 3 / 2;
  background-color: #3d91cc;
  color: #ffffff;
  text-align: center;
  font-size: 1.7rem;
  padding: 20% 0;
  border-radius: 2px;
}

.project-1:hover {
  background-color: rgb(139, 0, 219);
  cursor: pointer;
  transition: ease-in-out 0.2s;
}

.project-2 {
  grid-area: 2 / 2 / 3 / 3;
  background-color: #7ea6f7;
  color: #ffffff;
  text-align: center;
  font-size: 1.7rem;
  padding: 20% 0;
  border-radius: 2px;
}
.project-2:hover {
  background-color: rgb(255, 188, 33);
  cursor: pointer;
  transition: ease-in-out 0.2s;
}
.project-3 {
  grid-area: 2 / 3 / 3 / 4;
  background-color: #3d91cc;
  color: #ffffff;
  padding: 20% 0;
  text-align: center;
  font-size: 1.7rem;
  border-radius: 2px;
}
.project-3:hover {
  background-color: rgb(4, 181, 21);
  cursor: pointer;
  transition: ease-in-out 0.2s;
}
.image-4 {
  grid-area: 3 / 1 / 4 / 2;
  background-image: url(../images/final-image-final.png);
  background-color: #3d91cc;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 2px;
}

.image-4:hover {
  background-color: rgb(139, 0, 219);
  cursor: pointer;
  transition: ease-in-out 0.2s;
}
.image-5 {
  grid-area: 3 / 2 / 4 / 3;
  background-image: url(../images/port-3.png);
  background-color: #7ea6f7;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 2px;
}

.image-5:hover {
  background-color: rgb(255, 188, 33);
  cursor: pointer;
  transition: ease-in-out 0.2s;
}
.image-6 {
  grid-area: 3 / 3 / 4 / 4;
  background-color: #3d91cc;
  background-image: url(../images/Free_Playing_Cards_Mockup_7.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 2px;
}

.image-6:hover {
  background-color: rgb(4, 181, 21);
  cursor: pointer;
  transition: ease-in-out 0.2s;
}

.pdf-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #202a5d;
  margin: 50px;
}

.btn {
  background-color: #202a5d;
  color: white;
  text-align: center;
  height: 50px;
  width: 20%;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
  border-radius: 2px;
  border-style: none;
}

.btn:hover {
  background-color: #3d91cc;
  transition: all 0.2s ease-in-out;
}

/* 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 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: 750px) {
  nav {
    display: block;
    height: 70vw;
  }

  .portfolio-section {
    display: block;
  }

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

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

  .image-6 {
    padding: 0 20px;
  }

  .image-1,
  .image-2,
  .image-3,
  .image-4,
  .image-6,
  .image-5 {
    height: 50%;
  }

  /* .div2 p,
  .div4 p,
  .div5 p {
    padding: 40px;
  } */

  .pdf-section {
    display: block;
    /* height: 90vw; */
  }

  .btn {
    display: block;
  }

  footer {
    display: block;
  }
}
