@font-face {
  font-family: "Montserrat";
  src: url("/public/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat Italic";
  src: url("/public/fonts/Montserrat-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}
:root {
  --main-color: hsl(214.35, 100%, 50%);
  --text: hsl(214.35, 100%, 10%);
  --main-white: hsl(0, 0%, 100%);
  --secondary-white: hsl(0, 0%, 92%);
}
/* 
/////////////////////////////////////////////////
//////////////// GLOBAL STYLES //////////////////
/////////////////////////////////////////////////
*/

body {
  position: relative;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  margin-block: 1rem;
  overflow: hidden;
}

strong {
  color: var(--main-color);
}
.page-title {
  font-size: 1.8rem;
  color: var(--main-color);
  margin-block: 1rem;

  /* DESKTOP */
  @media (min-width: 768px) {
    font-size: 2.1rem;
  }
}
/* 
//////////////////////////////////////////////
//////////// NAVBAR STYLES //////////////////
////////////////////////////////////////////
*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem;
  padding-left: 0;
  padding-right: 1.5rem;
  z-index: 10;
}
.navbar.float {
  position: absolute;
  top: 0;
}
.navbar.colored {
  background-color: var(--main-color);
}

.logo-img {
  width: auto;
  height: 45px;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: none;

  @media (min-width: 768px) {
    display: flex;
    gap: 1.5rem;
  }
}

.nav-link {
  text-decoration: none;
  color: var(--secondary-white);
  font-size: 1rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--main-white);
}

.burger-btn {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.3s ease;

  @media (min-width: 768px) {
    display: none;
  }
}

.bar {
  height: 4px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-btn.active {
  transform: rotate(90deg);
}

.burger-btn.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-btn.active .bar:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  top: 5rem;
  width: 100%;
  opacity: 0;
  transform: translateY(-215px);
  pointer-events: none;

  transition:
    transform 320ms cubic-bezier(0.22, 0.97, 0.36, 1) 200ms,
    opacity 220ms ease 0ms;

  /* DESKTOP */

  @media (min-width: 768px) {
    display: none;
  }
}

.mobile-links.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;

  transition:
    transform 320ms cubic-bezier(0.22, 0.97, 0.36, 1) 0ms,
    opacity 220ms ease 200ms;
}

.mobile-link {
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
  color: var(--main-white);
}

/* 
/////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////// DOCS STYLES //////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////
*/
.docs-title {
  font-size: 1.3rem;
  color: var(--main-color);

  /* DESKTOP */
  @media (min-width: 768px) {
    font-size: 1.5rem;
  }
}
.docs-content {
  line-height: 1.5;
  font-size: 1rem;
  margin-block: 1rem;
  color: var(--text);

  /* DESKTOP */
  @media (min-width: 768px) {
    font-size: 1.125rem;
  }
}
.docs-list {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.docs-list li {
  position: relative;
  margin-bottom: 0.1rem;
}

.docs-list span {
  position: absolute;
  left: -1.5rem;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  background-color: var(--main-color);
  border-radius: 50%;
}

.docs-link {
  color: var(--main-color);
}

/*
//////////////////////////////////////////
////////////// FOOTER STYLES /////////////
////////////////////////////////////////
*/

.footer {
  color: var(--main-color);
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-image {
  width: 250px;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-links {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;

  @media (min-width: 768px) {
    width: auto;
    align-items: flex-start;
    text-align: left;
  }
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--main-color);
  width: 100%;
  font-weight: 800;
}

.footer-list {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-item {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s ease;
  font-size: var(--base-size-sm);
  font-weight: 400;
}

.footer-link:hover {
  opacity: 0.9;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-block: 1rem;
  list-style: none;
}

.footer-social-link {
  color: var(--main-color);
  text-decoration: none;
  font-size: 1.5rem;

  img {
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
  }
  &:hover img {
    transform: scale(1.1);
  }

  /* Tablet and larger screens */
  @media (min-width: 768px) {
    font-size: 1.8rem;

    img {
      width: 26px;
      height: 26px;
    }
  }
}

.footer-copyright {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-align: center;
}
