body {
    margin: 0;
    padding: 0;
    height: 100svh;
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
    position: relative;
    color: white;
    background-color: #54B8AE;
}

header {
    padding: clamp(1.5rem, 1.045rem + 1.818vw, 2.5rem); /*24..40*/
    display: flex;
    justify-content: flex-end;
}

header div {
    padding: 4px;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.80);
    cursor: pointer;
}

header div img {
    width: 100%;
    aspect-ratio: 1/1;

}

h1 {
    align-self: stretch;
    color: white;
    font-size: clamp(2.5rem, 0.795rem + 6.818vw, 6.25rem); /*40..100*/
    font-style: normal;
    font-weight: 800;
    line-height: 1.24; /* 124% */
    letter-spacing: clamp(-1px, -0.5vw, -5px);
    margin: 0;
}

h2 {
    align-self: stretch;
    color: var(--White, #FFF);
    font-size: clamp(1rem, 0.886rem + 0.455vw, 1.25rem); /*16..20*/
    font-style: normal;
    font-weight: 600;
    line-height: 1.6; /* 160% */
    margin-bottom: 28px;
}

main {
    margin-left: clamp(1.5rem, -0.659rem + 8.636vw, 6.25rem);
}
main > div {
    display: flex;
    gap: 1.75rem;
}

.link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    /*padding: 1rem 2rem;*/
    padding: 0.75rem 0;
    background: transparent;
    border: 2px solid white;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 160px;
}

.link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.bg-container {
    width: min(45%, 80svh);
    aspect-ratio: 1/1;

    position: absolute;
    right: 0;
    bottom: 0;
    background-image: url("assets/welcome_content.webp");
    background-repeat: no-repeat;
    background-size: contain;
}

@media screen and (max-width: 768px) {
    body {
        height: unset;
        min-height: 100svh;

        display: flex;
        flex-direction: column;
    }

    header div {
        padding: 3px;
        width: 44px;
        height: 44px;
    }

    main {
        margin: 0;
        width: fit-content;
        align-self: center;
    }

    .bg-container {
        align-self: flex-end;
        position: relative;
        width: min(100%, 500px);
    }

    .link {
        width: 150px;
        gap: 0.6rem;
    }
}
