/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.8rem; /*56px*/

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --hue-color: 200;

  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 64%, 22%);
  --first-color-second: hsl(var(--hue-color), 64%, 22%);
  --first-color-alt: hsl(var(--hue-color), 64%, 15%);
  --title-color: hsl(var(--hue-color), 64%, 18%);
  --text-color: hsl(var(--hue-color), 24%, 35%);
  --text-color-light: hsl(var(--hue-color), 8%, 60%);
  --input-color: hsl(var(--hue-color), 24%, 97%);
  --body-color: hsl(var(--hue-color), 100%, 99%);
  --container-color: hsl(var(--hue-color),64%,15%);
  --white-color: #FFF;
  --icon-color:hsl(198, 95%, 16%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 75%);
  --box-shadow-color: hsla(0, 0%, 0%, 0.5);
  --strong-color:hsl(201, 100%, 12%);


  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Montserrat', sans-serif;
  --title-font: 'Montesrrat', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --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 ===============*/
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.nav__dark {
  display: flex;
  align-items: center;
  column-gap: 2rem;
  position: absolute;
  left: 3rem;
  bottom: 4rem;
}

html{
  scroll-behavior: smooth;
}

body,
button,
input,
textarea{
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body{
  margin: var(--header-height) 0 0 0;
  background-color: var(--body-color);
  color: var(--text-color);
  transition: .4s; /*For animation dark mode*/
}

button{
  cursor: pointer;
  border: none;
  outline: none;
}

h1,h2,h3{
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul{
  list-style: none;
}

a{
  text-decoration: none;
}

img{
  max-width: 100%;
  height: auto;
}
strong{
  font-weight: bolder;
  color: var(--strong-color);
}

/*=============== THEME ===============*/
/*========== Variables Dark theme ==========*/
body.dark-theme{
  --first-color-second: hsl(var(--hue-color), 54%, 12%);
  --title-color: hsl(var(--hue-color), 24%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 75%);
  --icon-color:hsl(0, 0%, 100%);
  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: hsl(var(--hue-color), 29%, 12%);
  --container-color: hsl(var(--hue-color),64%,25%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
  --box-shadow-color: hsla(0, 0%, 100%, 0.5);
  --strong-color:hsl(0, 100%, 98%);
}

/*========== Button Dark/Light ==========*/
.change-theme{
  font-size: 1rem;
  cursor: pointer;
}

/*========== 
Color changes in some parts of 
the website, in dark theme 
==========*/

.dark-theme .footer__subscribe{
  background-color: var(--container-color);
}

.dark-theme .scroll-header{
  box-shadow: 0 1px 4px hsla(var(--hue), 4%, 4%, .3);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section{
  padding: 5.5rem 0 1rem;
}

.section__title,
.section__title-center{
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  line-height: 140%;
}

.section__title-center{
  text-align: center;
}

.container{
  max-width: 968px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid{
  display: grid;
}

.main{
  overflow: hidden; /*For animation*/
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: transparent;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo, .nav__toggle {
  color: var(--text-color);
}

.nav__logo {
  margin-top: .75rem;
  width: 100px;
}

.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%;
    box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
    padding: 3rem;
    transition: .4s;
  }

  .nav__submenu{
    padding: 10px;
    margin-bottom: -40px;
    opacity: 0;
    transition: all .3s ease-in-out;
  }
  
  nav li:hover .nav__submenu{
    margin-bottom: -20px;
    margin-top: 20px;
    opacity: 1;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  color: var(--text-color);
  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);
  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{
  padding: 3.5rem 0 2rem;
}

.home__container{
  position: relative;
  row-gap: 2rem;
}

.home__video video{
  width: 80%;
  justify-self: center;
  border-radius: 6px;
}

.home__title{
  font-size: var(--big-font-size);
  line-height: 140%;
  margin-bottom: var(--mb-1);
}

.home__description{
  margin-bottom: var(--mb-2-5);
}

.home__social{
  position: absolute;
  top: 2rem;
  right: -1rem;
  display: grid;
  justify-items: center;
  row-gap: 3.5rem;
}

.home__social-follow{
  font-weight: var(--font-medium);
  font-size: var(--smaller-font-size);
  color: var(--title-color);
  position: relative;
  transform: rotate(90deg);
}

.home__social-follow::after{
  content: '';
  position: absolute;
  width: 1rem;
  height: 2px;
  background-color: var(--title-color);
  right: -45%;
  top: 50%;
}

.home__social-links{
  display: inline-flex;
  flex-direction: column;
  row-gap: .25rem;
}

.home__social-link{
  font-size: 1rem;
  color:var(--title-color);
  transition: .3s;
}

.home__social-link:hover{
  transform: translateX(.25rem);
}

/*=============== BUTTONS ===============*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: #FFF;
  padding: 1rem 1.75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button:hover{
  background-color: var(--first-color-alt);
}

.button__icon{
  color: white;
  transition: .3s;
}

.button__icon-right{
  margin-top: -15px;
  color: var(--title-color);
  transition: .3s;
}

.button--link:hover .button__icon-right{
  transform: translateX(.25rem);
}

.button:hover .button__icon{
  transform: translateX(.25rem);
}

.button--flex{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

.hover-underline-animation {
  position: relative;
  color: var(--title-color);
  padding-bottom: 20px;
  cursor: pointer;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--title-color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.button--flex:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.section__title:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.button--link{
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.button--link:hover .button__icon{
  transform: translateX(.25rem);
}

/*=============== MAPA PRESENCIA ===============*/
.mapa__presencia-container{
  width: 100%;
  display: grid;
  justify-content: center;
  align-items: center;
  margin-top: -130px; 
  gap: .5rem;
}

.mpresencia__estados-content{
  cursor: pointer;
}
.mpresencia{
  fill: var(--first-color);
  width: 400px;
  filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.43));
}

.mapa__title{
  text-align: center;
  margin-bottom: 6rem;
}

.icon__presence{
  color: var(--icon-color);
  font-size: var(--big-font-size);
  font-weight: 900;
}

/*=============== UBICACION ===============*/

.ubicacion__container{
  display: grid;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.ubicacion__mapa{
  border-radius: 30px;
  filter: drop-shadow(10px 10px 5px rgba(0, 0, 0, 0.492));
  width: 100%;
}

.ubicacion__title{
  text-align: center;
}

/*=============== UBICACIONES ALMA ===============*/
.ubi__icon{
  font-weight: 800;
  margin-right: 10px;
}
.ubi{
  font-weight: 900;
  font-size: 20px;
}

.alma__direction{
  font-weight: 200;
  font-size: 16px;
}
.ubicaciones__alma{
  display: flex;
  gap: 50px;
  flex-direction: column;
  padding: 20px;
  position: relative;
}
.ubi::before{
  content: "";
  width: 50px;
  height: 50px;
  background: #003b57;
}

.line{
border-left: 3px solid #003b57;
height: 84%;
position: absolute;
margin-left: -20px;
margin-top: 10px;
}

.dot{
  position: absolute;
  margin-top: -17px;
  width: 15px;
  height: 15px;
  margin-left: -26px;
  border-radius: 50px;
  background: #003b57;
}

.dot2{
  position: absolute;
  margin-top: -17px;
  width: 15px;
  height: 15px;
  margin-left: -26px;
  border-radius: 50px;
  background: #003b57;
}

.dot3{
  position: absolute;
  margin-top: -17px;
  width: 15px;
  height: 15px;
  margin-left: -26px;
  border-radius: 50px;
  background: #003b57;
}

.dot4{
  position: absolute;
  margin-top: -17px;
  width: 15px;
  height: 15px;
  margin-left: -26px;
  border-radius: 50px;
  background: #003b57;
}


/*=============== 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: flex;
  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: flex;
  column-gap: 1.5rem;
  justify-content: center;
}

.footer__terms-link:hover {
  color: var(--text-color);
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  background-color: var(--first-color);
  right: 1rem;
  bottom: -30%;
  display: inline-flex;
  padding: .5rem;
  border-radius: .25rem;
  z-index: var(--z-tooltip);
  opacity: .8;
  transition: .4s;
}

.scrollup__icon{
  font-size: 1rem;
  color: #FFF;
}

.scrollup:hover{
  background-color: var(--first-color-alt);
  opacity: 1;
}

/* Show Scroll Up*/
.show-scroll{
  bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .60rem;
  background-color: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}
/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px){
  .container{
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
}

/* For medium devices */
@media screen and (min-width: 576px){


}

@media screen and (min-width: 767px){
  body{
    margin: 0;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__logo{
    width: 100px;
    margin-top: 1rem;
  }
  .nav__link {
    color: var(--white-color);
    text-transform: initial;
  }
  .nav__link:hover {
    color: var(--white-color);
  }
  .nav__dark {
    position: initial;
  }
  .nav__menu {
    display: flex;
    column-gap: 1rem;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }

  .nav__submenu{
    position: absolute;
    margin-top: 9px;
    margin-left: -130px;
    opacity: 0;
    transition: all .3s ease-in-out;
  }
  
  nav li:hover .nav__submenu{
    margin-left: 0px;
    opacity: 1;
  }

  .nav__toggle, .nav__close {
    display: none;
  }

  .change-theme-name {
    display: none;
  }
  .change-theme {
    color: var(--white-color);
  }
  .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);
  }
  .mapa__presencia-container{
    grid-template-columns: repeat(2,auto);
  }

  .ubicacion__mapa{
    width: 90vw;
    margin-bottom: 130px;
  }

  .ubicaciones__alma{
    flex-direction: row;
  }

  .line{
    width: 100%;
    height: 3px;
    background: #003b57;
    border-radius: 30px;
    margin-top: 100px;
  }

  .dot,.dot3{
    margin-top: -63px;
  }

  .dot2,.dot4{
    margin-top: 116px;
  }
  
  .ubi{
    margin-top: 130px;
  }

  .ubi:nth-child(3){
    margin-top: -50px;
    width: 100%;
  }
  .ubi:nth-child(5){
    margin-top: -50px;
  }

  .ubi__icon{
    margin-left: -26px;
  }

  .footer__rights {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* For large devices */
@media screen and (min-width: 992px){
  .container{
    margin-left: auto;
    margin-right: auto;
  }

  .section{
    padding: 8rem 0 1rem;
  }
  .section__title,
  .section__title-center{
    font-size: var(--h1-font-size);
  }

  .icon__presence{
    font-size: var(--font-medium);
  }

  .mpresencia{
    width: 500px;
  }

  .mapa__presencia-container{
    gap: 15rem;
  }

  .footer__content {
    justify-items: center;
    margin-left: var(--mb-1-25);
    margin-right: var(--mb-1-25);
  }

  .footer__rights{
    margin-left: var(--mb-1-25);
    margin-right: var(--mb-1-25);
  }
}

@media screen and (min-width: 1200px){
  .home__social{
    right: -3rem;
    row-gap: 4.5rem;
  }

  .line{
    width: 100%;
  }

  .ubicacion__mapa{
    width: 1000px;
    margin-bottom: 180px;
  }
  .scrollup{
    right: 3rem;
  }
}