:root {
  --main-dark-color: #1f2c30;
  --main-light-color: #DAA520;
}

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

body,
.maincontent {
  overflow-x: hidden;
  margin: 0;
  font-family: "Raleway", sans-serif;
}

html {
  overflow-x: hidden;
  font-size: 10px;
  width: 100%;
  /* scroll-behavior: smooth; */
}

.maincontent {
  display: block;
}

/* header menu and small menu */

.logo-container {
  margin-top: 0;
  z-index: 10000000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: fixed;
  left: calc(50% - 600px + 10px);
  top: 12px;
}

.logo,
.logo_black {
  z-index: 10000000;
  width: 50px;
  height: 50px;
}

.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  height: 100px;
  width: 100%;
  position: fixed;
  z-index: 10000;
}

.menu-background {
  display: none;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  height: 100px;
  width: 100%;
  background-color: var(--main-light-color);
  position: fixed;
  z-index: 10000;
  opacity: 0.95;

}

.menu {
  width: 68%;
  z-index: 100000000;
  position: fixed;
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1100px;
  padding-left: 100px;
  padding-right: 100px;
  box-sizing: border-box;
}

.languages ul,
.menu ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  padding-inline-start: 0;
}

.menu-link {
  margin: 8px;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: lighter;
  color: white;
  text-decoration: none;
  border: none !important;
}

.menu-link-m {
  z-index: 10000;
  position: relative;
  margin: 10px;
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: lighter;
  color: #1f2c30;
  text-decoration: none;
}

.menu-link-m:hover,
.menu-link:hover {
  font-weight: bold;
}

.m-menu-link {
  display: none;
  position: fixed;
  top: 24px;
  right: 30px;
  z-index: 10000000;
}

#fa-bars {
  font-weight: lighter;
  width: 40px;
  font-size: 4rem !important;
  color: white;
  border: none;
}

.m-menu-overlay {
  flex-basis: fit-content;
  z-index: 100;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-light-color);
  opacity: 0.9;
}

.m-menu {
  padding: 0;
  padding-top: 30px;
  z-index: 100000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  min-height: 450px;
  text-align: center;
  list-style: none;
  font-size: 5rem;
  font-weight: bolder;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000000000;
  margin-top: 0;
  transition: 0.2c;
  transform: translateX(100%);
}

.m-menu li {
  margin-top: 2px;
}

.m-menu__active {
  transform: translateX(0%);
}

.close-pointer {
  z-index: 10000;
  position: relative;
  font-size: 10rem;
  font-weight: lighter !important;
  color: var(--main-dark-color);
}

.close-pointer:hover {
  cursor: pointer;
}

.languages {
  color: #ffffff;
  z-index: 100000000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  right: calc(50% - 600px + 40px);
  top: 38px;
  font-size: 15px;
  border: 1px solid white;
  width: 90px;
  height: 30px;
}

.main {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  min-height: 600px;
  background: url(../img/amaury-gutierrez-725210-unsplash.jpg) no-repeat center;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.invitelink {
  padding: 10px;
  display: flex;
  align-items: left;
  justify-content: center;
  flex-direction: column;
  flex-flow: column;
}

.invitelink_button {
  background-color: #DAA520;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  width: 220px;
  font-size: 16px;
  margin: 4px 2px;
  margin-right: 10px;
  cursor: pointer;
}


.invitelink p {
  margin-top: 10px;
  margin: 0;
  font-weight: normal;
  font-size: 1.5rem;
  text-transform: uppercase;
  align-content: center;
}

.invitelink h1 {
  color: #DAA520;
  margin-top: 40px;
  text-transform: uppercase;
  font-size: 4rem;
  align-content: center;
}


.fa {
  margin: 10px;
  z-index: 2;
  padding: 4%;
  font-size: 30px !important;
  width: 50px;
  height: 50px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  border: 2px solid var(--main-light-color);
  color: var(--main-light-color);
}

.main-text {
  display: flex;
  justify-content: left;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.main-text span {
  display: inline-block;
  margin-top: 20px;
  font-size: 3rem;
  text-transform: uppercase;
}

.main-text-container {
  margin-top: 200px;
  width: 70%;
  display: flex;
  max-width: 1200px;
}

/* mission */

.mission {
  flex-basis: fit-content;
}

.mission-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-img {
  object-fit: cover;
  height: 100vh;
  width: 50%;
}

.mission-text-container {
  width: 50%;
  height: auto;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-end;
}

.mission-text {
  margin-top: 100px;
  margin-right: 40px;
  margin-left: 40px;
  position: relative;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-end;
}

.mission-text h2 {
  margin: 0;
  margin-bottom: 30px;
  font-size: 5rem;
  font-weight: normal;
  text-transform: uppercase;
}

.mission-text ul {
  margin: 0;
}

.mission-description {
  font-size: 1.7rem;
}

.mission-title {
  font-weight: bolder;
}

.mission-quote {
  font-style: italic;
}

/* we believe */

.webelieve {
  flex-basis: fit-content;
}

.webelieve-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.webelieve-img {
  object-fit: cover;
  height: 100vh;
  width: 50%;
}

.webelieve-text-container {
  width: 50%;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
}

.webelieve-text-container h2 {
  margin: 0;
  margin-bottom: 30px;
  font-size: 5rem;
  font-weight: normal;
  text-transform: uppercase;
}

.webelieve-text {
  margin-top: 100px;
  margin-left: 40px;
  margin-right: 40px;
  position: relative;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
}

.webelieve-description {
  margin: 0;
  margin-right: 20px;
  font-size: 1.7rem;
}

/* services */

.services {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-basis: fit-content;
  min-height: 600px;
  background-color: #1f2c30;
}

.headline-container h1 {
  margin: 0;
  font-size: 5rem;
  color: white;
  font-weight: normal;
}

.services-container {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.services-table {
  margin-top: 40px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.service-place {
  padding: 2rem;

  width: 300px;
  min-height: 250px;

  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  flex-direction: column;
  flex-basis: fit-content;

  border: 1px solid transparent;
  border-radius: 2rem;
  transition: all 0.3s ease-in;
}


.service-place:hover {
  transform: scale(1.02);
  border-color: var(--main-light-color);
  cursor: pointer;
}

.service-place h3 {
  font-size: 3rem;
  font-weight: normal;
  color: var(--main-light-color);
  margin: 0;
}

.service-place p {
  margin: 0.5rem;
  font-size: 1.7rem;
  font-weight: lighter;
  color: #ffffff;
}

.service-place a {
  text-decoration: none;

  margin: 0.5rem;
  font-size: 1.7rem;
  font-weight: lighter;
  color: #ffffff;

  border-bottom: 1px solid transparent;
  cursor: pointer;

  transition: border-color 0.3s ease-in;

  &:hover {
    border-color: white;
  }
}


/* missioners */

.missioners {
  flex-basis: fit-content;
}

.missionery-container {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.missioney-cards {
  position: relative;
  display: flex;
  justify-content: space-around;
  justify-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.missionery-headline {
  position: relative;
  display: flex;
  justify-content: center;
  justify-items: center;
  flex-direction: column;
}

.missionery-headline h1 {
  font-size: 5rem;
  text-transform: uppercase;
  font-weight: normal;
  margin: 0;
}

.missionery-card {
  padding: 1rem;
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  width: 300px;
  height: 300px;
  margin: 5rem;
}

.missionery-card:hover {
  background-color: #F5F5F5;
  border-radius: 2rem;
  transition: 0.5s;
}

.missionery-card img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
}

.missionary-description {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

.hiddenmissioners {
  display: none;
}

.lessboutmissionerstitle {
  padding: 0.5rem 1rem 0.5rem 1rem;
  border: #1f2c30 1px solid;
  border-radius: 25px;
  display: none;
}

.moreaboutmissionerstitle {
  padding: 0.5rem 1rem 0.5rem 1rem;
  border: #1f2c30 1px solid;
  border-radius: 25px;
  display: none;
}

.moreaboutmissioners {
  position: absolute;
  top: 100%;
  align-content: center;
  cursor: pointer;
  color: var(--main-dark-color);
  font-size: 1.5rem;

}

.moreaboutmissioners:hover {
  font-weight: bold;
  color: var(--main-light-color)
}

.missinary-description-text {
  text-align: center;
  font-weight: normal;
  font-size: 1.2rem;
}

/* podcasts */

.fa-soundcloud {
  border: none;
}

.podcasts {
  /* display: none; */
  flex-basis: fit-content;
  background-color: #1f2c30;
}

.podcasts-container {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.podcasts-headline {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.podcasts-headline h1 {
  font-size: 5rem;
  text-transform: uppercase;
  margin: 0;
  color: #ffffff;
  font-weight: normal;
}

.podcasts-cards-container {
  margin-top: 3rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.podcast-card {
  margin: 2rem;
}


.morepodcasts {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;

}


.morepodcaststitle {
  color: var(--main-light-color);
  font-weight: lighter;
  font-size: 1.5rem;
}

/* contacts */

.contacts {
  height: 100vh;
  min-height: 600px;
  background: url(../img/delfi-de-la-rua-106046-unsplash.jpg) no-repeat center;
  flex-basis: fit-content;
}

.contacts-overlay {
  z-index: 100;
  position: absolute;
  left: 0;
  top: 0;
  background: black;
  opacity: 0.7;
  height: 100vh;
  min-height: 600px;
  width: 100%;
}

.contacts-container {
  padding-top: 100px;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex-wrap: wrap;
}

.headline-description {
  margin-top: 130px;
  margin-right: calc(50% - 550px);
  z-index: 101;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-direction: column;
  flex-wrap: wrap;
}

.contacts-headline {
  z-index: 101;
  position: relative;
  display: flex;
  justify-content: left;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 1rem;
  margin-left: calc(50% - 550px);
}

.contacts-headline h1 {
  z-index: 101;
  font-weight: normal;
  font-size: 5rem;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.headline-description h2 {
  z-index: 101;
  font-weight: normal;
  font-size: 3rem;
  color: var(--main-light-color);
  margin: 0;
  text-transform: uppercase;
}

.headline-description p {
  z-index: 101;
  font-weight: normal;
  font-size: 1.5rem;
  color: white;
  text-transform: uppercase;
}

.contactslinks {
  text-decoration: none;
}



/* invite */

.invite {
  display: none;
}

.invite-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mission-form-button {
  background-color: #DAA520;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  width: 300px;
}


a.mission-form-ref:active,
a.mission-form-ref:hover,
a.mission-form-ref {
  text-decoration: none;
  color: #1f2c30;
}

a.mission-form-ref:hover {
  color: white;
}


.formframe {
  width: 100%;
  height: 2400px;
}

.invitevideo-wrap {
  position: relative;
  padding-bottom: 50%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

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

.invite-header {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-content: center;
  align-items: center;
}



.invite-header h1 {
  margin-left: 10px;
  font-size: 3rem;
  text-transform: uppercase;
}

.invite-description {
  padding: 5% 10% 5% 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  position: relative;
}

.invite-description p {
  font-size: 2rem;
  margin: 3px;
}

.invite-description li {
  font-size: 1.8rem;
  margin: 2px;
}





/* go up arrow */

#material-icons {
  padding: 0;
  margin: 0;
  position: fixed;
  font-weight: lighter;
  font-size: 8rem;
  z-index: 10000000;
  bottom: 5px;
  right: -5px;
  color: var(--main-light-color);
  cursor: pointer;
}

.arrow-up {
  display: none;
}

#material-icons:hover {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* addition elements */

.underline {
  width: 100%;
  height: 0.3rem;
  background-color: var(--main-light-color);
}

/* languages */
#en-m-menu,
#en-contacts,
#en-podcast,
#en-missioners,
#en-services,
#en-webelieve,
#en-mission,
#en-main,
#en-menu,
#en-soundcloud {
  display: none;
}



/* for text decoration */
.textbold {
  font-weight: bold !important;
}

/* for visibility */
.showitems {
  display: flex;
}

.showinvite {
  display: block;
}

.hidemaine {
  display: none;
}



/* tests */





/* Добавляем класс-контейнер для ограничения ширины контента */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.menu-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Social buttons */
.social-buttons {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.social-buttons .fa {
  margin: 8px;
  padding: 3%;
  font-size: 22px !important;
  width: 40px;
  height: 40px;
}