body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}
.emoji {
    font-family: "Noto Emoji", sans-serif;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    overflow: visible;
}
.img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.grid-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease;
}
.img-wrapper:hover img {
    transform: scale(1.15);
}
.img-wrapper::after {
    content: attr(data-label);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}
.img-wrapper:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 85%;
    animation: modalFadeIn 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-content img {
    max-width: 100%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.modal-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-top: 15px;
    text-align: center;
}

.discover-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.discover-btn:hover {
    background-color: #555;
}
.close {
    position: absolute;
    top: -15px;
    right: -15px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.close:hover {
    background: rgba(0, 0, 0, 0.9);
}
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: black;
    font-size: 40px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    z-index: 1001;
    user-select: none;
}
.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}
.prev {
    left: 20px;
}
.next {
    right: 20px;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
.background-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.background-section img {
    width: 100%;
    display: block;
}
.background-section.intro {
    z-index: 1;
     margin-bottom: 20px;
}
.background-section.sample {
    z-index: 1;
    margin-bottom: 20px;
}
.background-section.footer {
    z-index: 1;
    margin-top: 23px;
}
/* subscription section */
.subscribe-section {
    background: #f5f5f5;
    padding: 40px 20px;
    text-align: center;
    height: 50%;
    margin-top: 100px;
    margin-bottom: 100px;
    display: block;
    border: 1px solid #000000;
    border-radius: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
}
.subscribe-section h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}
.subscribe-section input[type="email"] {
    padding: 10px 15px;
    font-size: 16px;
    width: 300px;
    max-width: 80%;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
}
.subscribe-section button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.subscribe-section button:hover {
    background-color: #555;
}
/* make sure grid and modal are above backgrounds */
.grid-container {
    position: relative;
    z-index: 2;
}
.modal {
    z-index: 1000;
}
#subscribeForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
#subscribeForm label {
    margin-top: 5px;
}

video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.project-call {
  margin: 100px auto;
  max-width: 600px;
  padding: 20px;
  border: 1px solid #000000;
  border-radius: 10px;
  text-align: center;
}

.project-call h2 {
  font-size: 28px;
}

.project-call ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.project-call li {
  list-style: none;
  margin: 10px 0;
}

.salute-message {
    margin-top: 90px;
    text-align: center;
}

/* mood-links section */
.mood-links {
    background: #f5f5f5;
    margin: 100px auto;
    padding: 40px 20px;
    max-width: 90%;
    border: 1px solid #000000;
    border-radius: 10px;
    text-align: center;
}

.mood-links h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

.mood-links ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mood-links li {
    list-style: none;
    margin: 0;
}

.mood-links a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.mood-links a:hover {
    background-color: #333;
    color: #fff;
}

/* mood detail page */
.mood-section {
    background: #f5f5f5;
    margin: 100px auto;
    margin-top: 200px;
    max-width: 600px;
    padding: 40px 20px;
    border: 1px solid #000;
    border-radius: 10px;
    text-align: center;
}

.mood-section img {
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mood-section #moodDescription {
    font-size: 18px;
    color: #333;
    margin-top: 15px;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #555;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 245, 245, 1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 1);
}

.site-header.visible {
    transform: translateY(0);
}

.logo {
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.site-header a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.site-header a:hover {
    opacity: 0.8;
}

