@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");

:root {
  --primary-color: #48a2de;
  --white: #ffffffff;
  --black: #000000ff;
  --border-radius: 4px;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Titillium Web", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 90px;
}

body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background-color: #cccccc;
  border-radius: 20px;
  border: 3px solid #f1f1f1;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 1px;
  border: 3px solid #f1f1f1;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem 10vw;
}

/* responsive */
@media only screen and (max-width: 997px) {
  .container {
    padding: 1rem 5vw;
  }
}

@media only screen and (max-width: 540px) {
  .container {
    padding: 1rem 3vw;
  }
}

.scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #111;
  color: #fff;
  padding: 14px 16px;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 1000;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-btn {
  border: 1px solid transparent;
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

.cookie-btn:hover {
  opacity: 0.92;
}

@media only screen and (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
