/* Reset default styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#preload-images {
    display: none;
} 
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-color: black;
    animation: backgroundFade 60s infinite linear;
    opacity: 1;
}

body.loaded {
    opacity: 1;
}


/* Style the header */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    z-index: 1;
}

/* Style the logo */
#logo {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url("../images/SC.png");
    background-size: cover;
    margin-right: 20px;
}

/* Style the navigation menu */
nav {
    display: inline-block;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 10px;
}

nav ul li:not(:last-child)::after {
    content: "|";
    margin-left: 10px;
    color: #fff;
  }

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00b0b9;
}

/* Style the foreground image and text container */
#container {
    position: relative;
    margin: 100px auto;
    width: 90%;
    max-width: 900px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

#container p a {
    color: #666;
}

#container p a:hover {
    color: #00b0b9;
}

#foreground {
    margin-bottom: 30px;
}

#foreground img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 40px;
}

/* Style the image grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 0px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Style the footer */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Style the Square Buy now button */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.button-wrapper {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.button {
    display: inline-block;
    font-size: 18px;
    line-height: 48px;
    height: 48px;
    color: #ffffff;
    min-width: 212px;
    background-color: #000000;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
    border-radius: 6px;

    /* Remove underline */
    text-decoration: none;

    /* Animation */
    animation-name: pulsate;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Media query for small screen sizes */
@media (max-width: 800px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .button {
        margin-bottom: 10px;
        margin-left: 10px;
        margin-right: 10px;
        /* Add desired padding value */
    }
}
/* Grid Selection Buttons */
.grid-buttons {
    text-align: center; /* Center the button horizontally */
    margin-top: 25px;
    margin-bottom: 20px;
  }
  
  .grid-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    border: 1px solid #fff;
    color: white;
    letter-spacing: 0.1em;
    text-decoration: none;
    font-size: large;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
  }
  
  .grid-button:hover {
    background-color: #00b0b9;
  }
  
  #grid-container {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }
  