*,
::before,
::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-drag: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-family-barlow);
}

html,
body {
  height: auto;
  width: 100%;
  scroll-behavior: smooth;
}

html {
  font-size: 62.5%;
  font-size: 10px;
}

body {
  height: 100%;
  width: 100%;
  margin: 0;
  font-family: var(--font-family-barlow);
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  color: var(--color-blue);
  background: var(--color-white);
  /* min-height: 320px; */
  min-width: 320px;
  position: relative;
  overflow-x: hidden;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-position: inside;
}

a,
button {
  -webkit-transition: all 0.3s ease-out;
  /* Chrome y Safari */
  -o-transition: all 0.3s ease-out;
  /* Opera */
  -moz-transition: all 0.3s ease-out;
  /* Mozilla Firefox */
  -ms-transition: all 0.3s ease-out;
  /* Internet Explorer */
  transition: all 0.3s ease-out;
  /* W3C */
}

a,
a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
  color: var(--color-orange);
  outline: none;
}

.btn:hover,
.btn:focus,
.btn.focus {
  color: var(--color-orange);
  text-decoration: none;
}

:focus {
  outline: none;
}

::-moz-selection {
  /* Code for Firefox */
  color: var(--color-blue);
  background: var(--color-lightblue);
}

::selection {
  color: var(--color-blue);
  background: var(--color-lightblue);
}

/*********************************************************
*********** COMMON STYLES ************
**********************************************************/
.wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0 4rem;
  display: block;
  max-width: 148rem;
  /* max-width: 177rem; */
  /* max-width: 161.6rem; */
  position: relative;
  z-index: 2;
}

main {
  /* margin-top: 87rem;
  padding-top: 10rem; */
  /* padding-top: calc(10rem + 87rem); */
  /* padding-top: calc(10rem + calc(100vh - 10rem)); */
  overflow-x: hidden;
}

.--flex {
  display: flex;
  justify-content: space-between;
  align-self: center;
  align-items: flex-start;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

section {
  width: 100%;
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

.--noshow {
  display: none;
}

/* Title */
.title-c {
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 1.5rem;
  position: relative;
  font-family: var(--font-family-chronicle);
  color: var(--color-orange);
  font-size: var(--font-size-50);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  letter-spacing: initial;
}
.title-c.--white {
  color: var(--color-white);
}
.title-c::after {
  content: '';
  width: 100%;
  height: 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: var(--color-orange);
}
.title-c.--white::after {
  background-color: var(--color-white);
}

/* Text */
.text-c {
  color: var(--color-blue);
  font-size: var(--font-size-32);
  line-height: 1.4;
  font-weight: var(--font-weight-light);
}
.text-c-2 {
  font-size: var(--font-size-26);
}
.text-c strong {
  color: var(--color-white);
  background-color: var(--color-orange);
}
/* variant white */
.text-c.--white {
  color: var(--color-white);
}
.text-c.--white strong {
  color: var(--color-blue);
  background-color: var(--color-lightblue);
}
.text-c span {
  display: block;
}

/* Desktop / Mobile */
.--desktop {
  display: block;
}
.--mobile {
  display: none !important;
}

/*********************************************************
*********** LOADER ************
**********************************************************/
.preloader {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 99999;
  background-color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader .preloader-logo {
  width: 20rem;
  height: 20rem;
  margin: 0 auto;
  opacity: 1;
}

/*********************************************************
*********** HEADER ************
**********************************************************/
header {
  width: 100%;
  height: 8rem;
  padding: 2rem 0;
  margin: 0;
  position: fixed;
  top: 0;
  z-index: 999;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

/* when scrolled */
.body--scrolled header {
  height: 6rem;
  padding: 0.4rem 0;
}
.body--scrolled header::after {
  height: 6rem;
  border-bottom: 0.4rem solid var(--color-orange);
}
.body--scrolled header .logo {
  width: 3.6rem;
  height: 5rem;
}
.body--scrolled header .logo .logo-big {
  opacity: 0;
}
.body--scrolled header .logo .logo-small {
  opacity: 1;
}

.body--scrolled .section-hero {
  top: 6rem;
}

/* after header */
header::after {
  content: '';
  width: 100%;
  height: 8rem;
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--color-white);
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
header .wrap {
  height: 100%;
  position: relative;
  align-items: center;
  justify-content: flex-end;
}
/* Logo */
header .logo {
  width: 10rem;
  height: 17.2rem;
  display: block;
  margin: 0 auto 0 0;
  position: absolute;
  left: 4rem;
  top: 0;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
header .logo img {
  width: auto;
  height: auto;
  position: absolute;
  left: 0;
  top: 0;
}
header .logo .logo-big {
  opacity: 1;
}
header .logo .logo-small {
  opacity: 0;
}
header .logo video {
  width: 100%;
  height: auto;
}

/* Menu */
header .menu-icon,
header .toggle-menu {
  display: none;
}
header nav {
  width: auto;
}
header nav .main-menu {
  text-align: center;
  margin-bottom: 1rem;
}
header nav .main-menu .item {
  display: inline-block;
  margin: 0 0 0 4rem;
}
header nav .main-menu .item > a {
  padding: 0.4rem 0;
  color: var(--color-blue);
  font-size: var(--font-size-20);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  position: relative;
  display: block;
}
header nav .main-menu .item > a::after {
  content: '';
  width: calc(100% + 3rem);
  height: calc(100% + 1rem);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  border: 3px solid var(--color-blue);
  /* transition: opacity 0.5s; */
  transform-origin: right;
}
header nav .main-menu .item > a.active,
header nav .main-menu .item > a:hover {
  color: var(--color-orange);
}
header nav .main-menu .item > a:hover::after {
  opacity: 1;
}
header nav .main-menu .item.--noshow > a.active,
header nav .main-menu .item.--noshow > a:hover::after {
  display: none !important;
}

header .btn.close {
  display: none;
}

/*********************************************************
*********** FOOTER ************
**********************************************************/
footer {
  width: 100%;
  padding: 3.6rem 0;
  text-align: center;
  background: var(--color-gray);
  z-index: 9;
  position: relative;
}
footer .copy {
  color: var(--color-white);
  font-size: var(--font-size-18);
  line-height: 1;
  font-weight: var(--font-weight-light);
  text-align: left;
}

/*********************************************************
*********** SCROLLBAR ************
**********************************************************/
/* width */
::-webkit-scrollbar {
  width: 0.8rem;
}
/* Track */
::-webkit-scrollbar-track {
  background-color: var(--color-orange);
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--color-lightblue);
}
