/* AWL SOCIETY — VISUAL PROTOTYPE V0.1 */

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-Italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-Italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 300 800;
    font-display: swap;
}

:root {
    --ivory: #F4EFE4;
    --printing-black: #1C1B18;
    --warm-stone: #D8D0C1;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--printing-black);
    font-family: "EB Garamond", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.45;
}

.society-page {
    max-width: 1000px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 85px 32px 55px;
    text-align: center;
}

.society-emblem {
    display: block;
    width: 230px;
    max-width: 65%;
    height: auto;
    margin: 0 auto 35px;
}

h1 {
    font-size: 52px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 22px;
}

.society-subtitle {
    font-size: 21px;
    font-style: italic;
    margin: 0;
}

.society-access {
    max-width: 520px;
    margin: 85px auto 0;
}

.society-instruction {
    font-size: 22px;
    margin: 0 0 24px;
}

.society-input {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 30px;
    padding: 13px 18px;
    background: #FFFFFF;
    border: 1px solid var(--warm-stone);
    border-radius: 0;
    color: var(--printing-black);
    font-family: "EB Garamond", serif;
    font-size: 22px;
    font-weight: 400;
    text-align: center;
    opacity: 1;
}

.society-input::placeholder {
    color: #77736B;
    opacity: 1;
}

.society-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 12px 30px 12px 75px;
    border: 1px solid var(--printing-black);
    border-radius: 8px;
    background: transparent;
    color: var(--printing-black);
    font-family: "EB Garamond", serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    cursor: default;
}

.society-button::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 50px;
    height: 18px;
    background: url("../images/awl.png")
                center / contain no-repeat;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 180ms ease;
    pointer-events: none;
}

.society-button:hover::before,
.society-button:focus-visible::before {
    opacity: 1;
}

.prototype-notice {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    margin: 22px 0 0;
    color: #77736B;
}

.society-footer {
    margin-top: 85px;
}

.society-signature {
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 45px;
}

.society-back {
    position: relative;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    color: var(--printing-black);
    text-decoration: none;
}

.society-back::before {
    content: "";
    position: absolute;
    left: -67px;
    top: 50%;
    width: 55px;
    height: 22px;
    background: url("../images/awl.png")
                center / contain no-repeat;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 180ms ease;
}

.society-back:hover::before,
.society-back:focus-visible::before {
    opacity: 1;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 767px) {

    .society-page {
        padding: 55px 25px 40px;
    }

    .society-emblem {
        width: 170px;
        margin-bottom: 28px;
    }

    h1 {
        font-size: 34px;
    }

    .society-subtitle {
        font-size: 21px;
    }

    .society-access {
        margin-top: 55px;
    }

    .society-instruction {
        font-size: 20px;
    }

    .society-input {
        font-size: 20px;
    }

    .society-button {
        font-size: 20px;
        padding: 10px 20px 10px 58px;
    }

    .society-button::before {
        left: 12px;
        width: 34px;
        height: 14px;
    }

    .society-footer {
        margin-top: 60px;
    }

    .society-signature {
        font-size: 22px;
    }

    .society-back::before {
        left: -35px;
        width: 28px;
        height: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}


/* AWL SOCIETY — WORDPRESS ALIGNMENT */

.society-page {
    padding-top: 120px;
}

.society-emblem {
    width: 480px;
    max-width: 100%;
    height: auto;
    margin-bottom: 35px;
}

h1 {
    font-family: "EB Garamond", serif;
    font-size: 40px;
    font-weight: 600;
    font-style: normal;
    color: #1C1B18;
    letter-spacing: normal;
    margin-bottom: 30px;
}

.society-subtitle {
    font-family: "EB Garamond", serif;
    font-size: 21px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.45;
}

@media (max-width: 767px) {

    .society-page {
        padding-top: 55px;
    }

    .society-emblem {
        width: 300px;
        max-width: 90%;
        margin-bottom: 28px;
    }

    h1 {
        font-size: 34px;
        font-weight: 600;
    }

}


/* AWL SOCIETY — FOOTER ALIGNMENT */

.society-footer {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.society-signature {
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 110px;
}

.society-back {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
}

@media (max-width: 767px) {

    .society-signature {
        font-size: 24px;
        margin-bottom: 65px;
    }

    .society-back {
        margin-left: 12px;
    }

}
