html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background-color: var(--background-color);
}

:root {
    --primary-color: #119dff;
    --primary-color-alt: #54b9f9;
    --primary-color-hover: #1775b6;
    --on-primary-color: white;
    --background-color: #f9fdff;
    --header-color: #111111;
    --body-text-color: #333333;
    --card-color: #e6ebed;
    --footer-color: #4c483f;
    --nav-text-color: black;
    --nav-text-hover-color: grey;
}

p {
    font-size: 20px;
}

.header {
    padding: 15px;
    position: relative;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 35px;
}

.nav a {
    color: var(--nav-text-color); /* Dark grey color */
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.nav-logo {
    width: 70px;
    height: 70px;
}

.nav a:hover {
    color: var(--nav-text-hover-color); /* Fully black on hover */
}

nav.visible {
    animation: slideFadeIn 2s forwards; 
}


.menu-row {
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 60px;
}


.menu-button {
  font-size: 24px;
  padding: 18px;
  width: 40px;
  position: absolute;
  left: 0;
  cursor: pointer;
  background: none;
  border: none;
  color: black;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 10px;
  right: 10px;
  border-radius: 26px;
  background: white;
    
    z-index: 8;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: slideFadeIn 0.2s forwards;
}

.mobile-menu a {
  padding: 25px;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: var(--nav-text-color);
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
}

.mobile-menu a:last-child {
  border-bottom: none;
}


.content {
  min-height: 85vh;
  padding-bottom: 45px;
}

.contained {
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
    
}


@media (max-width: 600px) {
    .nav {
        display: none;
    }
    .menu-button {
        display: block;
    }
}

.color-text {
    font-family: "Poppins", sans-serif;
    color: var(--primary-color);
}



h1 {
    font-family: "Coiny", cursive;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: normal;
    font-size: clamp(2rem, 12vw, 6rem); /* Large size */
    color: var(--header-color);
    text-align: center;
    line-height: 1.2; /* Makes it taller and more open */
    padding-top: 45px;
    padding-bottom: 30px;
    animation: pulse 2s ease-in-out;
}

h2 {
    font-family: "Open Sans", system-ui;
    font-style: normal;
    font-size: 3rem; /* Large size */
    margin-top: 70px;
    font-weight: bolder;
    color: var(--header-color);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 8px; /* Adds spacing between the letters */
    line-height: 1.2; /* Makes it taller and more open */
    padding: 20px 0; /* Adds spacing around the text */
}

h3 {
    font-family: "Coiny", system-ui;
    font-optical-sizing: auto;
    font-size: 36px;
    text-transform: uppercase;
    font-weight: bolder;
    font-style: normal;
    text-align: left;
    margin-top: 55px;
    margin-bottom: 5px;
    color: var(--header-color);
}

h4 {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 36px;
    text-transform: uppercase;
    font-weight: bolder;
    font-style: normal;
    margin-top: 15px;
    margin-bottom: 5px;
    color: var(--header-color);
}

h5 {
    font-family: "Manrope", sans-serif;
    margin: 0px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

h6 {
    font-family: "Manrope", sans-serif;
}

h1.visible,
h2.visible,
h3.visible,
h4.visible,
h5.visible,
h6.visible {
    animation: pulse 2s forwards;
}


p {
    font-family: "Poppins";
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
    color: var(----body-text-color);
}

p.visible {
    animation: fadeIn 1s forwards;
}

.p1 {
    font-size: 28px;
}
.p2 {
    font-size: 26px;
}
.p3 {
    font-size: 24px;
}


.p-header { 
  padding: 15px 0; 
  font-weight: bold;
  font-size: 28px;
  position: relative; 
}


.p-stacker-start {
    font-size: 32px;
    line-height: 1.3;
    text-align: left;
    font-weight: bolder;
    margin: 3px 0;
}
.p-stacker-med {
    
    text-align: left;
    font-size: 28px;
    margin: 3px 0;
}


.p-stacker-sm {
    text-align: left;
    font-size: 24px;
    margin: 3px 0;
}


.capped {
    text-transform: uppercase;
}
.bolded {
    font-weight: bold;
}
.colored {
    color: var(--primary-color)
}


.row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button {
  display: inline-block;
  background-color: var(--primary-color); /* Blue color */
  color: var(--on-primary-color); /* White text */
  text-decoration: none;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  font-weight: bold;
  border-radius: 48px;
  transition:
    background-color 0.3s ease-in-out,
    transform 0.2s ease-in-out;
}

.button:hover {
  transition: transform 0.3s ease;
  transform: translateY(-3px);
  cursor: pointer;
}




.bdisabled {
  background-color: var(--primary-color-alt);
  transition: none;
  transform: none;
}

.bdisabled:hover {
  cursor: auto;
  transform: none;
  transition: none;
}

.btext {
  background-color: transparent;
  display: inline-block; /* Makes it easier to style */
  color: var(--primary-color); /* Deep but readable blue */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make it stand out */
  transform: none;
  transition: border-color 0.3s ease-in-out;
  border: solid 2px transparent;
}

.boutlined {
  background-color: transparent;
  display: inline-block; /* Makes it easier to style */
  color: var(--primary-color); /* Deep but readable blue */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make it stand out */
  border: solid 2px var(--primary-color);
}

.btext:hover {
  cursor: pointer;
  transform: none;
  border: solid 2px var(--primary-color);
}

.barrow {
  position: relative;
}

.barrow::after {
  content: "";
  transition: margin 0.3s ease;
}

.barrow:hover::after {
  content: "→";

  margin-left: 15px;
}

.filledside {
    display: flex;
    align-items: center;
    justify-content: center;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.cursive {
    font-family: "Dancing Script", cursive;
    font-weight: bold;
    font-style: normal;
}

.padded {
    padding: 24px;
}

.margined {
    margin: 24px;
}

.padded-vert {
    padding-top: 24px;
    padding-bottom: 24px;
}

.card {
    background-color: var(--card-color);
    border-radius: 28px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 16px;
}

.card-border {
    border-radius: 28px;
    border: 2px solid var(--primary-color);
    margin: 16px;
}

.clicklink {
    display: inline-block; /* Makes it easier to style */    
    color: var(--primary-color); /* Deep but readable blue */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make it stand out */
    transition: color 0.3s ease, transform 0.2s ease;
}

.clicklink:hover {
    color: var(--primary-color-hover); /* Darker shade on hover */
    transform: scale(1.02); /* Slight grow effect */
    text-decoration: underline; /* Add underline on hover */
}

.lrcontainer {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    align-items: center;
}



.left-side{    
    flex: 1;
}

/* Right Side */
.right-side {
    flex: 1;
}

.left-side.visible {    
    animation: slideInLeft 1.5s forwards;
}
.right-side.visible {    
    animation: slideInRight 1.5s forwards;
}

.hoverbump:hover {
    transition: transform 0.3s ease;
    transform: translateY(-3px);
    cursor: pointer;
}


/* TABLES */

table {
    border-collapse: collapse;
    background-color: var(--card-color);
    border-radius: 10px;
    border-style: hidden;
    
}

th, td {
    padding: 15px;
    text-align: center;
    border: solid 1px #747474;
}

th {
    background-color: var(--primary-color);
    color: var(--on-primary-color);
    border: hidden
}

tr:nth-child(even) {
    background-color: var(--primary-color-alt);
}

td {
    color: var(--body-text-color);
    border-top: hidden;
    border-bottom: hidden
    
}

th:first-of-type {
  border-top-left-radius: 10px;
}
th:last-of-type {
  border-top-right-radius: 10px;
}
tr:last-of-type td:first-of-type {
  border-bottom-left-radius: 10px;
}
tr:last-of-type td:last-of-type {
  border-bottom-right-radius: 10px;
}

/* Responsive: Stack on smaller screens */
@media (max-width: 768px) {
    .lrcontainer {
        flex-direction: column;
    }
     .tri-col {
        grid-template-columns: 1fr !important;
    }
}

.tri-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.round {
    border-radius: 25px;
}

.rounder {
    border-radius: 45px;
}

.circle {
    border-radius: 50%
}




.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.clickable-img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.clickable-img:hover {
    transform: scale(1.05); /* Slight zoom effect */
}

.quick-links {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Aligns items vertically */
    gap: 10px; /* Adds space between chips */
    padding: 10px;
    flex-wrap: wrap;
}

.chip {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.chip:hover {
    background-color: var(--primary-color-hover);
}

.footer-text {
    font-family: "Coiny", cursive;
    color: white; /* Deep blue to match the theme */
    text-align: center;
    letter-spacing: 1px; /* Adds spacing between the letters */
    font-size: 1.5rem;
    margin: 0px;
}

.footer-text.visible {
    animation: slideFadeIn 1s forwards;
}

.footer {
    background-color: var(--footer-color);
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.copyright {
    color: #bbbbbb;
    font-size: 14px;
}

.popInChildren > *.visible {
  animation: popIn 1s forwards;
}

.pulseChildren > *.visible {
  animation: pulse 1s forwards;
}

.slideFadeInChildren > *.visible {
  animation: slideFadeIn 1s forwards;
}

.animated.visible {
  animation-fill-mode: forwards;
}

@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-50%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
