@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');

:root {
  --main-text-color: #062100;
  --background-dark-color: #1f1f1f;
  --light-red: #ff4542;
  --red: #fe140d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Ubuntu', sans-serif;
  list-style: none;
}

html,
body {
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.container {
  padding: 25px;
}

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

h2 {
  margin-bottom: 25px;
}

/* HEADER */

.header {
  position: fixed;
  top: 0;
  left: 0;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  height: 80px;
  background-color: var(--background-dark-color);
  padding: 20px;
  z-index: 100;
}

.church-logo {
  width: 60px;
  height: 60px;
  filter: invert(1);
}

.languages-box {
  position: absolute;
  left: calc(50% - 25px);
  cursor: pointer;
  flex-direction: row;
}

.languages-box img {
  width: 35px;
  height: 35px;
  margin-right: 5px;
}

.caret-symbol {
  background-image: url(../pictures/caret-down.svg);
  background-position: center;
  background-size: cover;
  height: 10px;
  width: 10px;
  color: white;
  filter: invert(1);
  transition: 0.1s linear;
}

.caret-symbol.active {
  background-image: url(../pictures/caret-up.png);
}

.list-languages {
  position: absolute;
  top: 50px;
  color: white;
  background: var(--background-dark-color);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
}

.list-languages.active {
  visibility: visible;
  opacity: 1;
}

.list-languages li a {
  padding: 15px 20px;
}

.list-languages li:last-of-type {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.list-languages li:hover {
  background-color: #383838;
}

.list-languages li a {
  display: flex;
  justify-content: left;
  align-items: center;
}

.list-languages img {
  margin-right: 10px;
  display: inline-block;
  width: 25px;
  height: 25px;
}

.navigation {
  display: none;
  flex-direction: row;
  color: white;
}
.navigation li {
  margin-left: 30px;
  position: relative;
}

.navigation li a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--light-red);
  transition: 0.2s linear;
}

.navigation li:hover a:after {
  width: 100%;
}

.hamburger-menu {
  background-image: url(../pictures/hamburger-menu.svg);
  width: 40px;
  height: 40px;
  filter: invert(1);
  cursor: pointer;
  transition: 0.2s linear;
  transform: scale(1.1);
  z-index: 2;
}

.hamburger-menu:hover {
  /* -webkit-transform: scale(1.3);
  -moz-transform: scale(1.3);
  -o-transform: scale(1.3); */
  transform: scale(1.3);
}

.hamburger-menu.active {
  background-image: url(../pictures/close-hamburger-menu.svg);
}

.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 60%;
  height: 100vh;
  background-color: #272727;
  opacity: 1;
  color: #fff;
  transition: 0.4s linear;
  padding: 20px;
  text-align: center;
}

.menu li {
  margin: 50px 0;
}

.menu li a {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
}

.menu li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: var(--light-red);
  transition: 0.2s linear;
  z-index: -1;
}

.menu.active {
  right: 0;
}

/* Main Section */

main {
  height: 100vh;
  background: url(../pictures/mainSectionBackground.jpg);
  background-position: center;
  background-size: cover;
  color: var(--main-text-color);
}

.church-name-container {
  flex-direction: column;
  padding: 20px;
  border-radius: 10px;
  background: rgb(247, 222, 181, 0.5);
  margin-top: 40px;
}

.church-name-container h1 {
  margin-bottom: 10px;
}

.church-name-container p {
  font-weight: 500;
}

.btn-online {
  background: var(--light-red);
  padding: 10px 20px;
  border-radius: 10px;
  color: white;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: 0.4s;
  text-transform: uppercase;
  margin: 30px 0;
}

.btn-online:hover {
  transform: scale(1.1);
  background: var(--red);
}

main div:nth-of-type(2) {
  flex-direction: column;
  background: rgb(247, 222, 181, 0.5);
  padding: 10px;
  border-radius: 10px;
}

main p {
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
}

main p:first-of-type {
  margin-bottom: 10px;
}

/* ABOUT US */

.about-us {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.5rem;
}

/* VIBER SECTION */

.viber-section {
  background: linear-gradient(
    90deg,
    rgba(226, 225, 231, 1) 0%,
    rgba(124, 80, 157, 1) 100%
  );
  text-align: center;
  line-height: 2rem;
}

.viber-section h2 {
  line-height: 2.5rem;
  text-align: center;
}

.invitation-viber-text {
  max-width: 350px;
}

.viber-section a {
  color: white;
  margin: 30px 0;
  background-color: rgba(124, 80, 157, 1);
  padding: 10px;
  border-radius: 10px;
  display: inline-block;
}

.viber-section img {
  width: 200px;
  height: 200px;
}

/* CONTACT US */

.contact-us {
  text-align: center;
  background: #eaeaea;
}

.contact-us h3 {
  margin-bottom: 20px;
}
.wrap-info {
  max-width: 250px;
}
.wrap-info div {
  margin-bottom: 30px;
}

.wrap-info div p {
  line-height: 2rem;
  margin-bottom: 25px;
}

.m8 {
  width: 32px;
  line-height: 32px;
  border-radius: 50%;
  text-align: center;
  background: #cdaccf;
  display: inline-block;
  margin: 0 5px;
}

.bus {
  padding: 2px 10px;
  background: #9c983a;
  margin: 0 5px;
}

.map-wrap {
  margin: 10px 0;
}
.map-wrap iframe {
  max-width: 300px;
  max-height: 300px;
}

/* FOOTER */

.footer {
  background: var(--background-dark-color);
  padding: 30px 0;
}

.footer-church-logo {
  width: 100px;
  height: 100px;
  filter: invert(1);
  margin-bottom: 50px;
}

.footer p {
  color: white;
  margin-bottom: 50px;
}

.footer > div:first-of-type {
  flex-direction: row;
}

.footer img[alt='social-man'] {
  height: 100px;
  margin-right: 15px;
}

.icon.facebook {
  margin-bottom: 20px;
}

.wrapper-social-icons .icon a {
  height: 40px;
  width: 40px;
  display: block;
  background: #fff;
  border-radius: 50%;
  text-align: center;
  /* box-shadow: 0 5px 5px rgba(255,255,255, 0.1); */
  transition: 0.3s ease;
}

.wrapper-social-icons .icon a {
  font-size: 25px;
  line-height: 40px;
}

@media (min-width: 500px) {
  body {
    font-size: 1.3rem;
  }

  .map-wrap iframe {
    max-width: 450px;
    max-height: 400px;
  }

  .church-name-container h1 {
    font-size: 2.8rem;
  }

  .footer.flex {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
  }

  .footer-church-logo {
    margin-bottom: 0px;
  }

  .footer p {
    color: white;
    margin-bottom: 0;
    font-size: 1.1rem;
  }
}

@media (min-width: 767px) {
  .church-name-container h1 {
    font-size: 3.8rem;
  }

  h2 {
    margin-bottom: 55px;
  }

  .viber-section div.flex {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
  }

  .wrap-info {
    flex-direction: row;
    max-width: 700px;
    align-items: flex-start;
    text-align: left;
  }

  .wrap-info div {
    padding: 0 20px;
  }

  .contact-us.flex {
    align-items: initial;
  }

  .map-wrap iframe {
    max-width: 700px;
    max-height: 400px;
  }
}

@media (min-width: 992px) {
  .hamburger-menu {
    display: none;
  }

  .navigation {
    display: flex;
  }

  .header {
    padding: 30px;
  }

  .church-name-container h1 {
    font-size: 4rem;
  }

  .contact-us .wraper {
    flex-direction: row;
    justify-content: space-around;
  }

  .wrap-info.flex {
    flex-direction: column;
    max-width: 400px;
  }

  .map-wrap iframe {
    max-width: 550px;
    max-height: 500px;
  }

  .footer.flex {
    padding: 20px 30px;
  }
}

@media (min-width: 1100px) {
  .church-name-container h1 {
    font-size: 5rem;
  }

  .invitation-viber-text {
    font-size: 1.4rem;
    max-width: 500px;
    line-height: 2em;
  }

  .viber-section img {
    width: 250px;
    height: 250px;
  }

  .wrap-info {
    font-size: 1.4rem;
  }

  .footer img[alt='social-man'] {
    height: 140px;
  }

  .wrapper-social-icons .icon.facebook:hover a {
    color: white;
    background: #4267b2;
  }

  .wrapper-social-icons .icon.viber:hover a {
    color: white;
    background-color: #665cac;
  }
}

@media (min-width: 1440px) {
  .church-name-container h1 {
    font-size: 6rem;
  }

  .viber-section img {
    width: 300px;
    height: 300px;
  }

  .wrap-info.flex {
    max-width: 700px;
  }

  .map-wrap iframe {
    max-width: 800px;
    max-height: 700px;
  }
}
