@import url("https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");
@import "aos/dist/aos.css";

:root {
  --white: #fdfeff;
  --black: #222222;
  --gray: #6b6b6b;

  --blue-light: #0080ff;
  --blue-dark: #2d3192;
  --blue-dark-bncc: #1c476c;

  --green: #3ecb02;
  --yellow: #ffd60a;
  --orange: #ff8700;
  --orange-dark: rgb(214, 119, 11);
  --red: #ec1e24;
  --pink: #ec1950;

  --font-title: "Poetsen One", sans-serif;
  --font-body: "Lexend", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  /* para debugging */
  /* outline: 1px solid red; */
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
}

main {
  margin-top: 50px;
}

button {
  cursor: pointer;
  border: none;
}

/* BACKGROUND COLORS */

.bkg_orange {
  background: var(--orange);
}

.bkg_yellow {
  background: var(--yellow);
}

.bkg_blue {
  background: var(--blue-light);
}

.bkg_blue-dark {
  background: var(--blue-dark);
}

.bkg_blue-dark-bncc {
  background: var(--blue-dark-bncc);
}

.bkg_green {
  background: var(--green);
}

.bkg_red {
  background: var(--red);
}

.bkg_pink {
  background: var(--pink);
}

/* COLORS */

.blue {
  color: var(--blue-light);
}

.blue-dark {
  color: var(--blue-dark);
}

.green {
  color: var(--green);
}

.red {
  color: var(--red);
}

.orange {
  color: var(--orange);
}

.yellow {
  color: var(--yellow);
}

.pink {
  color: var(--pink);
}

.black {
  color: var(--black);
}

.bold {
  font-weight: 600;
}

/* SIDEBAR MENU  */
.navbar__toggle {
  display: none;
}

.sidebar {
  display: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  margin: auto;
  height: 50px;
  padding: 8px 16px;
  gap: 52.233px;

  background: var(--white);
  box-shadow: 0px 4px 18.6px -2px rgba(0, 0, 0, 0.15);
}

.navbar a img {
  width: 180px;
  height: auto;
}

.navbar__menu {
  display: flex;
  justify-content: end;
  gap: 16px;

  flex-grow: 1;
}

.navbar__menu a {
  text-decoration: none;
  color: var(--blue-dark);
  font-family: var(--font-title);
  font-style: normal;
  font-weight: 400;
  font-size: 0.8rem;
}

.navbar__menu a:hover,
a.active {
  color: var(--orange);
  transition: all 0.2s ease-in-out;
}

/* FOOTER */
.footer {
  background: var(--blue-light);

  font-family: var(--font-body);
  color: var(--white);
}

.footer__container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  padding: 1rem 6rem;
}

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

  gap: 1rem;

  width: 15rem;
}

.footer__container__autinspire img {
  width: 15rem;
}

.footer__container__autinspire p {
  font-size: 0.65rem;
  font-weight: 300;
}

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

  gap: 0.5rem;
}

.footer__container__autinspire__contact img {
  width: 1rem;
}

.footer__container__autinspire__contact p {
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
}

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

  gap: 1rem;
}

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

  text-align: center;

  gap: 0.5rem;
}

.footer__container__navbarmenu a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 300;
}

.footer__copyrights {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  padding: 0.5rem 1rem;

  border-top: 1.5px solid var(--white);

  font-size: 0.65rem;
  font-weight: 300;
}

.footer__copyrights a {
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
}

/* MOBILE */
@media (min-width: 320px) and (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    padding: 0.5rem 1rem;
  }

  .navbar__menu {
    display: none;
  }

  .navbar__toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
  }

  .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    overflow-x: hidden;
    z-index: 9999;

    background-color: var(--white);

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;

    width: 247px;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;

    width: 100%;
  }

  .sidebar__menu a {
    text-decoration: none;
    color: var(--blue-dark);
    font-family: var(--font-title);
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
  }

  .sidebar__menu a.active {
    color: var(--orange);
    transition: all 0.2s ease-in-out;
  }

  .sidebar__menu a img {
    width: 20px;
    height: 20px;
  }

  /* FOOTER */
  .footer__container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .footer__container__autinspire {
    align-items: center;
    width: 100%;
  }

  .footer__container__autinspire p {
    text-align: justify;
  }

  .footer__copyrights {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
