/*Google fonts*/
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap");
/*----- VARIABLES CSS -----*/
:root {
  --header-height: 3.5rem;
  /*Colores*/
  /* --first-color: #EFD50C; */
  /* --text-color: #B7B7B7; */
  /* --bg-color: #141313; */
 
  /*Fuente y Tipografia*/
  --body-font: "Montserrat", sans-serif;
  --big-font-size: 3rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: 0.93rem;
  --small-font-size: 0.75rem;
  --smaller-font-size: 0.5rem;
  /*z index*/
  --z-normal: 1;
  --z-fixed: 100;
   /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  /*
      Blue: hsl(207, 90%, 61%)
      Purple: hsl(250, 66%, 75%)
      Pink: hsl(356, 66%, 75%)
      Teal: hsl(174, 63%, 62%)
     azul hsl( 189 , 90%, 46%)
  */

  --hue: 189;
  --sat: 90%;
  --lig: 46%;
  --white-color:hsl(0, 0%, 100%);
  --icon-color: hsl(0, 100%, 50%);
  --bg-color: hsl(0, 5%, 8%);
  --first-color:hsl(12, 100%, 51%);
  --first-color-alt: hsl(207, 12%, 29%); /* -4% */
  --title-color: hsl(0, 0%, 100%);
  --text-color: hsl(220, 2%, 73%);
  --text-color-light: hsl(145, 60%, 48%);
  --text-color-lighten: hsl(207, 90%, 61%);
  --body-color:hsl(220, 2%, 73%);
  --container-color: hsl(220, 2%, 73%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Poppins', sans-serif;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --big-font-size: 2.5rem;
}

/*=============== THEME ===============*/
.change-theme{
  
  top: 1.5rem;
  right: 0;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: .3s;
}

.change-theme:hover{
  color: var(--first-color);
}

/*========== Variables Dark theme ==========*/
body.dark-theme{
  --hue: 189;
  --sat: 90%;
  --lig: 46%;
  --white-color:hsl(0, 1%, 13%);
  --icon-color: hsl(0, 2%, 10%);
  --bg-color: hsl(0, 0%, 100%);
  --first-color:hsl(0, 3%, 15%);
  --first-color-alt: hsl(0, 0%, 16%); /* -4% */
  --title-color: hsl(0, 0%, 7%);
  --text-color: hsl(0, 0%, 0%);
  --text-color-light: hsl(145, 60%, 48%);
  --text-color-lighten: hsl(207, 90%, 61%);
  --body-color:hsl(0, 0%, 5%);
  --container-color: hsl(0, 0%, 6%);
}
/*========== 
    Color changes in some parts of 
    the website, in light theme
==========*/
.dark-theme .profile__social-link:hover{
  color: hsl(var(--hue), var(--sat), 57%);
}
.dark-theme .button__gray{
  background-color: var(--container-color);
}

.dark-theme .button__gray:hover{
  background-color: hsl(var(--hue), 25%, 16%);
}

.dark-theme .filters__content{
  background-color: var(--container-color);
}

.dark-theme::-webkit-scrollbar{
  background-color: hsl(var(--hue), 8%, 16%);
}

.dark-theme::-webkit-scrollbar-thumb{
  background-color: hsl(var(--hue), 8%, 24%);
}

.dark-theme::-webkit-scrollbar-thumb:hover{
  background-color: hsl(var(--hue), 8%, 32%);
}

.allboxs{

  display: flex;
  flex-wrap: wrap;
 gap:8rem;
 padding: 10rem;
height: 93%;

overflow-y: auto;
  
  
  
}
.home__list{
  display: flex;
  flex-direction: row;
  gap: 2rem;
  text-align: center;
  color: var(--text-color);
  font-size: var(--normal-font-size);
  font-weight: 600;
  text-align: center;
  justify-content: center;
}


@media screen and (min-width: 768px) {
  :root {
    --big-font-size: 6rem;
    --h2-font-size: 1.5rem;
    --normal-font-size: 1rem;
  }
}

/*----- BASE -----*/
*, ::before, ::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

::-webkit-scrollbar{
  
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(var(--hue), 8% 66%);
}

::-webkit-scrollbar-thumb{
  border-radius: .5rem;
  background-color: hsl(var(--hue), 8%, 54%);
}

::-webkit-scrollbar-thumb:hover{
  background-color: hsl(var(--hue),8%, 44%);
}

body {
  font-family: var(--body-font);
  font-weight: initial;
  background-color: var(--bg-color);
  
  scrollbar-width: none;
  scroll-behavior: smooth;
}



h1, h2, h3 {
  margin: 0;
  font-weight: bold;
}

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

a {
  text-decoration: none;
}

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

p {
  font-size: var(--normal-font-size);
}

/*CONTENT*/
.block {
  display: block;
}

.inline {
  display: inline-block;
}

/*----- LAYOUT -----*/
.container {
  /* max-width: 1200px; */
  /* margin-inline: 1rem; */
}

.grid {
  display: grid;
}

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

/*----- PAGES -----*/
/*Nav*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: var(--bg-color);
    width: 100%;
    padding: 3rem 0;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0px 10px 24px hsla(0, 0%, 0%, 0.5);
    transition: 0.5s;
  }
}

/*Mostrar menu*/
.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  text-align: center;
}
.nav__link {
  padding: 0.5rem;
  color: var(--text-color);
  transition: color 0.4s;
}
.nav__link:hover {
  color: var(--first-color);
}
.nav__logo {
  font-size: var(--normal-font-size);
  color: var(--first-color);
  padding-left: 100px;
}
.nav__toggle {
  font-size: 1.5rem;
  cursor: pointer;
}

/*Aparecer menu*/
.show {
  top: var(--header-height);
}

/*Home*/
.main {
  height: calc(100vh - var(--header-height));
  padding-top: 5rem;
}

.home {
  position: relative;
  grid-template-columns: 1fr;
  row-gap: 2.3rem;
  height: 100%;
  align-content: flex-end;
  overflow: hidden;
  scroll-behavior: smooth;
}
.home__title {
  position: absolute;
  top: 0%;
  font-size: 50px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--text-color);
}
.home__img2 {
  position: absolute;
  top: 7%;
  left: 0%;
  scale: 1.5;
  width: 394px;
  z-index: var(--z-normal);
}

.home__img {
  position: absolute;
  top: 7%;
  left: 20%;
  scale: 1.5;
  width: 394px;
  z-index: var(--z-normal);
}

.home__img_fullwidth {
  
  transition: all 0.5s ease-in-out;
  
  width: 100%;
  z-index: var(--z-normal);
  
    
}

.home__information {
  height: 100%;
   padding-top: 5rem;
  /* padding-right: 2rem; */
  color: var(--text-color);
}
.home__subtitle {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  text-align: center;
}

.home__description {
  font-size: var(--normal-font-size);
  text-align: center;
}

/*----- COMPONENTS -----*/
.icon-box {
  color: var(--icon-color);
  font-size: 3rem;
}
.icon-box--small {
  font-size: 1rem;
}

.box {
  display: flex;
  justify-content: center;
  column-gap: 2rem;
  padding-bottom: 1rem;
}
.box__content {
  background-color: var(--bg-color);
  color: var(--text-color);
  box-shadow: 0px 10px 24px hsla(0, 0%, 0%, 0.6);
  border-radius: 1rem;
  text-align: center;
}
.box__medium {
  width: 150px;
  height: 150px;
  padding: 1.5rem 0.75rem;
}
.box__medium-title {
  font-size: 3rem;
  color: var(--white-color);
}
.box__medium-description {
  font-size: var(--normal-font-size);
  margin-bottom: 0.5rem;
}
.box__medium-detail {
  font-size: var(--small-font-size);
}
.box__small {
  width: 70px;
  height: 70px;
  padding: 0.75rem 0;
  margin-bottom: 0.625rem;
}
.box__small-title {
  font-size: var(--small-font-size);
  color: var(--white-color);
}
.box__small-detail {
  font-size: var(--smaller-font-size);
}

/*MEDIA QUERIES*/
@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .main {
    height: 100vh;
    padding: 0;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__list {
    flex-direction: row;
    column-gap: 2.5rem;
  }
  .nav__toggle {
    display: none;
  }
  .home {
    grid-template-columns: 402px 322px;
    grid-template-rows: 152px;
    justify-content: center;
    padding-bottom: 2rem;
  }
  .home__title {
    top: 13%;
    left: 0;
    right: 0;
    font-size: 210px;
    writing-mode: initial;
    transform: initial;
    text-align: center;
  }
  .home__img2 {
    width: 569px;
    top: 30%;
    left: 0%;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .home__img {
    width: 569px;
    top: 30%;
    left: 35%;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }

 
.home__img_fullwidth {
  
  
 
    
}


  .home__information {
    
    text-align: initial;
  }
}
@media screen and (min-width: 1200px) {
  .container {
    margin-inline: auto;
  }
}


