* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}
body {
  background-color: #201300;
  color: #efca7b;
  font-family: "Plus Jakarta Sans";
}
h1 {
  font-family: "Instrument Serif";
  font-size: 5rem;
  font-weight: 400;
}
h2 {
  font-family: "Instrument Serif";
  font-size: 2.5rem;
  font-weight: 400;
}
h3 {
  font-family: "Instrument Serif";
  font-weight: 400;
}
nav {
  width: 100vw;
  height: auto;
  display: flex;
}
.floating-bar {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(50px);
  border: 3px solid #FFE0C6;
  position: fixed;
  width: 75vw;
  height: 5vh;
  left: 50vw;
  top: 4vh;
  transform: translateX(-50%);
  border-radius: 50px;
  display: flex;
  gap: 5rem;
  z-index: 99;
}
.logo-box {
  transform: translateY(-20%);
  width: 2vw;
  height: 3.5rem;
  background: #201300;
}
.logo {
  transform: translateX(-20%);
  width: 6vw;
  height: auto;
  top: 2vh;
}
nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
}
nav li {
  height: 50px;
}
nav a {
  height: 100%;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #FFE0C6;
  font-size: 1.3rem;
  transition: 0.3s;
}
nav a:hover {
  text-decoration: underline;
  text-shadow:  0 0 2px #efca7b;
}
/*Code adapted from Coding2Go-https://youtu.be/U8smiWQ8Seg and CSSnippets-https://youtu.be/HmaQwuKUYTc*/
.menu {
  position: absolute;
  top: 20px;
  right: 15px;
  z-index: 95;
  background: none;
  border: none;
}
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  z-index: 99;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(50px);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
}
.sidebar li {
  width: 100%;
}
.sidebar a {
  padding: 0 30px;
}
.sidebar a:hover {
  background-color: #0f0900;
}
.sidebar svg {
  fill: #efca7b;
}
@media(max-width: 950px) {
  .hideOnMobile {
    display: none;
  }
  .logo {
    width: 3.2rem;
    height: auto;
    position: absolute;
    z-index: 20;
    top: 17px;
    left: 50px;
    transform: translateX(-50%);
  }
}
@media(min-width: 951px) {
  .hideOnDesktop {
    display: none;
  }
}
/*End of code adaptation*/
.home {
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  overflow-x: hidden;
}
/*Full width scroll styles adapted from GreatStack-https://youtu.be/KAG5wNPdoTw*/
.panel {
  width: 100%;
  height: 100vh;
  display: flex;
  scroll-snap-align: start;
}
.panel img {
  width: 30vw;
  height: auto;
  display: flex;
}
/*End of code adaptation*/
#portrait-container {
  position: relative;
  top: 20vh;
  left: 3vw;
}
#portrait {
  position: relative;
  top: -430px;
  left: 17vw;
}
.title {
  position: relative;
  left: 20%;
  top: 30%;
}
.intro {
  position: relative;
  top: 10%;
  left: 5%;
  display: flex;
  flex-direction: column;
}
.intro p {
  font-family: "Plus Jakarta Sans";
  color: #efca7b;
  font-size: 1.2rem;
  text-align: justify;
  padding: 0 10%;
}
.intro p:first-child {
  text-align: start;
  font-size: 4rem;
  padding: 8% 10% 3% 10%;
}
.intro p:last-of-type {
  padding: 12% 0 0 23%;
}
.intro img {
  width: 28%;
  height: auto;
  position: absolute;
  right: -5%;
  bottom: 8%;
  transform: rotate(15deg);
}
.polaroid {
  display: flex;
  flex-direction: column;
  background-color: white;
  width: 30vw;
  height: 50vh;
  position: relative;
  top: 20%;
  left: 5%;
  transform: translateX(-10%);
  align-items: center;
  justify-content: center;
}
.polaroid img {
  width: 95%;
  height: 70%;
  margin-top: 5%;
}
.polaroid svg {
  width: 95%;
  height: auto;
  position: relative;
  left: -38%;
  top: 3%;
}
.polaroid p {
  font-family: "Plus Jakarta Sans";
  font-size: 1.2rem;
  color: #00193a;
  position: relative;
  bottom: 10%;
  left: 5%;
}
.works {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
@media (max-width: 600px) {
  .home {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
  }
  .panel {
    flex-direction: column;
  }
  .panel img {
    width: 180px;
  }
  #portrait-container {
    position: relative;
    top: 30vh;
    left: 15vw;
  }
  #portrait {
    position: relative;
    top: -11vh;
    left: 40vw;
  }
  .title {
    position: relative;
    left: 15vw;
    top: -50vh;
  }
  .title h1 {
    font-size: 3.5rem;
  }
  .title h1:last-of-type {
    position: relative;
    top: 42vh;
    left: -15%;
    text-align: center;
    line-height: 3.5rem;
  }
  .title h2 {
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    top: 45vh;
    left: -15vw;
    width: 100vw;
  }
  .intro {
    position: relative;
    top: 6vh;
    left: 0;
    flex-direction: column;
    width: 100vw;
    height: 80vh;
  }
  .intro p {
    font-size: 1rem;
  }
  .intro p:first-child {
    text-align: start;
    font-size: 2.5rem;
    padding: 8% 10% 3% 10%;
  }
  .intro p:last-of-type {
    padding: 7% 0 0 5%;
  }
  .intro img {
    display: none;
  }
  .polaroid {
    width: 90vw;
    height: 60vh;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%);
  }
  .polaroid img {
    width: 95%;
    height: 90%;
  }
  .polaroid svg {
    width: 20%;
    left: -40%;
    top: 2%;
  }
  .polaroid p {
    bottom: 6%;
  }
  .works {
    top: 70%;
    transform: translateY(-70%);
    height: 52vh;
    align-items: flex-start;
  }
}
@media (max-width: 1024px) and (orientation: portrait) and (min-width: 601px) {
  .panel {
    flex-direction: column;
  }
  .panel img {
    width: 350px;
  }
  #portrait-container {
    position: relative;
    top: 35vh;
    left: 15vw;
  }
  #portrait {
    position: relative;
    top: -15vh;
    left: 40vw;
  }
  .title {
    position: relative;
    left: 15vw;
    top: -750px;
  }
  .title h1:last-of-type {
    position: relative;
    top: 51vh;
    left: -15%;
    text-align: center;
  }
  .title h2 {
    text-align: center;
    position: relative;
    top: 53vh;
    left: -15vw;
    width: 100vw;
  }
  .intro {
    top: 5%;
    left: 0;
  }
  .intro p {
    font-size: 1.8rem;
  }
  .intro p:last-of-type {
    padding: 5% 0 2% 10%;
  }
  .intro img {
    display: none;
  }
  .polaroid {
    width: 90vw;
    height: 100vh;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
  }
  .polaroid img {
    width: 95%;
  }
  .polaroid svg {
    width: 20%;
    left: -35%;
    top: 2%;
  }
  .polaroid p {
    bottom: 8%;
    font-size: 2rem;
  }
  .works {
    top: 100%;
    transform: translateY(-100%);
    height: 52vh;
    align-items: flex-start;
  }
}
@media (min-width: 1024px) and (max-width: 1200px) and (orientation: landscape) {
  #portrait-container {
    top: 35%;
  }
  #portrait {
    top: -35%;
  }
  .title {
    top: 35%;
  }
  .intro {
    width: 50%;
    left: 5%;
  }
  .intro p {
    font-size: 1.8rem;
  }
  .intro p:last-of-type {
    padding: 20% 0 0 7%;
    font-size: 1.4rem;
  }
  .intro img {
    top: 63%;
    left: 92%;
    height: 20%;
  }
  .polaroid {
    left: 7%;
    width: 43%;
  }
  .polaroid svg {
    width: 20%;
  }
  .polaroid p {
    font-size: 1.5rem;
  }
}

/* Button styling debugged using ChatGPT*/
.shadow {
  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 50px;
  display: flex;
  width: 10.5rem;
  height: 3rem;
}
.btn {
  border: none;
  border-radius: 50px;
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  top: 10%;
  left: 10%;
  font-family: "Playfair Display";
  font-size: 1.2rem;
  text-decoration: none;
  color: #181000;
}
.btn-cover {
  background: none;
  border-color: #181000;
  border: 2px solid;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-9%, -10%);
  width: 100%;
  height: 100%;
}
.yellow {
  background-color: #efca7b;
}
.green {
  background-color: #50bb9b;
}
.blue {
  background-color: #a2e7e9;
}
.btn:hover {
  background: #b1b2b5;
}
.btn:hover .btn-cover {
  background: #181000;
}
.yellow:hover .btn-cover {
  color: #efca7b;
}
.green:hover .btn-cover {
  color: #50bb9b;
}
.blue:hover .btn-cover {
  color: #a2e7e9;
}
/*End of debugging using ChatGPT*/
.abt {
  position: relative;
  left: 10%;
}
.gallery {
  position: absolute;
  bottom: -20%;
}
.projects {
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translateX(-50%);
}
.albums h1 {
  font-family: "Instrument Serif";
  font-size: 8rem;
  font-weight: 200;
  position: absolute;
  top: 10vh;
  left: 50vw;
  transform: translateX(-50%);
}
.albums h2 {
  font-family: "Instrument Serif";
  font-weight: 200;
  font-size: 4rem;
  position: absolute;
  top: 30vh;
  left: 50vw;
  transform: translateX(-50%);
}
.profile {
  display: flex;
  width: 100vw;
  height: 85vh;
  position: absolute;
  top: 10vh;
}
.profile h1 {
  position: absolute;
  top: 9%;
  left: 13%;
  font-size: 7rem;
  font-weight: 400;
}
.abt-me {
  display: flex;
  position: relative;
  top: 34%;
  left: 12%;
  flex-direction: column;
  width: 42%;
  height: 40%;
  font-family: "Plus Jakarta Sans";
  font-size: 1.1rem;
  text-align: justify;
}
.headshot {
  position: absolute;
  left: 57%;
  top: 5%;
  width: 30%;
  height: auto;
  border-radius: 300px;
}
.details {
  position: absolute;
  top: 85%;
  left: 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 45%;
}
@media (max-width: 600px) {
  .profile h1 {
    top: 0;
    left: 0;
    font-size: 100px;
    text-align: center;
    width: 100%;
  }
  .headshot {
    top: 18%;
    width: 10rem;
    left: 50%;
    transform: translateX(-50%);
  }
  .abt-me {
    width: 100%;
    left: 0;
    padding: 0 10%;
    top: 53%;
  }
  .details {
    width: 100vw;
    height: 25vh;
    position: absolute;
    top: 50%;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }
}
@media (max-width: 1024px) and (min-width: 601px) {
  .profile h1 {
    top: 0;
    left: 0;
    font-size: 100px;
    text-align: center;
    width: 100%;
  }
  .headshot {
    top: 130px;
    width: 20rem;
    left: 50%;
    transform: translateX(-50%);
  }
  .abt-me {
    width: 100%;
    left: 0;
    padding: 0 10%;
    top: 600px;
    font-size: 2rem;
  }
  .details {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 10%;
  }
}
@media (max-width: 820px) {
  .details {
    top: 120%;
  }
}
.contact h1{
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -30%);
  text-align: center;
}
.connect {
  position: absolute;
  width: 60%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  top: 52vh;
  left: 50vw;
  transform: translateX(-50%);
}
@media (max-width: 950px) {
  .connect {
    flex-direction: column;
    height: 30%;
    top: 60%;
    left: 52%;
    transform: translateX(-55%);
  }
}
.prj-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 0 0 0;
  background: #201300;
  z-index: 1;
}