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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    background-color: white;
    color: rgb(65, 65, 65);
    font-family: 'Noto Sans', sans-serif;
    font-size: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/*--------------------
Reusable Styles
----------------------*/
.row {
    max-width: 1140px;
    margin: 0 auto;
}

/*---------------------
Header
-----------------------*/
header {
    background-image: linear-gradient(rgba(0,0,0,0.705), rgba(0,0,0,0.705)), url(images/church3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100vh;
    background-attachment: fixed;
}

.center-heading {
    position: absolute;
    width: 1140px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo {
    height: 100px;
    width: auto;
    float: left;
    margin-top: 20px;
    padding-left: 10px;
}

nav {
    height: 10vh;
}

.main-nav {
    display: flex;
    width: 50%;
    height: 100%;
    justify-content: space-around;
    align-items: center;
    margin-left: auto;
    list-style: none;
    font-size: 90%;
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

h1, h2, h3 {
    font-weight: 300;
    text-transform: uppercase;
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: rgb(226, 226, 226);
    font-size: 250%;
    font-weight: 500;
    word-spacing: 4px;
    letter-spacing: 1px;
}

/*--------------------------
BUTTONS
---------------------------*/
.btn:link,
.btn:visited {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.btn-full:link,
.btn-full:visited {
    background-image: linear-gradient(to right, #00d2ff, #3a7bd5);
    border: 1px solid transparent;
    border-image: linear-gradient(to right, #00d2ff, #3a7bd5);
    color: rgb(255, 251, 251);
    margin-right: 15px;
}

.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid #00d2ff;
    color: #00d2ff;
}

.btn-full:hover,
.btn-full:active {
    border: 1px solid transparent;
    border-image: linear-gradient(to right, #00d2ff, #3a7bd5);
}

.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #00d2ff;
    color: white;
}

/*------------------
HISTORY SECTION
-------------------*/

.section-history img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 2px solid black;
    margin-bottom: 60px;
}

h2 {
    font-size: 200%;
    text-align: center;
    margin: 50px 10px;
    color: rgb(34, 34, 34);
}

h2:after {
    display: block;
    height: 2px;
    background-color: #00d2ff;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}

.section-history p {
    text-align: center;
    padding: 200px 0;
    margin-left: 20px;
}

/*---------------------
SERVICE TIMES AND EVENTS
----------------------*/

.section-time-and-events {
    background-color: rgb(245, 245, 245);
}

h3 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #0097b9;
    text-decoration: underline;
}

.service {
    margin-bottom: 10px;
}

.calendar {
    margin-top: 8px;
    width: 12%;
}

.container {
    position: relative;
}

.date-text {
    position: absolute;
    text-align: center;
    margin-top: 9px;
    margin-left: 4px;
    font-weight: bold;
    color: red;
    font-size: 75%;
    top: 50%;
    left: 5%;
    transform: translate(-50%, -50%);
}

.event-list {
    margin-bottom: 60px;
}

.event-list li {
    list-style: none;
    margin-top: 15px;
    padding-left: 2rem;
    background-image: url(./images/event-calendar.png);
    background-position: 0 0;
    background-size: 1.6rem 1.6rem;
    background-repeat: no-repeat;
}

.group {
    width: 8%;
    float: left;
    padding-bottom: 50px;
    margin-bottom: 100px;
    margin-right: 20px;
}

.address {
    font-weight: bold;
    text-decoration: underline;
}

/*--------------------------
BULLETIN SECTION
----------------------------*/

.section-bulletin img {
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    border-radius: 20px;
    border: 2px solid black;
}

/*---------------------------------
CONTACT SECTION
----------------------------------*/
.section-contact {
    background-color: rgb(245, 245, 245);
    padding-bottom: 70px;
}

.contact {
    text-align: center;
    font-size: 150%;
}

.section-contact p {
    text-align: center;
    font-weight: bold;
    font-size: 140%;
}

/*-------------------------
FOOTER SECTION
---------------------------*/

footer {
    background-color: rgb(88, 88, 88);
    padding: 50px;
    font-size: 80%;
}

.footer-nav {
    display: flex;
    width: 50%;
    height: 100%;
    justify-content: space-around;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    font-size: 90%;
}

.footer-nav li a:link,
.footer-nav li a:visited {
    text-decoration: none;
    border: 0;
    color: rgb(163, 163, 163);
    transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active {
    color: rgb(219, 219, 219);
}

.copyright {
    color: rgb(163, 163, 163);
    text-align: center;
    margin-top: 20px;
}

/*--------------------------------
MOBILE NAV
----------------------------------*/
.mobile-icon {
    float: right;
    margin-top: 30px;
    cursor: pointer;
    overflow: hidden;
    /* display: none; */
}


/*----------------------------------
HOVER.CSS STYLES
-----------------------------------*/

/* Underline From Center */
.hvr-underline-from-center {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
  }
  .hvr-underline-from-center:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 51%;
    right: 51%;
    bottom: 0;
    background: #2098D1;
    height: 4px;
    -webkit-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  .hvr-underline-from-center:hover:before, .hvr-underline-from-center:active:before {
    left: 0;
    right: 0;
  }

  /* Grow */
.hvr-grow {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-property: transform;
    transition-property: transform;
  }
  .hvr-grow:hover, .hvr-grow:active {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  /* Sweep To Right */
.hvr-sweep-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s;
  }
  .hvr-sweep-to-right:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, #00d2ff, #3a7bd5);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  .hvr-sweep-to-right:hover, .hvr-sweep-to-right:active, .hvr-sweep-to-right:focus:before {
    color: #ffffff;
  }
  .hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:active:before, .hvr-sweep-to-right:focus:after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }