@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap");

/* CSS Variables */
:root {
  --normal-font: 400;
  --bold-font: 600;
  --bolder-font: 900;
  --primary-color: #2e6ad9;
  --secondary-color: #ea2027;
  --line-height: 1.7rem;
  --transition: 0.4s ease-in;
}

/* Smooth scroll effect */
html {
  scroll-behavior: smooth;
}

/* Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: var(--transition);
}

@font-face {
  font-family: "GL";
  src: url(../fonts/gl.ttf) format("truetype");
}

@font-face {
  font-family: "10CE";
  src: url(../fonts/10CESB__.TTF) format("truetype");
}

@font-face {
  font-family: "10CE2";
  src: url(../fonts/10CESRG_.TTF) format("truetype");
}

@font-face {
  font-family: "Creamy";
  src: url(../fonts/Creamy_Sauce.otf) format("truetype");
}


@font-face {
  font-family: "Secular";
  src: url(../fonts/SecularOne-Regular.ttf) format("truetype");
}

body {
  font-family: "Roboto", sans-serf;
  background-image: url("../img/bg.png");
}


ul li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  color: var(--secondary-color);
}

/* Dark theme starts*/
body.dark {
  background-color: #1e272e;
}

body.dark .bar {
  background-color: #fff;
}

body.dark p {
  color: #fff;
}

body.dark h2 {
  color: #fff;
}

body.dark nav {
  background-color: #1e272e;
  box-shadow: 2px 3px 2px #111010;
}

body.dark ul {
  background-color: #1e272e;
}


body.dark footer {
  color: #fff;
  border-top: 1px solid #111010;
  box-shadow: 0px -2px 3px #111010;
}

body.dark .divider {
  border-top: 10px dashed #dfb90d;
}

body.dark .all-parts {
  color: #a6bbe3;
}


.denis-title {
  color: #f9bf13;
  text-shadow: 3px 3px 0 #000,
  -1px -1px 0 #000,
  1px -1px 0 #000,
  -1px 1px 0 #000,
  1px 1px 0 #000;
}

.rus-title {
  display: none;
  padding-bottom: 20px;
}

.eng-title{
  display: none;
  padding-bottom: 20px;
}


.heb-title {
  font-family: "Secular";
}

nav {
  background-image: url("../img/bg_head.png");
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  box-shadow: 2px 3px 2px #f1f1f1;
}

.logo {
  font-size: 2rem;
  font-weight: 500;
}

.logo img {
  width: 3rem;
  vertical-align: sub;
  margin-left: 14px;
}

.lang-btn{
  border: 0;
  height: 0rem;
}


/* Dark theme switcher*/
.checkbox {
  opacity: 0;
  position: absolute;
}

.lang-checkbox {
  opacity: 0;
  position: absolute;
}

.label {
  width: 50px;
  height: 29px;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 30px;
  padding: 6px;
  position: relative;
}

.switcher {
  background-color: #fff;
  position: absolute;
  top: 5px;
  left: 2px;
  height: 20px;
  width: 20px;
  border-radius: 50%;
}

.lang-selection img{
  width: 10%;
}

.lang-switcher {
  background-color: #fff;
  position: absolute;
  top: 5px;
  left: 2px;
  height: 20px;
  width: 30px;
}

.lang-label {
  width: 60px;
  height: 29px;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px;
  position: relative;
}

.lang-label p {
  color: white;
}

.moon {
  color: #ffa502;
}

.sun {
  color: #ff4757;
}

.checkbox:checked + .label .switcher {
  transform: translateX(24px);
}

.lang-checkbox:checked + .lang-label .lang-switcher {
  transform: translateX(24px);
}

/* Dark theme switcher ends */
/* Navbar ends */

/* Hero section starts */
.hebrew {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.9rem;
  max-width: 1100px;
  margin: 2rem auto -6rem;
  direction: rtl;
  font-family: "Secular";
  padding-right: 10%;
}

.russian {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.9rem;
  max-width: 1100px;
  margin: 2rem auto -6rem;
  direction: ltr;
  font-family: "GL", sans-serif;
  padding-left: 10%;
  display: none;
}

.english {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.9rem;
  max-width: 1100px;
  margin: 2rem auto -6rem;
  direction: ltr;
  padding-left: 10%;
  display: none;
}

.hebrew .intro-text {
}

.intro-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 5rem;
}

.intro-text h2 {
  margin-bottom: 4.1rem;
}

.hebrew .russian p {
  line-height: var(--line-height);
  font-size: 20px;
}

.all-parts {
  color: var(--primary-color);
}

.natbag-wrapper {
  display: flex;
}

.natbag-wrapper img {
  width: 31%;
  height: auto;
  margin-right: 21px;
}

.natbag {
  color: var(--secondary-color);
}

.contact {
  margin-bottom: 7.1rem;
}

.contact img {
  width: 30%;
  border-radius: 10px;
}

.contact .whatsapp {
  display: flex;
  font-family: "Creamy";
}

.divider {
  border-top: 10px dashed #1983d5;
}


.btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.8rem 0.6rem;
  border: none;
  font-size: 1.4rem;
  border-radius: 5px;
  color: #fff;
}

.red {
  background-color: var(--secondary-color);
  margin-right: 1.5rem;
}

.red:hover {
  background-color: #f1262d;
  color: #fff;
}

.blue {
  background-color: var(--primary-color);
}

.blue:hover {
  background-color: #095cf7;
  color: #fff;
}

iframe {
  max-width: 30rem;
  border-top: 40px groove var(--primary-color);
  border-bottom: 40px groove var(--primary-color);
  border-right: 28px solid var(--secondary-color);
  border-left: 28px solid var(--secondary-color);
}

.stand-1 {
  height: 90px;
  width: 6px;
  background-color: var(--primary-color);
  transform: rotate(40deg);
  position: relative;
  top: -16px;
  left: 200px;
}

.stand-2 {
  height: 90px;
  width: 6px;
  background-color: var(--secondary-color);
  transform: rotate(-40deg);
  position: relative;
  top: -105px;
  left: 255px;
}


/* Image gallery starts */
.stars-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stars-gallery img,
.stars-gallery a {
  width: 100%;
  height: 100%;
}

.stars-gallery a:first-child {
  grid-row: 1/3;
  grid-column: 1/3;
}

.stars-gallery a:nth-child(2) {
  grid-column: 3/5;
}

/* Image gallery ends */

/* Stakeholders start */
.people {
  margin-top: 2rem;
  padding: 1rem 0;
}

.stakeholders {
  margin: 2rem auto;
  max-width: 1100px;
}

.stakeholders img {
  border-radius: 0.6rem;
}

.persons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  gap: 1rem;
}

.name {
  color: var(--primary-color);
  text-align: center;
}

.role {
  color: var(--secondary-color);
  text-align: center;
  font-size: 0.8rem;
}

/* Stakeholders ends */

/* Subscription form starts */
.sub {
  margin-top: 2rem;
  height: 10vh;
}

.sub h3 {
  text-align: center;
}

form {
  text-align: center;
  margin: 0.4rem 2rem;
}

.email-sub {
  padding: 0.2rem;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
}

.email-sub:focus {
  border: 1px solid var(--secondary-color);
  outline: none;
}

.submit-btn {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.3rem;
  margin: 0 0.5rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #095cf7;
}

/* Subscription form ends */

/* Social icons */
.social {
  text-align: center;
  margin: 2rem;
}

.socicons {
  font-size: 1.3rem;
}

/* Footer */
footer {
  border-top: 1px solid #f1f1f1;
  box-shadow: 0px -2px 3px #f1f1f1;
  text-align: center;
  padding: 2rem;
}

/* Scroll to top button starts */
.scroll-up {
  position: fixed;
  right: 0.5%;
  bottom: 3%;
  cursor: pointer;
}

.up-arrow {
  width: 3rem;
  height: 3rem;
}

@media screen and (min-width: 768px) {


  body {
    background-repeat: no-repeat;
    background-size: 100%;
  }

  .lang-selection img {
    width: 39%;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 1000;
  }

}


@media screen and (max-width: 768px) {

  body {
    background-repeat: no-repeat;
  }

  .lang-selection {
    display: flex;
  }

  .lang-selection img{
    width: 4.5rem;
    padding: 6px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 1000;
  }

  ul {
    background-color: #fff;
    flex-direction: column;
    position: fixed;
    left: 100%;
    top: 5rem;
    width: 100%;
    text-align: center;
  }

  ul.active {
    left: 0;
  }

  .nav-item {
    margin: 2rem 0;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hebrew .russian {
    flex-direction: column;
    max-width: 500px;
  }

  .intro-text h1 {
    font-size: 2.3rem;
  }

  .btn {
    padding: 0.5rem;
    font-size: 1.2rem;
  }

  iframe {
    max-width: 26rem;
  }

  .stand-1 {
    left: 170px;
  }

  .stand-2 {
    left: 225px;
  }

  .about {
    text-align: center;
  }

  .persons {
    grid-template-columns: repeat(1, 1fr);
  }

  .tf-hours-heb img {
    width: 41%;
  }

  .tf-hours-heb {
    top: 105%;
    left: -34vw;
  }

  .tf-hours-rus img {
    width: 128%;
  }

  .tf-hours-rus {
    left: 79%;
    top: 203%;
  }
}

@media screen and (max-width: 420px) {


  .hebrew .russian {
    max-width: 330px;
  }

  .intro-text h1 {
    font-size: 2rem;
  }

  iframe {
    max-width: 330px;
  }

  .stand-1 {
    left: 140px;
  }

  .stand-2 {
    left: 195px;
  }

  tf-hours {
    display: inline-block;
    animation: blinker 1s linear infinite;
  }

  .tf-hours-rus img {
    width: 128%;
  }

  .tf-hours-rus {
    left: 79%;
    top: 203%;
  }

  .tf-hours-heb {
    top: 115%;
    right: 84%;
  }

  .tf-hours-heb img {
    width: 50%;
  }
}

.tf-hours {
  display: inline-block;
  animation: blinker 1s linear infinite;
}


.tf-hours-rus {
  position: absolute;
  -ms-transform: translateY(-10%);
  transform: translateY(-50%);
  rotate: -18deg;
}

.tf-hours-heb {
  position: absolute;
  -ms-transform: translateY(-50%);
  transform: translateY(-205%);
  text-align: right;
  direction: rtl;
  rotate: 14deg;
}


.tf-hours-rus img {
  width: 128%;
}

.tf-hours-rus {
  left: 79%;
  top: 120%;
  padding: 30px;
}


@keyframes blinker {
  50% {
    opacity: 0;
  }
}
