* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-image: url("/Assets/lovetree.jpg");  /* Initial static background */
    background-size: cover;
    background-repeat: no-repeat;
    transition: background 1s ease-in-out; /* Transition for background change */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  header {
    left: 0;
    top: 0;
    width: 100%;
    height: 80px;
  }
  
  header h4 {
    position: absolute;
    left: 10%;
    bottom: 1rem;
    font-size: 1.6rem;
  }

  /* grid layout */
    .yeastItem { grid-area: yeast; }
    .emailItem { grid-area: email; }

    .grid-container {
        display: grid;
        grid-template-areas:
        'yeast'
        'email';
    }
    .grid-container > div {
        text-align: center;
        font-size: 30px;
      }
  
  .sLogo {
    width: 100px;
    height: 100px;
  }
  
  /* Splash Screen */
  .intro {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-image: url("/Assets/sparklingLight.gif");
    background-size: cover;
    background-repeat: no-repeat;
    transition: top 1s ease-in-out;
  }
  
  .logo-header {
    position: absolute;
    top: 40%;
    left: 50%; 
    transform: translate(-50%, -50%);
    color: white;
  }
  
  .logo {
    position: relative;
    display: inline-block;
    bottom: -20px;
    opacity: 0;
  }
  
  .logo.active {
    bottom: 0;
    opacity: 1;
    transition: ease-in-out 0.5s;
  }
  
  .logo.fade {
    bottom: 150px;
    opacity: 0;
    transition: ease-in-out 0.5s;
  }
  
  .logo-final {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
  }
  
  .logo-final.visible {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }
  
  .logo-final.fade-middle {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  
  /* Main Page */
  .main {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* SCJ logo */
  .throneMarkLogo{
    position: fixed;
    top: 20px;
    left: 20px;
    display: none; /* Hidden by default */
    z-index: 2; /* Ensure it appears above other elements */
  }

    .throneMarkLogo img {
        width: 80px; /* Adjust the size as needed */
        height: auto;
    }
  
/* yeast button */ 
  .glow-button {
    font-size: 20px;
    padding: 10px;
    border: none;
    border-radius: 4px;
    box-shadow: 0px 0px 5px yellow, 0px 0px 25px yellow;
    transition-duration: 0.4s;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    background-color: yellow;
  }
  
  .glow-button:hover {
    box-shadow:
      0px 0px 5px yellow,
      0px 0px 25px yellow,
      0px 0px 50px yellow,
      0px 0px 100px yellow;
  }
  
  .glow-button::after {
    opacity: 0;
    transition: all 0.8s;
  }
  
  .glow-button:active::after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s;
  }
  
  .fade-out {
    opacity: 0;
    transform: scale(0.8);
  }
  
  .new-background {
    background: url('/Assets/lovetree.jpg');
    opacity: 1;
  }
  
  /* Video background */
  .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: opacity 1s ease-in-out;
    opacity: 1; /* Visible by default */
  }
  
  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .content {
    position: relative;
    z-index: 1; /* Make sure the button appears on top */
    text-align: center;
    color: white;
  }

  /* Yeast background */
body.new-background {
    background-image: url('/Assets/lovetree.jpg'); /* Third background (image) */
    background-size: cover;
    background-repeat: no-repeat;
    transition: background 1s ease-in-out; /* Smooth background transition */
  }

  .quote-box {
    display: none;
    padding: 20px;
    margin: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 20px;
    color: #333;
    opacity: 0;
    transition: opacity 1s ease;
  }
  
  .quote-box p {
    margin: 0;
  }

  /* Email container styling */
.email-container {
    display: none; /* Hidden by default */
    text-align: center;
    margin-top: 20px;
    opacity: 0; /* Start hidden for fade-in effect */
    transition: opacity 1s ease;
}

.email-input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px;
    margin-right: 10px;
}

.submit-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #218838;
}