/*========== GOOGLE FONTS ==========*/
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
/*========== VARIABLES CSS ==========*/
:root {
  /*===== Colors =====*/
  --soft-white: #fbfaf5;
  --soft-black: #181a18;
  --white: #ffffff;
  --black: #0a0a0a;
  --theme-dark: #1c1d20;
  --theme-blue: #0ea5e9;
  --theme-d-blue: #023047;
  --the-d-blue: #1b263b;
  --theme-yellow: #ffb703;
  --theme-orange: #fb8500;
  --theme-l-orange: #f59e0b;
  --the-blu: #c4e4ff;
  --the-blu-2: #dce6f2;
  --bg-grey: #f7f7f7;
  --bg-black: #1f242e;
  --text-grey: #444950;
  --light-grey: #ebebeb;
  --success: #13ae8f;
  --error: #ff3333;

  /*===== Font and typography =====*/
  --pri-font: "Inter Tight", sans-serif;
  --lat-font: "Lato", sans-serif;
  --com-font: "Comfortaa", sans-serif;

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --fs-6: 6rem;
  --fs-5-5: 5.5rem;
  --fs-5: 5rem;
  --fs-4-5: 4.5rem;
  --fs-4: 4rem;
  --fs-3-5: 3.5rem;
  --fs-3: 3rem;
  --fs-2-5: 2.5rem;
  --fs-2: 2rem;
  --fs-1-5: 1.5rem;
  --fs-1: 1rem;
  --fs-0-95: 0.95rem;
  --fs-0-85: 0.85rem;
  --fs-0-75: 0.75rem;
  --fs-0-65: 0.65rem;
  --fs-0-5: 0.5rem;
  --fs-0-25: 0.275rem;
  --fs-0-2: 0.2rem;

  /*===== Font weight =====*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*===== Margenes Bottom =====*/
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  --mb-3-5: 3rem;
  --mb-4: 4rem;
  --mb-4-5: 4.5rem;
  --mb-5: 5rem;
  --mb-5-5: 5.5rem;
  --mb-6: 6rem;
  --mb-6-5: 6.5rem;
  --mb-7: 7rem;
  --mb-7-5: 7.5rem;
  --mb-8: 8rem;
}

/*========== BASE SECTION ==========*/

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

html {
  scroll-behavior: smooth;
  overflow: scroll;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 0;
  /* Remove scrollbar space */
  background: transparent;
  /* Optional: just make scrollbar invisible */
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  font-family: var(--pri-font);
  font-size: var(--fs-1);
  padding: 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:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  background-color: var(--white);
  color-scheme: light dark;
}

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

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

li {
  display: inline;
}

a {
  text-decoration: none;
  color: var(--black);
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 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;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--mb-8);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

button {
  width: fit-content;
  height: auto;
  padding: var(--mb-0-75) var(--mb-1-5);
  font-size: 1.1rem;
  font-weight: 500;
  font-family: var(--pri-font);
  color: var(--soft-black);
  text-align: center;
  outline: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 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;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeY {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes fadeX {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

/*========== ANIMATED MOUSE SCROLL ==========*/
.mouse-scroll {
  position: absolute;
  bottom: -4.5rem;
  width: 25px;
  height: 40px;
  border: 2px solid var(--text-grey);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* display: none; */
}

.mouse-wheel {
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--theme-blue);
  border-radius: 50%;
  margin: auto;
  animation: move-wheel 1.5s linear infinite;
}

@keyframes move-wheel {
  0% {
    opacity: 0;
    transform: translateY(-0.8rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0.5rem);
  }
}

/*========== HEADER SECTION ==========*/
.header {
  position: fixed;
  top: var(--mb-1-5);
  width: 100%;
  padding: 0 var(--mb-6);
  z-index: 50;
}

.nav {
  width: 100%;
  justify-content: space-between;
}

.nav.active {
  background-color: var(--white);
  padding: var(--mb-1) var(--mb-1-5);
  border-radius: 40px;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 3px 5px;
}

.nav-logo {
  flex: 0 0 auto;
  justify-content: flex-start;
  column-gap: var(--mb-0-5);
}

.nav-logo span {
  font-weight: 600;
  color: var(--the-d-blue);
  color: var(--theme-yellow);
  font-size: 1.6rem;
}

.nav-logo a {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  color: var(--the-d-blue);
  font-family: var(--com-font);
}

.nav-menu {
  flex: 0 0 auto;
}

.nm-logo,
.nm-btn,
#nav-open,
#nav-close {
  display: none;
}

.nm-ul {
  flex: 0 0 auto;
  column-gap: var(--mb-1-5);
}

.nml {
  position: relative;
}

.nml a {
  font-size: var(--fs-1);
  font-weight: 600;
  text-align: center;
  color: var(--the-d-blue);
  font-family: var(--com-font);
}

.nml span {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--theme-yellow);
}

.nml:hover span {
  width: 100%;
}

.nav-btn {
  flex: 0 0 auto;
  border-radius: 30px;
  background-color: var(--theme-yellow);
  color: var(--the-d-blue);
  font-size: var(--fs-1);
  font-family: var(--com-font);
}

.nav-btn:hover {
  background-color: var(--the-d-blue);
  color: var(--soft-white);
}

/*========== FOOTER SECTION ==========*/
footer {
  width: 100%;
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 var(--mb-6);
  background-color: var(--soft-white);
}

.footer-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.f-title {
  flex: 0 0 auto;
  height: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.f-title p {
  font-family: var(--body-comfortaa);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
}

.f-links {
  flex: 0 0 auto;
  height: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  column-gap: var(--mb-1-5);
}

.f-links li a {
  font-family: var(--body-comfortaa);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-grey);
  padding-bottom: var(--mb-0-25);
  border-bottom: 2px transparent solid;
  transition: all 0.3s ease;
}

.f-links li a:hover {
  color: var(--primary-blue);
}

/*===== MEDIA QUERIES =====*/
/* Media query for screens with a maximum width of 480px */
@media screen and (max-width: 480px) {
  .header {
    top: var(--mb-1);
    padding: 0 var(--mb-1-5);
  }

  .nav.active .nav-logo a {
    font-size: 0.9rem;
  }

  .nav.active .nav-logo span {
    font-size: 1.3rem;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: fit-content;
    padding: var(--mb-1-5);
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    row-gap: var(--mb-1-5);
    background-color: var(--white);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    animation: fadeY 0.3s ease-in-out;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  #nav-close {
    display: inline-block;
    position: absolute;
    top: var(--mb-1-5);
    right: var(--mb-1-5);
    color: var(--soft-black);
    font-size: var(--fs-1-5);
  }

  .nm-logo {
    display: flex;
    justify-content: flex-start;
    column-gap: 0.35rem;
  }

  .nm-logo span {
    font-weight: 600;
    color: var(--the-d-blue);
    color: var(--theme-yellow);
    font-size: 1.3rem;
  }

  .nm-logo a {
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    color: var(--the-d-blue);
    font-family: var(--com-font);
  }

  .nm-ul {
    flex: 0 0 auto;
    width: 100%;
    column-gap: var(--mb-1-5);
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    row-gap: var(--mb-0-5);
    padding: var(--mb-1) 0;
    border-top: 1px #e5e5e5 solid;
    border-bottom: 1px #e5e5e5 solid;
    padding-left: var(--mb-1);
  }

  .nml a {
    font-size: var(--fs-1);
  }

  .nm-btn {
    display: inline-block;
    border-radius: 30px;
    background-color: var(--theme-yellow);
    color: var(--the-d-blue);
    font-size: var(--fs-1);
    /* font-family: var(--com-font); */
    font-weight: 500;
  }

  .nm-btn:hover {
    background-color: var(--the-d-blue);
    color: var(--soft-white);
  }

  .nav-btn {
    display: none;
  }

  #nav-open {
    display: inline-block;
    font-size: var(--fs-1-5);
    color: var(--soft-black);
  }
  /*========== FOOTER SECTION ==========*/
  footer {
    width: 100%;
    height: auto;
    padding: var(--mb-2) var(--mb-1-5);
  }

  .footer-container {
    width: 100%;
    height: auto;
    justify-content: flex-start;
    flex-direction: column;
    row-gap: var(--mb-1);
  }

  .f-title {
    flex: 0 0 auto;
    height: auto;
  }

  .f-title p {
    font-family: var(--body-comfortaa);
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
  }

  .f-links {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    justify-content: center;
    column-gap: var(--mb-1-5);
  }

  .f-links li a {
    font-family: var(--body-comfortaa);
    font-size: 0.8rem;
    opacity: 0.8;
  }

  .f-links li a:hover {
    color: var(--primary-blue);
    opacity: 1;
  }
}

/* Media query for screens with a minimum width of 1800px */
@media screen and (min-width: 1800px) {
}

/*==================== COMING SOON MODAL ====================*/
.coming-soon {
  position: fixed;
  z-index: 50;
  width: 100vw;
  height: 100vh;
  top: -150%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.85);
  padding: var(--mb-2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.csoon-hide {
  top: 0;
}

.csoon-modal {
  width: 30%;
  height: auto;
  border-radius: 10px;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.csoon-container {
  position: relative;
  width: 100%;
  height: auto;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* row-gap: var(--mb-1); */
  padding: var(--mb-3);
}

.csoon-container i {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s ease;
}

.csoon-container i:hover {
  color: red;
}

.csoon-logo {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: var(--mb-1);
  margin-bottom: var(--mb-1);
  /* border: 1px solid red; */
}

.csoon-logo h3 a {
  font-family: var(--body-comfortaa);
  font-size: 1.8rem;
  font-weight: 800;
  /* letter-spacing: 0.05em; */
  color: var(--black);
}

.csoon-content {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.csoon-content h3 {
  font-family: var(--body-comfortaa);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: var(--mb-0-5);
  text-align: center;
  color: var(--soft-black);
}

.csoon-content p {
  width: 100%;
  font-family: var(--body-comfortaa);
  font-size: 0.98rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: var(--mb-0-25);
  color: var(--text-grey);
  line-height: 22px;
}

@media screen and (max-width: 430px) {
  /*==================== COMING SOON MODAL ====================*/
  .coming-soon {
    padding: var(--mb-1);
  }

  .csoon-modal {
    width: 90%;
  }

  .csoon-container {
    position: relative;
    width: 100%;
    height: auto;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* row-gap: var(--mb-1); */
    padding: var(--mb-2-5) var(--mb-2);
  }

  .csoon-container i {
    font-size: 2rem;
  }

  .csoon-logo img {
    width: 130px;
  }

  .csoon-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--mb-0-5);
  }

  .csoon-content p {
    font-size: 0.95rem;
    line-height: 20px;
  }
}
