:root {
  --main: #ec1c24;
  --black: #121212;
  --text: #ebebeb;
  --white: #fff;
  --yellow: #f2be0b;
}

@font-face {
  font-family: "Perun";
  src: url(../fonts/Perun.otf);
}

@font-face {
  font-family: "Gill Sans";
  src: url(../fonts/gillsansmt.ttf);
}

html,
body {
  background: var(--black) !important;
}

.container h1 {
  color: var(--main);
  font-family: "Perun", sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 40px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  padding: 0;
  margin: 0;
}

.container p {
  color: var(--text);
  font-family: "Gill Sans", sans-serif;
}

.logo {
  width: 75px;
  height: 57px;
  object-fit: cover;
}

nav {
  padding: 31px 0px;
}

.social-link img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

#hero .container {
  min-height: 80dvh;
}

.hero-text p {
  max-width: 406px;
  margin-top: 27px;
}

#hero .app-link {
  margin-top: 118px;
}

.app-link img {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.app-link p {
  color: var(--white);
  font-weight: 400;
  font-size: 16px;
}

.app-link div {
  width: 264px;
  background: var(--main);
  padding: 10px 0;
  border-radius: 12px;
}

.app-link a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.first_screen {
  position: absolute;
  top: 0;
  right: 0;
  width: 900px;
  height: auto;
}

main {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

#about h4 {
  color: var(--text);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  max-width: 450px;
}

#about h4 span {
  color: var(--main);
  font-weight: 700;
  font-size: 24px;
  line-height: 33px;
  text-align: center;
}

.about-card {
  padding: 10px 30px;
  background-color: #811a15cc;
  max-width: 400px;
  border-radius: 12px;
}

.about__img img {
  width: 300px;
  height: auto;
  object-fit: cover;
}

.about-card img {
  width: 32px;
  height: 32px;
  margin-bottom: 9px;
}

.products {
  width: 100%;
  max-width: 550px;
}

.products .swiper-slide {
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--black);
  opacity: 0 !important;
}

.products .swiper-slide-active {
  opacity: 1 !important;
}

.products .swiper-slide h5 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  line-height: 23.15px;
}

.products .swiper-slide p {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: var(--text);
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  text-align: center;
  margin-top: 16px;
}

.products .swiper-slider img {
  width: 100%;
  max-width: 404px;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.slider-img {
  width: 100%;
  max-width: 300px;
  flex-shrink: 0;
}

.slider-img .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.slider__title {
  max-width: 700px;
}

.bonus-img img {
  width: 100%;
  max-width: 781px;
  height: auto;
  object-fit: cover;
}

.join__us__img img {
  width: 100%;
  height: auto;
  max-width: 800px;
  object-fit: cover;
}

footer {
  margin-top: 60px;
  padding: 60px 0;
  background-color: #191919;
}

footer h5 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 20px;
  margin-bottom: 24px;
}

footer a {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-weight: 400;
  color: var(--white);
  font-size: 17px;
  text-decoration: none;
  margin-bottom: 12px;
}

section {
  overflow: hidden;
}

footer .logo-img img {
  width: 115px;
  height: auto;
  object-fit: cover;
}

.mobile-fixed {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: 100%;
  height: fit-content;
}

.hero-app {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 10;
}

.hero-tomato {
  width: 500px;
  height: auto;
  position: absolute;
  top: -70px;
  right: -50px;
}

.hero-dumplings {
  width: 200px;
  height: 200px;
  position: absolute;
  top: -100px;
  right: 0px;
}

.hero-pizza {
  width: 200px;
  height: 122px;
  position: absolute;
  top: -10px;
  left: 0px;
}

.hero-steak {
  width: 180px;
  height: 180px;
  position: absolute;
  top: 150px;
  left: -50px;
}

.hero-crakers {
  width: 225px;
  height: 300px;
  position: absolute;
  left: -50px;
  bottom: 0;
}

#hero .container {
  gap: 120px;
}

/* media.css */
@media screen and (min-width: 992px) {
  .container h1 {
    font-weight: 700;
    font-size: 50px;
    line-height: 55px;
  }
  .about__img {
    margin-left: 40px;
    margin-right: 95px;
  }
  section {
    padding-top: 60px;
  }
  .mobile-fixed {
    position: relative;
    top: unset;
    left: unset;
    transform: none;
    width: 100%;
    height: fit-content;
  }
  .hero-tomato {
    width: 500px;
    height: auto;
    position: absolute;
    top: -70px;
    right: -50px;
  }

  .hero-dumplings {
    width: 200px;
    height: 200px;
    position: absolute;
    top: -100px;
    right: 100px;
  }

  .hero-pizza {
    width: 200px;
    height: 122px;
    position: absolute;
    top: -10px;
    left: 120px;
  }

  .hero-steak {
    width: 180px;
    height: 180px;
    position: absolute;
    top: 150px;
    left: 0px;
  }

  .hero-crakers {
    width: 225px;
    height: 300px;
    position: absolute;
    left: -50px;
    bottom: 0;
  }
}
