@font-face { font-family: EBGaramond; font-weight: regular; src: url(../../resources/fonts/EB_Garamond/static/EBGaramond-Regular.ttf) }

@font-face { font-family: CinzelDecorative; font-weight: regular; src: url(../../resources/fonts/CinzelDecorative/CinzelDecorative-Regular.ttf) }
@font-face { font-family: CinzelDecorative; font-weight: bold; src: url(../../resources/fonts/CinzelDecorative/CinzelDecorative-Bold.ttf) }
@font-face { font-family: CinzelDecorative; font-weight: bolder; src: url(../../resources/fonts/CinzelDecorative/CinzelDecorative-Black.ttf) }

@font-face { font-family: InstrumentSerif; src: url(../../resources/fonts/InstrumentSerif/InstrumentSerif-Regular.woff2) }
@font-face { font-family: InstrumentSerif; font-style: italic; src: url(../../resources/fonts/InstrumentSerif/InstrumentSerif-Italic.woff2) }

body {
    background-image: url(../../images/background.jpg);
    background-size: cover;
    color: #171719;
    font-family: EBGaramond;
}

#panel {
    margin-block-start: 5%;
    margin-block-end: 5%;
    margin-inline-start: 10%;
    margin-inline-end: 10%;
    background-color: #eedebd;
    block-size: 1000px;
    box-shadow: 0px 0px 40px 30px #191817;
}

h1 {
    font-family: CinzelDecorative;
    font-weight: bolder;
    font-size: 500%;
    text-align: center;
    margin-block-end: 0%;
    animation: breathe 10s infinite alternate;
}

h2, h3 {
    margin-block-start: 0%;
    text-align: center;
    font-family: CinzelDecorative;
    font-weight: bold;
}

@keyframes breathe {
    0% { letter-spacing: -5px; }
    100% { letter-spacing: 2px; }
}

.divider {
    border: 1px solid #171719;
    margin-block-start: 2%;
    margin-block-end: 2%;
}

/* ---- Login status bar ---- */
#login-bar {
    background: #d4c9a8;
    border-bottom: 1px solid #9a7e40;
    padding: 4px 14px;
    text-align: right;
    font-size: 0.72em;
    font-family: Verdana, Geneva, sans-serif;
    color: #4a3f20;
}
#login-bar a { color: #533075; text-decoration: none; }
#login-bar a:hover { text-decoration: underline; }

/* ---- Login modal ---- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.78);
    z-index: 300;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 0;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: #e8dfc8;
    border: 3px solid;
    border-color: #f5edd8 #6e5828 #6e5828 #f5edd8;
    padding: 22px;
    max-width: 320px;
    width: 92%;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.6);
}
.modal-box h3 {
    font-variant: small-caps;
    letter-spacing: 2px;
    font-size: 1em;
    border-bottom: 1px solid #ad935b;
    padding-bottom: 7px;
    margin-bottom: 16px;
    color: #2a292b;
}
.modal-actions {
    text-align: right;
    margin-top: 14px;
}
.modal-actions button { margin-left: 6px; }
