:root {
  --border-primary: #030026;
  --border-primary-alt: #ffffff;
  --border-secondary: #d9d9d9;

  --text-primary: #030026;
  --text-primary-alt: #ffffff;
  --text-secondary: #a9a9a9;
  --text-blue: #090944;

  --background-primary: #ffffff;
  --background-primary-alt: #090944;

  --text-small: 1.125rem;
  --text-medium: 1.25rem;
  --text-large: 1.5rem;

  --trans-duration-default: 300ms;

  --nav-height: 66px;

  --padding-sm: 24px;
  --padding-md: 36px;
  --padding-lg: 52px;
}

@media (min-width: 768px) {
  :root {
    --nav-height: 88px;
  }
}

html {
  font-size: 16px;
  background-color: rgb(241, 241, 241);
}

* {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: var(--text-medium);
  line-height: 125%;
}

::-moz-selection {
  color: var(--text-primary-alt);
  background: var(--background-primary-alt);
}

::selection {
  color: var(--text-primary-alt);
  background: var(--background-primary-alt);
}

body {
  margin: 0;
  position: relative;
}

#bg-image {
  position: fixed;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -2;
}

p.primary {
  color: var(--text-primary);
}

p.secondary {
  color: var(--text-secondary);
}

p.small {
  font-size: var(--text-small);
}

p.medium {
  font-size: var(--text-medium);
  line-height: 105%;
  letter-spacing: -2%;
}

p.large {
  font-size: var(--text-large);
  line-height: 105%;
  letter-spacing: -2%;
}

p.light {
  font-weight: 400;
}

.btn {
  padding: 12px 26px;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -2%;
  border: none;
  outline: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

@media (min-width: 768px) {
  .btn {
    padding: 16px 24px;
    font-size: 20px;
  }
}

.btn:active {
  transform: scale(0.98);
}

.btn:hover {
  opacity: 0.92;
}

.btn i {
  font-size: 20px;
}

.btn.primary-alt {
  color: var(--text-primary);
  background-color: var(--background-primary);
}

.btn.primary-alt:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.btn.secondary {
  color: var(--text-primary);
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid var(--border-primary);
}

.btn.secondary:hover {
  color: var(--text-primary-alt);
  background-color: var(--background-primary-alt);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.4s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.4s ease-in forwards;
}

@keyframes zoomInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.zoom-in-right {
  opacity: 0;
  transform: translateX(-100%);
  animation: zoomInRight 0.35s ease-out forwards;
}

@keyframes scaleInOut {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.scale-in-out {
  transform: scale(1);
  animation: scaleInOut 0.4s ease-in forwards;
}

/* ================ NAV BAR ================ */

nav {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 100;
}

#nav-bar-wrapper {
  position: relative;
  height: var(--nav-height);
  padding: 24px var(--padding-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  transition:
    background-color 0.1s linear,
    box-shadow 0.1s linear;
}

@media (min-width: 992px) {
  #nav-bar-wrapper {
    padding: 28px var(--padding-md);
  }
}

@media (min-width: 1440px) {
  #nav-bar-wrapper {
    padding: 32px var(--padding-lg);
  }
}

#mobile-nav-menu {
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 0px;
  overflow: hidden;
  background-color: rgba(241, 241, 241);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition:
    height 0.125s ease-out,
    background-color 0.1s linear,
    box-shadow 0.1s linear;
}

#mobile-nav-menu-toggle {
  margin-left: auto;
  border: none;
  outline: none;
  background: transparent;
}

@media (min-width: 768px) {
  #mobile-nav-menu-toggle {
    display: none;
  }
}

#mobile-nav-menu-toggle i {
  font-size: 24px;
  color: var(--text-primary);
}

#mobile-nav-menu-toggle.alt i {
  color: var(--text-primary-alt);
}

.mobile-nav-link {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-blue);
  flex-shrink: 0;
  border-top: 1px solid var(--border-secondary);
}

.nav-link {
  color: var(--text-primary);
  font-size: 16px;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 8px 16px;
  transition:
    background-color var(--trans-duration-default) ease,
    border-color var(--trans-duration-default) ease,
    box-shadow var(--trans-duration-default) ease,
    color var(--trans-duration-default) ease;
  background-color: rgba(255, 255, 255, 0.8);
  display: none;
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

@media (min-width: 768px) {
  .nav-link {
    display: inline-block;
    padding: 12px 24px;
  }
}

.nav-link.alt {
  color: var(--text-primary-alt);
  background-color: transparent;
}

.nav-link.current {
  border-color: var(--border-primary);
  display: inline-block;
}

.nav-link.current.alt {
  border-color: var(--border-primary-alt);
}

.nav-link:hover {
  background-color: var(--background-primary-alt) !important;
  color: var(--text-primary-alt) !important;
}

.nav-link.alt:hover {
  background-color: var(--background-primary) !important;
  color: var(--text-primary) !important;
}

.nav-link.no-shadow {
  box-shadow: none;
}

/* =============== SOCIALS SECTION =============== */

#socials-section {
  padding: var(--padding-sm);
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0px -35px 13px -25px rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
  #socials-section {
    padding: var(--padding-md);
  }
}

@media (min-width: 1440px) {
  #socials-section {
    padding: var(--padding-lg);
  }
}

#socials-section p {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 80%;
  letter-spacing: -2%;
  word-break: break-all;
}

@media (min-width: 768px) {
  #socials-section p {
    font-size: 42px;
  }
}

@media (min-width: 992px) {
  #socials-section p {
    font-size: 46px;
  }
}

@media (min-width: 1440px) {
  #socials-section p {
    font-size: 52px;
  }
}

#socials-section i {
  font-size: 50px;
}

/* ================ CSS RESETS ================= */

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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* 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 {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Remove built-in form typography styles */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove animations for people who prefer reduced motion */
@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;
  }
}

/* Give buttons and anchors a pointer cursor */
button,
a {
  cursor: pointer;
}

/* Inherit color on links unless overridden */
a {
  color: inherit;
  text-decoration: none;
}
