/* =============== *\
#Font-faces
\* =============== */

@font-face {
  font-family: "batavia";
  src: url("fonts/batavia-webfont.woff2") format("woff2"),
    url("fonts/batavia-webfont.woff") format("woff"),
    url("fonts/batavia-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "merienda-regular";
  src: url("fonts/merienda-regular-webfont.woff2") format("woff2"),
    url("fonts/merienda-regular-webfont.woff2") format("woff"),
    url("fonts/merienda-regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* =============== *\
#Variables & #Selection
\* =============== */

:root {
  --color-primary: #de852d;
  --color-primary-dark: #a36322;
  --color-primary-light: #ffa54b;
  --color-white: rgb(220, 220, 220);
  --color-black: rgba(10, 10, 10, 1);
  --color-black-rgba: 10, 10, 10;
  --facebook-blue: #4267b2;
}

::selection {
  background-color: var(--color-black);
  color: var(--color-primary);
}

/* =============== *\
#Basic-styles
\* =============== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px */
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-size: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  min-height: 100vh;
}

h1 {
  font-size: 6rem;
  margin: 0;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 3.5rem;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.row {
  max-width: 1140px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

section {
  padding: 15rem 0;
}

@media screen and (max-width: 1200px) {
  body {
    font-size: 1.8rem;
  }

  h1 {
    font-size: 5rem;
    margin: 0;
  }

  h2 {
    font-size: 3.5rem;
  }

  h3 {
    font-size: 3rem;
  }

  .row {
    padding: 0 2rem;
  }
}

@media screen and (max-width: 900px) {
  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 3rem;
  }

  h3 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 500px) {
  h1 {
    font-size: 3rem;
  }

  section {
    padding: 5rem;
  }
}

/* =============== *\
#Header - #Navigation
\* =============== */

.hero-container {
  background: linear-gradient(
      to right,
      rgba(var(--color-black-rgba), 0.7),
      rgba(var(--color-black-rgba), 0.7)
    ),
    url(../images/hero_bg-min.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.hero-container {
  background: linear-gradient(
      to right,
      rgba(var(--color-black-rgba), 0.7),
      rgba(var(--color-black-rgba), 0.7)
    ),
    url(../images/hero_bg-min.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.header {
  width: 100vw;
  min-height: 85vh;
}

.logo {
  width: 10rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  height: 15vh;
}

.nav-active {
  transform: translateX(0%) !important;
  position: fixed;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 50%;
  font-size: 2rem;
  list-style: none;
}

.contact-nav {
  width: 30%;
}

.nav-links__link a {
  color: var(--color-white);
  letter-spacing: 1px;
  transition: all 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
}

.nav-links__link a:hover {
  color: var(--color-primary);
}

.nav-links .social-links {
  display: none;
}

.burger {
  display: none;
  margin-right: 3rem;
  z-index: 100;
}

.burger div {
  width: 30px;
  height: 2px;
  background-color: var(--color-white);
  margin: 8px;
  transition: all 0.3s ease;
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-7px, 7px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-7px, -7px);
}

@media screen and (max-width: 1200px) {
  .nav {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media screen and (max-width: 1024px) {
  .nav-links {
    font-size: 1.8rem;
    width: 55%;
  }
}

@media screen and (max-width: 900px) {
  .nav-links {
    width: 60%;
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    font-size: 1.8rem;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    padding: 5rem 5rem 10rem 5rem;
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 1;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in;
  }

  .nav-links .social-links {
    display: flex;
  }

  .nav-links .social-links ion-icon {
    color: var(--color-primary);
    border-color: var(--color-primary);
  }

  .nav-links .social-links ion-icon:hover {
    color: var(--color-white);
    border-color: var(--color-white);
  }

  .burger {
    display: block;
    cursor: pointer;
  }

  .hero-container {
    background-attachment: scroll;
  }
}

/* =============== *\
#Headings
\* =============== */

.heading-primary {
  color: var(--color-primary);
  font-family: batavia;
  text-align: center;
  padding: 10rem 0 6rem 0;
  text-shadow: -2px 2px 0 var(--color-black), 2px 2px 0 var(--color-black),
    2px -2px 0 var(--color-black), -2px -2px 0 var(--color-black);
}

.heading-primary-main {
  display: inline-block;
  animation: moveFromLeft 3s 0.2s;
  animation-fill-mode: backwards;
}

@keyframes moveFromLeft {
  0% {
    transform: translateX(-200px);
    opacity: 0;
  }

  100% {
    transform: translate(0px);
    opacity: 1;
  }
}

.heading-primary-secondary {
  display: block;
  padding-top: 1rem;
  letter-spacing: 1.5px;
  font-size: 0.6em;
  animation: moveFromRight 3s 0.2s;
  animation-fill-mode: backwards;
}

@keyframes moveFromRight {
  0% {
    transform: translateX(200px);
    opacity: 0;
  }

  100% {
    transform: translate(0px);
    opacity: 1;
  }
}

.heading-container {
  text-align: center;
  margin-bottom: 5rem;
}

section .heading-container {
  margin-bottom: 10rem;
}

.heading-secondary {
  color: var(--color-white);
  font-family: merienda-regular;
}

.heading-secondary::after {
  content: "";
  display: block;
  width: 10%;
  height: 2px;
  margin: 1.3rem auto 0 auto;
  background-color: var(--color-primary);
}

.heading-tertiary {
  letter-spacing: 1.5px;
}

@media screen and (max-width: 900px) {
  .heading-primary {
    padding: 10rem 0 5rem 0;
  }
}

@media screen and (max-width: 500px) {
  .heading-primary {
    padding: 5rem 0 3rem 0;
  }
}

/* =============== *\
#Hero Section
\* =============== */

.hero-description {
  color: var(--color-white);
  text-align: center;
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1.5em;
  letter-spacing: 1px;
  text-shadow: -3px 3px 0 var(--color-black), 3px 3px 0 var(--color-black),
    3px -3px 0 var(--color-black), -3px -3px 0 var(--color-black);
  animation: opacity 3s 1s;
  animation-fill-mode: backwards;
}

.hero-description:nth-of-type(1) {
  padding-bottom: 2rem;
}

.facebook-row {
  margin-top: 13rem;
  animation: opacity 2s 1.5s;
  animation-fill-mode: backwards;
}

@keyframes opacity {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.btn {
  cursor: pointer;
}

.btn-cta {
  animation: moveFromBottom 2s 1s;
  animation-fill-mode: backwards;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  cursor: pointer;
  display: inline-block;
  font-size: 2.5rem;
  letter-spacing: 1.5px;
  margin: 6rem auto 0 auto;
  padding: 1rem 1.5rem 1rem 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.btn-cta::after {
  content: "\2192";
  margin-left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.btn-cta:hover::after {
  margin-left: 10px;
  opacity: 1;
}

.btn-login {
  background-color: var(--color-black);
  border-radius: 3px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  cursor: pointer;
  display: block;
  margin: 0 auto;
  padding: 1rem 2rem;
  transition: all 0.4s ease;
}

.btn-login:hover {
  background-color: var(--color-primary);
  color: var(--color-black);
}

.btn--upload {
  padding: 2rem;
  width: 100%;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-black);
  transition: all 0.3s ease;
}

.btn--upload:hover {
  background-color: var(--color-primary);
  color: var(--color-black);
}

.hero-facebook {
  font-size: 4rem;
  color: var(--facebook-blue);
  border: 2px solid var(--facebook-blue);
  border-radius: 50%;
  padding: 0.6rem;
  margin-top: 1rem;
  transition: all 0.3s;
}

.hero-facebook:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

@keyframes moveFromBottom {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes opacity {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 800px) {
  .btn-cta {
    font-size: 2rem;
  }

  .btn-cta::after {
    content: "";
    margin-left: 0;
  }

  .btn-cta:hover::after {
    margin-left: 0;
  }

  .hero-description {
    font-size: 1.8rem;
  }

  .facebook-row {
    margin-top: 6rem;
  }
}

/* =============== *\
#Config & Discount
\* =============== */

.owl-theme .owl-nav [class*="owl-"]:hover {
  background: none !important;
}

/* =============== *\
#Services-Section
\* =============== */

.services {
  background-color: var(--color-black);
  color: var(--color-white);
  text-align: center;
}

.services-container {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(5rem, 30rem));
  gap: 10rem;
}

.service {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 2fr;
  gap: 2rem;
}

.service-icon {
  font-size: 5rem;
  color: var(--color-primary);
}

.service-description {
  letter-spacing: 0.7px;
  line-height: 1.5em;
}

@media screen and (max-width: 600px) {
  .services-container {
    gap: 5rem;
  }
}

.youtube-section {
  background: linear-gradient(
      to right,
      rgba(var(--color-black-rgba), 0.7),
      rgba(var(--color-black-rgba), 0.7)
    ),
    url(../images/youtube_bg-min.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.youtube-section {
  background: linear-gradient(
      to right,
      rgba(var(--color-black-rgba), 0.7),
      rgba(var(--color-black-rgba), 0.7)
    ),
    url(../images/youtube_bg-min.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.video-container {
  position: relative;
  padding-bottom: 56.1%;
  height: 0;
  overflow: hidden;
  border: 2px solid var(--color-primary);
  border-radius: 5px;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.youtube-link-container {
  text-align: center;
}
.youtube-link:link,
.youtube-link:visited,
.youtube-link:active {
  display: inline-block;
  color: var(--color-primary);
  margin: 5rem 0;
}
.youtube-link:after {
  content: "";
  display: block;
  margin-top: 0.5rem;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-primary);
}
.youtube-link:hover {
  color: var(--color-white);
}
.youtube-link:hover:after {
  background-color: var(--color-white);
}

@media screen and (max-width: 500px) {
  .youtube-section .row {
    padding: 0;
  }
}

/* =============== *\
#Products Section
\* =============== */

.products {
  background: linear-gradient(
      to right,
      rgba(var(--color-black-rgba), 0.7),
      rgba(var(--color-black-rgba), 0.7)
    ),
    url(../images/products_bg-min.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.slider {
  display: grid;
  grid-template-columns: 2fr 1fr;
  place-items: center;
  color: var(--color-white);
  gap: 5rem;
  padding-bottom: 5rem;
}

.slider-2-to-1 {
  grid-template-columns: 1fr 1fr;
}

.slider-1-to-2 {
  grid-template-columns: 1fr 1fr;
}

.slider-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem;
}

.slider-image img {
  max-width: 80%;
}

.product-price {
  margin-top: 4rem;
  font-size: 3rem;
  letter-spacing: 1px;
}

.product-description {
  padding: 5rem 0 0 10rem;
  line-height: 3rem;
}

@media screen and (max-width: 900px) {
  .slider-text {
    padding-left: 3rem;
  }

  .product-description {
    padding: 3rem 0 0 3rem;
  }
}

@media screen and (max-width: 768px) {
  .products {
    background-attachment: scroll;
  }
}

@media screen and (max-width: 600px) {
  .products {
    padding-bottom: 2rem;
  }

  .slider {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .slider-text {
    text-align: center;
    padding: 0 0 2rem 0;
  }

  .product-description {
    list-style: none;
    padding: 3rem 0 0 0;
  }

  .slider-image img {
    max-width: 70%;
  }
}

/* =============== *\
#Footer
\* =============== */

.footer {
  text-align: center;
  border-top: 1px solid var(--color-primary);
  background-color: var(--color-black);
  padding: 3rem 0;
  color: var(--color-white);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.social-links {
  list-style: none;
  display: flex;
}

.social-link:not(:last-child) {
  margin-right: 3rem;
}

.social-links ion-icon {
  font-size: 2rem;
  transition: all 0.3s ease;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 100px;
  padding: 0.8rem;
}

.social-links ion-icon:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

@media screen and (max-width: 600px) {
  .footer-container {
    flex-direction: column;
  }

  .copyright {
    margin-bottom: 3rem;
  }
}

@media screen and (max-width: 400px) {
  .copyright span {
    display: block;
    margin-top: 1rem;
  }
}

/* =============== *\
#Contact Page
\* =============== */

.contact-container {
  color: var(--color-white);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 10rem 0;
}

.contact-container .heading-tertiary {
  font-family: "merienda-regular";
  margin-bottom: 2rem;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 10rem;
  line-height: 1.5em;
  animation: moveFromLeft 2s 0.3s;
  animation-fill-mode: backwards;
}

.contacts .contact-box ion-icon {
  color: var(--color-primary);
  font-size: 3rem;
  padding: 1rem 1.5rem 0 0;
}

.contacts a {
  display: flex;
  color: var(--color-white);
  padding-top: 1rem;
  transition: all 0.3s ease;
}

.contacts a:hover {
  color: var(--color-primary);
}

.contact-box {
  display: flex;
}

.map-container {
  max-width: 570px;
}

.map {
  width: 100%;
  height: 100%;
  animation: loadMap 5s 0.4s;
  animation-fill-mode: backwards;
}

.contacts .social-links ion-icon {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.contacts .social-links ion-icon:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

@keyframes loadMap {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .contact-text {
    padding-bottom: 8rem;
  }

  .contact-text {
    text-align: center;
  }

  .map-container {
    width: 100%;
    height: 35rem;
  }
}

/* =============== *\
#Admin Login Page
\* =============== */

.error-container {
  background-color: var(--color-primary);
  color: var(--color-black);
  text-align: center;
  padding: 2rem 0;
}

.login {
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  width: 50rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 3rem;
}

.login__input-box {
  margin-bottom: 3.5rem;
}

.login__input-box label {
  letter-spacing: 1.3px;
  display: inline-block;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.login__input-box input {
  padding: 1.3rem 1rem;
  width: 100%;
  letter-spacing: 1.5px;
  border: 3px solid transparent;
}

.login__input-box input:focus {
  border: 3px solid var(--color-primary);
  outline: none;
}

/* =============== *\
#Admin Page
\* =============== */

.admin-container {
  min-height: 100vh;
  width: 100vw;
  background: linear-gradient(
      to right,
      rgba(var(--color-black-rgba), 0.9),
      rgba(var(--color-black-rgba), 0.9)
    ),
    url(../images/admin_bg_min.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.admin-container {
  min-height: 100vh;
  width: 100vw;
  background: linear-gradient(
      to right,
      rgba(var(--color-black-rgba), 0.9),
      rgba(var(--color-black-rgba), 0.9)
    ),
    url(../images/admin_bg_min.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.product {
  margin-top: 7rem;
}

.ads {
  margin-top: 2rem;
}

.ads-table {
  overflow-x: auto;
  width: 100%;
  text-align: center;
  color: var(--color-white);
  border-collapse: collapse;
}

.ads-table th,
.ads-table td {
  border-bottom: 1px solid var(--color-primary);
}

.ads-table th,
.ads-table td {
  padding: 2rem 1rem;
}

.ads-table img {
  height: 6rem;
  cursor: pointer;
}

.ads-table ion-icon {
  font-size: 3rem;
  color: var(--color-primary);
}

.product-container {
  padding-bottom: 15rem;
}

.product__form {
  color: var(--color-white);
  margin: 0 auto;
  width: 60rem;
}

.product__input-box {
  width: 100%;
  margin-bottom: 8rem;
}

.product__input-box:last-of-type {
  margin-bottom: 0;
}

.product__input-box label,
.product__input label {
  display: block;
  letter-spacing: 2px;
}

.product__input-box p {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  display: inline-block;
}

.product__input p::after {
  content: "";
  display: block;
  height: 1px;
  width: 30%;
  background-color: var(--color-primary);
  margin-top: 0.8rem;
}

/* .product__input-box label:nth-child(1),
.product__input label:nth-child(1) {
  font-size: 2.5rem;
} */

.product__input-box input[type="file"],
.product__input-box textarea {
  display: block;
}

.product__input {
  margin-bottom: 3rem;
}
/* 
.radio-type {
  margin: 1.5rem 1rem;
} */

.radio-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* .radio-input-box label:not(:nth-of-type(1)) {
  display: inline-block;
}

.product__input-box input:focus,
.product__input-box textarea:focus {
  border: 3px solid var(--color-primary);
  outline: none;
} */

::-webkit-file-upload-button {
  padding: 1rem;
  margin-right: 1rem;
}

/* .product-table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  color: var(--color-white);
}

table,
tr,
td {
  border: 1px solid var(--color-white);
}

th {
  letter-spacing: 2px;
}

tr,
th,
td {
  padding: 1rem;
}

.db-select-text {
  font-size: 2.5rem;
  text-align: center;
  color: var(--color-primary);
}

.product-container {
  padding-bottom: 10rem;
}

.product-table img {
  max-width: 100px;
}

.product-table ion-icon {
  font-size: 3.5rem;
  padding: 1rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.product-table ion-icon:hover {
  color: var(--color-white);
} */

/* =============== *\
#Carousel 
\* =============== */

.carousel {
  padding: 20rem 10rem 10rem 10rem;
}

.carousel-container {
  max-width: 160rem;
  margin: 0 auto;
  padding: 0 5rem;
}

.item {
  height: 35rem;
}

.item img {
  cursor: pointer;
  max-height: 100%;
}

.popup-img {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  height: 100%;
  width: 100%;
  z-index: 100;
  display: none;
}

.popup-img span {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 6rem;
  font-weight: bolder;
  color: #fff;
  cursor: pointer;
  z-index: inherit;
}

.popup-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  cursor: pointer;
}

.owl-carousel .owl-nav span [aria-label="Next"]:hover {
  background: none;
  color: orange;
}

.owl-carousel .owl-nav button.owl-prev span,
.owl-carousel .owl-nav button.owl-next span {
  font-size: 6rem;
  color: orange;
}

@media screen and (max-width: 1400px) {
  .carousel {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

@media screen and (max-width: 500px) {
  .item {
    height: 25rem;
  }
  .carousel {
    padding: 10rem 3rem;
  }

  .carousel-container {
    padding: 0;
  }
}

/* ----------------------------------------- *\
Átnézni az alatta lévő kódokat
/* ------------------------------------------ */
.wrapper {
  max-width: 1600px;
  position: relative;
  margin: 0 auto;
}
.wrapper .carousel-box {
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  scroll-behavior: smooth;
}

.carousel-box.dragging {
  cursor: grab;
  scroll-behavior: auto;
}

.carousel-box.dragging img {
  pointer-events: none;
}

.carousel-box img {
  width: calc(100% / 3);
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.carousel-box img:first-of-type {
  margin-left: 0;
}

.carousel-box ion-icon {
  position: absolute;
  top: 50%;
  color: var(--color-primary);
  height: 2.5rem;
  width: 2.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  text-align: center;
  background-color: var(--color-black);
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  padding: 1.5rem;
  transition: all 0.2s;
  transform: translateY(-50%);
}

.wrapper ion-icon:first-child {
  left: -2.3rem;
  display: none;
}

.wrapper ion-icon:last-child {
  right: -2.3rem;
}

.carousel-box ion-icon:hover {
  background-color: var(--color-primary);
  color: var(--color-black);
}

.advertisements {
  background-color: var(--color-black);
  border-bottom: 2px solid var(--color-primary);
  border-top: 2px solid var(--color-primary);
  padding: 10rem;
}

.advertisements-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 30rem));
  gap: 10rem;
}

.advertisement,
.user-ad {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.advertisement img,
.user-ad img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-ad {
  border: 1px solid var(--color-primary);
}

.advertisement a:link,
.advertisement a:visited {
  color: var(--color-primary-light);
  font-size: 2rem;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.advertisement a:hover,
.advertisement a:active {
  color: var(--color-primary-dark);
}

@media screen and (max-width: 900px) {
  .login__input-box {
    margin-bottom: 2.5rem;
    padding: 0 2rem;
  }

  .product-table ion-icon {
    font-size: 3rem;
  }
}

@media screen and (max-width: 769px) {
  .product__form {
    width: 50rem;
  }
}

@media screen and (max-width: 600px) {
  .login {
    width: 40rem;
  }

  .login__input-box input {
    padding: 1rem 0.5rem;
  }

  .product-table img {
    max-width: 75px;
  }

  .product-table ion-icon {
    font-size: 2.5rem;
  }

  .product__form {
    width: 40rem;
  }

  .product__input-box input,
  .product__input-box textarea {
    padding: 1rem;
  }
}

@media screen and (max-width: 500px) {
  .product__form {
    width: 35rem;
  }
}

@media screen and (max-width: 450px) {
  .login {
    width: 33rem;
    padding: 3rem 1.5rem;
  }

  .product__form {
    width: 30rem;
  }

  .product__input-box input,
  .product__input-box textarea {
    padding: 0.6rem;
  }

  ::-webkit-file-upload-button {
    padding: 1rem;
    display: block;
    margin-bottom: 2rem;
  }
}
