*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  direction: rtl;
  background-image: linear-gradient(
    180deg,
    #d6e2ed,
    #dfe0f2 39%,
    #d6e2ed 42%,
    #d6e2ed
  );
  background-color: #dce1f0;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

.right {
  float: right !important;
}

.left {
  float: left !important;
}

.center {
  float: none !important;
  text-align: center;
}

clr::before,
section::before {
  content: "";
  display: table;
  clear: both;
}

section h2 {
  font-size: 3.5rem;
}

content {
  width: 90%;
  max-width: 80rem;
  display: block;
  margin: 0 auto;
}

.flex {
  display: flex;
}

.flex-v {
  flex-direction: column;
}

header {
  padding-top: 2rem;
}

header nav,
header logo {
  flex: 0 50%;
}

header nav {
  justify-content: flex-end;
}

header nav a {
  line-height: 2.5rem;
  position: relative;
  padding: 0 1rem;
}

header nav a.active::after,
.buttonWithWave::after {
  content: "";
  width: 100%;
  height: 6px;
  background: url(images/wave.svg);
  background-position: 0 0;
  background-repeat: repeat-x;
  position: absolute;
  background-size: 10rem;
  bottom: -9px;
  left: 0;
  pointer-events: none;
  -webkit-animation: 20s linear infinite;
  animation: 20s linear infinite;
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
  -webkit-animation-name: animationArrow;
  animation-name: animationArrow;
}

header nav a.active:hover::after,
.buttonWithWave:hover::after {
  -webkit-animation-play-state: running;
  animation-play-state: running;
}

@-webkit-keyframes animationArrow {
  0% {
    background-position: 0 0;
  }

  to {
    background-position: 450px 0;
  }
}

@keyframes animationArrow {
  0% {
    background-position: 0 0;
  }

  to {
    background-position: 450px 0;
  }
}

logo {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  background-image: url(images/logo-T.png);
}

sectionOneContent {
  justify-content: center;
}

sectionOneContent,
.lady {
  flex: 1 0 0;
}

.lady {
  position: relative;
  left: -3rem;
  top: -2rem;
  z-index: -1;
}

.buttonWithArrow {
  position: relative;
  border: solid 2px white;
  background-color: transparent;
  border-radius: 5px;
  width: 50%;
  height: 4rem;
  margin-top: 1rem;
  transition: all 0.2s ease-in-out;
}

.buttonWithArrow:hover::before {
  transform: translate(2px, -2px);
}

.buttonWithArrow:hover::after {
  transform: translate(2px, -2px) rotate(180deg);
}

.buttonWithArrow::before {
  content: attr(data-text);
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  padding-right: 1rem;
  transition: all 0.2s ease-in-out;
  transform: translate(7px, -7px);
}

.buttonWithArrow.white::before {
  border-radius: 5px;
  background-color: white;
}

.buttonWithArrow::after {
  content: "";
  width: 50%;
  height: 100%;
  position: absolute;
  left: -20%;
  background-position: center;
  transition: all 0.2s ease-in-out;
  transform: translate(7px, -7px) rotate(180deg);
  background-image: url(images/blackarrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

#two,
sectionTwoContent {
  padding: 3rem 0;
}

onflow {
  flex: 5;
  background-image: url(images/onflow.png);
  background-size: cover;
  background-position: center;
}

sectionTwoContent {
  flex: 6;

  margin-right: 3rem;
}

.buttonWithWave {
  width: 8rem;
  position: relative;
  align-self: flex-start;
  font-weight: 700;
  margin-top: 1.5rem;
}

.buttonWithWave::after {
  background-image: url(images/ButtonWave.svg);
}

.bordered {
  margin: 4rem 0;
  margin-top: 14rem;
  position: relative;
}

.bordered::before {
  content: "";
  width: 100%;
  height: 100%;
  border: solid 2px white;
  border-radius: 0.2rem;
  position: absolute;
  right: 0;
  top: 0;
}

.bordered::after {
  content: "";
  height: 2px;
  width: 70%;
  position: absolute;
  right: 15%;
  top: 0;
  background-color: #d6e2ed;
}

.bordered img {
  width: 60%;
  position: relative;
  right: 20%;
  margin-top: -10rem;
  z-index: 2;
}

sectionThreeContent {
  padding: 2rem;
}

sectionThreeContent h3,
sectionThreeContent div {
  flex: 0 50%;
  flex-wrap: wrap;
}

sectionThreeContent h3 {
  font-size: 3rem;
  line-height: 2;
}

sectionThreeContent p {
  line-height: 2;
  padding-top: 3rem;
}

#four {
  padding: 2rem;
  background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
  position: relative;

  margin-top: 11rem;
  margin-bottom: 7rem;
}

.dataset {
  flex: 3;
  position: relative;
  padding: 2rem;

  margin: -8.11111vw 0 0;
}

sectionFourContent {
  flex: 7;
}

statements {
  flex-wrap: wrap;
  background-color: white;
  border-radius: 0.2rem;
  position: relative;
  z-index: 2;
  top: 2rem;
}

statements::before {
  content: "";
  border: solid 2px white;
  border-radius: 0.2rem;
  position: absolute;
  z-index: 0;
  left: -1rem;
  bottom: -1rem;
  width: 100%;
  height: 100%;
}

state {
  flex: 0 50%;
  padding: 1rem;
}

state h4 {
  margin: 0;
  font-weight: 700;
}

sectionFourContent .buttonWithWave {
  top: 2rem;
  margin: auto;
}

shortData {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  flex: 0 30%;
  margin: 0 1.5%;
  padding: 1rem;
  border: solid 2px white;
  border-radius: 0.3rem;
  position: relative;
  background: #d6e2ed;
}

shortData::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: solid 2px #c3cdd6;
  border-radius: 0.3rem;
  top: 1rem;
  right: 1rem;
  z-index: -1;
}

shortData img {
  position: relative;
  width: 54%;
  margin: auto;
  margin-top: -4rem;
}

shortData h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  margin-top: 3rem;
}

shortData p {
  color: #31333b;
  font-size: 0.9rem;
  line-height: 1.8rem;
}

footer {
  padding-top: 7rem;
}

cols {
  flex: 1;
}

cols h5 {
  font-size: 1rem;
}

cols ul,
cols li {
  padding: 0;
}

cols a {
  transition: 0.2s all ease-in-out;
  line-height: 1.8rem;
  font-size: 0.9rem;
}

cols a:hover {
  font-weight: 700;
}

cols p {
  font-size: 0.9rem;
  color: #575a63;
}

.phone {
  direction: ltr;
  display: block;
}

.aboutCol {
  padding-top: 1rem;
}
.hide_in_large {
  display: none;
}

@media screen and (max-width: 480px) {
  .hide_in_small {
    display: none;
  }
  .hide_in_large {
    display: initial;
  }
  .flex {
    flex-wrap: wrap;
  }
  section h2 {
    font-size: 8.53333vmin;
    text-align: center;
  }
  mobileNav {
    position: fixed;
    width: 100vw;
    height: 3rem;
    background-color: rgb(255 255 255 / 83%);
    backdrop-filter: blur(9px);
    right: 0;
    top: 0;
    z-index: 3;
  }
  headNav {
    flex: 0 100%;
    justify-content: space-between;

    padding: 0 1rem;
  }
  toggleMobileNav {
    height: 3px;
    width: 1.8rem;
    position: relative;
    top: calc(1.5rem - 3px);
    background: #f6cf67;
    transform-origin: center;
    transition: 0.1s all ease-in-out;
  }
  toggleMobileNav::before,
  toggleMobileNav::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    transform: translateY(8px);
    background: inherit;
    transition: 0.1s all ease-in-out;
  }
  toggleMobileNav::after {
    transform: translateY(-8px);

    transform-origin: left;
  }
  toggleMobileNav::before {
    transform-origin: right;
  }
  .rotate_-90 {
    transform: rotate(-90deg);
    width: 1.3rem;
  }
  toggleMobileNav.rotate_-90::after {
    transform: translateY(0px) rotate(-40deg) translateX(0px);
  }
  toggleMobileNav.rotate_-90::before {
    transform: translateY(17px) rotate(40deg) translateX(-7px);
  }
  headNav logo {
    height: 3rem;
    justify-self: flex-end;
    flex: 0 10%;
  }
  listmenus {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 3rem;
    padding: 1rem 7%;
  }
  listmenus li a {
    font-size: 1.5rem;
    line-height: 4rem;
    display: block;
  }
  .maxHeight {
    height: 100vh;
  }

  sectiononecontent h2 {
    margin-bottom: 33rem;
  }
  sectiononecontent p {
    order: 3;
  }
  .lady {
    left: 0;
    top: 9rem;
    position: absolute;
  }

  .buttonWithArrow {
    width: 100%;
  }
  .buttonWithArrow::after {
    left: 6%;
    width: 33%;
  }
  onflow {
    flex: 0 100%;
    background-size: contain;
    min-height: 19rem;
    background-repeat: no-repeat;
  }
  sectionTwoContent {
    flex: 0 100%;
    margin-right: auto;
  }
  sectionTwoContent p {
    text-align: center;
    margin: 0.5rem 0;
  }
  .buttonWithWave {
    align-self: center;
  }
  .bordered {
    margin-top: 5rem;
  }
  .bordered::after {
    right: 0;
    width: 100%;
  }
  .bordered img {
    margin-top: -4rem;
    width: 100%;
    right: 0;
  }
  sectionthreecontent {
    text-align: center;
  }
  sectionthreecontent h3 {
    font-size: 8vmin;
    flex: 0 100%;
  }
  sectionThreeContent div,
  state {
    flex: 0 100%;
  }
  sectionThreeContent p {
    padding-top: 0;
  }
  #four {
    padding-bottom: 5rem;
  }
  dataset {
    margin: -44.11111vw 0 0;
  }
  statements::before,
  shortData::before {
    display: none;
  }
  sectionfourcontent > p {
    line-height: 1.45rem;
    text-align: center;
  }
  .dataset {
    margin: -38.11111vw 0 0;
  }
  state h4 {
    font-size: 4.33333vmin;
    line-height: 6.66667vmin;
    margin: 0 0 1.6vmin;
    color: #26282d;
  }
  state p {
    font-size: 14px;
    color: #7b7e87;
    line-height: 19px;
    margin: 0;
  }
  sectionFourContent .buttonWithWave {
    top: 3.5rem;
  }
  shortData {
    flex: 0 100%;
    margin: 0 1.5% 4rem;
  }
  shortData img {
    width: 38%;
  }
  shortData h4 {
    font-size: 5.4vmin;
  }
  cols {
    flex: 0 50%;
  }
  cols h5 {
    font-weight: 700;
  }
  .aboutCol {
    text-align: center;
    flex: 0 100%;
  }
  footer {
    padding-top: 5rem;
  }
}
