:root {
  --text-muted: #525252;
  --text-dark: #c7c7c7;
  --font-main: "Inter", sans-serif;
  --section-spacing: 3rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-family: var(--font-main);
  line-height: 1.6;
}

.container {
  /*Container Navbar z.B.*/
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--section-spacing) 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

a {
  /*All Links*/
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(1px);
  z-index: 1000;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 1rem;
}
/*Main Section*/

.section-main {
  max-width: 964px;
  margin: 0 auto;
  margin-top: 5rem;
}

.heading h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 00;
}

.heading-small {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  border-bottom: 2px solid;
  padding-bottom: 1rem;
  border-color: #e6e6e6;
}

.version {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  padding: 4rem 0;
  margin-top: 4rem;
  background: linear-gradient(0deg, #000000 46%, #666666 100%);
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

.store-footer {
  height: 50px;
  margin-right: 1rem;
}

.copyright {
  color: var(--text-dark);
  font-size: 0.8rem;
  text-align: left;
  width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.link-col h3 {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: white;
}

.link-col ul li {
  margin-bottom: 0.5rem;
}

.link-col a {
  color: var(--text-dark);
  font-size: 0.85rem;
}

.link-col a:hover {
  color: #ffffff;
}

#clearcookie-settings {
  cursor: pointer;
  color: var(--text-dark);
  font-size: 0.85rem;
  transition: color 0.3s;
}

#clearcookie-settings:hover {
  color: #ffffff;
}

/*Cookie Banner*/
#clearcookie {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  padding-top: 30px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(1px);
  overflow-y: scroll;
}

.clearcookie-hide {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  right: auto !important;
  bottom: auto !important;
}

#clearcookie .clearcookie-inner {
  background-color: white;
  max-width: 700px;
  padding: 30px;
  border-radius: 10px;
}

.privacy-policy {
  text-decoration: underline;
}

#clearcookie .clearcookie-header {
  padding-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 600;
}

#clearcookie .clearcookie-body-settings {
  display: block;
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 20px;
}

#clearcookie .clearcookie-setting-single {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  cursor: pointer;
}

#clearcookie .clearcookie-setting-single:last-child {
  margin-bottom: 0px;
}

#clearcookie .clearcookie-setting-toggle {
  flex-shrink: 0;
}

#clearcookie .clearcookie-setting-info {
  font-weight: 600;
  font-size: 1rem;
}

#clearcookie .clearcookie-setting-info p {
  font-size: 0.9rem;
  font-weight: 400;
  color: #525252;
  line-height: 1.5;
}

#clearcookie .clearcookie-body-settings--required {
  cursor: default;
}

#clearcookie .clearcookie-body-setting-input-toggle {
  background-color: #c7c7c7;
  width: 45px;
  height: 25px;
  border-radius: 15px;
  position: relative;
}

#clearcookie
  .clearcookie-body-settings--required
  input[type="checkbox"]:checked
  + .clearcookie-body-setting-input-toggle {
  background-color: #525252;
}

#clearcookie
  input[type="checkbox"]:checked
  + .clearcookie-body-setting-input-toggle {
  background-color: #2ecd70;
}

#clearcookie
  input[type="checkbox"]:checked
  + .clearcookie-body-setting-input-toggle:after {
  transform: translateX(20px);
}

#clearcookie input[type="checkbox"] {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

#clearcookie .clearcookie-body-setting-input-toggle:after {
  content: "";
  position: absolute;
  display: block;
  width: 21px;
  height: 21px;
  border-radius: 13px;
  background-color: white;
  top: 2px;
  left: 2px;
  transition: all 0.2s ease;
}

#clearcookie .clearcookie-body-setting-name {
  font-weight: 500;
  font-size: 1rem;
}

#clearcookie .clearcookie-footer {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

#clearcookie .clearcookie-button--accept,
#clearcookie .clearcookie-button--save,
#clearcookie .clearcookie-button--reject {
  display: block;
  margin: 10px 0px 0 0;
  background-color: black;
  border: none;
  color: white;
  width: fit-content;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: medium;
  text-align: center;
}

.clearcookie-footer {
  gap: 10px;
}

.clearcookie-button {
  display: block;
  margin: 10px 0px 0 0;
  background-color: white;
  border: 1px solid #c7c7c7;
  width: fit-content;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
  font-family: "inter", sans-serif;
}

/* Responsive */
/* Cookie Banner Responsive */
@media (max-width: 600px) {
  #clearcookie {
    padding-bottom: 50px;
    align-items: start;
  }

  #clearcookie .clearcookie-inner {
    padding: 15px;
  }
}

@media (max-width: 520px) {
  #clearcookie .clearcookie-button--accept {
    width: 100%;
  }

  #clearcookie .clearcookie-button--save {
    width: 100%;
  }

  #clearcookie .clearcookie-button {
    width: 100%;
  }

  .clearcookie-footer {
    gap: 0px;
  }

  #clearcookie .clearcookie-body-settings {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .logo {
    justify-content: center;
  }

  .copyright {
    text-align: center;
  }

  .heading h2 {
    font-size: 1.75rem;
  }

  .heading-small {
    font-size: 1.25rem;
  }

  .text {
    font-size: 1rem;
  }

  .section-main {
    --section-spacing: 0px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }
}

/*Cookie Banner*/
@keyframes clearcookie-fade-overlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes clearcookie-fade-inner {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#clearcookie:not(.clearcookie-hide) {
  animation: clearcookie-fade-overlay 300ms ease-out forwards;
}

#clearcookie:not(.clearcookie-hide) .clearcookie-inner {
  animation: clearcookie-fade-inner 360ms cubic-bezier(0.2, 1, 0.2, 1) forwards;
  transform-origin: center top;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  #clearcookie:not(.clearcookie-hide),
  #clearcookie:not(.clearcookie-hide) .clearcookie-inner {
    animation: none !important;
  }
}
