*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

:root {
    --text-color: #333;
    --accent-color: 197 146 35;
    --background-color: 95 87 68;

    --content-gap: 1rem;
    --content-padding: 2rem;

    @media screen and (min-width: 768px) {
        --content-gap: 1.5rem;
        --content-padding: 4rem;
    }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to bottom, rgb(var(--background-color) / 0.2), rgb(var(--background-color) / 1)),url('../img/welcome-to-lr.jpg') no-repeat left top/cover;

}

.box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: calc(var(--content-gap) * 2);
    color: var(--text-color);
    padding: var(--content-padding);
    background: rgba(255, 255, 255, 0.9);
    width: 880px;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 1rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--content-gap);

    @media screen and (min-width: 768px) {
        flex-direction: row;
        max-width: 50%;
    }

    img {
        mix-blend-mode: multiply;
    }

    h1 {
        font-size: 1.5rem;
    }
}

.notice {
    font-size: 2rem;
    font-weight: bold;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(var(--content-gap) * 2);
    flex-wrap: wrap;
}

.contact {
    text-align: left;
    flex: 1;

    .link {
        color: rgb(var(--accent-color));
        background: linear-gradient(to right,currentColor,currentColor) 0 100% / 100% 1px no-repeat;
        background-position-x: left;
        text-decoration: none;
        transition: color .3s ease-in-out,background-size .3s ease-in-out;
        position: relative;

        &:hover {
            background-size: 0% 1px;
            background-position-x: var(--transform-origin-end);
        }
    }
}


.membership {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    font-weight: bold;
    gap: var(--content-gap);
}

.button {
    background-color: rgb(var(--accent-color) / 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;

    &:hover {
        background-color: rgb(var(--accent-color));
    }
}
