/*------------------------------------ CSS VARIABLES ------------------------------------*/
:root {
  /* colors */
  --lotion: #fafafa;
  --pastel-gray: #d4ccc4;
  --cetacean-blue: #111241;
  --very-pale-yellow: #f7ffbd;
  --chartreuse: #dcff00;

  /* Typo */
  --anton: "Anton";
  --outfit: "Outfit";
  --sour-gummy: "Sour Gummy";
  --outfit-light: 300;
  --outfit-regular: 400;
  --outfit-bold: 700;

}

/*--------------------------------------------------- GENERAL STYLES --------------------------------------------*/

html {
    cursor: url("../assets/cursor.png"), auto;
}

body {
  background-color: var(--cetacean-blue);
}

/*--------------------------------------------------- NAV MENU -------------------------------------------------*/

/* a,
p,
span {
  text-transform: uppercase;
  font-size: 10px;
  line-height: 100%;
  cursor: pointer;
} */

nav {
  position: fixed;
  top: 0;
  width: 100vw;
  display: -ms-grid;
  display: grid;
  place-content: center;
  z-index: 1;
}

.nav {
  width: 16em;
  /* max-width: 12em; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2em;
  padding: 1em 2em;
  z-index: 2;
  background-color: var(--lotion);
  border-radius: 20em;
  border: solid 4px var(--cetacean-blue);
  -webkit-transition: all .2s ease-in;
  -o-transition: all .2s ease-in;
  transition: all .2s ease-in;
}

.nav:hover {
  -webkit-transform: translateY(.4em) rotate(-2deg);
      -ms-transform: translateY(.4em) rotate(-2deg);
          transform: translateY(.4em) rotate(-2deg);
  background-color: var(--chartreuse);
}

.nav-logo-mb {
  width: 100px;
}

.nav-logo-mb:hover,
.hover-cursor {
  cursor: url("../assets/cursor.png"), auto;
}


/* h1 {
  font-size: 20rem;
  font-family: var(--sour);
  color: var(--cetacean-blue);
  font-weight: 400;
  font-style: normal;
} */

.menu-toggle {
  padding: 0.4em 0.4em;
  font-size: 1.2rem;
}

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

.menu-container {
  position: fixed;
  top: 50%;
  left: -100%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  padding: 1.5em;
  width: 45%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 2;
  -webkit-transition: left 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: left 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: left 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menu {
  width: 100%;
  height: 100%;
  background: var(--cetacean-blue);
  color: var(--lotion);
  border-radius: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  border: 3px solid var(--lotion);
}

.menu-main {
  -webkit-box-flex: 5;
      -ms-flex: 5;
          flex: 5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.125);
}

.menu-sidebar {
  -webkit-box-flex: 0.2;
      -ms-flex: 0.2;
          flex: 0.2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.menu-main .menu-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.125);
}

.menu-main .menu-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

/* menu top */
.menu-top-title {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 2em;
}

.menu-top-content {
  padding: 1.25em 0;
  -webkit-box-flex: 4;
      -ms-flex: 4;
          flex: 4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.menu-item {
  position: relative;
  left: -100px;
  padding: 0.5em 0;
  -webkit-transition: left 0.3s;
  -o-transition: left 0.3s;
  transition: left 0.3s;
}

.menu-item-link {
  position: relative;
}

.menu-item-link a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-size: 3.2em;
  font-family: var(--outfit), sans-serif;
  letter-spacing: -2px;
  padding-left: 10px;
  z-index: 2;
}

.menu-item#active .menu-item-link a {
  color: var(--chartreuse);
}

.menu-item:hover .menu-item-link a {
  color: var(--chartreuse);
  cursor: url("../assets/cursor.png"), auto;
}

.bg-hover {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #fff;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 95% 100%, 0 100%, 0% 50%);
          clip-path: polygon(0 0, 100% 0, 100% 80%, 95% 100%, 0 100%, 0% 50%);
  z-index: 0;
  opacity: 0;
}

.menu-item:hover .bg-hover {
  opacity: 1;
  background-color: var(--lotion);
  border-radius: 1.2em;
}

.menu-item#active .bg-hover {
  background-color: var(--chartreuse);
  opacity: 1;
  border-radius: 1em;
}

.menu-item span {
  position: absolute;
  top: 0px;
  padding: 1.5em 0;
}

.menu-item span .word .char {
  color: #000;
}

.menu-item#active span .word .char {
  color: var(--chartreuse);
}

.menu-item:hover span .word .char.char-active {
  color: var(--chartreuse);
}
.menu-item span .word .char.char-active {
  color: var(--cetacean-blue);
}

/* menu bottom */
.menu-sub-item {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1em;
  border-top: 1px solid rgba(255, 255, 255, 0.125);
  padding: 1em 2em;
}

.menu-title {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.menu-content {
  -webkit-box-flex: 4;
      -ms-flex: 4;
          flex: 4;
  padding-left: 2em;
}

.menu-content p {
  position: relative;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 0.125em;
}

.menu-content p::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--very-pale-yellow);
  mix-blend-mode: difference;
}

@-webkit-keyframes hoverEffect {
  0%,
  100% {
    width: 0%;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  51% {
    left: auto;
    right: 0;
    width: 100%;
  }
  100% {
    left: auto;
    right: 0;
    width: 0%;
  }
}

@keyframes hoverEffect {
  0%,
  100% {
    width: 0%;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  51% {
    left: auto;
    right: 0;
    width: 100%;
  }
  100% {
    left: auto;
    right: 0;
    width: 0%;
  }
}

.menu-content p:hover::after {
  -webkit-animation: hoverEffect 1s ease forwards;
          animation: hoverEffect 1s ease forwards;
}

/* menu sidebar */
.close-btn,
.logo {
  padding: 1.2em;
}

.close-btn {
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.125); */
  color: var(--chartreuse);
  -webkit-transition: -webkit-transform .1s ease-in;
  transition: -webkit-transform .1s ease-in;
  -o-transition: transform .1s ease-in;
  transition: transform .1s ease-in;
  transition: transform .1s ease-in, -webkit-transform .1s ease-in;
}

.close-btn:hover {
    -webkit-transform: scale(1.5);
        -ms-transform: scale(1.5);
            transform: scale(1.5);
    color: var(--lotion);
}

.close-x {
  font-size: 3em;
}

@media (max-width: 900px) {

  .menu-container {
    width: 100%;
  }

  .menu-top-content {
    padding: 1.5em;
  }

  .menu-top-title,
  .menu-item span,
  .menu-title,
  .bg-hover {
    display: none;
  }

  .menu-item {
    left: 0;
  }

  .menu-item a {
    font-size: 1.8em;
  }

  .menu-item:hover .menu-item-link a,
  .menu-item#active .menu-item-link a {
    color: #fff;
  }

  .menu-sub-item {
    padding: 1em 0;
  }
}

/*--------------------------------------------------- WORK SECTION -------------------------------------------------*/

.works {
  width: 100%;
  height: 100%;
  background: var(--cetacean-blue);
}

  /* img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  } */

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

section.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--pastel-gray);
  border-radius: 2.4em;
  border: 3.4px solid var(--pastel-gray);
}

.work-container {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 2em;
  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;
}

.logo a {
  text-decoration: none;
  font-family: var(--outfit), sans-serif;
  font-size: 60px;
  color: var(--cetacean-blue);
}

.links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1em;
}

.links a {
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.5em 1em;
  font-size: 13px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 20px;
}

.header {
  position: absolute;
  top: 55%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.header h1 {
  text-transform: uppercase;
  font-family: var(--anton), sans-serif;
  font-size: 45vw;
  font-weight: 400;
  color: var(--lotion);
  line-height: 100%;
}

section.website-content {
  position: absolute;
  top: 100vh;
  width: 100%;
  height: auto;
  background: var(--very-pale-yellow);
  padding: 6em 2em;
  border-radius: 2.4em;
  border: 3.4px solid var(--cetacean-blue);
}

.tracker {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 75%;
  height: 75%;
  padding: 2em 0;
  /* border: 1px solid #bfff00; */
}

.emoji {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: url(../assets/face.png) no-repeat 50% 50%;
  background-size: cover;
  border-radius: 100%;
}

.emoji-face {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 225px;
  height: 200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.eyes,
.mouth-wrapper {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.eyes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack:end;
      -ms-flex-pack:end;
          justify-content:flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.eyes img {
  width: 90px;
  height: 90px;
  -webkit-animation: rotateEyes 4s infinite linear;
          animation: rotateEyes 4s infinite linear;
}

.mouth-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.mouth {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background: #000;
  -webkit-animation: wonderFace 2s infinite cubic-bezier(0.075, 0.82, 0.165, 1);
          animation: wonderFace 2s infinite cubic-bezier(0.075, 0.82, 0.165, 1);
}

.section-header {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 2em;
}

.section-header h2 {
  font-family: var(--outfit);
  font-size: 10vw;
  font-weight: 400;
  color: var(--cetacean-blue);
  line-height: 100%;
}

.section-header p {
  color: var(--cetacean-blue);
  font-family: var(--outfit), sans-serif;
  font-size: 14px;
  text-align: right;
  width: 25%;
}

/*------------------------------------ PROJECT STYLES ------------------------------------*/
.proyectos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
  gap: 16px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.proyecto img {
  width: 720px;
  height: 100%;
}

.proyecto {
  position: relative;
  border-radius: 2em;
  border: 2px solid var(--cetacean-blue);
  overflow: hidden;
  -webkit-transition: -webkit-transform .1s ease-in;
  transition: -webkit-transform .1s ease-in;
  -o-transition: transform .1s ease-in;
  transition: transform .1s ease-in;
  transition: transform .1s ease-in, -webkit-transform .1s ease-in;
}

.proyecto:hover {
  -webkit-transform: rotate(4deg) scale(.9);
      -ms-transform: rotate(4deg) scale(.9);
          transform: rotate(4deg) scale(.9);
  cursor: url("../assets/cursor-2.png"), auto;
}

.proyecto-texto {
  position: absolute;
  left: 6%;
  bottom: 6%;
  font-family: var(--outfit);
  font-size: clamp(1rem, 2vw, 2.5rem);
  color: var(--lotion);
}

@-webkit-keyframes rotateEyes {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes rotateEyes {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@-webkit-keyframes wonderFace {
  0% {
    height: 50px;
  }

  50% {
    height: 80px;
  }

  100% {
    height: 50px;
  }
}

@keyframes wonderFace {
  0% {
    height: 50px;
  }

  50% {
    height: 80px;
  }

  100% {
    height: 50px;
  }
}

/*------------------------------------ FOOTER ------------------------------------*/

.footer {
  position: relative;
  width: 100%;
  height: 91dvh;
  padding: 2em 0;
  background-color: var(--cetacean-blue);
  overflow: hidden;
}

.footer-text {
  display: -ms-grid;
  display: grid;
  place-content: center;
  text-align: center;
}

.footer-legal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 1;
}

.footer-title {
  font-family: var(--anton), sans-serif;
  font-weight: 300;
}

.footer-legal_logo a img {
  width: 100%;
}

.footer-text h3 {
  color: var(--lotion);
  font-family: var(--outfit), sans-serif;
  font-weight: 300;
  font-size: 1rem;
}

.footer-text h3 span {
  font-weight: 700;
}

.footer-legal_social a img {
  max-width: 12em;
}

.footer-correo img {
  max-width: 20em;
}

.new_footer_top .f_widget.about-widget .f_list li a {
    color: #6a7695;
}


.new_footer_top .footer_bg {
    position: absolute;
    bottom: 5%;
    /* background: url("assets/paisaje.png") no-repeat scroll center 0; */
    width: 100%;
    height: 466px;
}

.footer_bg_three img {
  position: absolute;
  bottom: 10%;
  left: 5%;
  opacity: .1;
}

.new_footer_top .footer_bg .footer_bg_one {
    background: url("../assets/carro-mango.png") no-repeat center center;
    width: 330px;
    height: 260px;
  background-size:100%;
    position: absolute;
    bottom: 5%;
    left: 30%;
    -webkit-animation: myfirst 22s linear infinite;
    animation: myfirst 22s linear infinite;
    z-index: 2;
  }
  
  .new_footer_top .footer_bg .footer_bg_two {
    background: url("../assets/bicicleta-mango.png") no-repeat center center;
    width: 260px;
    height: 300px;
    background-size:100%;
    bottom: 0;
    left: 38%;
    position: absolute;
    -webkit-animation: myfirst 30s linear infinite;
    animation: myfirst 30s linear infinite;
    z-index: 2;
}

@-webkit-keyframes myfirst {
  0% {
    left: -25%;
  }
  100% {
    left: 100%;
  }
}

@keyframes myfirst {
  0% {
    left: -25%;
  }
  100% {
    left: 100%;
  }
}

@media screen and (min-width: 1280px) {
    .footer {
      height: 93dvh;
    }

    .footer-text {
      margin-top: 8em;
    }

    .footer-legal_logo a img {
      width: 32em;
    }
}

@media (max-width: 1520px) {
  .proyecto img {
    width: 500px;
  }
  .logo a {
    display: none;
  }
}

@media (max-width: 900px) {
  .header {
    top: 80%;
  }

  .logo a {
    margin-top: .4em;
    display: inherit;
  }

  section.website-content {
    position: inherit;
    top: 20vh;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }

  .row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}