html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}
.navigate {
  display: none;
}

body {
  max-width: 100vw;
  margin-top: 2em;
  margin-left: auto;
  margin-right: auto;
}
.hero {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  justify-content: space-around;
  margin-bottom: 3em;
}

.left {
  max-width: 50%;
  text-align: right;
  direction: rtl;
  line-height: 2em;
}
.right {
  justify-self: center;
  align-self: center;
}

.desc {
  max-width: 50%;
  text-align: right;

  margin-left: auto;
  line-height: 2em;
}

.mainP {
  margin-bottom: 2em;
}

.equipment {
  text-align: center;
  direction: rtl;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.card-image {
  width: 150px;
  height: 100px;
}
h3 {
  margin-bottom: 3em;
}

.cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 2em;
}
.cards-top,
.cards-bottom {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.cards-top {
  margin-bottom: 2em;
}

.card {
  margin: 0 1em 0.5em;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 2em;
  transition: all 0.2s ease-in-out;
}

.card:hover {
  transform: scale(1.1);
}

footer {
  direction: rtl;
  background-color: #1f86a8;
  color: white;
  text-align: center;
  max-width: 100%;
}

footer p {
  max-width: 100%;
}

.links {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

li {
  list-style-type: none;
  padding: 0 2em;
  margin: 0 2em;
}
.btnContact {
  text-align: center;
  margin-bottom: 2em;
}

.contact {
  padding: 1em 2em;
  border-radius: 6px;
  background-color: rgb(85, 169, 238);
  color: white;
  position: relative;
  text-decoration: none;
}

h4 {
  max-width: 100%;
}

@media screen and (max-width: 1100px) {
  .right {
    display: none;
  }

  .navigate {
    display: block;
  }
  .cards-top,
  .cards-bottom {
    flex-direction: column;
  }
  .left img {
    width: 80%;
  }
  li {
    margin: 0;
  }
  footer p {
    margin-bottom: 1em;
  }

  .left {
    min-width: 100%;
    margin: 0;
  }
  body {
    width: 100vw;
  }
  .contact {
    margin-top: 1.5em;
  }
  .hero {
    padding: 0 1.5em;
  }

  .form-h3 {
    font-size: 5em;
  }
  .card {
    margin-bottom: 1.2em;
  }
  .links {
    font-size: 0.9em;
  }

  footer {
    padding: 1em 0 2em 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .navigate svg {
    font-size: 20px;
  }
}
