@font-face {
  font-family: 'Logika Nova';
  src: url('../assets/fonts/LogikaNova-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Logika Nova';
  src: url('../assets/fonts/LogikaNova-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white-color: #fff;
  --color-text: #333;
  --dark-blue: #0003cc;
  --light-blue: #0004ff;
}

body {
  line-height: 1.5;
  font-family: 'Logika Nova', sans-serif;
  background-color: #fff;
  color: #000;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  color: var(--white-color);
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
h1 {
  font-size: 22px;
}
h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5rem;
  color: var(--color-text);
}
header {
  background-color: var(--light-blue);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header img {
  max-width: 50px;
}
.button {
  font-family: 'Logika Nova', sans-serif;
  color: var(--white-color);
  box-sizing: border-box;
  background: var(--light-blue);
  border: 1px solid var(--light-blue);
  border-radius: 2rem;
  outline: 0;
  padding: 10px 12px;
  margin-top: 1.5rem;
  text-decoration: none;
  max-width: fit-content;
  transition: all 0.2s ease-out;
}
.button:hover {
  color: var(--light-blue);
  background-color: transparent;
}
.container {
  padding: 16px;
}
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 80px;
  max-width: 1000px;
  gap: 18px;
}
.hero h2 {
  margin-bottom: 40px;
}
.hero p {
  font-size: 22px;
}

.info-block {
  background-color: var(--light-blue);
  color: var(--white-color);
  border-radius: 12px;
  padding: 40px 24px;
  margin: 40px auto;
  max-width: 1000px;
  font-family: 'Logika Nova', sans-serif;
}

.info-block h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--white-color);
  line-height: 1.4;
}

.info-lead {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--white-color);
  line-height: 1.6;
}

.benefits.checkmarks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits.checkmarks li {
  background-color: var(--dark-blue);
  border-radius: 2rem;
  padding: 10px 12px;
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.6;
}

.benefits.checkmarks li::before {
  content: '✓';
  position: absolute;
  left: 8px;
  top: 8px;
  color: var(--white-color);
  font-weight: bold;
  font-size: 18px;
}

.site-footer {
  background-color: var(--dark-blue);
  color: var(--white-color);
  padding: 40px 0px;
  font-family: 'Logika Nova', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
.icon {
  border-radius: 50%;
  max-width: 30px;
}
.footer-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0px 24px;
  gap: 24px;
}

.site-footer p {
  margin: 0 0 12px;
}

.site-footer a {
  color: var(--white-color);
  text-decoration: underline;
}

.site-footer a:hover {
  opacity: 0.85;
}

.privacy-info p {
  font-size: 13px;
  color: #ddd;
}

.cookie-banner {
  background-color: var(--dark-blue);
  color: var(--white-color);
  font-family: 'Logika Nova', sans-serif;
  font-size: 14px;
  padding: 14px 24px;
  text-align: center;
  position: fixed;
  border-top: 1px solid var(--white-color);
  bottom: 0;
  width: 100%;
  z-index: 999;
}
.cookie-button {
  cursor: pointer;
}
.cookie-button:hover {
  color: var(--white-color);
  border: 1px solid var(--white-color);
}
.list-nav {
  background-color: var(--white-color);
  display: flex;
  gap: 28px;
  padding: 40px;
}
.list-nav .nav-link {
  color: #868383;
  text-decoration: none;
}
.list-nav .nav-link:hover {
  color: #800291a4;
}
.hero-1 {
  background-image: url('/assets/images/basketball-wall.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 30vh;
}
.hero-2 {
  background: var(--white-color);
  height: 5vh;
}
.info-block-policy {
  padding: 40px 24px;
  margin: 40px auto;
  max-width: 1000px;
  font-family: 'Logika Nova', sans-serif;
}
.info-block-policy ul {
  list-style: circle;
}
.info-block-policy h1,
.privacy-h1 {
  color: var(--color-text);
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 30px;
}
.info-block-policy h2 {
  font-size: 24px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.info-block-policy p,
.info-block-policy h3 {
  margin-bottom: 12px;
}
.info-block-policy h3 {
  font-weight: 700;
  color: var(--color-text);
}
.info-block-policy a {
  color: var(--dark-blue);
  text-decoration: none;
}
.info-block-policy a:hover {
  text-decoration: solid;
}
.tietosuoja-container {
  display: flex;
  gap: 2rem;
}
.sidebar {
  width: 250px;
}
.sidebar button {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
}
.content {
  flex: 1;
}
.tab-content {
  display: none;
}
.privacy-h1 {
  margin-left: 40px;
  padding: 0px 12px;
  text-align: left;
}
aside {
  margin-left: 40px;
  margin-bottom: 60px;
  padding: 0px 12px;
  text-align: left;
  border-right: 1px solid #d8d5d5;
}
.sidebar button {
  text-align: left;
  padding-bottom: 10px;
  margin-right: 40px;
  font-weight: 700;
  border-bottom: 1px solid #d8d5d5;
  transition: all cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}
.sidebar button:hover,
.sidebar button.active {
  background-color: var(--light-blue);
  border-radius: 0 2rem 2rem 0;
  color: var(--white-color);
}
.content section p {
  margin-top: 12px;
  margin-bottom: 12px;
}

@media screen and (min-width: 768px) and (max-width: 900px) {
  h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 320px) and (max-width: 767.99px) {
  .hero {
    padding: 20px;
  }
  header img {
    max-width: 30px;
  }
  h1 {
    font-size: 18px;
    text-align: right;
  }
  .hero p,
  .info-lead {
    font-size: 16px;
  }
  .hero h2,
  .info-block h2 {
    font-size: 22px;
    margin-bottom: 16px;
  }
  .info-block {
    padding: 20px 14px;
  }
  .benefits.checkmarks li {
    font-size: 16px;
  }
  .list-nav {
    flex-direction: column;
  }
}
@media screen and (max-width: 767.99px) {
  .tietosuoja-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #d8d5d5;
    margin-left: 0;
    padding: 0;
  }

  .sidebar button {
    width: 100%;
    padding: 0.75rem 1rem;
    margin: 0;
    font-size: 1rem;
    text-align: left;
    border: none;
    border-bottom: 1px solid #d8d5d5;
    background-color: transparent;
    transition: background-color 0.3s ease;
  }

  .sidebar button:hover,
  .sidebar button.active {
    background-color: var(--light-blue);
    color: var(--white-color);
    border-radius: 0;
  }

  .content {
    padding: 0 1rem;
  }

  .privacy-h1 {
    margin-left: 0;
    text-align: center;
    padding: 0.5rem 1rem;
  }

  .tab-content h2 {
    font-size: 24px;
  }

  .tab-content p {
    font-size: 16px;
    line-height: 1.5;
  }

  ul {
    padding-left: 1.2rem;
  }
}
