/* ===== FONTS ===== */
@font-face {
    font-family: 'StyleScript';
    src: url('./assets/StyleScript-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PlayFairDisplay';
    src: url('./assets/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== BODY ===== */
body {
    background-color: #ffffff;
    margin: 0;
    min-height: 100vh;
    background-image: url('../images/147736.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 40px;
    margin-top: 50px;
    width: 100%;
    text-align: center;
    font-family: 'StyleScript', sans-serif;
    color: #000000;
}

h2 {
    font-family: 'PlayFairDisplay', serif;
    font-size: 20px;
    font-style: italic;
    color: #3a3020;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(167,165,19,0.3);
}

h3 {
    padding-left: 5%;
}

a {
    display: block;
    text-align: right;
    padding-right: 5%;
    text-decoration: none;
    color: #1131ff;
}

/* ===== INPUTS ===== */
input[type="text"], input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d4c89a;
    border-radius: 20px;
    padding: 10px 16px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    background: white;
    min-height: 44px;
}

input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #a7a513;
}

/* ===== BUTTONS ===== */
button {
    background: #fffa71;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    min-height: 44px;
}

button:hover {
    background: #f0eb50;
}

/* ===== LOGIN / REGISTER ===== */
#title {
    text-align: left;
    font-family: 'PlayFairDisplay', sans-serif;
    color: #a7a513;
    margin-top: 1%;
    margin-left: 1%;
}

#loginDiv, #registerDiv {
    position: relative;
    top: 100px;
    max-width: 400px;
    margin: 0 auto;
    padding: 15px;
    background-color: #f8f7f3d2;
    border-radius: 10px;
}

#loginResult, #registerResult {
    display: inline-block;
    font-size: 0.8em;
    width: 90%;
    text-align: center;
    margin-left: 5%;
    margin-bottom: 2%;
    font-family: 'Ubuntu', sans-serif;
    color: #95060a;
}

/* ===== MISC ===== */
#userName {
    display: inline-block;
    width: 80%;
    margin-left: 10%;
    text-align: center;
}

select {
    width: 30%;
    margin-left: 35%;
    margin-top: 2%;
    font-size: 0.75em;
    font-family: 'Ubuntu', sans-serif;
}