@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind variants;

:root {
  --primary-color: #007bff;
}

body {
  min-width: 360px;
  min-height: 100vh;
  @apply flex flex-col;
}

header {
  min-width: 360px;
}

footer {
  @apply mt-auto text-sm font-bold;
}

.text-primary {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-weight: normal;
}

.text-secondary {
  font-family: "Bitter", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  @apply text-secondary;
}

p,
a {
  @apply text-primary;
}

a:hover {
  text-decoration: underline;
}

.container {
  @apply mx-auto px-4;
}

[data-section="hero"] > section {
  background-image: url(../images/background/home-hero.webp);
  background-size: cover;
  background-position: center;
}

[data-section="navigation-list"] {
  @apply duration-300;
}

[data-section="navigation-list"].close {
  @apply right-full;
}

[data-section="navigation-list"].open {
  @apply right-0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.arrow-bottom::after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: var(--arrow-size) solid transparent;
  border-right: var(--arrow-size) solid transparent;
  border-top: var(--arrow-size) solid var(--arrow-color);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}