* {
  box-sizing: border-box;
}

html {
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
}

body {
  /* color: #65ad7b; */
  color: #fb7da7;
  background-image: url("../assets/images/Background Full4.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat-y;

  /* background-position: center; */
  /* background-repeat: no-repeat; */
  /* background-size: contain; */
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.project-pages {
  background-image: url("../assets/images/Background Full.png");
}

/* Main Page Layout */

#main-content {
  margin: 225px 425px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

/* Portfolio Header */

#portfolio-header {
  display: row;
  gap: 20px;
  align-items: center;
}

#portfolio-header-image-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-basis: 50%;
  margin-bottom: 30px;
}

.portfolio-header-image {
  margin-top: 20px;
  width: 70%;
  height: auto;
  animation: bounce 1s infinite alternate;
  /* border-radius: 60px; */
}

@keyframes bounce {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-6px);
  }
}

#portfolio-header-text-container {
  display: flex;
  flex-direction: column;
  gap: 34px;
  flex-basis: 50%;
  padding: 25px 20px;
  border-radius: 40px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.877),
    inset 0 -1px 0 rgba(255, 255, 255, 0.64),
    inset 0 0 12px 6px rgba(255, 255, 255, 0.911);
}

/* #my-work-link,
#about-me-link {
  display: inline-flex;
  width: fit-content;
  align-self: flex-start;
} */

#about-me-link {
  margin-top: -77px;
  margin-left: 240px;
}

/* About Section */

#about-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 60px;
}

.about-section-content {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* #my-work-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
} */
/* Project Section */

.projects-container {
  display: flex;
  gap: 34px 16px;
  flex-wrap: wrap;
}

/* Project Cards */

.project-card {
  max-width: calc((100% - 32px) / 3);
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.project-card-text-container {
  flex-direction: column;
  display: flex;
  gap: 16px;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.photography-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.photography-card {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
/* Project Pages */

#project-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-header-image {
  width: 100%;
  height: auto;
}

#project-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-details-content {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* Project Gallery */

#project-gallery {
  display: flex;
  margin-top: -15px;
  flex-direction: column;
  gap: 8px;
}

.project-gallery-content {
  display: flex;
  flex-wrap: wrap;
  gap: 34px 16px;
}

.gallery-image-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-image-container.half-width {
  width: calc((100% - 16px) / 2);
}

.gallery-image {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  body {
    background-image: url("../assets/images/Background Full.png");
    background-size: auto 100%;
    background-position: center top;
    background-repeat: repeat-y;
  }
  #about-me-link {
    margin-top: 0;
    margin-left: 0;
  }
}

/* Extra Extra large devices (large laptops and desktops, 1200px and below) */
@media only screen and (max-width: 1600px) {
  #main-content {
    margin: 225px 275px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and below) */
@media only screen and (max-width: 1200px) {
  #main-content {
    margin: 225px 175px;
  }
}

/* Large devices (laptops/desktops, 1000px and below) */
@media only screen and (max-width: 1000px) {
  #main-content {
    margin: 225px 75px;
  }
}

/* Small devices (portrait tablets and large phones, 800px and below) */
@media only screen and (max-width: 800px) {
  #main-content {
    margin: 150px 50px;
  }

  #portfolio-header {
    flex-direction: column;
  }

  .project-card {
    max-width: calc((100% - 16px) / 2);
  }
}

/* Small devices (portrait tablets and large phones, 600px and below) */
@media only screen and (max-width: 600px) {
  #main-content {
    margin: 125px 20px;
  }

  .project-card {
    max-width: 100%;
  }
}

@media only screen and (max-width: 800px) {
  .portfolio-header-image {
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
    height: auto;
    animation: bounce 1s infinite alternate;
    /* border-radius: 60px; */
  }

  #portfolio-header-text-container {
    display: flex;
    flex-direction: column;
    gap: 34px;
    flex-basis: 50%;
    /* margin-bottom: 110%; */
  }

  #about-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: -10px;
  }
}
