/* reset default browser styling */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ensure body occupies exact viewport height without scrolling */
html,
body {
    height: 100%;
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* full image background container with dynamic viewport units */
.container {
    width: 100vw;
    height: 100dvh;
    /* default background for mobile screens */
    background-image: url('bg-sm.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-top: 10vh;
}

/* switch to desktop background on larger screens */
@media (min-width: 768px) {
    .container {
        background-image: url('bg.jpg');
        align-items: end;
        justify-content: start;
        padding-top: 0vh;
        padding-bottom: 5vh;
    }
}

/* main content wrapper */
.content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 90%;
    text-align: center;
    color: #ffffff;
    padding: 2rem;
    padding-right: 5%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

/* top image styling */
.top-image {
    object-fit: contain;
    opacity: 30%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    margin-bottom: 1rem;
}

/* title styling */
.title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 5px black;
}

/* description text styling */
.description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: #e2e8f0;
    font-weight: 600;
    text-shadow: 2px 2px 5px black;
}

/* link container styling */
.link-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.link-wrapper:hover {
    opacity: 0.8;
}

/* icon styling */
.link-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}