/*==================== GOOGLE FONTS ====================*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono&family=Poppins:wght@500;600&family=Space+Mono:wght@400;700&display=swap');
/*==================== VARIABLES CSS ====================*/

:root {
  --header-height: 3rem;
  /*========== COLORS ==========*/
  --hue-color: 190;
  /* HSL color mode */
  --title-color: hsl(60, 5%, 4%);
  --text-color: hsl(60, 5%, 24%);
  --text-color-light: hsl(60, 0%, 44%);
  --container-color: hsl(60, 0%, 98%);
  --container-color-alt: hsl(60, 3%, 94%);
  --body-color: hsl(60, 0%, 99%);
  --white-color: white;
  /* --first-color: hsl(230, 69%, 61%);
  --first-color-second: hsl(230, 69%, 61%);
  --first-color-alt: hsl(230, 57%, 53%);
  --first-color-lighter: hsl(230, 92%, 85%);
  --first-color-lighter-dark: hsl(230, 8%, 15%);
  --title-color: hsl(230, 8%, 15%);
  --text-color: hsl(230, 8%, 45%);
  --text-color-light: hsl(230, 8%, 65%);
  --input-color: hsl(230, 70%, 96%);
  --body-color: hsl(230, 60%, 99%);
  --container-color: white;
  --white-color: var(--container-color);
  --black-color: black; */
  /* --scroll-bar-color: ;
  --scroll-bar-thumb-color: ; */
  /*========== FONT & TYPORGRAPHY ==========*/
  --body-font: 'Poppins', sans-serif;
  --second-font: 'Noto Sans Mono', monospace;
  --third-font: 'Space Mono', monospace;
  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  /*========== FONT WEIGHT ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== MARGINS ==========*/
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.25rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  /*========== Z INDEX ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/*========== FONT SIZE FOR LARGER SCREENS ==========*/

@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 0 var(--header-height) 0;
  overflow-x: hidden;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*==================== REUSABLE CSS CLASSES ====================*/

.section {
  padding: 2rem 0 4rem;
}

.container {
  max-width: 968px;
  margin-left: var(--mb-1);
  margin-right: var(--mb-1);
}

.grid {
  display: -ms-grid;
  display: grid;
  gap: 1.5rem;
}

.nav__list, .footer__item {
  list-style: none;
}

/* .section__title {
  font-size: var(--h1-font-size);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
}

.section__title, .section__subtitle {
  text-align: center;
} */

/*==================== NAVBAR ====================*/

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: transparent;
}

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

.nav {
  height: var(--header-height);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.nav__logo, .nav__toggle {
  color: var(--white-color);
}

.nav__logo {
  width: 50px;
  height: auto;
}

.nav__toggle {
  font-size: 1.2rem;
  cursor: pointer;
}

.nav__menu {
  position: relative;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    -webkit-box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
    box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
    padding: 3rem;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
  }
}

.nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  color: var(--text-color-light);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
}

.nav__link:hover {
  color: var(--text-color);
}

.nav__close {
  position: absolute;
  top: .75rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/* -------------------- SHOW MENU -------------------- */

.show-menu {
  right: 0;
}

/* -------------------- CHANGE BACKGROUND HEADER -------------------- */

.scroll-header {
  background-color: var(--body-color);
  -webkit-box-shadow: 0 0 4px rgba(14, 55, 63, 0.15);
  box-shadow: 0 0 4px rgba(14, 55, 63, 0.15);
}

.scroll-header .nav__logo, .scroll-header .nav__toggle {
  color: var(--title-color);
}

/* -------------------- ACTIVE LINK -------------------- */

.active-link {
  position: relative;
  color: var(--title-color);
}

.active-link::before {
  content: '';
  position: absolute;
  background-color: var(--title-color);
  width: 100%;
  height: 2px;
  bottom: -.75rem;
  left: 0;
}

/*==================== HOME ====================*/

.home__container {
  background-color: black;
}

.home__img1, .home__img2, .information__img {
  max-width: 400px;
}

.home__img2 {
  margin-top: -3rem;
}

/*==================== PARAGRAPH ====================*/

.text {
  background-color: hsl(0, 0%, 14%);
  color: var(--white-color);
}

.paragraph {
  padding: var(--mb-2);
  text-align: center;
}

/*==================== INFORMATION ====================*/

.information__container {
  row-gap: var(--mb-1);
}

.information__img-info {
  font-family: var(--second-font);
  font-weight: 700;
  font-size: var(--h3-font-size);
  text-align: center;
}

.information__list {
  padding: var(--mb-1);
}

.information__list-item {
  margin-left: var(--mb-0-5);
  color: var(--text-color-light);
  list-style: circle;
}

/*==================== DETAIL ====================*/

.detail__container {
  margin-top: var(--mb-3);
}

.detail__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  row-gap: var(--mb-1);
  background-color: black;
  border-radius: 1rem;
  color: var(--white-color);
  padding: 1rem;
  text-align: center;
}

.black {
  color: black;
  border: 2px solid black;
  background-color: white;
}

.detail__icon {
  font-size: 4rem;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/*==================== CONTACT ====================*/

.contact {
  background-image: url("../IMAGES/ANALYSIS_05.png");
  background-color: #232323;
  margin: var(--mb-3) 0;
  position: relative;
  padding: var(--mb-3) var(--mb-2);
}

.box4, .contact__content2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  row-gap: 1rem;
}

.contact__img {
  position: absolute;
  margin: -23rem auto 0;
  display: block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: -1;
  width: 100%;
  margin-left: -1rem;
}

.contact__title {
  font-size: var(--h2-font-size);
  color: var(--white-color);
}

.contact__subtitlte {
  color: #c3c3c3;
}

.box5 {
  margin-top: 1.5rem;
}

.btn {
  border: none;
  outline: none;
  color: #232323;
  background-color: var(--white-color);
  padding: .5rem 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  border-radius: .5rem;
  cursor: pointer;
}

/*==================== FOOTER ====================*/

.footer__container {
  row-gap: 5rem;
}

.footer__content {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}

.footer__title, .footer__subtitle {
  font-size: var(--h3-font-size);
}

.footer__title {
  margin-bottom: var(--mb-0-5);
}

.footer__description {
  margin-bottom: var(--mb-2);
}

.footer__social {
  font-size: 1.25rem;
  color: var(--title-color);
  margin-right: var(--mb-1-25);
}

.footer__subtitle {
  margin-bottom: var(--mb-1);
}

.footer__item {
  margin-bottom: var(--mb-0-75);
}

.footer__link {
  color: var(--text-color);
}

.footer__link:hover {
  color: var(--title-color);
}

.footer__rights {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  row-gap: 1.5rem;
  text-align: center;
}

.footer__copy, .footer__terms-link {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.footer__terms {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 1.5rem;
  -moz-column-gap: 1.5rem;
  column-gap: 1.5rem;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer__terms-link:hover {
  color: var(--text-color);
}

/*==================== SCROLL UP ====================*/

.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--first-color);
  padding: .5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: .9;
  z-index: var(--z-tooltip);
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.scrollup:hover {
  background-color: var(--first-color-alt);
  opacity: 1;
}

.scrollup__icon {
  color: var(--white-color);
  font-size: 1.2rem;
}

/* Show scroll */

.show-scroll {
  bottom: 5rem;
}

/*=============== SCROLL BAR ===============*/

::-webkit-scrollbar {
  width: .60rem;
  background-color: var(--white-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
  background-color: black;
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #232323;
}

@media screen and (min-width: 568px) {
  .detail__container {
    -ms-grid-columns: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
  }
  .home__container {
    height: calc(98vh + 3rem);
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__link {
    color: var(--white-color);
    text-transform: initial;
  }
  .nav__link:hover {
    color: var(--white-color);
  }
  .nav__menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
  }
  .nav__list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-column-gap: 4rem;
    -moz-column-gap: 4rem;
    column-gap: 4rem;
  }
  .nav__toggle, .nav__close {
    display: none;
  }
  .active-link::before {
    background-color: var(--white-color);
  }
  .scroll-header .nav__link {
    color: var(--text-color);
  }
  .scroll-header .active-link {
    color: var(--title-color);
  }
  .scroll-header .active-link::before {
    background-color: var(--title-color);
  }
  .scroll-header .change-theme {
    color: var(--text-color);
  }
  .section {
    padding: 7rem 0 2rem;
  }
  .home__container {
    height: 100vh;
    -ms-grid-rows: 1.8fr .5fr;
    grid-template-rows: 1.8fr .5fr;
  }
  .footer__rights {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .detail__container {
    -ms-grid-columns: repeat(3, 1fr);
    grid-template-columns: repeat(3, 1fr);
  }
  .home__container {
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .information__container, .home__container {
    -ms-grid-columns: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .contact__container {
    -ms-grid-columns: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For large devices */

@media screen and (min-width: 1024px) {
  .home__img1, .home__img2, .information__img {
    max-width: 600px;
  }
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .footer__content {
    justify-items: center;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1024px;
  }
  .contact__img {
    margin: -28rem auto 0;
    width: 1213px;
  }
}

/* For tall screens on mobiles y desktop*/

@media screen and (min-height: 721px) {
  body {
    margin: 0;
  }
}