:root {
  --font-family-bold: "ArialBold", sans-serif;
  --font-family-regular: "ArialRegular", sans-serif;

  --font-size-default: 16px;
  --font-size-small-computer: 14px;
  --font-size-vertical-tablet: 12px;
  --font-size-horizontal-phone: 9px;
  --font-size-phone: 9px;

  --font-size-small-subtitle: 18px;
  --font-size-small-subtitle-small-computer: 16px;
  --font-size-small-subtitle-vertical-tablet: 14px;
  --font-size-small-subtitle-horizontal-phone: 12px;
  --font-size-small-subtitle-phone: 11px;

  --font-size-subtitle: 25px;
  --font-size-subtitle-small-computer: 20px;
  --font-size-subtitle-vertical-tablet: 18px;
  --font-size-subtitle-horizontal-phone: 14px;
  --font-size-subtitle-phone: 12px;

  --font-size-title: 40px;
  --font-size-title-small-computer: 35px;
  --font-size-title-vertical-tablet: 30px;
  --font-size-title-horizontal-phone: 25px;
  --font-size-title-phone: 20px;

  --font-size-global-title: 55px;
  --font-size-global-title-small-computer: 45px;
  --font-size-global-title-vertical-tablet: 35px;
  --font-size-global-title-horizontal-phone: 25px;
  --font-size-global-title-phone: 20px;

  --color-text-default: #1F2933;
  --color-text: #64748B;
  --color-text-default-light: #FFFFFF;

  --background-color-light: #FFFFFF;
  --background-color-light-blue: #E9F2F8;
  --background-color-light-gray: #F4F7FA;
  --background-color-black: #0F2A43;
  --background-color-for-gradient-blue: #C4E5F5;
  --background-color-for-gradient-blue-rgb: 196, 229, 245;

  --color-accent-dark-blue: #0F2A43;
  --color-accent-blue: #1E5B8F;
  --color-accent-cyan: #3AA7D8;
  --color-accent-cyan-rgb: 58, 167, 216;
  --color-accent-white: #FFFFFF;
  --color-accent-red: #C62828;
  --color-accent-yellow: #F3B23C;
  --color-accent-gray: #64748B;

  --color-border: #F4F7DC;
  --color-border-2: #DAE5ED;
}

.container {
  margin: 0 auto;
  max-width: 1140px;
}

.main-title {
  font-family: var(--font-family-bold);
  font-size: var(--font-size-global-title);
  color: var(--color-text-default);
}

.title,
.title-light {
  font-family: var(--font-family-bold);
  font-size: var(--font-size-title);
  color: var(--color-text-default);
}

.title-light {
  color: var(--color-text-default-light);
}

.subtitle,
.subtitle-light,
.subtitle-small,
.subtitle-small-accent, .subtitle-small-light {
  font-family: var(--font-family-bold);
  font-size: var(--font-size-subtitle);
  color: var(--color-text-default);
}

.subtitle-light, .subtitle-small-light {
  color: var(--color-text-default-light);
}

.subtitle-small, .subtitle-small-accent, .subtitle-small-light {
  font-size: var(--font-size-small-subtitle);
}

.subtitle-small-accent {
  color: var(--color-accent-blue);
}

.text,
.text-gray,
.text-light,
.link,
.link-nav,
.link-nav-dropdown {
  font-family: var(--font-family-regular);
  font-size: var(--font-size-default);
  color: var(--color-text-default);
  line-height: 1.5;
}

.text-gray {
  color: var(--color-text);
}

.text-light {
  color: var(--color-text-default-light);
}

.link {
  color: var(--color-accent-cyan);
  text-decoration: underline;
  transition: color 0.5s ease-in-out;
}

.link:hover {
  color: var(--color-accent-blue);
}

.link-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  color: var(--color-text-default);
  text-decoration: none;
  white-space: nowrap;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.link-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background-color: var(--color-accent-cyan);
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
}

.link-nav:hover {
  color: var(--color-accent-blue);
}

.link-nav:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.link-nav-dropdown {
  display: block;
  padding: 10px;
  color: var(--color-text-default);
  text-decoration: none;
  border-radius: 10px;
  transition:
    color 0.3s ease-in-out,
    background-color 0.3s ease-in-out;
}

.link-nav-dropdown:hover {
  color: var(--color-accent-blue);
  background-color: var(--background-color-light-blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  font-family: var(--font-family-bold);
  font-size: var(--font-size-small-subtitle);
  line-height: 1;
  text-align: center;
  text-decoration: none;

  border: none;
  border-radius: 999px;
  cursor: pointer;

  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out,
    background 0.3s ease-in-out,
    color 0.3s ease-in-out;
}

.button:hover {
  transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.button:focus-visible {
  outline: 3px solid var(--color-accent-cyan);
  outline-offset: 4px;
}

.button-dark {
  color: var(--color-text-default-light);
  background: linear-gradient(
    90deg,
    var(--color-accent-dark-blue) 0%,
    var(--color-accent-blue) 100%
  );
}

.button-dark:hover {
  background: linear-gradient(
    90deg,
    var(--color-accent-blue) 0%,
    var(--color-accent-cyan) 100%
  );
}

.button-yellow {
  color: var(--color-text-default);
  background-color: var(--color-accent-yellow);
}

.button-yellow:hover {
  color: var(--color-text-default-light);
  background-color: #9D6C00;
}

.button-light {
  color: var(--color-text-default);
  background-color: var(--background-color-light);
}

.button-light-2 {
  color: var(--color-text-default);
  background-color: var(--background-color-light-blue);
  border: 1px solid var(--color-border-2);
}

.button-light:hover {
  color: var(--color-accent-blue);
  background-color: var(--background-color-light-gray);
}

.button-light-2:hover {
  color: var(--color-text-default);
  background-color: var(--background-color-light);
}

.cookie-banner {
  position: fixed;
  bottom: 50px;
  right: 50px;
  width: 450px;
  background-color: rgba(var(--background-color-for-gradient-blue-rgb), 0.80);
  color: var(--color-text-default-light);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: justify;
  border-radius: 20px;
}

.cookie-button-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: transparent;
  border: none;
  color: var(--color-text-default);
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.cookie-message {
  margin-bottom: 10px;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 1199px) {
  .container {
    width: 960px;
  }

  .button {
    padding: 15px;
    font-size: var(--font-size-small-subtitle-small-computer);
  }

  .main-title {
    font-size: var(--font-size-global-title-small-computer);
  }

  .title,
  .title-light {
    font-size: var(--font-size-title-small-computer);
  }

  .subtitle,
  .subtitle-light,
  .subtitle-small,
  .subtitle-small-accent, .subtitle-small-light {
    font-size: var(--font-size-subtitle-small-computer);
  }

  .subtitle-small, .subtitle-small-accent, .subtitle-small-light {
    font-size: var(--font-size-small-subtitle-small-computer);
  }

  .text,
  .text-gray,
  .text-light,
  .link,
  .link-nav,
  .link-nav-dropdown {
    font-size: var(--font-size-small-computer);
  }
}

@media (max-width: 991px) {
  .container {
    width: 720px;
  }

  .button {
    padding: 10px;
    font-size: var(--font-size-small-subtitle-vertical-tablet);
  }

  .main-title {
    font-size: var(--font-size-global-title-vertical-tablet);
  }

  .title,
  .title-light {
    font-size: var(--font-size-title-vertical-tablet);
  }

  .subtitle,
  .subtitle-light,
  .subtitle-small,
  .subtitle-small-accent, .subtitle-small-light {
    font-size: var(--font-size-subtitle-vertical-tablet);
  }

  .subtitle-small, .subtitle-small-accent, .subtitle-small-light {
    font-size: var(--font-size-small-subtitle-vertical-tablet);
  }

  .text,
  .text-gray,
  .text-light,
  .link,
  .link-nav,
  .link-nav-dropdown {
    font-size: var(--font-size-vertical-tablet);
  }
}

@media (max-width: 767px) {
  .container {
    width: 540px;
  }
  
  .cookie-banner {
    width: 90%;
    right: 5%;
    bottom: 20px;
    padding: 30px;
  }

  .cookie-button-close {
    font-size: 18px;
  }

  .button {
    font-size: var(--font-size-small-subtitle-horizontal-phone);
  }

  .main-title {
    font-size: var(--font-size-global-title-horizontal-phone);
  }

  .title,
  .title-light {
    font-size: var(--font-size-title-horizontal-phone);
  }

  .subtitle,
  .subtitle-light,
  .subtitle-small,
  .subtitle-small-accent, .subtitle-small-light {
    font-size: var(--font-size-subtitle-horizontal-phone);
  }

  .subtitle-small, .subtitle-small-accent, .subtitle-small-light {
    font-size: var(--font-size-small-subtitle-horizontal-phone);
  }

  .text,
  .text-gray,
  .text-light,
  .link,
  .link-nav,
  .link-nav-dropdown {
    font-size: var(--font-size-horizontal-phone);
  }
}

@media (max-width: 575px) {
  .container {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .cookie-banner {
    width: 95%;
    right: 2.5%;
    bottom: 15px;
    padding: 30px;
  }

  .cookie-button-close {
    font-size: 16px;
  }

  .button {
    font-size: var(--font-size-small-subtitle-phone);
  }

  .main-title {
    font-size: var(--font-size-global-title-phone);
  }

  .title,
  .title-light {
    font-size: var(--font-size-title-phone);
  }

  .subtitle,
  .subtitle-light,
  .subtitle-small,
  .subtitle-small-accent, .subtitle-small-light {
    font-size: var(--font-size-subtitle-phone);
  }

  .subtitle-small, .subtitle-small-accent, .subtitle-small-light {
    font-size: var(--font-size-small-subtitle-phone);
  }

  .text,
  .text-gray,
  .text-light,
  .link,
  .link-nav,
  .link-nav-dropdown {
    font-size: var(--font-size-phone);
  }
}

@media (max-width: 389px) {
  .container {
    max-width: 100%;
    box-sizing: border-box;
  }
}

