body {
    background-color: rgb(10, 169, 243);
    font-family: 'Courier New', Courier, monospace;
    color: white;
    margin: 0;
}

.section1 {
    background-color: rgb(46, 148, 221);
    box-shadow: 4px 4px 10px 0 rgb(28, 81, 119);
    height: 15rem;
}

#header-h1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 450px;
}

.header-h1, .fa-image{
    font-size: 40px;
    padding: 15px;
    transform: translateY(20px);
    animation: fadeSlideIn 1.5s ease-out forwards;
}

.gallery {
  background-color: #007BFF;
  float: right;
  padding: 15px;
  text-decoration-line: none;
  font-weight: bold;
  color: white;
  border-radius: 10px;
}

@keyframes fadeSlideIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

.paragraph-quotes {
    font-style: italic;
    font-weight: bold;
    text-align: center;
    transform: translateY(20px);
    animation: fadeSlideIn 1.5s ease-out forwards;
}

.medium {
    max-width: 110rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7.5rem;
    align-items: center;
}

.medium-text-box {
    margin-left: 4rem;
    line-height: -2.5;
    gap: 5px;
}

.medium-primary {
    font-size: 6rem;
    font-family: Lato;
    font-weight: 700;
    color: rgb(200, 235, 252);
    letter-spacing: -1.5;
    padding-bottom: -15px;
}

.medium-description {
    font-size: 18px;
    margin-top: -45px;
    padding-bottom: 10px;
}

.medium-img {
    height: 500px;
    width: 550px;
}

.custom-upload-button, button {
  display: inline-block;
  background-color: #007BFF;
  color: white;
  padding: 20px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.custom-upload-button:hover {
  background-color: #0056b3;
}

button:hover {
  background-color: #0056b3;
}

button {
  border: none;
}

.upload {
  padding: 10px;
}

.gallery-text {
  font-size: 40px;
  font-weight: bold;
}

#gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 15px;
      padding: 10px;
      border: 2px dashed #ccc;
      min-height: 150px;
    }
    #gallery img, 
    #gallery video {
      width: 100%;
      height: auto;
      max-height: 250px;
      object-fit: cover;
      border-radius: 8px;
      box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
    }

    #gallery img:hover,
    #gallery video:hover {
      transform: scale(1.05);
    }

    /* Lightbox styling */
    .lightbox {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 1000;
    }

    .lightbox.active {
      visibility: visible;
      opacity: 1;
    }

    .lightbox-content {
      max-width: 90%;
      max-height: 90%;
    }

    .lightbox-content img,
    .lightbox-content video {
      width: 100%;
      height: auto;
      border-radius: 10px;
    }



    @media (max-width: 768px) {

    .section1 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    #header-h1 {
      margin-left: 10px;
    }

    .medium-img {
      display: none;
    }
  }