/* @font-face {
  font-family: 'Acrom';
  src: url('./assets/Acrom-Bold.woff');
  font-weight: 600;
}

@font-face {
  font-family: 'Acrom';
  src: url('./assets/Acrom-Regular.woff');
  font-weight: 400;
} */

@font-face {
  font-family: 'Halvar Mittelschrift';
  src: url('./assets/Halvar Mittelschrift-Regular.otf');
  font-weight: 400;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Halvar Mittelschrift', sans-serif;
  font-weight: 400;
}

body *:focus {
  outline: 2px solid #ff5291;
}

a {
  text-decoration: none;
  font: inherit;
}

html,
body {
  min-height: 90vh;
  height: 100%;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

h1 {
  font-size: 1.3rem;
}

.header {
  background: #fffef3;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.header-logo {
  width: 150px;
}

.main {
  color: white;
  background: linear-gradient(180deg, #4044ac 0%, #ce4aa1 100%);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  align-items: center;
}

.main-slider {
  background: white;
  border-radius: 21px;
  width: 90%;
  max-width: 100%;
}

.swiper {
  border-radius: 21px;
  width: 100%;
}

.swiper-wrapper {
  width: 100%;
}

.swiper-slide {
  margin: 10px;
  width: fit-content !important;
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  height: 40vmax;
  max-height: 400px;
  object-fit: cover;
}

.main-slider::-webkit-scrollbar {
  height: 10px;
}

.main-slider::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: rgb(221, 221, 221);
}

.main-slider::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #4044ac;
}

.main-slider--button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem;
  color: white;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0);
  background: #2f41b0;
  width: -webkit-fill-available;
  text-align: center;
  font-size: 1.2rem;
  font-family: 'Halvar Mittelschrift';
}

.main-slider--button:hover {
  background: #1b2c92;
}

.main-slider--button:active {
  background: #1b2c92;
}

.footer {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 400;
  padding: 10px;
  background: #fffef3;
  text-wrap: balance;
}

@media (min-width: 300px) {
  h1 {
    font-size: 1.2rem;
  }
}

@media (min-width: 390px) {
  h1 {
    font-size: 1.6rem;
  }

  .main {
    justify-content: center;
  }

  .main-slider--button {
    font-size: 1.3rem;
  }

  .header-logo {
    width: 200px;
    padding: 10px;
  }
}

@media (min-width: 415px) {
  h1 {
    font-size: 1.7rem;
  }
}

@media (min-width: 630px) {
  html {
    font-size: 18px;
  }

  h1 {
    font-size: 2.4rem;
  }
}

@media (min-width: 758px) {
  .main {
    align-items: center;
    justify-content: center;
  }

  h1 {
    text-align: center;
  }

  html {
    font-size: 20px;
  }

  .main-slider--button {
    width: fit-content;
    padding: 10px 50px;
    font-size: 1.8rem;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 20px;
  }

  .main {
    gap: 40px;
  }
}

@media (min-width: 1300px) {
  .main-slider {
    width: fit-content;
  }
}
