@font-face {
    font-family: Didot LT Std Bold;
    src: url("../fonts/Didot-LT-Std-Bold.otf") format("opentype");
}

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

body {
    background-color: #060606;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.6;
}

a,
a:focus,
a:active,
a:visited,
a:hover {
    color: #fff;
    text-decoration: underline;
    transition: all 0.3s ease;
}

a:focus,
a:hover {
    color: #01B8AF;
}

h1,
h2,
h3 {
    font-family: 'Didot LT Std Bold', 'GFS Didot', serif;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

h1 {
    margin-top: 4em;
}

p {
    margin-bottom: 1em;
}

.hero {
    position: relative;
    height: 70vw;
    overflow: hidden;
}

.hero .background,
.hero .background-shadow-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 40%;
    top: 0;
    overflow: hidden;
    background-image: url('../images/the-chosen-background-season-1-full.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero .background-shadow-overlay {
    background-image: url('../images/background-image-shadow.svg');
    /** Needed to make sure that the .background element is covered in all browsers: */
    height: 101%;
}

.hero .logo {
    position: absolute;
    top: 30%;
    left: 15%;
    width: 40vw;
    height: auto;
}

.hero .watch-party {
    position: absolute;
    top: 18%;
    left: 40%;
    transform: rotate(10deg);
    width: auto;
    height: 10vw;
}

nav {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
}

nav .nav-container {
    display: flex;
    gap: 1.5em;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: start;
    justify-items: baseline;

    padding: 0.5em 1em 0.7em;
}

nav .nav-container a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media screen and (max-width: 600px) {
    .hero {
        margin-top: 2em;
    }

    nav .nav-container {
        gap: 0.5em;
        justify-content: space-between;
    }
}

@media screen and (max-width: 500px) {
    nav .nav-container a.hide-medium {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    nav .nav-container a.hide-small {
        display: none;
    }
}

@media screen and (min-width: 501px) {
    nav .nav-container a.show-medium {
        display: none;
    }
}

@media screen and (min-width: 401px) {

    nav .nav-container a.show-small {
        display: none;
    }
}

.container,
nav .nav-container {
    max-width: 1000px;
    margin: 0 auto;
}

.container {
    padding: 40px 20px;
}

section {
    margin: 40px 0;
}

#description *:first-child {
    margin-top: 0;
}

#description p {
    font-size: 18px;
}

.schedule-table {
    border-collapse: collapse;
}

.schedule-table tr {
    transition: all 0.2s ease;
}

.schedule-table tr:hover {
    transform: translateX(-0.5em);
}

.schedule-table td {
    padding-right: 1.5em;
    padding-bottom: 0.2em;
}

.schedule-table td:first-child {
    padding-right: 0.5em;
}

.events-container hr {
    height: 0;
    margin-bottom: 1em;
    color: transparent;
    background-color: transparent;
}

.event-item {
    border-left: 3px solid #fff;
    margin-bottom: 1em;
    padding: 0.1em 1em;
    transition: all 0.2s ease;
}

.event-item:hover {
    transform: translateX(-0.5em);
}

.event-item.event-item-past {
    border-color: #555;
    opacity: 0.5;
}

.event-item.event-item-next {
    border-color: #01B8AF;
    color: #01B8AF;
}

.event-item .event-item-date {
}

.event-item .event-item-episode {
    opacity: 0.7;
    font-style: italic;
}

.event-ical-download {
    display: block;
    margin-block: 1em;
    font-size: 0.9em;
    color: #777;
}

.event-ical-download:hover,
.event-ical-download:focus {
    border-bottom-color: #01B8AF;
}

.events-container,
#address {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1em;
    width: 100%;
    justify-content: stretch;
    justify-items: stretch;
    align-items: flex-start;
}

.events-container-left,
.events-container-right,
.address-left,
.address-right {
    flex-grow: 1;
    flex-shrink: 1;
    width: 50%;
}

@media screen and (max-width: 600px) {
    .events-container,
    #address {
        flex-direction: column;
    }

    .events-container-left,
    .events-container-right,
    .address-left,
    .address-right {
        width: 100%;
        flex-shrink: 0;
    }
}

.contact-info {
    margin-bottom: 30px;
}

#contact-form-result-message {
    margin-top: 12px;
}

#contact-form-result-message.success {
    color: #01B8AF;
}

#contact-form-result-message.error {
    color: #b80141;
}

form {
    display: flex;
    flex-direction: column;
}

input,
textarea {
    margin-bottom: 15px;
    padding: 12px;
    background-color: #222;
    border: 1px solid #555;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #fff;
}

button {
    padding: 12px 30px;
    background-color: #fff;
    color: #000;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif;
}

button:hover {
    background-color: #ddd;
}


footer {
    position: relative;
    margin-top: 8rem;
}

.footer-logo-container {
    display: block;
    margin: 0 auto 1em auto;
}

.footer-logo-container a,
.footer-logo-container a:focus,
.footer-logo-container a:active,
.footer-logo-container a:visited,
.footer-logo-container a:hover {
    display: inline-block;
    height: 4rem;
    margin-right: 3rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-logo-container a:hover {
    transform: scale(1.2);
}

.footer-logo-container img {
    height: 4rem;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: start;
}
