* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  scroll-behavior: smooth;
}
body {
  font-family: "PT Sans", sans-serif;
  background-color: #697197;
}
#menu {
  width: 35px;
  height: 30px;
  margin: 30px 0 20px 20px;
  cursor: pointer;
}
.bar {
  height: 5px;
  width: 100%;
  background-color: lightblue;
  display: block;
  border-radius: 5px;
  transition: 0.3s ease;
}
#bar1 {
  transform: translateY(-4px);
}
#bar3 {
  transform: translateY(4px);
}
.nav li a {
  font-family: "Rubik", sans-serif;
  color: #373c56;
  text-decoration: none;
  font-size: 25px;
}
.nav li a:hover {
  font-weight: bold;
}
.nav li {
  list-style: none;
  padding: 16px 0;
}
.nav {
  padding: 0;
  margin: 0 20px;
  transition: 0.3s ease;
  display: none;
}
.menu-bg,
#menu-bar {
  top: 0;
  left: 0;
  position: absolute;
}
.menu-bg {
  z-index: 1;
  width: 0;
  height: 0;
  margin: 30px 0 20px 20px;
  background: radial-gradient(circle, white, rgb(0, 128, 171));
  border-radius: 50%;
  transition: 0.3s ease;
}
#menu-bar {
  z-index: 2;
}
.change-bg {
  width: 550px;
  height: 540px;
  transform: translate(-60%, -30%);
}
.change .bar {
  background-color: #373c56;
}
.change #bar1 {
  transform: translateY(4px) rotateZ(-45deg);
}
.change #bar3 {
  transform: translateY(-6px) rotate(45deg);
}
.change #bar2 {
  opacity: 0;
}
.change {
  display: block;
}

.home {
  height: 100vh;
  background-color: #373c56;
}

.portrait-container {
  position: relative;
  left: 20vw;
  top: 20vh;
  height: 440px;
  width: 300px;
  border-radius: 10px;
  transition: transform 0.5s;
  box-shadow: 5px 5px 10px;
  display: flex;
}

.portrait-container:hover {
  transform: scale(1.2);
}

.portrait-container > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.home-words {
  position: absolute;
  color: rgb(133, 213, 240);
  left: 53vw;
  top: 35vh;
}
.home-words > h1 {
  font-size: 100px;
  font-family: "Roboto", sans-serif;
  letter-spacing: 2px;
  color: rgb(0, 128, 171);
}

.home-words > h2 {
  font-size: 30px;
  font-family: "Roboto", sans-serif;
  letter-spacing: 2px;
  padding-top: 5px;
  margin-left: 4px;
}

.social {
  display: inline-block;
  padding: 1rem 1rem;
  vertical-align: middle;
}

.about-me {
  height: 100vh;
  background-image: linear-gradient(180deg, #373c56, #697197);
}

.about-me-words {
  position: absolute;
  left: 3vw;
}

.about-me-words > h1 {
  font-size: 80px;
  margin-top: 15vh;
  color: rgb(0, 128, 171);
  padding-bottom: 10px;
}

.about-me-words > p {
  font-size: 20px;
  position: relative;
  margin-left: 0px;
  margin-right: 50vw;
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(133, 213, 240);
}

.photo1-container {
  position: relative;
  margin-left: auto;
  margin-right: 15vw;
  top: 15vh;
  transform: rotate(-6deg);
  height: 330px;
  width: 380px;
  border-radius: 10px;
  transition: transform 0.5s;
  box-shadow: 5px 5px 10px;
  display: flex;
}

.photo1-container:hover {
  transform: scale(1.2);
}

.photo1-container > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.photo2-container {
  position: relative;
  margin-left: auto;
  margin-right: 5vw;
  top: 5vh;
  transform: rotate(4deg);
  height: 330px;
  width: 380px;
  border-radius: 10px;
  transition: transform 0.5s;
  box-shadow: 5px 5px 10px;
  display: flex;
}

.photo2-container:hover {
  transform: scale(1.2);
}

.photo2-container > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.projects {
  height: 100vh;
  background-color: #697197;
}
.projects-div {
  height: 100vh;
}
.projects-div > h1 {
  text-align: center;
  font-size: 50px;
  color: rgb(234, 233, 233);
}

.project-container {
  /* position:relative; */
  display: inline-grid;
  grid-template-columns: auto auto;
  padding: 25px;
  column-gap: 25px;
  row-gap: 25px;
}

.project {
  text-align: center;
  border: 3px solid rgba(24, 206, 212, 15);
  border-radius: 24px;
  transition: transform 0.5s;
}

.project > a > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.5s;
  border-radius: 20px;
}

.project:hover {
  transform: scale(1.05);
}
