
/* GENERAL SETTINGS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #F5F3ED;
    color: #172D36;
    overflow-x: hidden;
}

/* NAVIGATION BAR */

header {
    padding: 25px 8%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

nav h1 {
    font-size: 28px;
}

nav div {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #172D36;
    margin-left: 0;
    font-size: 14px;
}

/* HERO SECTION */

.hero {
    padding: 100px 8%;
    min-height: 550px;
}

.hero > p:first-child {
    color: #829D89;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.7;
}

.hero h2 {
    font-size: 65px;
    line-height: 1.15;
    margin: 25px 0;
}

.hero h2 span {
    color: #829D89;
}

.hero p {
    line-height: 1.8;
    max-width: 500px;
    color: #66756C;
}

/* BUTTON */

.button {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 25px;
    background-color: #172D36;
    color: white;
    text-decoration: none;
    border-radius: 7px;
    transition: 0.2s;
    text-align: center;
}

.button:hover {
    background-color: #294650;
}

/* ABOUT SECTION */

#about {
    background-color: #E5EBE4;
    padding: 90px 8%;
    text-align: center;
}

#about h2 {
    font-size: 35px;
    margin-bottom: 20px;
}

#about p {
    max-width: 750px;
    margin: auto;
    line-height: 1.8;
    color: #66756C;
}

/* JOIN SECTION */

#join {
    padding: 90px 8%;
    text-align: center;
}

#join h2 {
    font-size: 35px;
    margin-bottom: 15px;
}

#join > p {
    color: #66756C;
    line-height: 1.7;
}

/* ROLE CARDS */

.role-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    margin-top: 25px;
}

.role-card {
    flex: 1;
    max-width: 300px;
    min-width: 0;
    padding: 25px;
    background: #E5EBE4;
    border-radius: 12px;
}

.role-card .button {
    width: 100%;
    margin-top: 0;
}

/* LOGIN PAGE DESIGN */

.login-page {
    min-height: 85vh;
    padding: 65px 9%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
    background: #F5F3ED;
}

.login-intro {
    max-width: 560px;
}

.eyebrow,
.card-label {
    color: #829D89;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: bold;
}

.login-intro h2 {
    font-family: Georgia, serif;
    font-size: 68px;
    line-height: 1.1;
    font-weight: normal;
    margin: 25px 0;
}

.login-intro h2 span {
    color: #829D89;
    font-style: italic;
}

.login-intro > p {
    color: #66756C;
    line-height: 1.9;
    max-width: 390px;
    font-size: 15px;
}

.visual-art {
    position: relative;
    height: 190px;
    margin-top: 35px;
    background: #E5EBE4;
    border-radius: 15px;
    overflow: hidden;
}

.art-circle {
    position: absolute;
    width: 175px;
    height: 175px;
    border-radius: 50%;
    background: #829D89;
    opacity: 0.8;
    top: 35px;
    left: 55px;
}

.art-circle::after {
    content: "";
    position: absolute;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: #F5F3ED;
    top: -20px;
    left: 110px;
}

.art-small {
    position: absolute;
    right: 35px;
    top: 25px;
    font-family: Georgia, serif;
    font-size: 65px;
    color: #172D36;
}

.art-caption {
    position: absolute;
    bottom: 20px;
    right: 25px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #172D36;
}

/* LOGIN CARD */

.login-card {
    background: #FFFEFA;
    padding: 45px 38px;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(23, 45, 54, 0.07);
    min-width: 0;
}

.login-card h3 {
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: normal;
    color: #172D36;
    margin-top: 20px;
}

.card-description {
    color: #829087;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
}

.login-card form {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.login-card label {
    font-size: 13px;
    color: #172D36;
    margin: 15px 0 9px;
}

.login-card input {
    width: 100%;
    min-width: 0;
    padding: 15px;
    border: 1px solid #E0E5DE;
    border-radius: 8px;
    background: #FAFAF6;
    font-size: 16px;
    outline: none;
}

.login-card input:focus {
    border-color: #829D89;
}

.login-card button {
    margin-top: 28px;
    padding: 16px;
    background: #829D89;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.login-card button span {
    float: right;
}

.signup-text {
    text-align: center;
    font-size: 12px;
    color: #829087;
    margin-top: 25px;
    line-height: 1.7;
}

.signup-text a {
    color: #526F5B;
    font-weight: bold;
    text-decoration: none;
}

/* TABLET */

@media (max-width: 850px) {

    .login-page {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 45px 7%;
    }

    .login-intro {
        max-width: 650px;
    }

    .login-intro h2 {
        font-size: 48px;
    }

    .visual-art {
        max-width: 500px;
    }

    .login-card {
        max-width: 550px;
        width: 100%;
        margin: auto;
    }
}

/* MOBILE */

@media (max-width: 700px) {

    header {
        padding: 20px 6%;
    }

    nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    nav h1 {
        font-size: 25px;
    }

    nav div {
        gap: 18px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        padding: 70px 6%;
        min-height: auto;
    }

    .hero > p:first-child {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero h2 {
        font-size: 42px;
        margin: 22px 0;
    }

    .hero > p:not(:first-child) {
        font-size: 14px;
        line-height: 1.8;
    }

    #about {
        padding: 65px 7%;
    }

    #about h2,
    #join h2 {
        font-size: 28px;
    }

    #about p {
        font-size: 14px;
    }

    #join {
        padding: 65px 7%;
    }

    .role-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .role-card {
        width: 100%;
        max-width: 400px;
        padding: 20px;
    }

    .login-page {
        padding: 35px 6%;
        gap: 30px;
    }

    .login-intro h2 {
        font-size: 42px;
        margin: 20px 0;
    }

    .login-intro > p {
        font-size: 14px;
    }

    .visual-art {
        height: 160px;
        margin-top: 25px;
    }

    .art-circle {
        width: 145px;
        height: 145px;
        left: 30px;
    }

    .art-circle::after {
        width: 95px;
        height: 95px;
        left: 90px;
    }

    .art-small {
        font-size: 48px;
        right: 22px;
    }

    .art-caption {
        right: 15px;
        bottom: 15px;
        font-size: 8px;
    }

    .login-card {
        padding: 32px 23px;
    }

    .login-card h3 {
        font-size: 29px;
    }

    .login-card input {
        padding: 14px;
    }
}

/* SMALL PHONES */

@media (max-width: 380px) {

    nav {
        align-items: flex-start;
        flex-direction: column;
    }

    nav div {
        width: 100%;
        gap: 22px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero > p:first-child {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .login-intro h2 {
        font-size: 36px;
    }

    .login-card {
        padding: 28px 18px;
    }

    .art-circle {
        left: 15px;
    }

    .art-small {
        right: 15px;
        font-size: 42px;
    }
}
