/* The original conference theme is in style.css. Use its fonts locally. */
@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EB_Garamond/EBGaramond-VariableFont_wght.ttf") format("truetype");
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
    font-family: "Josefin Sans";
    src: url("../fonts/Josefin_Sans/JosefinSans-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 700;
    font-display: swap;
}
@font-face {
    font-family: "Mohave";
    src: url("../fonts/Mohave/Mohave.ttf") format("truetype");
    font-weight: 300 700;
    font-display: swap;
}
@font-face {
    font-family: "Abel";
    src: url("../fonts/Abel/Abel-Regular.ttf") format("truetype");
    font-display: swap;
}

#main-menu .menu-wrap { margin-top: 10px; }
#main-menu li a { font-size: 130%; text-decoration: none; }
#main-menu:not(.scrolled) li a { color: #fff !important; text-shadow: 0 1px 4px #222; }
#fh5co-header { background-image: url("../images/pexels-icarus-5971945.jpg"); }
#fh5co-header .display-t { height: 82vh; height: 82svh; min-height: 580px; }
#fh5co-header .display-tc { padding: 5em 0 2em; }
#fh5co-header h1 { margin-bottom: .25em; }
.workshop-topic { font: 400 clamp(24px, 3vw, 36px)/1.25 var(--h1-font), Georgia, serif; color: white; }
.workshop-date { font-family: var(--h2-font), sans-serif; font-size: 22px; color: white; }
#fh5co-header a.btn { background: rgba(0,0,0,.3); border: 1px solid white !important; margin: 0; }
#fh5co-header a.btn:hover { background: white !important; color: #222; }

.fh5co-section p:last-child { margin-bottom: 0; }
.fh5co-section .support-note { font-size: 16px; }
a.btn.registration-button { margin: 0; border: 2px solid var(--main-color); color: var(--main-color); background: transparent; }
a.btn.registration-button:hover, a.btn.registration-button:focus { color: white; background: var(--main-color) !important; }
.workshop-logos { display: flex; justify-content: center; align-items: center; gap: 32px; margin-bottom: 1.5em; }
footer small { font-size: 80%; }
footer p:first-child { margin-bottom: 12px; }
section[id] { scroll-margin-top: 76px; }
:target:before { content: none; }
a:focus-visible, .btn:focus-visible { outline: 2px solid currentColor !important; outline-offset: 4px; }

@media (max-width: 768px) {
    #fh5co-header .display-t { min-height: 410px; }
    #main-menu li a { padding: 5px 7px; font-size: 110%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .animate-box { opacity: 1; animation: none !important; }
    #fh5co-header { background-attachment: scroll; background-position: center !important; }
}

button.registration-button:disabled {
    margin: 0;
    border: 2px solid #bbb;
    color: #777;
    background: #eee !important;
    opacity: 1;
    cursor: not-allowed;
}
