@font-face {
  font-family: "Rubik";
  src: url("/assets/fonts/Rubik/Rubik-VariableFont_wght.ttf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: auto;
  font-display: swap;
}

@font-face {
  font-family: "Rubik light";
  src: url("/assets/fonts/Rubik/Rubik-VariableFont_wght.ttf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: auto;
  font-display: swap;
}

@font-face {
  font-family: "Rubik bold";
  src: url("/assets/fonts/Rubik/Rubik-VariableFont_wght.ttf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: auto;
  font-display: swap;
}

:root {
  --Blue: hsl(246, 80%, 60%);
  --Light-orange: hsl(15, 100%, 70%);
  --Soft-blue: hsl(195, 74%, 62%);
  --Light-red: hsl(348, 100%, 68%);
  --Lime-green: hsl(145, 58%, 55%);
  --Violet: hsl(264, 64%, 52%);
  --Soft-orange: hsl(43, 84%, 65%);
  --Very-dark-blue: hsl(226, 43%, 10%);
  --Dark-blue: hsl(235, 46%, 20%);
  --Desaturated-blue: hsl(235, 45%, 61%);
  --Pale-Blue: hsl(236, 100%, 87%);
  --animation-smooth: 1.5s cubic-bezier(0.5, 0.5, 0, 1);
  --animation: 1s cubic-bezier(0.5, 0.5, 0, 1);
  --border-radius: 0.6em;
  --container-padding: 20vw;
  --section-padding-medium: min(6vw, 6em);
}

@media screen and (max-width: 900px) {
  :root {
    --container-padding: 10vw;
  }
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

li,
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: "Rubik", sans-serif;
  color: white;
  line-height: 1.1;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  background-color: var(--Very-dark-blue);
}

html,
body {
  width: 100%;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

canvas,
img,
video {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

svg {
  max-width: none;
  height: auto;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
ul,
ol,
span,
strong,
em {
  padding: 0;
  margin: 0;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
}

h1 {
  font-family: "Rubik light", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(1.5rem, 3.8vw, 2.5rem);
  line-height: 1.1;
  color: white;
}

h2 {
  font-family: "Rubik light", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.5rem, 3.5vw, 1.6rem);
  line-height: 1.3;
  color: var(--Dark-Slate-Grey);
}

h4 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.1;
  color: var(--Neon-Green);
  text-transform: uppercase;
}

h5 {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.8rem;
  line-height: 1.1;
  color: var(--Desaturated-blue);
}

h6 {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.6rem;
  line-height: 1.1;
  color: var(--Pale-Blue);
}

p {
  font-family: "Libre Light", sans-serif;
  font-style: normal;
  font-family: 400;
  color: var(--Dark-Grayish-Magenta);
  font-size: clamp(0.8rem, 1vw, 0.8rem);
  line-height: 1.4;
}

a {
  text-decoration: none;
}

/*-------------------------format--------------------------*/
.row {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.flex-col {
  display: block;
  width: 100%;
  order: 2;
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

img.overlay {
  object-fit: cover;
}

.container {
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  position: relative;
  padding-top: 10vw;
  padding-bottom: 10vw;
}

@media screen and (max-width: 720px) {
  .container {
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .section {
    position: relative;
    padding-top: 20vw;
    padding-bottom: 20vw;
  }
}

.btn-row {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
}

.btn {
  position: relative;
  border: 0;
  outline: 0;
}

.btn .btn-click {
  cursor: pointer;
  border: 0;
  outline: 0;
  height: 55px;
  width: 55px;
  background-color: var(--dark-grey);
  border-radius: 50%;
  overflow: hidden; /* Ensure the pseudo-element doesn't exceed the button bounds */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: var(--animation-smooth);
}

.btn.secondary .btn-click {
  cursor: pointer;
  border: 0;
  outline: 0;
  width: 100%;
  height: 100%;
  padding: 0.7rem;
  background-color: var(--primary-color);
  border-radius: calc(var(--border-radius) * 3);
  overflow: hidden; /* Ensure the pseudo-element doesn't exceed the button bounds */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: var(--animation-smooth);
}

.btn .btn-text {
  position: relative;
  height: 100%;
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
}

.btn.secondary .btn-text span {
  color: var(--color-light);
  text-transform: uppercase;
  font-family: "overpass", sans-serif;
  font-size: 1rem;
}

.btn .btn-text span {
  padding-top: 3px;
  color: var(--light-grey);
  font-family: "overpass", sans-serif;
  font-size: 1rem;
}

.btn .btn-click:hover {
  transition: var(--animation-smooth);
  background-color: var(--light-grey);
}
.btn .btn-click:hover .btn-text span {
  color: var(--color-light);
}

.secondary .btn-click:hover {
  transition: var(--animation-smooth);
  background-color: var(--color-light);
}

.secondary .btn-click:hover .btn-text span {
  color: var(--primary-color); /* Color change on hover for text */
}

.btn .btn-click.active,
.btn .btn-click:active {
  background-color: var(--primary-color); /* Or any color you prefer */
  color: white;
}

/* This is to ensure the span inside the button also changes color */
.btn .btn-click.active .btn-text span,
.btn .btn-click:active .btn-text span {
  color: white;
}
