@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

.background-cover {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

body, html {
  font-family: 'Work Sans', sans-serif !important;
  box-sizing: border-box;
  -webkit-font-smoothing: subpixel-antialiased;
  backface-visibility: hidden;
  scroll-behavior: smooth;
  overflow-X: hidden;
  font-size: 15px;
  line-height: 28px;
  color: #111;
}

/* Some correction to fixed the sidebar bugs */
ul {
  list-style: none !important;
}

::-webkit-scrollbar {
  width: 6px !important;
}

/* Track */
::-webkit-scrollbar-track {
  background: white !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #d69b2a !important;
}

.brand {
  position: absolute;
  top: 2.6vh;
  left: 5vw;
  width: 15vw;
  z-index: 1000;
}
/************************
*         HEADER
************************/
.header {
  max-width: 100vw;
  width: 100vw;
  position: relative;
  background-size: cover;
  background-position: center center;
  font-size: 1rem;
  padding: 15vh 0;
  background-image: url("../assets/img/20983.jpg")
}

.header::after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100;
  z-index: 10;
  background-color: rgba(210, 151, 35, 0.6);
  content: '';
}

.header__head {
  position: relative;
  z-index: 50;
  color: #FFF;
  width: 70vw;
  margin: 0 auto;
  text-align: center;
}

.header__title {
  font-size: 3.3em;
  font-weight: 500;
  margin-bottom: 4vh;
  animation: fade 1500ms forwards;
  animation-delay: 200ms;
  opacity: 0;
}

.header__subtitle {
  font-size: 1.6em;
  line-height: 1.8em;
  font-weight: 500;
  margin-bottom: 4vh;
  animation: fade 1500ms forwards;
  animation-delay: 400ms;
  opacity: 0;
}

.header__nav {
  font-size: 1.2em;
  font-weight: 300;
  animation: fade 1500ms forwards;
  animation-delay: 600ms;
  opacity: 0;
}

.header__nav a {
  color: #FFF;
  text-decoration: none;
  display: inline-block;
}

.header__nav a:not(:last-child) {
  margin-right: 0.5em;
}

.header__nav a:hover {
  color: #111;
}

.header__nav span {
  margin-right: 0.5em;
}

@keyframes fade {
  from {
    transform: translateY(150%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/************************
*       progress-project
************************/
.progress-project {
  max-width: 100vw;
  width: 100vw;
  background-color: #FFF;
  font-size: 1rem;
  padding-top: 10vh;
  padding-bottom: 15vh;
}
  
.progress-project__title {
  color: #111;
  font-size: 2.33em;
  font-weight: 700;
	text-align: center;
	margin: 0 auto;
  margin-bottom: 4vh;
}

.progress-project__description {
  font-size: 1.33em;
	font-weight: 400;
	width: 60vw;
  text-align: center;
	margin: 0 auto;
  margin-bottom: 10vh;
  line-height: 1.5em;
}

.progress-project__block {
  width: 80vw;
  height: auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 24vw 2vw 24vw 2vw 24vw;
	justify-content: space-between;
}

.progress-project__arrow {
  width: 100%;
	height: 100%;
  display: flex;
  padding-top: 5vh;
}

.progress-project__arrow--mobile {
  display: none;
}

.progress-project__arrow img {
  width: 2vw;
  height: 2vw;
}

.progress-project__item {
	height: 100%;
	width: 100%;
  opacity: 0;
  transform: translateX(-25%);
  animation: fadeLeft 1500ms ease forwards;
}

.progress-project__item__head {
	width: 100%;
	position: relative;
	padding: 1vh 2vw;
	margin-bottom: 2vh;
}

.progress-project__item__head__number {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 10em;
	font-weight: 700;
	line-height: 0.5em;
	color: rgba(210, 151, 35, 0.3);
	z-index: 10;
}

.progress-project__item__head__title,
.progress-project__item__head__paragraph {
	position: relative;
	z-index: 20;
}

.progress-project__item__head__title {
	font-size: 1.7em;
	font-weight: 700;
	line-height: 1.5em;
}

.progress-project__item__head__paragraph {
	font-size: 1.3em;
	font-weight: 400;
	line-height: 1.5em;
}

.progress-project__item__body {
  font-size: 1.1em;
	line-height: 1.5em;
	text-align: justify;
	padding: 0 1vw;
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-25%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/************************************
*         MAKINGS
************************************/
.makings {
  font-size: 1rem;
  width: 100vw;
  max-width: 100vw;
  background-color: #000;
  color: #FFF;
  position: relative;
  padding: 10vh 0;
}

.makings__title {
  color: #D29723;
  font-size: 2.33em;
  font-weight: 500;
  margin: 0 auto;
  line-height: 1.4em;
  text-align: center;
  margin-bottom: 5vh;
}

.makings__description {
  font-size: 1em;
  line-height: 1.5em;
}

.makings__carousel {
  width: 71vw;
  height: 30vh;
  margin: 0 auto;
}

.makings__container {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2.5vh 0;
  overflow: hidden;
}

.makings__inner {
  width: 100%;
  height: 100%;
}

.makings__slide {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.3vw;
}

.makings__card {
  width: 100%;
  height: 100%;
  perspective: 70em;
}

.makings__card:hover .makings__card__container {
  transform: rotateY(-0.5turn);
}

.makings__card__container {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 1000ms ease;
  transform-style: preserve-3d;
}

.makings__card__front,
.makings__card__back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.makings__card__back {
  transform: rotateY(.5turn);
}

.makings__card__content {
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.makings__card__content::after {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  background: linear-gradient(360deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0));
  z-index: 10;
}

.makings__card__body {
  width: 100%;
  height: 100%;
  z-index: 20;
  position: relative;
  padding: 2vh 1.5vw;
  display: flex;
}

.makings__card__front .makings__card__body {
  flex-direction: column;
  justify-content: flex-end;
}

.makings__card__back .makings__card__body {
  align-items: center;
  justify-content: center;
}

.makings__card__title,
.makings__card__date,
.makings__card__paragraph,
.makings__card__button {
  transform: translateZ(3em);
}

.makings__card__title,
.makings__card__date,
.makings__card__paragraph {
  font-weight: 300;
  width: 70%;
  line-height: 1.5em;
}

.makings__card__title {
  font-size: 1.2em;
  margin-bottom: 0.5vh;
}

.makings__card__date {
  font-size: 0.53em;
  margin-bottom: 0.5vh;
}

.makings__card__paragraph {
  font-size: 0.73em;
}

.makings__card__button {
  background-color: #D29723;
  width: 3vw;
  height: 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.makings__card__button--mobile {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  display: none !important;
}

.makings__card__button img {
  width: 60%;
  height: 60%;
}

.makings__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2vw;
  cursor: pointer;
}

.makings__arrow--left {
  left: 10vw;
}

.makings__arrow--right {
  right: 10vw;
}

/************************
*       FOOTER
************************/  
.footer {
  max-width: 100vw;
  width: 100vw;
  background-color: #fff;
  font-size: 1rem;
  display: flex;
  justify-content: flex-end;
}

.footer__cover {
  width: 50vw;
  height: auto;
  background-image: url('../assets/img/15690.jpg');
  background-size: cover;
  background-position: center center;
}

.footer__container {
  width: 50vw;
  height: 100%;
  padding: 15vh 8vw;
}

.footer__paragraph {
  font-weight: 500;
  font-size: 1.4em;
  line-height: 1.5em;
  margin-bottom: 7vh;
}

.footer__paragraph strong:first-child {
  font-size: 1.2em;
}

.footer__link {
  font-size: 1.6em;
  color: #D29723;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  background-color: #FFF;
  border-radius: 2em;
  border: 1px solid #D29723;
  padding: 1vh 2vw;
  transition: 500ms ease;
}

.footer__link:hover {
  background-color: #D29723;
  color: #FFF;
}

/**************************
*       MODALS
**************************/
.modal__cover {
  margin: 0 auto;
  width: 15vw;
  height: 15vw;
  background-position: center center;
  background-size: cover;
  margin-bottom: 3vh;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, .1);
}

.modal__cover img {
  width: 100%;
}

.modal__paragraph {
  line-height: 1.5em;
}

.modal__list {
  margin-left: 5vw;
}


@media only screen and (max-width: 1366px) {
  .header {
    font-size: 0.71rem;
  }
  .progress-project {
    font-size: 0.71rem;
  }
  .makings {
    font-size: 0.71rem;
  }
  .footer {
    font-size: 0.71rem;
  }
}

@media only screen and (max-width: 1280px) {
  .header {
    font-size: 0.66rem;
  }
  .progress-project {
    font-size: 0.66rem;
  }
  .makings {
    font-size: 0.66rem;
  }
  .footer {
    font-size: 0.66rem;
  }
}

@media only screen and (max-width: 1024px) {
  .header {
    font-size: 0.53rem;
  }
  .header__title,
  .header__subtitle,
  .header__nav {
    animation: none;
    opacity: 1;
  }

  .progress-project {
    font-size: 0.53rem;
  }
  .progress-project__item {
    animation: none;
    opacity: 1;
    transform: translateX(0);
  }
  
  .makings {
    font-size: 0.53rem;
  }
  .makings__card:hover .makings__card__container {
    transform: rotateY(0);
  }
  .makings__card__back {
    display: none;
  }
  .makings__card__button--mobile {
    display: flex !important;
  }
  .makings__card__title {
    font-size: 1.4em;
  }

  .footer {
    font-size: 0.53rem;
  }
}

@media only screen and (max-width: 768px) {
  .brand {
    left: 10vw;
    width: 20vw;
  }

  .header {
    font-size: 1rem;
  }
  
  .progress-project {
    font-size: 1rem;
  }
  .progress-project__description {
    width: 80vw;
  }
  .progress-project__block {
    width: 100%;
    display: block;
    padding: 0 10vw;
  }

  .progress-project__item {
    width: 100%;
  }
  .progress-project__arrow {
    display: none;
  }
  .progress-project__arrow--mobile {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5vh 0;
  }
  .progress-project__item__head__paragraph {
    margin-bottom: 0;
    font-size: 1.2em;
  }
  .progress-project__arrow--mobile img {
    width: 4vw;
    height: 4vw;
  }
  .progress-project__item__body {
    font-size: 1em;
  }

  .makings {
    font-size: 1rem;
  }
  .makings__title {
    font-size: 2em;
    width: 80vw;
  }
  .makings__carousel {
    width: 80vw;
  }
  .makings__card__title,
  .makings__card__date,
  .makings__card__paragraph {
    width: 90%;
  }
  .makings__card__title {
    font-size: 1.2em;
  }
  .makings__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4vw;
    cursor: pointer;
  }
  .makings__arrow--left {
    left: 3vw;
  }
  .makings__arrow--right {
    right: 3vw;
  }
  .makings__card__button--mobile {
    display: flex !important;
    width: 5vw;
    height: 5vw;
  }
  
  .footer {
    font-size: 1rem;
    padding: 10vh 10vw;
    padding-bottom: 20vh;
  }
  .footer__cover {
    display: none;
  }
  .footer__container {
    width: 100%;
    padding: 0;
  }
}

@media only screen and (max-width: 420px) {
  .header {
    font-size: 0.53rem;
  }

  .progress-project {
    font-size: 0.53rem;
    padding-bottom: 10vh;
  }
  .progress-project__item__head__paragraph {
    margin-bottom: 0;
    font-size: 1.4em;
  }
  .progress-project__arrow--mobile img {
    width: 6vw;
    height: 6vw;
  }
  .progress-project__item__body {
    font-size: 1.2em;
  }
  .progress-project__description {
    margin-bottom: 5vh;
  }
  .progress-project__arrow--mobile {
    margin-top: 3vh;
    margin-bottom: 1vh;
  }

  .makings {
    font-size: 0.53rem;
  }

  .footer {
    font-size: 0.53rem;
    padding-bottom: 10vh;
  }
}