/* Set background picture for index page*/

:root {
  --font-primary: "Inter", sans-serif;
  --font-family: var(--font-primary);

  --text-xs: 0.85rem;
  --text-sm: 0.95rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;

  --color-text: #333333;
  --color-primary: #490656;
  --color-primary-2: #6b3e75;
  --color-accent: #836488;
  --color-text-muted: #5c6570;
  --color-bg: #ffffff;
  --color-line: #e6e9ed;
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 50px rgba(15, 17, 20, 0.08);

  color-scheme: light;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  overflow-x: hidden;
  background-color: #490656;
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  font-weight: 400;
  line-height: 1.5;
}

/* global overflow prevention 6.4.26 */

html,
body {
  overflow-x: hidden;
}

.col-12 {
  padding-left: 0;
  padding-right: 0;
}

a {
  text-decoration: none;
}

a:hover {
  color: #eaf6f6;
}

.page-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* ================================================================================================ */
/* ============================================ GENERAL STYLES ==================================== */
/* ================================================================================================ */

main {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 80vh;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 28px;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 150ms ease;
  will-change: transform;
}

.button-link.primary {
  background: rgba(73, 6, 86, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgba(73, 6, 86, 0.25);
}

.button-link.secondary {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.button-link.secondary-light {
  display: inline-block;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;

  color: #490656;
  background: transparent;

  border: 1.5px solid rgba(73, 6, 86, 0.4);
  border-radius: 999px;

  transition: all 0.25s ease;
}

.button-link:hover {
  transform: translateY(-2px);
  transition: transform 150ms ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.button-link.secondary-light:hover {
  color: #fff;
  background: #490656;
  border-color: #490656;
  box-shadow: 0 6px 18px rgba(73, 6, 86, 0.25);
}

/* Active (click) */
.button-link.secondary-light:active {
  transform: scale(0.97);
}

/*
.button,
.button-sub {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 40px;
  border-radius: 30px;
  opacity: 0.8;
  transition: opacity 100ms ease-in-out;
}

*/

.button,
.button-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 28px;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 500;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    transform 150ms ease;
}

.button p,
.button-sub p {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.button {
  background-color: white;
  color: #111;
}

.button-sub {
  background-color: rgba(34, 34, 34, 0.9);
  color: white;
}

.button p {
  color: #111;
}

.button-sub p {
  color: white;
}

article {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3vh 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .button,
  .button-sub {
    font-size: 0.85rem;
  }
}

@media (min-width: 992px) {
  .button,
  .button-sub {
    font-size: 0.95rem;
  }
}

/* ========================================= */
/* BUTTON NORMALIZER (Cross-browser fix)    */
/* ========================================= */

button {
  border: none;
  background: none;
  font: inherit;
}

button:focus {
  outline: none;
}

.video-bottom-container {
  position: relative;
}

#video-home-bottom {
  width: 100%;
  height: auto;
  display: block;
}

.video-bottom-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.video-bottom-content a {
  display: flex;
  justify-content: center;
}

.button {
  padding: 12px 24px;
}
