:root {
  --primary: rgb(145, 54, 81);
  --text: #626262;
  --dark-s: #CDCDCD;
  --light-s: #FAFAFA;
  --transition: all 0.5s ease;
}

@font-face {
  font-family: "ChunkFiveEx";
  src: url("fonts/ChunkFiveEx.woff"), url("fonts/ChunkFiveEx.woff2"), url("fonts/ChunkFiveEx.ttf"), url("fonts/ChunkFiveEx.eot");
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

ul {
  padding: 0;
}
ul li {
  list-style: none;
}

body {
  font-family: Arial, sans-serif;
}

h1 {
  font-family: "ChunkFiveEx", sans-serif;
  font-size: 5rem;
  letter-spacing: 5px;
  color: var(--text);
}
h1 span {
  color: var(--primary);
}
@media (max-width: 768px) {
  h1 {
    font-size: 3.3rem;
  }
}
@media (max-width: 533px) {
  h1 {
    font-size: 36px;
  }
}

h2 {
  font-family: "ChunkFiveEx", sans-serif;
  font-size: 3.3rem;
  letter-spacing: 3px;
  color: var(--text);
  text-align: center;
  margin-bottom: 60px;
}
@media (max-width: 533px) {
  h2 {
    font-size: 36px;
    margin-bottom: 30px;
  }
}
h2 span {
  color: var(--primary);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.bold {
  font-weight: 800;
}

.btn {
  padding: 16px 45px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  line-height: 130%;
  letter-spacing: 0.06em;
  color: white;
  transition: var(--transition);
}
@media (max-width: 768px) {
  .btn {
    font-size: 14px;
  }
}
@media (max-width: 380px) {
  .btn {
    padding: 16px 20px;
  }
}

.btn.btn-primary {
  background-color: var(--primary);
  transition: var(--transition);
}
.btn.btn-primary:hover {
  background-color: #b64466;
}

.pic {
  position: relative;
  width: 100%;
}
.pic img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.header {
  padding: 20px 0;
}
.header__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .pic {
  display: block;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.header__menu {
  display: flex;
}
.header__menu li {
  font-family: "Lato", sans-serif;
  letter-spacing: 2px;
  font-weight: 800;
  text-transform: uppercase;
  margin-left: 40px;
}
@media (max-width: 533px) {
  .header__menu li {
    font-size: 16px;
    margin-left: 20px;
  }
}
.header__menu li a {
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}
.header__menu li a:hover {
  color: var(--primary);
}

.promo {
  padding: 100px 0;
}
@media (max-width: 533px) {
  .promo {
    padding: 60px 0 40px;
  }
}
.promo__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.promo__title {
  text-align: center;
  margin-bottom: 50px;
}
.promo__text {
  font-family: "Lato", sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .promo__text {
    font-size: 1.2rem;
  }
}
.promo__text:last-child {
  margin-bottom: 0;
}
.promo__btn {
  display: inline-block;
  text-align: center;
  margin: 40px auto 0;
}

.about {
  padding: 100px 0;
  background-color: var(--light-s);
}
@media (max-width: 533px) {
  .about {
    padding: 40px 0;
  }
}

#slider,
.wrap,
.slide-content {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  height: 30vw;
  overflow-x: hidden;
}
@media (max-width: 1600px) {
  #slider,
  .wrap,
  .slide-content {
    height: 35vw;
  }
}
@media (max-width: 1400px) {
  #slider,
  .wrap,
  .slide-content {
    height: 40vw;
  }
}

.wrap {
  position: relative;
}

.slide {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.slide1 {
  background-image: url("./images/screen1.webp");
}

.slide2 {
  background-image: url("./images/screen2.webp");
}

.slide3 {
  background-image: url("./images/screen3.webp");
}

.slide4 {
  background-image: url("./images/screen4.webp");
}

.slide5 {
  background-image: url("./images/screen5.webp");
}

.gmap-slide1 {
  background-image: url("./images/gmap1.webp");
}

.gmap-slide2 {
  background-image: url("./images/gmap2.webp");
}

.gmap-slide3 {
  background-image: url("./images/gmap3.webp");
}

.slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slide-content span {
  font-size: 5rem;
  color: #fff;
}

.arrow {
  cursor: pointer;
  position: absolute;
  top: 50%;
  margin-top: -35px;
  width: 0;
  height: 0;
  border-style: solid;
}

#arrow-left {
  border-width: 30px 40px 30px 0;
  border-color: transparent var(--primary) transparent transparent;
  left: 0;
  margin-left: 30px;
  transition: var(--transition);
}
#arrow-left:hover {
  border-color: transparent #b64466 transparent transparent;
}
@media (max-width: 1400px) {
  #arrow-left {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  #arrow-left {
    border-width: 15px 20px 15px 0;
  }
}

#arrow-right {
  border-width: 30px 0 30px 40px;
  border-color: transparent transparent transparent var(--primary);
  right: 0;
  margin-right: 30px;
  transition: var(--transition);
}
#arrow-right:hover {
  border-color: transparent transparent transparent #b64466;
}
@media (max-width: 1400px) {
  #arrow-right {
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  #arrow-right {
    border-width: 15px 0 15px 20px;
  }
}

.features {
  padding: 100px 0;
}
@media (max-width: 533px) {
  .features {
    padding: 40px 0;
  }
}
.features ul {
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .features ul {
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  .features ul {
    padding: 0;
  }
}
.features li {
  display: flex;
  align-items: center;
  flex-basis: 50%;
  font-family: "Lato", sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 30px;
  padding-right: 40px;
}
@media (max-width: 533px) {
  .features li {
    font-size: 1.3rem;
  }
}
.features li:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .features li {
    flex-basis: 100%;
    padding-right: 0;
  }
}
.features li .number {
  display: inline-flex;
  flex-basis: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  border-radius: 50%;
  margin-right: 10px;
}
.features li .number span {
  color: white;
  font-family: "ChunkFiveEx", sans-serif;
  font-size: 1.2rem;
}

.footer {
  padding: 10px 20px 20px 20px;
}
.footer__body {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  border-top: solid 1px var(--dark-s);
}
@media (max-width: 768px) {
  .footer__body {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 533px) {
  .footer__body {
    padding: 20px 0 0;
  }
}
.footer a {
  display: block;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  color: var(--text);
  transition: var(--transition);
}
.footer a:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .footer a {
    margin-bottom: 20px;
  }
}
@media (max-width: 533px) {
  .footer a {
    font-size: 1rem;
  }
}
.footer a:hover {
  color: var(--primary);
}
.footer i {
  margin-right: 10px;
}

.bg {
  background-color: var(--light-s);
}

.layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.products {
  padding: 60px 0;
  flex-grow: 1;
}

.products-body {
  display: flex;
  gap: 40px;
  justify-content: center;
}
@media (max-width: 533px) {
  .products-body {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
}

.card {
  display: block;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  width: 190px;
  height: 254px;
  border-radius: 20px;
  background-color: white;
  position: relative;
  padding: 1.5rem 1.5rem 2.5rem 1.5rem;
  border: 2px solid #c3c6ce;
  transition: 0.5s ease-out;
  overflow: visible;
}

.card-details {
  color: var(--text);
  height: 100%;
  gap: 0.5em;
  display: grid;
  align-items: center;
}
.card-details img {
  display: block;
  margin: 0 auto;
  width: 40px;
  height: 40px;
}

.card-button {
  transform: translate(-50%, 125%);
  width: 60%;
  border-radius: 1rem;
  border: none;
  background-color: var(--primary);
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  position: absolute;
  left: 50%;
  bottom: 0;
  opacity: 0;
  transition: 0.3s ease-out;
}

.text-body {
  color: rgb(134, 134, 134);
}

/*Text*/
.text-title {
  font-size: 1.5em;
  font-weight: bold;
}

/*Hover*/
.card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.card:hover .card-button {
  transform: translate(-50%, 50%);
  opacity: 1;
}