@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  overflow-x: hidden;
}

.container {
  width: 100vw;
  height: 100vh;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 100vw;
  height: 100%;
  max-height: 10vh;
  background-color: #be3144;
  position: fixed;
}

nav {
  display: flex;
  margin-right: 25px;
}

nav a {
  padding: 20px;
  text-decoration: none;
  font-size: 25px;
  font-weight: 500;
  color: white;
  letter-spacing: 0.6px;
  height: 100%;
  display: block;
}

nav a:hover {
  background-color: #45567d;
}

/* content-1 start */
.content-1 {
  height: 100vh;
  background: linear-gradient(
    90deg,
    rgba(27, 27, 27, 1) 0%,
    #333333 40%,
    rgba(32, 32, 32, 1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content-1 h1 {
  font-size: 60px;
  color: white;
  font-weight: 800;
}

.content-1 p {
  font-style: italic;
  color: #be3144;
  font-size: 35px;
}
/* content-1 end */

/* content-2 start */
.content-2 {
  height: auto;
  background-color: #45567d;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-2 .title {
  color: white;
  border-bottom: 1px solid white;
  font-size: 40px;
  font-weight: bold;
  margin-top: 50px;
  text-align: center;
}

.projectBox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  transition: 1s ease-in-out;
}

.projectBox .project {
  margin-left: 30px;
  cursor: pointer;
}

.project .projectHead {
  margin-top: 30px;
}

.project .project-image {
  width: 400px;
  height: 400px;
  object-fit: cover;
  margin-bottom: 0;
}

.projectBox .projectBody {
  background-color: #303841;
  width: 400px;
  height: 60px;
  color: white;
  text-align: center;
  padding-top: 15px;
  margin-top: -4.5px;
  border: none;
  border-end-end-radius: 5px;
  font-size: 20px;
}

.code {
  color: #303841;
  font-size: 18px;
  transition: color 0.4s ease-out;
}

.projectBody:hover .code {
  color: #ef687a;
}

.content-2 .showBTN {
  background-color: #303841;
  margin-top: 60px;
  margin-bottom: 80px;
  color: white;
  width: 130px;
  text-decoration: none;
  height: 50px;
  font-size: 20px;
  border: none;
  transition: 0.5s ease-out;
  text-align: center;
  padding-top: 10px;
}
.showBTN:hover {
  background-color: #be3144;
}

/* content-2 end */

/* content-3 start*/
.content-3 {
  background-color: #303841;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.content-3 .text {
  margin-top: 20%;
  text-align: center;
  margin-bottom: 20px;
  font-size: 30px;
  letter-spacing: 1.2px;
}

.social {
  display: flex;
}

.social .mediaDiv {
  cursor: pointer;
  margin-top: 30px;
  margin-right: 30px;
  font-size: 25px;
  opacity: 0.8;
  transition: 0.6s ease-in-out;
}

.social .mediaDiv:hover {
  transform: translateY(20px);
}
/* content-3 end*/

/* footer start */
footer {
  background-color: #303841;
  display: flex;
  justify-content: space-around;
  padding: 50px 20px;
  border-top: 4px solid #be3144;
  font-size: 20px;
  color: white;
}

footer a {
  color: white;
  text-decoration: none;
}
/* footer end */

/* media queries start*/
@media (max-width: 768px) {
  .project {
    display: flex;
    flex-direction: column;
    margin-right: 50px;
  }

  .text p {
    margin-top: 20px;
  }
  .social {
    display: flex;
    flex-direction: column;
  }

  .social .mediaDiv:hover {
    transform: translateY(20px);
  }

  footer {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  footer .right {
    margin-top: 20px;
  }
}
/* media queries end*/
