:root {
  --deep-blue: hsl(212, 100%, 17%);
  --accent-blue: hsl(194, 73%, 68%);
  --accent-green: hsl(78, 100%, 42%);
  --primary: hsl(290, 37%, 44%);
  --white: hsl(0, 0%, 96%);
  --accent-blue-20: hsl(194, 73%, 68%, 0.2);

  --title-size: 40px;
  --subtitle-size: 32px;
  --regular-size: 16px;
  --header-size: 24px;
  --button-size: 16px;

  --font-family: "Rubik", sans-serif;
  --font-weight-regular: 400;
  --font-weight-bold: 700;
}

// https://piccalil.li/blog/a-modern-css-reset

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background-color: var(--white);
}

/* Utilities  classes */
.regular-400 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
}
.regular-700 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
}

.title-400 {
  font-family: var(--font-family);
  font-size: var(--title-size);
}
.title-700 {
  font-family: var(--font-family);
  font-size: var(--title-size);
  font-weight: var(--font-weight-bold);
}

.subtitle-400 {
  font-family: var(--font-family);
  font-size: var(--subtitle-size);
}

.subtitle-700 {
  font-family: var(--font-family);
  font-size: var(--subtitle-size);
  font-weight: var(--font-weight-bold);
}

main {
    transform: scale(0.6);
    transform-origin: top left;
}

/*title */
.slide-title {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--deep-blue);
  width: 600px;
}

/* Background Image */
.background-image {
  position: fixed;
  top:0px;
  left: 0;
  width: 1000px;
  height: 100px;
  background-image: url('assets/bg.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -999;
}

/* Wrapper */
.wrapper {
  position: relative;
  margin-left: 100px;
  margin-top: 150px;
  width: 1500px;
  height: 900px;
}


/* Header */
.content-header {
  position: absolute;
  top: 0;
  left: 0;
  height: 80px;
  width: 500px;
  z-index: 10;
}

.layout-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.content-column {
  width: 880px;
  height: 1000px;
  position: absolute;
  top: -100px;
  left: 0;
  overflow: hidden;
}

.static-info {
  width: 400px;
  position: absolute;
  top: 160px;
  left: 1000px;
  z-index: 999;
  color: var(--deep-blue);
}

.header-info-background {
  position: absolute;
  background-color: var(--primary);
  inset: 0;
  border-radius: 0 0 100px 0px;
  z-index: 1;
}

.header-info-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--primary) 0%, var(--deep-blue) 100%);
  mix-blend-mode: luminosity;
  border-radius: 0 0 100px 0px;
  z-index: 2;
}

.header-info {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0 0 100px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-family);
  font-size: var(--header-size);
  color: white;
  font-weight: var(--font-weight-bold);
  z-index: 10;
}

/* Card */
.card {
  position: absolute;
  width: 280px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.card1 {
  left: 0px;
  top: 150px;
}

.card2 {
  top: 150px;
  left: 290px;
}

.card3 {
  top: 150px;
  left: 580px;
}

.card2 .card-description {
  top: 180px;
}

.card-circle-container {
  position: absolute;
  left: 50%;
  top: -30px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.outer-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.inner-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.card-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
}

.card-title {
  position: absolute;
  color: var(--primary);
  transform: translateX(-50%) translateY(-50%);
  left: 50%;
  top: 100px;
  text-align: center;
}

.card-description {
  position: absolute;
  color: var(--deep-blue);
  transform: translateX(-50%) translateY(-50%);
  left: 50%;
  top: 230px;
  text-align: center;
  width: 210px;
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  background-grip: padding-box;
}

.card-background::before {
  content: "";
  position: absolute;
  border-radius: 50px;
  inset: 0;
  background: linear-gradient(0deg, var(--white) 0%, var(--accent-blue) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  padding: 3px;
}

/* Table Component */
.table-container {
  position: absolute;
  left: 0;
  top: 490px; /* Below the cards (150px + 400px + 20px gap) */
  width: 870px; /* Match total width of cards (3 × 280px + 2 × 15px gaps) */
  height: 500px; /* Increased height to accommodate footer properly */
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.table-border-decoration {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.table-border-decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.table-title {
  position: absolute;
  top: 20px;
  left: 60px;
  right: 0;
  color: var(--primary);
  text-align: left;
  z-index: 2;
  margin: 0;
}

.table-content {
  position: absolute;
  top: 90px;
  left: 60px;
  right: 60px;
  bottom: 150px; /* Much more space for footer */
  z-index: 2;
}

.table-header {
  display: flex;
  margin-bottom: 10px;
}

.table-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid var(--accent-blue);
}

.table-cell {
  flex: 1;
  padding: 8px 12px;
  font-family: var(--font-family);
  font-size: var(--regular-size);
  color: var(--deep-blue);
  text-align: left;
}

.header-cell {
  font-size: var(--header-size);
  font-weight: var(--font-weight-bold);
  color: var(--deep-blue);
}

.header-cell:first-child {
  color: var(--deep-blue);
}

.header-cell:last-child {
  color: var(--primary);
}

.dose-value {
  color: var(--primary);
  font-weight: var(--font-weight-regular);
}

.table-footer {
  top: -100px;
}

.table-row-shade {
  background-color: var(--accent-blue-20);
}

.logo {
  margin-bottom: 50px;
}

.title-static-info {
  color: var(--primary);
}

ul {
  padding-left: 20px;
}

ul li::marker {
  color: var(--accent-blue);
}

.text-link-primary {
  color: var(--primary);
  text-decoration: underline;
}

.nav-bar {
  position: absolute;
  width: 1450px;
  height: 100px;
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  grid-template-rows: 1fr;
  gap: 1px;
}

.nav-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-background {
  position: absolute;
  inset: 0;
  background-color: var(--primary);
}

.nav-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--primary) 0%, var(--deep-blue) 100%);
  mix-blend-mode: luminosity;
}

.nav-button-text {
  position: relative;
  font-size: var(--button-size);
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  color: var(--white);
  text-align: center;
  z-index: 1;
}

.nav-background-green {
  background-color: var(--accent-green);
}

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

.arrows {
  position: absolute;
  width: 50px;
  height: 100px;
}

.arrow-background {
  position: absolute;
  background-color: var(--white);
  height: 100px;
  width: 50px;
  border-radius: 0 20px 20px 0;
  box-shadow: 0 0 0 0px rgba(140, 71, 153, 0.5),
    0 0 0 2px rgba(115, 205, 233, 1);
}

.arrow-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.arrow-icon {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.arrow-left {
  top: 600px;
}

.arrow-right {
  transform: rotate(180deg);
  top: 600px;
  left: 1400px;s
}
