body {
    background-color: #F8F0C6;
    background-image: url('https://www.transparenttextures.com/patterns/paper.png');
    font-family: "new-spirit", serif;
    font-weight: 400;
    font-style: normal;
    color: #000;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('grain-texture.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

.title {
  max-width: 90%;
  height: auto;
}

.landing {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.portfolio {
  margin-top: 50vh;
  background: #F8F0C6;
  background-image: url('https://www.transparenttextures.com/patterns/paper.png')
}

.intro {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d83e6b;
    font-size: 50px;
}

.container1 {
    position: static;
	display: flex;
    flex-direction: column;
    width: 50vw;
    height: 50%;
   /* border: 2px solid #000;*/
    margin: auto;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}

.video {
    border: 3px solid #000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: rotate(-0.5deg);
}

.logo-link {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo {
  width: 150px;
  height: auto;
}

  /* Hamburger button */
  .hamburger {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #d83e6b;
    margin: 4px 0;
    transition: 0.3s ease;
  }

  /* Animate to X */
  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Menu */
  .menu {
    position: fixed;
    top: 0;
    right: -220px;
    width: 220px;
    height: 100%;
    background: #000;
    color: #d83e6b;
    padding-top: 60px;
    transition: 0.3s ease;
    z-index: 1000;
  }

  .menu.active {
    right: 0;
  }

  .menu a {
    display: block;
    padding: 14px 20px;
    color: #d83e6b;
    text-decoration: none;
  }

  .menu a:hover {
    background: #F8F0C6;
  }

  .footdiv {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  button {
    font-family: "new-spirit", serif;
    font-weight: 400;
    font-style: normal;
    color: #d83e6b;
    font-size: 25px;
  }

  .mycontact {
    font-family: "new-spirit", serif;
    font-weight: 400;
    font-style: normal;
    color: #d83e6b;
    font-size: 25px;
  }

/* polaroid effect */

  .polaroid-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin: 4rem auto;
    flex-wrap: wrap;
}

.polaroid {
    text-decoration: none;
    color: #000;
    transition: transform 0.3s ease;
}

.polaroid:hover {
    transform: translateY(-10px) rotate(2deg);
    cursor: pointer;
}

.polaroid-frame {
    background: white;
    padding: 15px 15px 50px 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    max-width: 400px;
    transform: rotate(-2deg);
}

.polaroid-frame2 {
  background: white;
  padding: 15px 15px 50px 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  max-width: 400px;
  transform: rotate(-2deg);
}

.polaroid:nth-child(2) .polaroid-frame {
    transform: rotate(3deg);
}

.polaroid-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.polaroid-frame2 img {
  width: 100%;
  max-height: 400px;
  display: block;
}

.polaroid-caption {
    text-align: center;
    margin-top: 15px;
    font-family: "new-spirit", serif;
    font-weight: 400;
    font-style: normal;
    color: #000;
}

/* page layouts */

.project-layout {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  padding: 100px 80px;
  align-items: flex-start;
}

.eggpics {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 0 0 45%;
}

.eggsample {
  width: 100%;
  height: auto;
}

.copy {
  flex: 1;
  max-width: 600px;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 25px;
}

/* Mobile stacking */
@media (max-width: 968px) {
  .project-layout {
      flex-direction: column;
      padding: 50px 20px;
  }
  
  .eggpics {
      flex: none;
      width: 100%;
  }
}