/* variables */
/* common setings */
* {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans Hebrew', sans-serif;
  box-sizing: border-box;
}
html,
body {
  text-align: right;
  direction: rtl;
}
html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.main-title {
  font-size: 4rem;
  font-weight: 600;
}
@media all and (max-width: 768px) {
  .main-title {
    font-size: 3rem;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wrapper {
  width: 1220px;
  max-width: 98%;
  margin: 0 auto;
  position: relative;
}
.wrapper.inside-section {
  width: 1210px;
  max-width: 100%;
}
@media all and (max-width: 768px) {
  .wrapper {
    max-width: 92%;
  }
}
/* paragraphs style */
h1,
h2,
h3,
h4 {
  font-weight: normal;
}
h1,
h2 {
  font-size: 3rem;
}
a {
  text-decoration: none;
  transition: .5s;
  font-size: 1.8rem;
}
a:active,
a:hover,
a:focus {
  transition: .5s;
}
p {
  line-height: 1.4em;
  font-size: 1.6rem;
  font-weight: normal;
}
strong {
  font-weight: bold;
}
ul,
ol {
  padding: 0;
}
ul li {
  list-style: none;
}
iframe {
  width: 100%;
  border: none;
}
/* navigation - common*/
nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
nav ul li {
  list-style: none;
  transition: .5s;
}
nav ul li a {
  position: relative;
  font-size: 1.8rem;
  padding: .5rem 1rem;
}
nav a.responsive-button {
  position: relative;
  z-index: -1;
  opacity: 0;
}
/* header */
header {
  position: relative;
  z-index: 999;
  padding: 1rem 0;
}
header .wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
/* mixin */
.before-after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: .5s;
}
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.vertical-align-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* keyframes */
@keyframes drop-down {
  0% {
    transform: scaleY(0);
  }
  80% {
    transform: scaleY(1.1);
  }
  100% {
    transform: scaleY(1);
  }
}
@keyframes drop-up-out {
  0% {
    transform: scaleY(0);
  }
  80% {
    transform: scaleY(-1.1);
  }
  100% {
    transform: scaleY(-1);
  }
}
@keyframes drop-up-in {
  100% {
    transform: scaleY(-1);
  }
  80% {
    transform: scaleY(-1.1);
  }
  0% {
    transform: scaleY(0);
  }
}
@keyframes fade-in-menu {
  0% {
    opacity: 0;
  }
  50% {
    opacity: .5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes grow {
  0%,
  20% {
    transform: scale(1);
  }
  75%,
  100% {
    transform: scale(1.15);
  }
}
