/*******************************************************
/***** CSS RESET
*******************************************************/
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=GFS+Didot&display=swap');

* {
    font-family: 'Montserrat', sans-serif;
    color: #464646;
}

*, ::after, ::before {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1 {
    margin: 0 0 20px 15px;
    background: linear-gradient(to right, #703f8e, #fff 100%);
    background-position: 0 100%;
    background-size: 100% 2px;
    background-repeat: repeat-x;
    padding: 5px 25px 5px 10px;
    display: inline-block;
    font-family: 'GFS Didot', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
}

p {
    margin: 0;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    overflow-x: hidden;
    background-image: url(../img/bg1.jpg);
    background-size: cover;
    background-attachment: fixed;
    /* line-height: 1.2; */
}

/*******************************************************
/***** GENERIC
*******************************************************/
section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

section .content-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #fff;
    position: relative;
}

section .content {
    width: 1024px;
    display: flex;
    z-index: 2;
    position: relative;
    min-height: 450px;
    text-align: center;
    padding: 15px;
}

section:not(.home-section):not(.contact-section) {
    background-color: #fff;
}

section a.landing-anchor {
    position: absolute;
    top: 0;
}

.video-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255 255 255 / 60%);
}

.separator {
    width: 100%;
    height: 1px;
    margin: 120px 0 20px 0;
    background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 350, from(#703f8e), to(#fff));
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*******************************************************
/***** HEADER
*******************************************************/
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background-color: #fff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    overflow: hidden;
}

header .header-content {
    width: 900px;
    margin: 0 auto;
    min-width: 250px;
    height: 170px;
    transition: 0.7s;
}

header img {
    margin: 10px;
    height: 140px;
    transition: 0.7s;
}

header .logo-text {
    display: inline-block;
    height: 160px;
    vertical-align: top;
    line-height: 20px;
    padding: 20px 0;
}

header .logo-text-name {
    font-weight: bold;
}

header nav {
    float: right;
    position: relative;
}

header nav ul {
    list-style: none;
    margin: 0;
    z-index: 2;
    position: relative;
}

header nav ul li {
    float: left;
    margin: 75px 0 75px 15px;
    transition: 0.7s;
}

header nav ul li:first-child {
    margin-left: 0;
}

header nav ul li a {
    height: 40px;
    padding: 5px 10px;
    transition: background-color 0.2s linear;
}

header nav ul li a.active,
header nav ul li a:hover {
    border-bottom: 2px solid #72418f;
    color: #72418f;
    cursor: pointer;
}

header nav ul li a.active span,
header nav ul li a:hover span {
    color: #72418f;
}

header nav ul li a span {
    display: inline-block;
    text-decoration: none !important;
    line-height: 20px;
}

header.scrolled .header-content {
    height: 80px;
    transition: 0.7s;
}

header.scrolled img {
    height: 100px;
    margin: 6px;
    transition: 0.7s;
}

header.scrolled nav ul li {
    margin: 28px 0 28px 15px;
    transition: 0.7s;
}

/*******************************************************
/***** HOME
*******************************************************/
.home-section {
    min-height: 100vh;
    padding-top: 240px;
    box-shadow: rgb(0 0 0 / 35%) 0px 0px 15px 5px inset;
}

.home-section .profile-pic-wrapper {
    width: 250px;
    height: 250px;
    background-color: #72418f;
    border-radius: 180px;
    margin: 0 auto;
}

.home-section .profile-pic {
    width: 250px;
    height: 250px;
    position: relative;
    background-image: url(../img/BW-face.jpg);
    background-position: center;
    background-size: cover;
    background-clip: padding-box;
    border: solid 5px transparent;
    border-radius: 180px;
}

.home-section .home-contact {
    border-radius: 4px;
    height: 50px;
    margin: 10px auto;
    border: 1px solid #0b1116;
    background-color: #151b30;
    width: 200px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: background-color 0.25s;
}

.home-section .home-img {
    width: 300px;
    margin-bottom: 20px;
}

.home-section .text {
    color: #7a7a7a;
    font-family: "Raleway";
    font-size: 14px;
}


.home-section .section-title {
    font-size: 40px;
    line-height: 60px;
    margin: 0;
}

.home-section .section-desc {
    line-height: 40px;
    font-size: 16px;
    opacity: 0.7;
}

.home-section .home-links a {
    text-decoration: none;
    opacity: 0.7;
}

.home-section .home-links a:hover {
    opacity: 1;
}

.home-section .home-links a i {
    font-size: 26px;
    margin: 0 6px;
}

.home {
    height: calc(100% - 300px);
    background-color: #fff;
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
}

.home-section .home .profile {
    width: 430px;
    margin-right: 15px;
    transition: opacity 0.5s ease-in-out;
    border: 5px solid #fff;
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
}

.home-section .home-text {
    padding: 15px;
    position: relative;
}

.home-section .home-text p {
    margin-bottom: 10px;
}

.home-section .home-text-fellowship-text {
    padding-top: 20px;
}

.home-section .fellowship-name {
    color: #903a53;
}

.home-section .home-text-fellowship {
    display: flex;
    margin-top: 15px;
    padding-top: 15px;
    position: absolute;
    bottom: 0;
}

.home-section .home-text .fellowship-image {
    height: 200px;
}

/*******************************************************
/***** ABOUT
*******************************************************/
.about-section .about-img {
    height: 400px;
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
    border: 5px solid #fff;
}

.about-section .about-text {
    padding: 25px;
}

.about-section .about-text a {
    color: #72418f;
}

.about-section .about-text h1, .about-section .about-text p {
    /* Only set so the z-index of the bg-img will take affect */
    position: relative;
}

.about-section .about-text .about-text-bg-img {
    position: absolute;
    left: -50px;
    rotate: -20deg;
    opacity: 0.1;
    top: 50px;
    height: 350px;
}


/*******************************************************
/***** WEDDINGS
*******************************************************/
.weddings-section .content {
    flex-wrap: wrap;
}

.weddings-section .images {
    display: flex;
    margin-bottom: 20px;
}

.weddings-section .images img {
    margin: 0 20px 20px 0;
    width: calc(50% - 20px);
    border: 5px solid #fff;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: opacity 0.5s ease-in-out;
}

.weddings-section .text {
    padding: 15px;
}

.weddings-section .text p {
    margin-bottom: 10px;
}

/*******************************************************
/***** FUNERALS
*******************************************************/
.funerals-section .content {
    flex-wrap: wrap;
    justify-content: center;
}

.funerals-section .text {
    margin-bottom: 20px;
}

.funerals-section .text p {
    margin-bottom: 10px;
}

.funerals-section .carousel {
    margin-bottom: 150px;
}

/*******************************************************
/***** TESTIMONIALS (IN BOTH WEDDINGS AND FUNERALS)
*******************************************************/
.carousel {
    border: 5px solid #fff;
    padding: 15px;
    margin: 0 100px 50px;
    background: rgb(112 63 142 / 5%);
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
}

.carousel .carousel-inner p {
    margin: 0 50px 75px;
}

.carousel .carousel-inner img {
    width: 100%;
    height: 100%;
}

/* This overrides bootstraps display: block and allows me to vertically align the content */
.carousel .carousel-item.active,
.carousel .carousel-item-left,
.carousel .carousel-item-right,
.carousel .carousel-item-next {
    display: flex;
    align-items: center;
}

.carousel .carousel-inner .carousel-item-writer {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.carousel .carousel-inner .fa-user-circle {
    font-size: 50px;
    vertical-align: top;
    margin-right: 10px;
}

.carousel .carousel-inner .carousel-item-writer-details {
    display: inline-block;
}

.carousel .carousel-inner .carousel-item-writer-details-name {
    margin: 0;
    text-align: left;
    font-weight: bold;
    line-height: 50px;
}

.carousel .carousel-indicators {
    bottom: inherit;
    top: 100%;
    margin: 20px 0 0;
}

.carousel .carousel-indicators li {
    opacity: 1;
    background-color: rgb(112 63 142 / 20%);
}

.carousel .carousel-indicators li.active {
    background-color: #703f8e;
}

.carousel .carousel-control-prev {
    left: -100px;
}

.carousel .carousel-control-next {
    right: -100px;
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    width: 25px;
    opacity: 1;
}

.carousel .carousel-control-prev i,
.carousel .carousel-control-next i {
    width: 25px;
    color: rgb(112 63 142 / 20%);
    font-size: 22px;
}

.carousel .carousel-control-prev:hover i,
.carousel .carousel-control-next:hover i {
    color: #703f8e;
}

/*******************************************************
/***** CONTACT
*******************************************************/
.contact-section {
    min-height: 100vh;
    padding-top: 140px;
    box-shadow: rgb(0 0 0 / 35%) 0px 0px 15px 5px inset;
}

.contact-section .content {
    height: calc(100% - 300px);
    background-color: #fff;
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
    justify-content: center;
}

.contact-section .contact-area {
    display: flex;
    justify-content: center;
}

.contact-section .contact-area-text {
    padding: 15px;
}

.contact-section p {
    margin-bottom: 10px;
}

.contact-section .contact-img {
    width: 400px;
    max-width: 100%;
    border: 5px solid #fff;
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
}

.contact-section form {
    display: flex;
    width: 550px;
    padding-top: 15px;
    flex-direction: column;
    align-items: center;
}

.contact-section form .intro {
    margin-bottom: 10px;
}


.contact-section .input-wrapper {
    width: 100%;
    max-width: 500px;
}

.contact-section .input-wrapper .input:first-child {
    margin-right: 10px;
}

.contact-section .input {
    padding: 10px;
    border: 1px solid #464646;
    color: #464646;
    margin-bottom: 15px;
    border-radius: 5px;
}

.contact-section .input-area {
    width: 100%;
    height: 150px;
    max-width: 500px;
    margin-right: 0;
}

.contact-section button {
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 5px;
    border: 1px solid transparent;
    letter-spacing: 4px;
    cursor: pointer;
    font-weight: bold;
    margin: 0 10px 15px 0;
    width: 200px;
}

.contact-section button:hover {
    border: 1px solid #464646;
}

.contact-section .submit-msg {
    display: flex;
    max-width: 500px;
}

.contact-section .notification {
    text-align: center;
    display: none;
}

/*******************************************************
/***** SCROLL TO TOP
*******************************************************/
.scroll-to-top {
    position: fixed;
    z-index: 10;
    right: 50px;
    bottom: 50px;
    border: 2px solid #fff;
    border-radius: 30px;
    width: 60px;
    height: 60px;
    text-align: center;
    background-color: #72418f;
    opacity: 0;
    transition: opacity 0.5s;
    cursor: initial;
    justify-content: center;
    text-decoration: none !important;
}

.scroll-to-top.show {
    opacity: 0.4;
    cursor: pointer;
}

.scroll-to-top.show:hover {
    opacity: 1;
}

.scroll-to-top.show:hover .fa-arrow-up {
    animation: bounce 1.5s infinite;
    transition: 0.5s;
}

.scroll-to-top .fa-arrow-up {
    font-size: 30px;
    line-height: 57px;
    text-align: center;
    font-weight: bold;
    color: #fff;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-2.5px);
    }
}

/*******************************************************
/***** FOOTER
*******************************************************/
footer {
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

footer .footer-content {
    padding: 0;
    display: flex;
    justify-content: center;
}

footer .footer-content .logo {
    height: 80px;
    margin: 10px;
}

footer .footer-content span {
    line-height: 100px;
}

footer .nkm {
    position: absolute;
    right: 10px;
    bottom: 0;
}

footer .nkm img {
    width: 55px;
}

/*---------------------------------------
    COOKIES              
-----------------------------------------*/
.invis {
  display: none !important;
}

.cookie {
  position: fixed;
  display: flex;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #fff;
  padding: 10px;
  align-items: center;
  justify-content: space-around;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 40px 0px;
  border-top: 1px solid #e2e2e2;
}

.cookie-info {
    display: flex;
    align-items: center;
}

.cookie-info .fa-cookie-bite {
    margin-right: 20px;
    font-size: 28px;
}

.cookie-header {
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: rgb(51, 51, 51);
    font-weight: bold;
}

.cookie-desc, .cookie-desc a {
    font-weight: normal;
    color: #838F93;
    font-size: 14px;
    line-height: 24px;
}

.cookie-desc a {
    text-decoration: underline !important;
}

.cookie-button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 164px;
    padding: 11px 13px;
    border-radius: 2px;
    background-color: #72418f;
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    border: 1px solid #72418f;
}

.cookie-button:hover {
    background-color: #fff;
    color: #72418f !important;
}