@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* General */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    font-family: 'Raleway', sans-serif;
    color: #fff;
}

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

html {
    -webkit-text-size-adjust: none;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 24px;
}

img {
    max-width: 100%;
    vertical-align: middle;
    border: 0;
}

a {
    cursor: pointer;
    text-decoration: none;
}

li {
    font-size: 16px;
}

li::marker {
    color: tomato;
}

textarea { resize: none; }

br::selection {
background: #e7e7e7; /* Safari */
}

::selection {
background: #036dc978; /* Safari */
}

::-moz-selection {
background: #036dc978; /* Firefox */
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

::-webkit-scrollbar-thumb {
    background: #888; 
}

::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
}

/* Body with fixed background image */
body {
    background-repeat: no-repeat;
    background-size: 0;
    background-position: center ;
    background-blend-mode: multiply;
    background-color: #7c7c7c;
}

body::before {
    background: inherit;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    /*background-color: #aeaeae;*/
    background-blend-mode: multiply;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    content: '';
    display: table;
}

/* Main banner with scroll */
.main-banner {
    height: 75vh;
    position: relative;
}

.main-banner:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: rgba(0, 0, 0, 0.75);
    opacity: 0.5; */
}

.pseudo-table {
    display: table;
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
}

.pseudo-cell {
    color: #fff;
    display: table-cell;
    width: 100%;
    height: 100%;
    line-height: 80px;
    vertical-align: middle;
}

.banner-title {
    max-width: 80%;
    margin: auto;
}

.banner-title span {
    font-family: 'Palace Script MT';
    line-height: 90px;
    font-size: 9rem;
}

.main-banner h2 {
    margin: 36px 0;
    line-height: 50px;
    font-size: 6rem;
    font-weight: 300;
}

.more-info {
    width: 100%;
    line-height: 14px;
    text-align: center;
}

.author {
    width: 100%;
    line-height: 14px;
    text-align: end;
}

.more-info h3 {
    display: inline-block;
    margin: 0 15px 15px 0;
    padding-left: 20px;
    font-weight: 300;
    line-height: 1.25;
}

@media screen and (max-width: 360px) {
    .main-banner h2 {
        font-size: 4em;
    }
}

@media screen and (max-width: 240px) {
    .main-banner h2 {
        font-size: 3em;
    }

    .main-banner h3 {
        font-size: 2.4em;
    }
}

/* Scroll */
.scroll {
    display: none;
    position: absolute;
    left: calc(50% - 1em);
    width: 2em;
    height: 3.8em;
    top: -55px;
    border: 0.15em solid white;
    border-radius: 5em;
    font-size: 10px;
}

.scroll:before {
    content: "";
    position: absolute;
    left: calc(50% - .2em);
    top: 0.4em;
    width: 0.4em;
    height: 0.4em;
    background: white;
    border-radius: 50%;
    -webkit-animation: fadeTo 1.4s ease-in infinite;
    animation: fadeTo 1.4s ease-in infinite;
}

@-webkit-keyframes fadeTo {
    to {
    transform: translateY(1em);
    opacity: 0;
    }
}
@keyframes fadeTo {
    to {
    transform: translateY(1em);
    opacity: 0;
    }
}

/* Content */
.content {
    background-color: rgb(245 245 245);
}

.main-article {
    width: 100%;
    margin: auto;
    max-width: 1110px;
    padding: 2em;
    position: relative;
}

.done {
    opacity: 0 !important;
}

.hide {
    display: none !important;
}

/* Title and underline */
.main-title {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
    font-family: 'Raleway', sans-serif;
}

.main-title h2 {
    font-weight: 500;
    line-height: 50px;
    padding-top: 50px;
    font-size: 48px;
    color: #012646;
}

.title-underline {
    margin: auto;
    height: 0.5px;
    background: tomato;
    width: 140px;
    margin: 10px auto;
}

/* Main page */
.short-about p {
    color: #000;
    text-align: center;
    font-size: 18px;
    padding-bottom: 50px;
}

.about-believe li {
    color: #000;
    font-size: 16px; 
}

.events-block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 30px;
    width: 100%;
    margin: auto;
    max-width: 1110px;
    padding: 2em 2em 50px 2em;
    position: relative;
}

.events {
    background-image: url(../src/home/event-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    background-color: #b7b7b7;
    background-size: cover;
    background-attachment: fixed;
}

.event {
    max-width: 390px;
}

.event img {
    height: 160px;
    width: 100%;
    /* min-height: 236px; */
    object-fit: cover;
    object-position: center;
}

.event-text {
    background: #fff;
    padding: 22px 30px 71px;
    min-height: 250px;    
}
/* 200, 250 */
.events h2 {
    color: #fff;
}

.events .title-underline {
    background-color: #fff;
}

.event h3 {
    font-size: 24px;
    margin-bottom: 5px;
    line-height: 32px;
    color: #036dc9;
    font-weight: 400;
}

.event time {
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

.event p {
    color: #000;
}

.event .title-underline {
    margin-left: 0;
    background: #012646;
}

.content_block {
  overflow: hidden;
  position: relative;
  transition: all 1s ease-out;
}

.content_block.hide {
  height: 150px;
  transition: all 1s ease-out;
}

.content_block.hide:after {
  content: "";
  display: block;
  height: 100px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 75%);
  transition: all 1s ease-out;
}

/* button */

.content_toggle {
  display: inline-block;
  padding: 10px 15px;
  background: #5c5f7a;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  margin-top: 20px;
  border-radius: 5px;
  border-bottom: 3px solid #32145a;
  transition: all 1s ease-out;
}

.content_toggle:hover {
  color: #fff;
  background: #7c4acc;
  border-bottom: 3px solid #32145a;
  transition: all 1s ease-out;
}

.content_toggle:active {
  background: #34106d;
  transition: all 1s ease-out;
}

@media(max-width: 1100px) {
    .events-block {
        grid-template-columns: 1fr 1fr;
        max-width: 780px;
    }
    .third-event {
        display: none;
    }

    .events {
        background-attachment: scroll;
    }
}

@media(max-width: 720px) {
    .events-block {
        display: block;
        max-width: 390px;
    }
    .first-event {
        display: none;
    }

}

.main-section-believe {
    background: #fff;
}

.believe {
    width: 100%;
    margin: auto;
    max-width: 1110px;
    padding: 2em;
    position: relative;
}

/* History page */
.history p {
    color: #2f2e2e;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.history .history-img-right {
    width: 47%;
    float: right;
    margin: 0px 0px 0px 20px;
    border-radius: 10px;    
}

.history .history-img-left {
    width: 25%;
    float: left;
    margin: 0px 20px 0px 0px;
    border-radius: 10px;    
}

@media(max-width: 600px) {
    .history img {
        width: 100%!important;
        margin: 0 0 20px 0!important;
    }
}

/* Ministries */
.min-group-left {
    display: grid;
    grid-template-columns: 55% 40%;
    grid-column-gap: 5%;
    margin: 50px auto;
}

.min-group-right {
    display: grid;
    grid-template-columns: 40% 55%;
    grid-column-gap: 5%;
    margin: 75px auto;
}

.min-group-text-after {
    display: none;
}

.min-group-text h3 {
    color: #012646;
    font-size: 32px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

.min-group-text p {
    color: #2f2e2e;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.min-group-text span {
    color: #036dc9;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.min-group-text .title-underline {
    margin: 20px 0;
}

.min-group-img {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    min-height: 450px;
}

@media(max-width: 880px) {
    .min-group-left, .min-group-right {
        display: block;
    }

    .min-group-img {
        margin: 50px auto;
    }
    
    .min-group-text-after {
        display: block;
    }

    .min-group-text-before {
        display: none;
    }
}

@media(max-width: 880px) {
    .min-group-img {
        min-height: 300px;
    }
}

/* Media page */
.video {
    margin-bottom: 50px;
    display: block;
    grid-template-columns: 68% 30%;
    grid-column-gap: 2%;
}

.thumb-wrap {
  position: relative;
  padding-bottom: 52.30%; /* задаёт высоту контейнера для 16:9 (если 4:3 — поставьте 75%) */
  height: 0;
  overflow: hidden;
  width: 100%;
}

.thumb-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-width: 0;
  outline-width: 0;
}

.inf_video {
    padding: 20px 0 0 0;
    width: 100%;
}

.date time {
    color: #000;
    font-size: 18px;
}

.inf_video span {
    color: #000;
    font-size: 18px;
}

.video nobr {
    color: #036dc9;
    font-weight: 500;
}

@media (max-width: 1060px) {
    .video {
        grid-template-columns: 73% 25%;
    }
}

@media (max-width: 800px) {
    .video {
        display: block;
    }
}

/* Support page */
.support p {
    color: #2f2e2e;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.support span {
    color: #048aff;
}

.support a {
    color: tomato;
}

/* Current account button */
.support input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.support .row .col {
    flex: 1;
}

/* Accordion styles */
.support .tabs {
    border-radius: 8px;
    overflow: hidden;
}

.support .tab {
    width: 100%;
    color: white;
    overflow: hidden;
}

.support .tab-label {
    width: 334px;
    margin: auto;
    position: relative;
    cursor: pointer;
    display: flex;
    padding: 10px 37px;
    border-radius: 15px;
    background: #59ba47;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    /* letter-spacing: 2px; */
}

.support .tab-content {
    /* max-height: 0; */
    padding-top: 0!important;
    padding-bottom: 0!important;
    padding: 0 1em;
    transition: all 0.35s;
}

.support .tab-close {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
    font-size: 0.75em;
    background: #2c3e50;
    cursor: pointer;
}

.support input:checked + .tab-label::after {
    transform: rotate(90deg);
}

.support input:checked ~ .tab-content {
    max-height: 100%;
    padding: 1em;
}

.text_panel {
    width: 100%;
    padding: 20px 18px 0;
    display: none;
    overflow: hidden;
}

.support-pay {
    display: grid;
    grid-template-columns: 75% 25%;
}

.support-pay1 p {
    font-size: 18px;
}

@media (max-width: 860px) {
    .support-pay {
        display: block;
    }

    .support-pay2 img {
        width: 300px;
        margin-top: 20px;
    }
}

/* Contacts */
#contacts {
    max-width: 925px;
    margin: auto;
    display: grid;
    grid-template-columns: 40% 55%;
    grid-column-gap: 5%;
    padding-bottom: 50px;
}

/* Contacts data */
.contacts-data {
    width: max-content;
    margin: auto;
}

.contact-list {
    list-style-type: none;
}

.list-item {
    line-height: 4;
}

.contact-text {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.9px;
    color: #000;
}

.list-item i {
    color: tomato;
}

.list-item h3 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 1.9px;
    color: #000;
    text-align: center;
}

.place {
    margin-left: 20px;
}

.phone {
    margin-left: 14px;
}

.gmail {
    margin-left: 11px;
}

.contact-text a {
    color: #000;
    text-decoration: none;
    transition-duration: 0.2s;
}

.contact-text a:hover {
    color: #ccc;
    text-decoration: none;
}

#contacts .copyright {
    color: #555;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 10px;
}

hr {
    border-color: rgba(255,255,255,.6);
}

/* Contacts data, social links */
.social-menu ul {
    width: max-content;
    display: flex;
    padding: 10px 0 15px;
    margin: auto;
}

.social-menu ul li {
    list-style: none;
    margin-right: 10px;
}

.social-menu ul li .fab, .social-menu ul li .fa {
    font-size: 25px;
    line-height: 50px;
    transition: .3s;
    color: #000;
}

.social-menu ul li:hover .fab, .social-menu ul li:hover .fa {
    color: #fff;
}

.social-menu ul li a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    text-align: center;
    transition: .6s;
    box-shadow: 0 5px 4px rgba(0,0,0,.5);
}

.social-menu ul li a:hover {
    transform: translate(0, -7%);
}

.social-menu ul li:nth-child(1) a:hover {
    background-color: #3b5998;
}
.social-menu ul li:nth-child(2) a:hover {
    background-color: #ff0000;
}
.social-menu ul li:nth-child(3) a:hover {
    background-color: #e4405f;
}
/* .social-menu ul li:nth-child(4) a:hover {
    background-color: #;
} */

@media screen and (max-width: 930px) {
    #contacts {
        display: block;
    }
}