#greeting {
    position: relative;
    height: 100dvh;
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at center, var(--greeting-light), var(--third-color));
    overflow: hidden;
}

#logoButton:hover ~ .bg-video {
    opacity: 1;
}

#greeting-container,
.greeting-default-logo-container {
    position: relative;
    z-index: 2;
}

#greeting .bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;

    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}


.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.greeting-default-logo-container {
    position: relative;
    z-index: 2;
    height: 300px;
    width: 275px;
    animation: pulse 6s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

#greeting-container {
    width: 400px;
    height: 485px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#greeting-logo {
    height: 100%;
    width: 100%;
    transition: opacity 150ms ease-in-out;
    opacity: 1;
    will-change: opacity;
}

@media screen and (max-height: 600px) {
    #greeting {
        height: 100%;
        padding: 5%;
        align-items: center;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

#greeting h1 {
    font-size: 9vmin;
    color: var(--second-color);
    text-align: left;
    font-family: Lato, sans-serif;
    font-weight: 700;
    margin: 1rem 0 1rem 2rem;
}

#greeting a {
    text-decoration: none;
    color: var(--second-color);
}

/* NOTIFICATION */

#notification {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background-color: var(--first-color);
    color: var(--second-color);
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
    opacity: 0;
    z-index: 1000;
    font-size: 16px;
    text-align: center;
}

#notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}