body {
    background-color: rgb(249, 249, 255);
    overflow-x: hidden;
  }

  header {
    height: 100vh;
    width: 100%;
  }

  .quote {
    width: 50%;
    text-align: left;
  }

  .quote h2 {
    margin: 5px 0;
    font-weight: lighter;
  }

  .quote span {
    font-family: sans-serif;
    color: var(--bg-color);
    font-size: 2em;
    font-weight: 600;
    text-transform: uppercase;
  }

  .line {
    height: 2px;
    width: 20%;
    background-color: var(--bg-color);
  }

  .extend {
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .7s;
    transition-property: all;
    animation-duration: 1500ms;
    animation-delay: 0ms;
    animation-name: extend;
  }

  @keyframes extend {
    0% {
      width: 1%;
    }

    100% {
      width: 20%;
    }
  }

  .background {
    margin-top: 100px;
    float: right;
    height: 100vh;
    width: 50%;
    background: url(Frames.png);
    background-repeat: no-repeat;
    background-size: contain;
  }

  body {
    font-family: Arial, sans-serif;
  }

  .gallery-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    padding: 20px;
  }

  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }

  .gallery-item.visible {
    opacity: 1;
  }


  .gallery-item:hover img {
    transform: scale(1.2);
  }

  .gallery-item img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    display: block;
    transition: all .5s ease;
  }

  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 100;
  }

  .popup-content {
    position: relative;
    max-width: 80%;
    max-height: 95%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #popup-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--bg-color);
    color: white;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
  }

  .gallery-item.vertical {
    grid-row: span 2;
  }

  .show {
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .7s;
    transition-property: all;
    animation-duration: 1500ms;
    animation-delay: 0ms;
    animation-name: fadeIn;
  }

  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translate(10%);
    }

    100% {
      opacity: 1;
      transform: translate(0%);
    }
  }

  @media (max-width: 480px) {
    .background{
      width: 100%;
    }
    .quote {
      width: 100%;
      top: 55%;
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: flex-end;
    }
  }

