@import url('https://fonts.googleapis.com/css2?family=Krub:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

:root {
    --black-color: #1a1a1a;
    --black-color-lighter: #505050;
    --accent-color: #a0111d;
    --accent-color-90: #a2111de6;
    --accent-color-lighter: #d01625;
    --accent-color-dull: #522327;
    --white-color: #f8f8f8;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Krub', sans-serif;
    font-weight: 500;
    background-color: var(--white-color);
}

#top-banner {
    border-top: 4px solid var(--accent-color);
    display: flex;
    background: var(--black-color);
    line-height: 0;
}

#logo-banner {
    display: flex;
    text-decoration: none;
}

#logo-title {
    font-weight: 600;
    color: var(--white-color);
    display: flex;
    align-items: center;
    margin-left: 20px;
}

#main-nav {
    background: var(--accent-color);
}

#main-nav ul, #main-nav li {
    margin: 0;
    padding: 0;
}

#main-nav li {
    list-style: none;
}


#video-banner {
    height: 700px;
    overflow: hidden;
    position: relative;
    border-bottom: 6px solid var(--accent-color);
}

#video {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

#video-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#important-message {
    padding: 20px 30px;
    background-color: var(--accent-color-90);
    color: var(--white-color);
    text-align: center;
    width: 50%;
    max-width: 450px;
    font-size: 20px;
}

#about-parish {
    margin: 50px 0;
}

#about-parish header {
    text-align: center;
    text-transform: uppercase;
}

#about-parish-grid {
    margin: 20px auto 0;
    max-width: 1600;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.about-parish-entry 
{
    display: flex;
    flex-flow: column;
    align-items: center;
    flex-basis: 1;
    margin: 16px 10px;
}

.about-parish-icon:hover {
    content: attr(data-src-hover);
}
.about-parish-title {
    margin: 0;
    padding: 0;
    text-align: center;
}
.about-parish-count {
    padding: 12px 12px 0;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}
#about-parish h2 {
    margin: 0;
}

#crucial-information-entries {
    display: flex;
}

#crucial-information h2 {
    text-align: center;
    text-transform: uppercase;
}

#main-wrapper {
    border-bottom: 6px solid var(--accent-color);
}

#main-wrapper aside {
    background-color: var(--accent-color);
    color: white;
}

main,
#main-wrapper aside {
    line-height: 1.5em;
}

main h2,
main h3 {
    text-align: center;
}

main a {
    color: var(--accent-color-lighter);
}
main a:visited {
    color: var(--accent-color);
}

#main-wrapper aside {
    font-size: 15px;
}

#main-wrapper aside h2 {
    font-size: 18px;
    margin: 6px 0;
}
#main-wrapper aside h3 {
    font-size: 15px;
    margin: 6px 0;
}

#comming-masses {
    border-collapse: collapse;
    width: 100%;
}

#comming-masses thead {
    font-weight: 700;
}
#comming-masses thead td {
    background-color: var(--accent-color-lighter);
    border-top: 16px solid var(--accent-color);
    border-bottom: 4px solid var(--accent-color);
    padding: 2px 4px;
}
#comming-masses tbody td {
    vertical-align: top;
    border-top: 2px solid var(--accent-color-lighter);
}

#comming-masses tbody td:first-of-type {
    padding-right: 10px;
    padding-left: 4px;
}

#main-wrapper aside section + section:before {
    content: '';
    border-top: 2px dotted white;
    display: block;
    margin: 40px 20px
}

#main-wrapper aside a {
    color: white;
}

body > footer {
    background-color: var(--black-color);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    border-bottom: 4px solid var(--accent-color);
}

.fas.constant-width {
    display: inline-block;
    width: 1.25em;
    text-align: center;
}

.announcements {
    counter-reset: announce;
    list-style: none;
    padding: 0;
}
.announcements li {
    margin-top: 1em;
    margin-left: 2em;
    padding: 0;
    text-indent: -1em;
}
.announcements li:before {
    counter-increment: announce;
    content: counter(announce) ".";
    position: relative;
    display: inline-block;
    width:  0.85em;
    font-weight: bold
}
