@font-face {
  font-family: "TradeGothicLTStd-Bold";
  font-weight: bold;
  font-style: normal;
  src: url("fonts/TradeGothicLTStd-Bold.otf") format("opentype");
}

@font-face {
  font-family: "TradeGothicLTStd-BdCn20";
  font-weight: normal;
  font-style: normal;
  src: url("fonts/TradeGothicLTStd-BdCn20.otf") format("opentype");
}

@font-face {
  font-family: "TradeGothicLTStd-italic";
  font-weight: normal;
  font-style: italic;
  src: url("fonts/TradeGothicLTStd-BdCn20Obl.otf") format("opentype");
}

@font-face {
  src: url("fonts/InputMono-Regular.woff2") format("woff2");
  font-family: "InputMono";
  font-style: normal;
  font-weight: normal;
}



@font-face {
  font-family: "BLMelody-Bold";
  src: url("fonts/BLMelody-Bold.otf") format("opentype");
  font-display: auto;
  font-style: bold;
  font-weight: 400;
  font-stretch: normal;
}

@font-face {
  font-family: "BLMelody-Regular";
  src: url("fonts/BLMelody-Regular.otf") format("opentype");
  font-display: auto;
  font-style: regular;
  font-weight: 400;
  font-stretch: normal;
}



@font-face {
  font-family: "Misto";
  src: local('Misto'),
    url('fonts/Misto.ttf') format('embedded-opentype'),
    url('Misto.woff') format('woff'),
    url('Misto.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}

#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999999999;
}

#loader-wrapper {
    width: 100px;
    height: 100px;
    position: relative;
}

#loader {
    border: 6px solid #3498db;
    border-top: 6px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.loader-section {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
}

.section-left {
    clip: rect(auto, 50px, 100px, 0);
}

.section-right {
    clip: rect(auto, 100px, 100px, 50px);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-text {
    text-align: center;
    margin-top: 20px;
    color: red
}

#loading-percentage {
    font-weight: bold;
    color: #3498db;
    color: red;
    opacity: 1 !important;
    z-index: 99999999
}

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
}

html {
  scroll-behavior: smooth;
  background-color: rgb(255 255 255);
  /* background-color: rgb(30, 30, 30); */
  --black: #1e1e1e;
  
  --blue: rgb(0, 0, 255);
  --white: rgb(255, 255, 255);
  --blackdark: rgb(20, 20, 19);
  margin: 0;
  cursor: none;

}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}


@keyframes fade-in {
  from {
    opacity: 0;
    /* Start with opacity 0 */
    transform: translateY(-100%);
    /* Move element up by 100% of its height */
  }

  to {
    opacity: 1;
    /* End with opacity 1 */
    transform: translateY(0);
    /* Move element back to its original position */
  }
}



@keyframes fade-in-right {
  from {
    opacity: 0;
    /* Start with opacity 0 */
    transform: translateX(100%);
    /* Move element from right by 100% of its width */
  }

  to {
    opacity: 1;
    /* End with opacity 1 */
    transform: translateX(0);
    /* Move element back to its original position */
  }
}

.opacity-full {
  opacity: 1;
  /* Adjust the opacity of the paragraph elements if needed */
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  background: white;
  color: var(--black);
  font-family: "BLMelody-Regular", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  font-style: normal;
  font-size: 0.75rem;
  /* scroll-snap-type: y mandatory; */
  overflow-y: scroll;
}

body.dark-mode {
  background-color: #1e1e1e;
  color: #ffffff;
}
body.dark-mode a#privacyPolicyLink {
  color: white;
  text-decoration: underline;
}

body.dark-mode .privacy-banner {
    display: none;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: #212121;
    text-align: center;
    z-index: 9999;
}

body.dark-mode div#about-me {
  background: #1e1e1e;
  
}
body.dark-mode .back-red {
  background-color: #1e1e1e !important;
}
body.dark-mode .menu-button span {
  
  border-bottom: 2px solid #ffffff;
  
}

body.dark-mode .top-icon {
  
  background-color: #1e1e1e;

}
body.dark-mode .menu-button span:before, body.dark-mode .menu-button span:after {
  
  border-bottom: 2px solid #ffffff;
 
}

body.dark-mode .section-scroll {
  background-color: #1e1e1e;
  color: #ffffff;
}

body.dark-mode.section-scroll h2,
body.dark-mode .section-scroll h3 a,
body.dark-mode .section-scroll p,
body.dark-mode .section-scroll p a {
  color: #ffffff !important;
}

body.dark-mode .section-scroll {
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}


body.dark-mode .logo-container svg {
  width: 50px;
  fill: #ffffff;
}

/* @keyframes colorAnimation-dark {
    0% {
      color: rgb(255, 255, 255);
      font-family: "BLMelody-Bold";
  
    }
    25% {
        color: rgba(255, 255, 255, 0.699);
      font-family: "TradeGothicLTStd-Bold";
    }
    50% {
        color: rgb(255, 255, 255);
      font-family: "BLMelody-Bold";
      }
      75% {
        color: rgba(255, 255, 255, 0.699);
        font-family: "TradeGothicLTStd-Bold";
      }
      100% {
        color: rgb(255, 255, 255);
        font-family: "BLMelody-Bold";
      }
   
  } */

body.dark-mode a,
body.dark-mode .menu-button {
  animation: colorAnimation-dark 3s infinite;
}

body.dark-mode .full-width-h1 {
  height: 100%;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  background: #1e1e1e;
  margin: 0;
  padding: 0;
}

.darkmode__selector {
  width: 71px;
  height: 29px;
  border-radius: 100px;
  border: 2px solid black;
  display: flex;
  align-items: center;
  padding-left: 6px;
  padding-right: 6px;
  color: #BABABA;
  background: white;
}

.darkmode__selector__circle {
  height: 14px;
  width: 14px;
  background-color: rgb(255, 0, 0);
  border-radius: 100px;
  transition: all 0.35s ease;
}

.darkmode__selector.active .darkmode__selector__circle {
  background-color: #1e1e1e;
  transform: translateX(46px);
}

.darkmode__selector.active::before {
  opacity: 0;
}

body::after {
  animation: grain 8s steps(10) infinite;
  background-image: url("img/body-bg.webp");
  content: "";
  height: 300%;
  left: -50%;
  opacity: .04;
  position: fixed;
  top: -100%;
  width: 300%;
  pointer-events: none;
  /* display: none; */
  z-index: 99999999999;
}

@keyframes grain {

  0%,
  100% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-5%, -10%);
  }

  20% {
    transform: translate(-15%, 5%);
  }

  30% {
    transform: translate(7%, -25%);
  }

  40% {
    transform: translate(-5%, 25%);
  }

  50% {
    transform: translate(-15%, 10%);
  }

  60% {
    transform: translate(15%, 0%);
  }

  70% {
    transform: translate(0%, 15%);
  }

  80% {
    transform: translate(3%, 35%);
  }

  90% {
    transform: translate(-10%, 10%);
  }
}



header {
  position: sticky;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;

  padding: 20px;
  align-items: center;
  align-content: space-around;
 
  z-index: 9999;
}

.dark-mode-container {
  /* position: fixed; */
  top: 10px;
  left: 20px;
  z-index: 1000;
  display: flex;
  cursor: pointer;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
  grid-column: 1/1;
}

.logo-container {
  /* max-width: 50px; */
  display: flex;
  justify-content: center;

  /* position: relative; */
  /* background: red; */

  /* top: 10px; */
  /* left: 20px; */
  z-index: 1;
  display: flex;
  cursor: pointer;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  grid-column: 2/2;
  /* top: 0; */

}

.logo-container svg {
  width: 100%;
  height: 60px;
  fill: #1e1e1e;
}

.menu-container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menu {
  position: absolute;
  /* Position the menu absolutely within the container */
  top: 100%;
  /* Position the menu below the menu button */
  left: 0;
  background-color: #ffffff;
  padding: 20px;
  display: none;
  /* Hide the menu by default */
}

.menu.open {
  display: block;
  /* Show the menu when the checkbox is checked */
}

.menu-button {
  /* position: fixed; */
  top: 34px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
}

.menu-button span {
  display: flex;
  /* background-color: #fff; */
  height: 40px;
  width: 55px;
  border-bottom: 2px solid #020202;
  transition: transform 0.3s ease;
  justify-content: flex-end;
  align-content: center;
}

.menu-button.open span {
    display: flex;
    /* background-color: #fff; */
    height: 40px;
    width: 40px;
    border-bottom: 2px solid #ffffff;
    transition: transform 0.3s ease;
    justify-content: center;
    align-content: center;
}
body.dark-mode .menu-button.open span{
 border-bottom: 2px solid #000;
}
.menu-button span:before,
.menu-button span:after {
  display: block;
  border-bottom: 2px solid #020202;

  height: 16px;
  width: 41px;
  transition: transform 0.3s ease;
}

.menu-button.open span:before,
.menu-button.open span:after {
  display: block;
  border-bottom: 2px solid #020202;
  height: 2px;
  width: 41px;
  transition: transform 0.3s ease;
}

.menu-button span:before {
  content: "";
  position: absolute;
  top: -8px;
}

.menu-button span:after {
  content: "";
  position: absolute;
  top: 8px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked~.menu {
  transform: translateX(0);
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  color: #333;
  padding: 60px;
  box-sizing: border-box;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

body.dark-mode .menu {
   position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  color: #333;
  padding: 60px;
  box-sizing: border-box;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}


.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
}

.menu-item {
    text-decoration: none;
    color: #000 !important;
    font-size: 54px;
    text-align: left;
    padding: 10px;
    transition: background-color 0.3s ease;
    font-family: "TradeGothicLTStd-Bold";
    text-transform: uppercase;
    letter-spacing: -0.085em;
    line-height: 1em;
}
body.dark-mode .menu-item{
  text-decoration: none;
  color: #ffffff !important;
  font-size: 54px;
  text-align: left;
  padding: 10px;
  transition: background-color 0.3s ease;
  font-family: "TradeGothicLTStd-Bold";
  text-transform: uppercase;
  letter-spacing: -0.085em;
  line-height: 1em;
}
nav h2 {
  font-family: "TradeGothicLTStd-Bold";
  font-style: normal !important;
  letter-spacing: -0.8px;
  letter-spacing: -0.085em;
  margin-bottom: 1rem !important;
  font-size: 110px;
}

nav p {
  font-family: "InputMono";
  text-transform: uppercase;
  margin-top: 2px;
  padding-left: 5px;
  padding: 10px;
  color: red;
}

.mail {
  text-decoration: none;
  color: #ff0000 !important;
  font-size: 54px;
  text-align: left;
  padding: 10px;
  transition: background-color 0.3s ease;
  font-family: "TradeGothicLTStd-Bold";
  text-transform: uppercase;
  letter-spacing: -0.085em;
  line-height: 1em;
}

.menu-item:hover {
  /* background-color: #ddd; */
  opacity: .8;
}

label.menu-button span {
  opacity: 1;
}
.get_in_touch img {
  max-width: none;
}

@media screen and (max-width: 768px) {
  .menu {
    padding: 30px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }
}



/* Existing CSS code */

.menu-button.open span {
  background-color: transparent;
}

.menu-button.open span:before {
  transform: translateY(8px) rotate(45deg);
}

.menu-button.open span:after {
  transform: translateY(-8px) rotate(-45deg);
}

.menu.open {
  transform: translateX(0);
  transition: transform 0.3s ease;
}

/* Existing CSS code */

.menu-button {
  /* Existing styles */
  transition: transform 0.3s ease;
}

.menu-button span,
.menu-button span:before,
.menu-button span:after {
  /* Existing styles */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu-button.open span {
  /* Existing styles */
  background-color: transparent;
}

.menu-button.open span:before {
  /* transform: translateY(8px) rotate(45deg); */
  background: #000;
  /* height: 2px; */
  position: absolute;
  /* width: 48px; */
  border: 2px;
  top: 9px;
}

.menu-button.open span:after {
  /* transform: translateY(8px) rotate(45deg); */
  background: #000;
  /* height: 2px; */
  position: absolute;
  /* width: 48px; */
  border: 2px;
  top: 25px;
}

/* Existing CSS code */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  grid-gap: 30px;
  height: calc(100vh - 120px);
}

.menu-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 3/13;
}







li,
ol,
ul {
  list-style-type: none;
}

a,
a:visited {
  text-decoration: none;
  color: var(--white);
}

/* h1{
    font-weight: 600;
    font-size: 4.5rem;
    letter-spacing: 0.2rem;
    line-height: 4.3rem;
    text-transform: uppercase;
  } */
h1 {
    /* margin: 0; */
    /* padding: 0; */
    font-size: 13rem;
    /* text-align: center; */
    opacity: 0;
    font-family: "TradeGothicLTStd-Bold";
    animation: fade-in 1s forwards;
    letter-spacing: -0.085em;
}

h2,
.about-do h2 {
  font-family: "TradeGothicLTStd-italic";
  font-size: 7.5rem;
  letter-spacing: -0.055em;
  /* opacity: 0;
  animation: fade-in-right 3s forwards; */
}

h2 {
  font-weight: 500;
  font-size: 3rem;
  /* line-height: 4.3rem; */
  letter-spacing: 2px;


}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

h5 {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

h6 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

span {
  opacity: .1;
}

.asw-btn .material-icons {
  opacity: 1;
}

.asw-menu *,
.asw-widget * {
  opacity: 1;
}

.opacity-full span {
  opacity: 1 !important;
  font-family: 'BLMelody-Bold' !important;
}

.cookies-banner {
  font-size: 0.9rem;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 60%;
  height: auto;
  background-color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  z-index: 2s;
}

.cookies-banner h4 {
  font-size: 0.9rem;
  font-weight: 300;
}

.btn,
[class*=btn-outline] {
  padding: 0.5rem;
  background-color: transparent;
  border: 1px solid var(--white);
  border-radius: 0px;
  color: var(--white);
  cursor: pointer;
  margin: 0.2rem;
}

.btn:hover,
[class*=btn-outline]:hover,
#cookie-consent:hover {
  
 
  color: var(--black);
}

#cookie-consent {
  background-color: var(--white);
  color: var(--black);
}

#cookie-preferences--menu {
  padding: 0 0.5rem;
}

.cookies-padding {
  margin-right: 0.8rem;
}

.hide {
  display: none;
}

.nav-icon-active {
  margin-right: 0.6rem;
}

.navbar {
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 1rem 1.38rem;
  text-transform: uppercase;
  max-height: 60px;
  background-color: var(--white);

}

.navbar a {
  float: left;
  display: block;
  color: rgb(30 30 30);
  padding: 14px 16px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15rem;
}

.navbar a:hover {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--white);
}

.text-link a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: inherit;
  padding-bottom: 4px;
}

.text-link a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--white);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.text-link a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}


main {
  
  /* margin-top: 4.5rem; */
  /* padding: 0 1rem; */
}

.logo-hero {
  width: 100%;
}

.hero-section {
  width: 100%;
  height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  position: relative;
background-color: red;
  align-content: center;
}
body.dark-mode .hero-section {
  width: 100%;
  height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  position: relative;
background-color: #1e1e1e;
  align-content: center;
}
.full-width-h1 {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  background: rgb(255, 255, 255);
  margin: 0;
  padding: 0;

}

.fadeout,
.alternative-letters {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.back-red {
  background-color: red !important;
}

.fadeouttitles {
  /* -webkit-animation-name: by; */
  color: 1e1e1e;

}


@keyframes by {
  0% {
    opacity: 1
  }

  100% {
    opacity: 0
  }
}

.hero-top {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
}

.hero-top-img {
  grid-column: 1/31;
}

.hero-top-txt {
  margin-top: 0.5rem;
  text-transform: uppercase;
  grid-column: 17/25;
  padding-left: 0.2rem;
}

.hero-bottom {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1rem;
  align-items: flex-end;
}

.hero-contact {
  grid-column: 3/8;
}

.hero-scroll {
  grid-column: 29/31;
  text-align: right;
}

.scroll-arrow {
  text-align: center;
  padding-left: 0.9rem;
}

svg {
  width: 14px;
  display: block;
  /* margin: 10px auto; */
}

svg .arrow {
  animation: scroll-up 2s 1s infinite;
}

svg .arrow {
  animation: scroll-down 2s 1s infinite;
}

@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }

  40%,
  100% {
    transform: translateY(-110%);
  }
}

@keyframes scroll-down {
  0% {
    transform: translateY(0);
  }

  40%,
  100% {
    transform: translateY(110%);
  }
}

div#about-me {
  background: red;
  width: 100vw;
  height: 150vh;
  color: white;
  align-items: center;
  margin-top: 400px
}

.about-do h2 {
  font-family: "TradeGothicLTStd-Bold";
  line-height: 6rem;
  text-transform: uppercase;
}

.do-txt {
    color: white;
    grid-column: 3/20;
}

.index-about {
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  align-items: center;
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  /* padding: 4rem 1rem 4rem 1.38rem; */
  justify-content: center;
  /* width: 100vw; */
  z-index: 1;
  background: white;
  position: relative;
}

/* .about-txt {
    grid-column: 3/20;
  } */
.about-txt {
  grid-column: 3/20;
}

.about-txt p {
  font-weight: 500;
  font-size: clamp(48px, 6vw, 4.5rem);
  font-family: 'BLMelody-Bold';
  letter-spacing: -0.055em;
  line-height: 1em;

}

.home-projects {
  scroll-snap-align: start;
  align-items: start;
  display: flex;
}

.illustrations {
  position: relative;
  background: #1e1e1e;
  /* padding-bottom: 200px; */
  /* margin-bottom: 218px; */
}

.image-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.image-list li {
  position: -webkit-sticky;
  /* Safari, iOS Safari */
  position: sticky;
  top: 0px;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #1e1e1e}


.illustrations img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  filter: blur(30px);
  transform: translate3d(0, 0, 0) scale3d(1.1, 1.1, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

  transition: filter 2s var(--transition-curve), transform 2s var(--transition-curve);
}


img.right-position {
  object-position: right;
}

img.top-position {
  object-position: top;
}


/* li.more-height.at-50-percent {
    height: 130vh;
  } */
.illustrations li.at-50-percent img {
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}


/* :root {

  --transition-curve: cubic-bezier(0.005, 0.985, 0.22, 1);
  --transition-curve-inout: cubic-bezier(1, 0, 0, 1);
} */


.text-over-image {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  top: 3rem;
  left: 0;
  padding: 3rem 0;
  z-index: 99;
  line-height: initial;
  z-index: 2;
}

.text-over-image h2 {
  font-family: "TradeGothicLTStd-Bold";
  color: white;
  text-transform: uppercase;
  letter-spacing: -0.085em;
  line-height: 1em;
  grid-column: 3/20;
  font-size: 4.5rem;
}

.work-made {
  color: #f2fb66;
  text-transform: uppercase;
  grid-column: 3/7;
  animation: fade-in-bottom 4s forwards;
}


.projects-sidebar {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  position: -webkit-sticky;
  position: -webkit-sticky;
  /* Safari, iOS Safari */
  position: sticky;
  top: 60px;
  padding-top: 2rem;
  width: 22rem;
}

.projects-title {
  grid-column: 4/9;
}

.sub-menu a {
  display: block;
  padding: 0.2rem 0;
  color: var(--black);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.active {
  text-decoration: underline;
}

.active::before {
  
  margin-right: 8px;
  margin-left: -16px;
}

.active-line {
  border-bottom: 1px solid var(--white);
}

.projects-img {
  width: 100%;
}

.project-inner {
  padding: 2rem 1rem;
  border-bottom: 1px dotted rgb(0 0 0 / 22%);
  display: flex;
  justify-content: space-between;
}

.project-inner-last {
  border-bottom: 0px solid var(--white);
}

.main-project-img {
  width: 32rem;
  height: 24rem;
  object-fit: cover;
  overflow: hidden;
  cursor: pointer;
}

.main-project-img img {
  width: 100%;
  cursor: pointer;
}

.marquee-2 {
  position: relative;
  overflow: hidden;
}

.title-marquee {
  color: var(--white) !important;
  opacity: 0.5;
  font-weight: 600;
  position: relative;
  display: flex;
  padding-left: 0;
  padding-right: 0;
  text-transform: uppercase;
  font-size: 8vw;
  line-height: 1;
  will-change: transform;
  transition: transform 0.12s;
}

.title-marquee>* {
  margin-bottom: 0;
  padding: 0 2vw;
}

/* .do-txt {
    grid-column: 8/30;
  } */

.about-do {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.do-desc,
.do-desc2,
.do-desc3,
.do-desc4,
.do-desc5 {
  width: 100%;
  padding: 1rem;
  opacity: 0;
  text-transform: uppercase;
  font-size: 1rem;
}

.i-do,
.i-do2,
.i-do3,
.i-do4,
.i-do5 {
  width: 100%;
}

.home-clients-desc {
  border-top: 1px solid var(--white);
}

.home-clients {
  scroll-snap-align: start;
  align-items: start;
  display: grid;
  grid-template-columns: repeat(30, 1fr);
}

.home-clients-inner {
  grid-column: 3/30;
}

.clients-txt {
  display: flex;
  text-transform: uppercase;
  font-size: 0.8rem !important;
  font-weight: 600;
  justify-content: space-around;
  padding-bottom: 20vh;
}

footer {
  /* height: 45vh; */
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  align-items: center;
  position: relative;
  bottom: 0;
  width: 100%;
  background: red;
  /* top: 90%; */
  height: 200px;
}

.footer-top {
  align-items: center;
  display: none;
  justify-content: space-between;
  position: fixed;
  right: 30px;
  bottom: 26px;
  transform: translateY(-50%);
  z-index: 999;
}


.footer-top-left {
  font-weight: 500;
  text-transform: uppercase;
}

.footer-top-right {
  font-size: 6rem;
  text-transform: uppercase;
  font-weight: 600;
  columns: var(--white);
}

.footer-bottom {
  align-items: center;
  display: flex;
  width: 100%;
  justify-content: space-between;
  grid-column: 3/30;

}

.footer-bottom-left {
  font-weight: 600;
  text-transform: uppercase;
}

.footer-bottom-right {
  font-weight: 500;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.top-icon {
  cursor: pointer;
  position: fixed;
  display: inline-block;
  /* width: 32px; */
  /* height: 32px; */
  margin-left: 12px;
  margin-right: 12px;
  border-radius: 30px;
  overflow: hidden;
  background-color: rgb(255, 0, 0);
  text-align: center;
  z-index: 999;
  bottom: 60px;
  right: 30px;
}
h2.alternative-letters {
  text-align: center;
}

.top-icon::before,
.icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: all 0.25s ease;
  border-radius: 30px;
}

.arrow-footer {
  width: 14px;
  position: relative;
  z-index: 6;
  margin-top: 6px;
}

.arrow-footer:hover {
  mix-blend-mode: difference;
}

.top-icon-expand::after {
  box-shadow: inset 0 0 0 1px var(--white);
}

.top-icon-expand::after {
  background: var(--white);
  box-shadow: inset 0 0 0 60px var(--black);
}

.footer-bottom svg {
  width: 40px;
  /* fill: white; */
  color: white;
}

.top-icon-expand:hover::before {
  box-shadow: inset 0 0 0 0 var(--black);
}

.panel {
  background-color: rgb(43, 43, 43);
  width: 100vw;
  height: 100vh;
  padding: 15vh 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: hidden;
  border-right: 1px solid var(--white);
}

.panel-inner {
  align-items: flex-start;
  display: flex;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--white);
}

.panel-inner-last {
  align-items: flex-start;
  display: flex;
  padding: 2.4rem 0;
}

.panel-subtitle {
  width: 80%;
}

.about-paragraph {
  font-size: 0.8rem;
  line-height: 1rem;
  width: 80%;
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
}

.services {
  display: flex;
  justify-content: space-between;
  column-gap: 2.4rem;
  font-size: 0.7rem;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.2rem;
}

#aboutBtn {
  cursor: pointer;
}

.close {
  color: var(--white);
  float: right;
  right: 2rem;
  position: fixed;
  font-size: 2rem;
}

.close:hover,
.close:focus {
  
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
}

@-webkit-keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0
  }

  to {
    bottom: 0;
    opacity: 1
  }
}

@keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0
  }

  to {
    bottom: 0;
    opacity: 1
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.process-number {
  margin-right: 1.5rem;
}

.history {
  display: flex;
  justify-content: flex-start;
  column-gap: 2.4rem;
  align-items: center;
  padding-bottom: 1.8rem;
}

.history-last {
  display: flex;
  justify-content: flex-start;
  column-gap: 2.4rem;
  align-items: center;
}

.history-number {
  font-weight: 600;
  font-size: 1.4rem;
  text-transform: uppercase;
  width: 10%;
}

.position-title {
  font-weight: 600;
  text-transform: uppercase;
}

.contact-inner {
  transform: translateY(100%);
  width: 100vw;
}

.contact-inner-div {
  width: 100vw;
  height: 90vh;
  margin-top: 3rem;
  align-items: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-slider {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgb(43, 43, 43);
  width: 100%;
  height: 100%;
  z-index: 99;
  transform: translateY(0%);
}

.contact-wrap {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  align-content: center;
  height: 100%;
  padding: 2rem;
}

.contact-info {
  grid-column: 3/10;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 300;
  font-size: 1rem;
  display: flex;
  column-gap: 1rem;
}

.contact-info a {
  color: var(--white);
}

.contact-title li {
  color: var(--white);
  font-weight: 600;
  margin-right: 0.5rem;
  padding-bottom: 4px;
}

.contact-form {
  grid-column: 11/30;
}



.container-privacy {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container-privacy input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  width: 16px;
  background-color: var(--black);
  border: 1px solid var(--white);
  border-radius: 40px;
}

.container-privacy:hover input~.checkmark {
  background-color: var(--black);
}

.container-privacy input:checked~.checkmark {
  background-color: var(--white);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container-privacy input:checked~.checkmark:after {
  display: none;
}

.privacy-label {
  text-transform: uppercase;
}

.privacy-label a {
  color: var(--white);
}



.form-inputs {
  display: flex;
  justify-content: space-between;
}

input[type="submit"] {
  text-transform: uppercase;
  background-color: var(--black);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--white);
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  color: var(--white);
  cursor: pointer;
}

input[type="submit"]:hover {
 
  border-bottom: 0px solid transparent;
}

.slider-inner {
  width: 100vw;
  position: fixed;
  height: 100vh;
}

.slider-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 38rem;
  overflow: hidden;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  display: flex;
  will-change: transform;
  cursor: pointer;
}

.slider-item {
  position: relative;
  flex: 1;
  width: 20rem;
  overflow: hidden;
}

.slider-item a,
slider-item a:visited {
  color: var(--white);
}

.img-div {
  position: relative;
  /* left: 0;
    top: 0; */
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  transition: all 1s ease;

}

.img-div:hover {
  height: 105%;
}

.slider-item-desc {
  padding: 0 0.8rem 1rem 0.8rem;
  height: 9.2rem;
}

.slider-item-desc h6 {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: inherit;
  padding-bottom: 4px;
}

.slider-item-desc h6::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--white);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.slider-item-desc h6:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}


.slider-item-desc li {
  color: var(--white);
  opacity: 0.6;
  line-height: 1rem;
}


.grow {
  transform: scale(1.5);

  background-color: rgb(248, 245, 245);
  border: none;
  mix-blend-mode: difference
}

.projects-mob {
  display: none;
}

.sub-menu-mob {
  display: none;
}

.privacy-policy {
  width: 70%;
  padding: 6rem 2.2rem 2.2rem 8.2rem;
  line-height: 1rem;
}

.privacy-bullet ul,
.privacy-bullet li {
  list-style-type: square;
}

.clock {
  display: flex;
  width: auto;
  column-gap: 0.6rem;
}

.clockm {
  display: none;
}

.error-404 {
  width: 100%;
  padding: 6rem 8rem 1rem 8.2rem;
  line-height: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 80vh;
  row-gap: 20rem;
}

.error-404 p {
  text-transform: uppercase;
}

.error-404 h4 {
  text-transform: uppercase;
  text-align: left;
}

@media screen and (max-width: 770px) {
  .cookies-banner {
    width: 72%
  }

  .hero-contact {
    grid-column: 4/10;
  }

  .hero-scroll {
    grid-column: 25/30;
  }

  .scroll-arrow {
    padding-left: 1.6rem;
  }

  .cursor {
    visibility: hidden;
  }

  .about-txt {
    grid-column: 4/20;
  }

  .main-project-img {
    width: 20rem;
    height: 16rem;
  }

  .index-about {
    height: auto;
    padding: 10rem 0
  }

  .do-txt {
    grid-column: 4/18;
  }

  .about-do {
    display: block;
  }

  .do-desc,
  .do-desc2,
  .do-desc3,
  .do-desc4 {
    opacity: 1;
    padding: 1rem 1rem 4rem 0;
    font-size: 0.7rem;
    line-height: 1rem;
  }

  .do-desc5 {
    opacity: 1;
    padding: 1rem 1rem 0 0;
    font-size: 0.7rem;
    line-height: 1rem;
  }

  .home-projects {
    margin-bottom: 3rem;
  }

  .clients-txt {
    padding-bottom: 3rem;
  }

  .home-clients-desc {
    padding-bottom: 4rem !important;
  }

  footer {
    height: 40vh;
  }

  .footer-top {
    grid-column: 4/30;
    align-items: flex-end;
  }

  .footer-top-left {
    width: 20%;
  }

  .footer-top-right {
    font-size: 5rem;
    line-height: 4.5rem;
    text-align: right;
    width: 56%;
  }

  .footer-bottom {
    grid-column: 4/30;
  }

  .text-link a::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  .footer-bottom-left li {
    margin-bottom: 0.75rem;
  }

  .modal-body {
    padding: 3rem;
  }

  .panel-subtitle {
    width: 62%;
  }

  .process-number {
    margin-right: 0.3rem;
  }

  .slider-wrap {
    height: 34rem;
  }

  .slider-item {
    width: 18rem;
  }

  .contact-inner-div {
    margin-top: 10rem;
  }

  .contact-info {
    grid-column: 1/11;
  }

  .contact-form {
    grid-column: 14/30;
  }

  textarea {
    width: 48vw;
    height: 55vh;
    font-size: 2.5rem;
  }

  input[type="submit"] {
    border-bottom: none;
    padding-bottom: 0.1rem;
  }

  /* .projects-mob { display: block; padding: 8rem 6rem 2.2rem 2.2rem; width: 100%; height: 300%;}
    .slider-mob-inner { display: flex; justify-content: space-between; border-bottom: 1px solid var(--white); padding: 4rem 0;}
    .slider-mob-img { width: 16rem; height: 20rem; background-size: cover; background-repeat: no-repeat; background-position: center;}
    .slider-mob-desc { width: 8rem;} */
}


.home-works {
  grid-template-columns: repeat(1, 1fr);
  display: grid;
  /* padding: 1rem 1rem 1rem 1.38rem; */
  position: relative;
  z-index: 0;
  /* margin-top: 80px; */
 
}

/*.projects-title-custom {
  display: grid;
  top: 80px;
  position: -webkit-sticky;
  position: sticky;
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  --marquee-width: 100vw;
  --offset: 20vw;
  --move-initial: calc(-25% + var(--offset));
  --move-final: calc(-50% + var(--offset));
  --item-font-size: 10vw;
  counter-reset: menu;
  margin-top: 60px;

}
*/
.projects-title-custom {
    display: grid;
    /* top: 80px; */
    position: -webkit-sticky;
    position: relative;
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    z-index: 1;
    user-select: none;
    --marquee-width: 100vw;
    --offset: 20vw;
    --move-initial: calc(-25% + var(
  --offset));
    --move-final: calc(-50% + var(
  --offset));
    --item-font-size: 10vw;
    counter-reset: menu;
    /* margin-top: 60px; */
    /* background: white; */
}

body.dark-mode .marquee {
    top: 0;
    left: 0;
    width: var(--marquee-width);
    overflow: hidden;
    pointer-events: none;
    mix-blend-mode: color-burn;
    background-color: transparent;
}
section#illustration-block {
    z-index: 2;
}
p.desarrollo {
    margin-top: 10px;
}
.projects-title-custom h3 {
  grid-column: 1 / 30;
  font-family: TradeGothicLTStd-Bold;
  font-size: 11rem;
  letter-spacing: -0.085em;
  line-height: 1em;
}

.section-scroll {
  font-size: 1.4em;
  letter-spacing: 0.05em;
  line-height: 1.5em;
  position: relative;
  position: -webkit-sticky;
  position: sticky;
  z-index: 1;
  border-top: 1px solid black;
  height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1rem;
  /* align-items: flex-end; */
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  /*top: 263px;*/

  color: #a99160;
  background: #ffffff;
  z-index: 2;
  overflow: hidden;
  position: -webkit-sticky;
  position: sticky;
  /* top: 260px; */
}

section.section-scroll:last-child {
  border-bottom: 1px solid black;
}

.section-scroll h2,
.section-scroll h3 {
  /* text-align: center; */
  margin: 0;
  font-weight: normal;
  font-family: "BLMelody-Bold";
  color: #1e1e1e;
  font-family: "TradeGothicLTStd-Bold";
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.085em;
}

.section-scroll h2,
.section-scroll h3 a {
  color: #1e1e1e;
}

.section-scroll__content a {
  width: 100%;
  height: 100%;
}

p.development {
  font-family: "BLMelody-Regular";
  color: #1e1e1ebd;
  margin: 5px 0;
  font-size: .8em;
  font-family: "InputMono";
  letter-spacing: -0.085em;
}


.section-scroll__header {
  position: -webkit-sticky;
  /* Safari, iOS Safari */
  position: sticky;
  top: 0;
  top: 60px;
  padding: 2rem 0;
  color: #a99160;
  /* background: #171717; */
  z-index: 2;
  grid-column: 3 / 13;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  /* Move the element off-screen initially */
  transition: opacity 3.5s ease, transform 1.5s ease;

}

.fade-in-left.fade-in {
  opacity: 1;
  transform: translateX(0);
  /* Move the element back to its original position */
}


.section-scroll__content {
  padding: 1em 0;
  display: flex;
  /* justify-content: center; */
  position: relative;
  z-index: 1;
  grid-column: 13/31;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  transition: all 1s ease;
  overflow: hidden;
  grid-column: 14/29;
}


.section-scroll__content:hover {
  transform: scale(1.1);
}

.section-scroll__content>div {
  max-width: 992px;
}

.buttom-scroll {
  display: flex;
  align-content: center;
  justify-content: flex-end;
  flex-direction: column;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-in-bottom 4s forwards;
  height: 70px;
}

.arrow-svg.cursor-transform-custom {
  display: flex;
  justify-content: center;
}

@keyframes fade-in-bottom {
  from {
    opacity: 0;
    /* Start with opacity 0 */
    transform: translateY(100%);
    /* Move element from bottom by 100% of its height */
  }

  to {
    opacity: 1;
    /* End with opacity 1 */
    transform: translateY(0);
    /* Move element back to its original position */
  }
}

.buttom-scroll a {
  color: #1e1e1e;
}

.work-1 {
  /* background-image: url("https://www.teatro.es/contenidos/donGalan/donGalanNum11/images/slider/slider00_sumario.jpg"); */
  /* transform-origin: center center; */
  background-size: cover;
  background-position: center;
  /* animation: horizontalMove 10s linear infinite; */
}

@keyframes horizontalMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.work-2 {
  /* background-image: url("https://xn--elecodelamontaa-crb.com/images/slider/slider-bg-2.jpg"); */
  /* transform-origin: center center; */
  background-size: cover;
  background-position: center;
}



.work-3 {
  /* background-image: url("https://xn--elecodelamontaa-crb.com/images/slider/slider-bg-2.jpg"); */
  /* transform-origin: center center; */
  background-size: cover;
  background-position: center;
}





.about-txt.green-block a:hover {
    opacity: .7;
}
.custom-cursor {
    width: 20px;
    height: 20px;
    background-color: #0e88f1;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999999999999;
    opacity: 1;
    transition: transform 0.2s ease;
    background-image: url("img/custom-cursor.png");
    background-size: contain;
}

.custom-cursor.hover {
    transform: scale(2.7);
    /* Adjust the scale value to change the cursor size on hover */
    background-color: rgba(199, 17, 41, 0.801);
    mix-blend-mode: luminosity; /* Choose one blend mode */
    background-image: url("img/bizcoche.png");
    cursor: none !important;
}













.about-section {
  display: flex;
  align-items: center;
  grid-column: 14/31;
  color: #6a6767;
  border-left: 1px solid #685e5e;
  padding: 60px;
  /* justify-content: space-evenly; */
  flex-wrap: wrap;
}

.about-section h2 {
  margin-bottom: 10px;
  text-align: left;
  color: red;
  font-size: 10vw;
}

.about-section p {
  text-align: left;
}































@keyframes zoom {
  from {
    object-position: 0 50%;
  }

  to {
    object-position: 100% 50%;
  }
}

@keyframes blur {
  from {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }

  to {
    -webkit-transform: scale(1.5, 1.5);
    transform: scale(2, 2);
  }
}


.wrapper {
  /* display: grid; */
  grid-template-columns: repeat(auto-fit, 1fr);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-template-rows: auto;
  grid-template-areas: ". card .";
  width: 100vw;
  /* min-height: 100vh; */
  /* padding-top: 40px; */
  /* padding-bottom: 40px; */
}

.card {
  position: relative;
  display: flex;
  place-self: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  font-size: var(--fontOrigin);
  border-radius: 8px 8px 50px;
  transition: all var(--speed) ease;
  padding: 40px;
  align-items: center;
  place-content: center;
  clip-path: polygon(35% 0px, 100% 0px, 100% 100%, 0px 100%, 0px 55%);
}

.card a {
  width: auto;
  height: auto;
}

.card__save {
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  width: 35px;
  height: 35px;
  background: transparent;
  border: 0;
  opacity: 0;
  border-radius: 3px;
  -webkit-transition: all var(--speed) ease;
  transition: all var(--speed) ease;
}

.card__save:focus {
  outline: 0;
  background-color: rgba(255, 255, 255, 0);
}

.card:hover .card__save {
  opacity: 0.6;
}

.card__save i {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  -webkit-transition: all var(--speed) ease;
  transition: all var(--speed) ease;
}

.card__save:hover i {
  color: rgba(255, 255, 255, 0.8);
}

.card__save:active,
.card__save.active {
  opacity: 1 !important;
}

.card__save:active i,
.card__save.active i {
  color: white;
}

.card__image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(0 0 0), rgb(0 0 0));
}

.card__image img {
  -webkit-transform: scale(1.3, 1.3);
  transform: scale(1.3, 1.3);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  -webkit-transition: all var(--speed) ease;
  transition: all var(--speed) ease;
  animation-name: zoom;
  animation-duration: 30s;
  animation-direction: alternate;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.card:hover .card__image img {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  opacity: 0.5;
}

.card__header {
  display: grid;
  width: 100%;
  height: 200px;
}

.card__profile {
  align-self: center;
  justify-self: center;
  display: block;
  overflow: hidden;
  width: 10vmax;
  height: 10vmax;
  max-width: 100px;
  max-height: 100px;
  border-radius: 50%;
}

.card__profile img {
  -webkit-transform: scale(1.5, 1.5) translateZ(0);
  transform: scale(1.5, 1.5) translateZ(0);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  -webkit-filter: grayscale(50%) contrast(75%) brightness(1.3);
  filter: grayscale(50%) contrast(75%) brightness(1.3);
  -webkit-transition: all var(--speed) ease;
  transition: all var(--speed) ease;
  mix-blend-mode: normal;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card:hover .card__profile img {
  -webkit-transform: scale(1, 1) translateZ(0);
  transform: scale(1, 1) translateZ(0);
}

.card__body {
  display: grid;
  padding: 0 20px;
  height: 100%;
  align-content: center;
}

.card__body p {
  margin-top: 1em;
}

.card__name {
  /* align-self: center; */
  /* justify-self: center; */
  margin-bottom: 2px;
  color: white;
  font-size: 1.5em;
  font-weight: var(--fontLight);
  letter-spacing: 0.1rem;
  /* font-family: 'Misto' !important; */
  text-align: center;
  /* text-transform: uppercase; */
  LINE-HEIGHT: 1;
  color: white !important;
  text-shadow: 0 1px 2px rgb(0 0 0);
  /* background: white; */
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  -webkit-transition: all var(--speed) ease;
  transition: all var(--speed) ease;
  height: 30px;
  display: flex;
  justify-content: center;
  align-content: center;
}

/* .card:hover .card__name {
    background: -webkit-linear-gradient(white, #c1c1c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
   */
.card__job {
  align-self: center;
  justify-self: center;
  display: inline-block;
  font-size: var(--fontSmall);
  font-weight: var(--fontLight);
  text-align: center;
  letter-spacing: 0.35rem;
  color: rgb(0 0 0);
  -webkit-transition: all var(--speed) ease;
  transition: all var(--speed) ease;
}

.card:hover .card__job {
  color: rgb(255, 255, 255);
}

.card__bio {
  position: relative;
  -webkit-transform: translateY(30%);
  transform: translateY(30%);
  display: block;
  text-transform: none;
  margin: 22px 0 16px 0;
  font-size: 14px;
  font-weight: 100;
  /* font-size: var(--fontMedium); */
  /* font-weight: var(--fontLight); */
  /* text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.35); */
  color: rgb(255, 255, 255);
  opacity: 0;
  -webkit-transition: all var(--speed) ease;
  transition: all var(--speed) ease;
  font-family: "InputMono";
  letter-spacing: -0.085em;
}

p.rocket {

  text-align: center;
}

p.rocket a {
  color: white;
  font-family: "TradeGothicLTStd-Bold";
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.085em;
}

.card:hover .card__bio {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

.card__footer {
  position: relative;
  -webkit-transform: translateY(60%);
  transform: translateY(60%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "date category";
  padding: 10px 20px;
  opacity: 0;
  -webkit-transition: all var(--speed) ease;
  transition: all var(--speed) ease;
}

.card:hover .card__footer {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

.card__date {
  grid-area: date;
  display: inline-block;
  align-self: left;
  justify-self: left;
  font-size: var(--fontSmall);
  font-weight: var(--fontLight);
  text-transform: uppercase;
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.45);
  color: rgba(250, 250, 250, 0.4);
}

/* MODIFIERS */
.card[data-effect="blur"]:hover .card__image img {
  -webkit-filter: blur(3px);
  filter: blur(3px);
}

.card[data-effect="blur"] .card__image img {
  animation-name: blur;
}

.card[data-effect="color"]:hover {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  box-shadow: 0 40px 260px rgba(255, 0, 0, 0.1), 0 40px 130px rgba(250, 100, 100, 0.2), -80px -40px 230px rgba(0, 200, 250, 0.15), 80px 40px 230px rgba(120, 120, 255, 0.15);
}

.card[data-effect="color"] .card__image {
  background: linear-gradient(to bottom, rgba(20, 20, 100, 1), rgba(255, 100, 100, 0.5))
}

.card[data-effect="color"]:hover .card__image img {
  opacity: 0.8;
}

.card[data-effect="color"]:hover .card__profile img {
  -webkit-filter: grayscale(50%) contrast(80%) brightness(1.6);
  filter: grayscale(50%) contrast(80%) brightness(1.6);
  mix-blend-mode: normal;
}

/* 
  @keyframes colorAnimation {
    0% {
      color: rgb(0, 0, 0);
      font-family: "BLMelody-Bold";
  
    }
    25% {
        color: rgba(0, 0, 0, 0.699);
      font-family: "TradeGothicLTStd-Bold";
    }
    50% {
        color: rgb(0, 0, 0);
      font-family: "BLMelody-Bold";
      }
      75% {
        color: rgba(0, 0, 0, 0.699);
        font-family: "TradeGothicLTStd-Bold";
      }
      100% {
        color: rgb(0, 0, 0);
        font-family: "BLMelody-Bold";
      }
   
  } */

a,
.menu-button {
  animation: colorAnimation 3s infinite;
}

a.no-animation {
  animation: none;
}


.get_in_touch {
  position: relative;
  height: auto;
  width: auto;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

.get_in_touch--1 {
  width: 150px;
  height: auto;
}

.get_in_touch--2 {
  width: 150px;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  animation: getintouch 18s linear infinite;
}

.get_in_touch:hover {
  transform: scale(1.05);
}

@keyframes getintouch {
  from {
    transform: rotate(-360deg);
  }

  to {
    transform: rotate(0);
  }
}







.colored-element {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #1e1e1e;
  transform: translateY(100%);
  transition: transform 1s ease;
  z-index: 999999999999999999999999999999999999999;
}

.colored-element.show {
  transform: translateY(0);
}




.hide {
  opacity: 0;
}


.marquee {
    top: 0;
    left: 0;
    width: var(--marquee-width);
    overflow: hidden;
    pointer-events: none;
    mix-blend-mode: color-burn;
    background-color: white;
}

.marquee__inner {
  width: fit-content;
  display: flex;
  position: relative;
  transform: translate3d(var(--move-initial), 0, 0);
  animation: marquee 5s linear infinite;
  animation-play-state: paused;
  opacity: 0;
  transition: opacity 0.1s;
}

.marquee .marquee__inner {
  animation-play-state: running;
  opacity: 1;
  transform: translate3d(var(--move-initial), 0, 0);
  animation: marquee 15s linear infinite;
  /* background: white; */
}

.marquee span {
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  font-family: TradeGothicLTStd-Bold;
  font-size: 11rem;
  letter-spacing: -0.085em;
  /* margin-left: 60px; */
  /* padding: 0 88px; */
  opacity: 1 !important;
  margin-left: 60px;
}

@keyframes marquee {
  0% {
    transform: translate3d(var(--move-initial), 0, 0);
  }

  100% {
    transform: translate3d(var(--move-final), 0, 0);
  }
}


.grid-ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex-wrap: wrap;
}



.menu-section ul {
  padding-left: 20px;
}

li a.menu-item.sub-menu {
  font-size: 1rem !important;
  letter-spacing: -0.8;
  margin: 10px !important;
  line-height: 1.5;
}

li.no-sticky {
  position: relative;
}




#lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  transition: opacity 0.3s;
  overflow: hidden;
}

#lightbox.show {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.lightbox-content {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
    width: 90%;
    height: auto;
    max-width: 1300px;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
}
.prev,
.next {
  color: #000;
  font-size: 30px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.lightbox-content span.close {
  opacity: 1 !important;
  color: #1e1e1e;
  opacity: 1 !important;
  font-size: 4rem !important;
  color: #1e1e1e;
  top: 0;
}

.dark-mode-container p {
    color: #0e88f1;
    width: 71px;
    text-align: center;
    font-size: 14px;
    font-family: "TradeGothicLTStd-italic";
    letter-spacing: 1px;
}
body.dark-mode .dark-mode-container p {
  color: rgb(255, 255, 255);
}

.asw-menu {
  z-index: 9999999999;
}

.cookie-banner {
  /* display: none; */
  position: fixed;
  bottom: 0;
  /* left: 0; */
  max-width: 350px;
  right: 0;
  /* left: 0; */
  padding: 10px;
  background-color: #333;
  color: #fff;
  z-index: 999999;
  text-align: center;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 1em;
}

.cookie-preferences {
  display: none;
  position: fixed;
  width: 350px;
  max-width: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 6px 6px 10px 4px rgb(0 0 0 / 32%);
  z-index: 999999;
}

.cookie-preferences h2 {
  margin-top: 0;
  line-height: .8;
  text-align: center;
  margin-bottom: 10px;
}
.cookie-preferences p {
  margin-bottom: 10px;
  text-align: center;
  margin-bottom: 20px;
}
.select-preferences {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.select-preferences input {
    margin: 0 5px;
}
.cookie-preferences label {
  display: block;
  margin-bottom: 5px;
  width: 33%;
  background: red;
  display: contents;
  margin: 1em;
}

button#savePreferencesBtn {
  width: 100%;
  background-color: #fff;
  color: #333;
  padding: 8px 0px;
  border: none;
  cursor: pointer;
  border: 1px solid #373737;
  margin-top: 1em;
}

.accept-cookies, .cookie-settings {
  background-color: #fff;
  color: #333;
  padding: 8px 0px;
  border: none;
  cursor: pointer;
  /* margin-right: 10px; */
  width: calc(50% - 2px);
  border: 1px solid #373737;
}

.accept-cookies:focus,
.cookie-settings:focus,
.save-preferences:focus {
  outline: none;
}

.accept-cookies:hover,
.cookie-settings:hover,
.save-preferences:hover {
  background-color: #ccc;
}

div#cookieBanner p {
  padding-bottom: 20px;
  text-align: left;
}


.turn {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #1e1e1e;
  z-index: 99999;
  display: none;
  top: 50px;
}

@media screen and (orientation:landscape) and (max-width:1023px) {
  .turn {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 999999999999;
    position: fixed;
    top: 0;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1em;
    opacity: 1;
}
p span.turn-paragraph {
  font-size: .8rem;
  letter-spacing: 2px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  /* top: 75%; */
  position: relative;
  margin: auto;
  text-align: center;
  width: 80%;
  background: #303030;
  padding: 5px;
  opacity: 1;
}
}

.turn p.turn-class,.turn p {
  line-height: .9;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -ms-transform: translate(-50%,-50%)
}


.turn p.turn-class {
  font-size: 5.625rem;
  text-transform: uppercase;
  font-weight: 700;
  /* user-select: none; */
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  /* top: 10%; */
  /* position: absolute; */
  /* line-height: 1 !important; */
  text-align: center;
}

.turn p.turn-class em {
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #ffffff;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

p.turn-paragraph {
  font-size: .8rem;
  letter-spacing: 2px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  /* top: 75%; */
  position: relative;
  margin: auto;
  text-align: center;
  width: 80%;
  background: #303030;
  padding: 5px;
  opacity: 1;
  margin-top: 20px;
}

.privacy-banner {
  display: none;
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: #f0f0f0;
  text-align: center;
  z-index: 999;
}
.privacy-policy {
 
  width: 100%;
  height: 100%;
  
  z-index: 9999;
  overflow-y: auto;
  padding: 0;
  box-sizing: border-box;
  color: #fff;
}
a#privacyPolicyLink {
  color: red;
}
.privacy-policy h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.privacy-policy p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.close-privacy-policy {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    display: none;
    position: fixed;
    top: 20px;
    right: 40px;
}
.privacy-policy-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #1e1e1e;
}

.privacy-policy-block h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.privacy-policy-block h3 {
  font-size: 20px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 10px;
}

.privacy-policy-block p {
  margin-bottom: 15px;
}

.privacy-policy-block ul {
  margin-bottom: 20px;
  list-style-type: disc;
  padding-left: 20px;
}

.privacy-policy-block li {
  margin-bottom: 5px;
}


@media (max-width: 767px) {
  .privacy-banner {
    font-size: 14px;
  }
  h1 {
    font-size: 3.8rem;
  }
}




@media (orientation: portrait) {
  .menu-grid {
    display: flex;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 30px;
    height: 100%;
    grid-template-rows: repeat(2, 1fr);
    flex-wrap: wrap;
}

.menu-section {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    justify-content: center;
    grid-column: 1;
    grid-row: 1/2;
}

  .about-section {
    display: flex;
    grid-column: 1;
    color: #6a6767;
    border: 0;
    border-top: 1px solid #685e5e;
    padding: 20px;
    justify-content: flex-start;
    grid-row: 2/2;
    width: 100%;
    padding: 2em 10px 0;
}

  .about-section h2 {
    margin-bottom: 10px;
    text-align: left;
    color: red;
    font-size: 4rem;
    margin: 0 !important;
    /* background: red; */
    padding: 0;
}

  .menu {
    padding: 30px;
    /* display: flex !important; */
    align-items: center;
  }

  img.right-position {
    object-position: 80%;
  }
  .menu.open {
    display: flex;
    align-items: center;
}


}

@media (hover: none) {
  .custom-cursor {
    display: none;
  }
}
@media (max-width:767px) {


  main {
    width: 100vw;
    /* padding: 0 2rem; */
  }

 
  .menu-item {
  
    font-size: 34px;
   
}
.mail {
  text-decoration: none;
  color: #ff0000 !important;
  font-size: 54px;
  font-size: 34px;
  text-align: left;
  padding: 10px;
  transition: background-color 0.3s ease;
  font-family: "TradeGothicLTStd-Bold";
  text-transform: uppercase;
  letter-spacing: -0.085em;
  line-height: 1em;
}

  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 2rem;
  }
@media (max-width: 767px) {
  .privacy-banner {
    font-size: 14px;
  }
  h1 {
    font-size: 3.8rem;
  }
}
  div#about-me {
    background: red;
    width: 100vw;
    height: 150vh;
    color: white;
    align-items: center;
    padding: 0 2rem;

  }

  .projects-title-custom {
    height: 8px;
    display: grid;
    top: 80px;
    position: -webkit-sticky;
    position: sticky;
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 1vh 0 19vh;
    align-items: center;
    margin-top: 0px;
  }

  .section-scroll {
    font-size: 1.4em;
    letter-spacing: 0.05em;
    line-height: 1.5em;
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    z-index: 1;
    border-top: 1px solid black;
    height: calc(100vh - 200px);
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1rem;
    /* align-items: flex-end; */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    top: 191px;
    color: #a99160;
    background: #ffffff;
    z-index: 2;
    overflow: hidden;

  }

  .section-scroll__header {
    top: 0;
    top: 60px;
    padding: 20px 0 0;
    color: #a99160;
    /* background: #171717; */
    z-index: 2;
    grid-column: 3/30;
    grid-row: 1/1;
    top: 0;
  }

  .section-scroll__content {
    padding: 1em 0;
    display: flex;
    /* justify-content: center; */
    position: relative;
    z-index: 1;
    grid-column: 13/31;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    transition: all 1s ease;
    overflow: hidden;
    grid-column: 3/29;
    grid-row: 2/10;
  }

  .about-do h2 {
    font-family: 'TradeGothicLTStd-Bold';
    display: block;
    font-size: 3.9rem;
    line-height: 1 !important;
    letter-spacing: -0.055em;
    opacity: 0;
    animation: fade-in-right 3s forwards;
  }

  .text-over-image h2 {
    font-family: "TradeGothicLTStd-Bold";
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.085em;
    line-height: 1em;
    grid-column: 3/20;
    font-size: 2.5rem;
  }

  .home-works {
    grid-template-columns: repeat(1, 1fr);
    display: grid;
    /* padding: 1rem 1rem 1rem 1.38rem; */
    position: relative;
    z-index: 9;
    margin-top: 0px;
    width: 100vw;
  }

  .marquee span {
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: TradeGothicLTStd-Bold;
    font-size: 6rem;
    letter-spacing: -0.085em;
    /* margin-left: 60px; */
    /* padding: 0 88px; */
    opacity: 1 !important;
    margin-left: 60px;
  }


  /* .hero-section {
      height: 80vh;
  } */

  .hero-top-img {
    margin-bottom: 12vh;
  }

  .hero-contact {
    grid-column: 1/10;
  }

  .hero-top-txt {
    grid-column: 18/29;
    line-height: 1.1rem;
  }

  .hero-scroll {
    grid-column: 20/30;
  }

  .about-txt {
    grid-column: 1;
  }

  .home-projects {
    display: block;
  }



  .do-desc,
  .do-desc2,
  .do-desc3,
  .do-desc4 {
    padding: 0 1rem 4rem 0;
  }


  footer {
    display: block;
    width: 100vw;
    overflow: hidden;
    height: 58vh;
  }

  .footer-top {
    display: block;
    margin-top: 4rem;
  }

  .footer-bottom {
    display: block;
  }

  .footer-top-left {
    width: 80%;
    margin-bottom: 2rem;
  }

  .footer-top-right {
    width: 100%;
    margin-bottom: 2rem;
  }

  .footer-bottom-left {
    text-align: right;
  }

  .footer-bottom-right {
    text-align: right;
    justify-content: flex-end;
  }

  .top-icon {
    margin-right: 0px;
  }


  .do-txt {
    grid-column: 3;
  }

  .slider-item {
    width: 10rem;
  }

  textarea {
    width: 100%;
    min-height: auto;
  }

  .form-inputs {
    display: block;
  }

  .cookie-banner {
    /* display: none; */
    width: 350px;
    position: fixed;
    bottom: 0;
    left: 50%;
    /* transform: translate(-50%, 80%); */
    bottom: 0;
    left: 0;
    width: 100%;
    /* left: 0; */
    padding: 10px;
    background-color: #333;
    color: #fff;
    z-index: 999999;
    text-align: center;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 1em;
    align-content: center;
    max-height: 200px;
    max-width: none;
}
.footer-top {
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 30px;
  bottom: 0;
  /* transform: translateY(-50%); */
  z-index: 999;
}
.get_in_touch img {
  max-width: 100px;
}
}
.language {
  position: fixed;
  
  right: 20px;
  color: red;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
}

.language.hide {
  display: none;
}
.language a{
 
 color: #1e1e1e;
 
}
.dark-mode a {
    color: white;
}
a.active-language {
  color: red;
}
span.separator {
  margin: 0 5px;
}

















.liquid-element {
    position: relative;
    width: 300px;
    height: 150px;
    background-color: #3498db;
    color: #fff;
    text-align: center;
    line-height: 150px;
    font-size: 18px;
    border: 5px solid transparent;
    transition: all 0.3s ease;
}

.liquid-element:hover {
    border-radius: 20px;
    border-image: 
        radial-gradient(circle at 100% 0%, transparent 10%, #3498db 20%) 20%,
        radial-gradient(circle at 0% 100%, transparent 10%, #3498db 20%) 20%, 
        radial-gradient(circle at 100% 100%, transparent 10%, #3498db 20%) 20%, 
        radial-gradient(circle at 0% 0%, transparent 10%, #3498db 20%) 20%;
    border-image-slice: 1;
}

.earth-container {
    position: relative;
    width: 200px;
    height: 200px;
    perspective: 1000px;
}

.earth {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: url('earth.jpg') center/cover;
    animation: rotateEarth 10s linear infinite;
}

.text-trace {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #fff;
    opacity: 0;
    animation: traceText 10s linear infinite;
    white-space: nowrap;
}

@keyframes rotateEarth {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes traceText {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    90% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

}

div#featured-project {
    /* background: red; */
    
    width: 100vw;
    height: 100vh;
    color: white;
    align-items: center;
    /*margin-top: -400px;*/
    background-image: url("webs/frezzkys.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0 2rem;
}
p.subtitle {
    margin-bottom: 1vh;
}
p.subtitle a {
    color: #fc0707;
    font-size: clamp(28px, 4vw, 3.5rem);
    margin-bottom: 2vh;
    border-bottom: 1px dashed #f90e0e70;
    margin-bottom: 2vh;
}
.green-block {
    background: #1e1e1e;
    padding: 20px;
}
.dark-mode p.subtitle a {
    color: #fff;
    border-bottom: 1px dashed #ffffff70;
}

.about-txt.green-block h3 {
    border-bottom: 1px solid #ffffff;
    padding: 5px;
    display: inline;
}





















.accessibility-panel{
  width: 400px;
  height: 100%;
  background: #f9f9f9;
  border-color:#ddd;
  box-shadow:0 0 15px rgba(0,0,0,0.1);
  padding: 1em;
  font-size: 24px;
  color: #555555;
  position: fixed;
  font-family: "Helvetica", Arial, sans-serif;
  top: 0;
  right: -400px;
  transition: all 0.3s ease;

  @keyframes fadein{
    0% { opacity:0; }
    66% { opacity:0; }
    100% { opacity:1; }
  }

  @-webkit-keyframes fadein{
    0% { opacity:0; }
    66% { opacity:0; }
    100% { opacity:1; }
  }
  
  
  &.visible{
    right: 0;
    overflow-y: scroll;    
  }
  
  #toggleAccessPanel{
    position: absolute;
    right: 410px;
    top: 8px;
    width: 48px;
    max-height: 48px;
    padding: 0;
    background: #090091;
    color: #fff;
    font-size: 13px;
    line-height: 0.75;
    text-align: left;
    overflow: hidden;
    border: none;
    border-radius: 3em;
    padding: 12px 5px 6px;
    -webkit-box-shadow: 0 4px 18px 0 rgba(0, 0, 0, .25);
            box-shadow: 0 4px 18px 0 rgba(0, 0, 0, .25);
    -webkit-transition: width 0.75s ease-in-out, box-shadow 0.75s ease-in-out;; /* Safari */
    transition: width 0.75s ease-in-out, box-shadow 0.75s ease-in-out;
      
    .ada-icon{
      padding: 2px 6px;
      line-height: 1;
      float:left;
      position: static;
      display: block;
      
      svg{
        width: 26px;
      }
      path{
        fill: #ffffff;
      }
    }
    
    &:focus, &:hover{
      width: 250px !important;
      -webkit-box-shadow: 0 12px 12px 0 rgba(0, 0, 0, .25) !important;
      box-shadow: 0 12px 12px 0 rgba(0, 0, 0, .25) !important;
      
      .toggleAccessPanelLabelInstruct{
        height: auto;
        width: auto;
        position: static;
        margin: auto;
        -webkit-animation: 1.25s ease 0s normal forwards 1 fadein;
        animation: 1.25s ease 0s normal forwards 1 fadein;
      }
      
    }
    
    .toggleAccessPanelLabelInstruct{
      position: absolute;
      left: -999px;
      width:1px;
      height: 1px;
      top: auto;
      opacity: 0;
      pointer-events: none;
      
      
      .toggleAccessPanelLabel{
        font-weight: 800;
      }

      .toggleAccessPanelInstructions{
        line-height:2;
      }
      
    }
    
  }
  
  h6{
    margin: 0;
  }
}

.button-group{
  font-size: 16px;
  margin-bottom: 1em;
}

.button-group button{
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 1.25em;
  border: 1px solid #555555;
  background: #555555;
  color: #ffffff;
  -webkit-transition: width 0.75s ease-in-out, box-shadow 0.75s ease-in-out;; /* Safari */
    transition: width 0.75s ease-in-out, box-shadow 0.75s ease-in-out;
  
    &:focus, &:hover{
      -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .25) !important;
      box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .25) !important;
}
  
}

.rangeSliders p{
  float: left;
  display: inline-block;
  width: 75px;
  margin: 2px 0 0;
  font-size: 16px;
}

.button{
  display: inline-block;
  padding: 10px 15px;
  color: #000;
  border: 2px solid #000;
  transition: 0.3s all ease;
  font-weight: 700;
  background: transparent;
  text-decoration: none;
  
  &:hover{
    color: #fff;
    background-color: #000;
    border-color: #fff;
  }
  
  &.highlight{
    background: #ffff00;
    padding: 0.5em;
    line-height: 1.5;
  }
}

.hidden{
  visibility: hidden;
  opacity: 0;
  height: 0;
  width: 0;
  display: inline;
  font-size: 0;
}

$track-color: #f9f9f9 !default;
$thumb-color: #555555 !default;

$thumb-radius: 12px !default;
$thumb-height: 24px !default;
$thumb-width: 24px !default;
$thumb-shadow-size: 4px !default;
$thumb-shadow-blur: 4px !default;
$thumb-shadow-color: rgba(0, 0, 0, .2) !default;
$thumb-border-width: 2px !default;
$thumb-border-color: #f9f9f9 !default;

$track-width: 80% !default;
$track-height: 8px !default;
$track-shadow-size: 1px !default;
$track-shadow-blur: 1px !default;
$track-shadow-color: rgba(0, 0, 0, .2) !default;
$track-border-width: 2px !default;
$track-border-color: #555555 !default;

$track-radius: 5px !default;
$contrast: 5% !default;

@mixin shadow($shadow-size, $shadow-blur, $shadow-color) {
  box-shadow: $shadow-size $shadow-size $shadow-blur $shadow-color, 0 0 $shadow-size lighten($shadow-color, 5%);
}

@mixin track {
  cursor: pointer;
  height: $track-height;
  transition: all .2s ease;
  width: $track-width;
}

@mixin thumb {
  @include shadow($thumb-shadow-size, $thumb-shadow-blur, $thumb-shadow-color);
  background: $thumb-color;
  border: $thumb-border-width solid $thumb-border-color;
  border-radius: $thumb-radius;
  cursor: pointer;
  height: $thumb-height;
  width: $thumb-width;
}

[type='range'] {
  -webkit-appearance: none;
  margin: $thumb-height / 2 0;
  width: $track-width;

  &:focus {

    &::-webkit-slider-runnable-track {
      background: lighten($track-color, $contrast);
    }

    &::-ms-fill-lower {
      background: $track-color;
    }

    &::-ms-fill-upper {
      background: lighten($track-color, $contrast);
    }
  }

  &::-webkit-slider-runnable-track {
    @include track;
    @include shadow($track-shadow-size, $track-shadow-blur, $track-shadow-color);
    background: $track-color;
    border: $track-border-width solid $track-border-color;
    border-radius: $track-radius;
  }

  &::-webkit-slider-thumb {
    @include thumb;
    -webkit-appearance: none;
    margin-top: ((-$track-border-width * 2 + $track-height) / 2) - ($thumb-height / 2);
  }

  &::-moz-range-track {
    @include track;
    @include shadow($track-shadow-size, $track-shadow-blur, $track-shadow-color);
    background: $track-color;
    border: $track-border-width solid $track-border-color;
    border-radius: $track-radius;
  }

  &::-moz-range-thumb {
    @include thumb;
  }

  &::-ms-track {
    @include track;
    background: transparent;
    border-color: transparent;
    border-width: ($thumb-height / 2) 0;
    color: transparent;
  }

  &::-ms-fill-lower {
    @include shadow($track-shadow-size, $track-shadow-blur, $track-shadow-color);
    background: darken($track-color, $contrast);
    border: $track-border-width solid $track-border-color;
    border-radius: $track-radius * 2;
  }

  &::-ms-fill-upper {
    @include shadow($track-shadow-size, $track-shadow-blur, $track-shadow-color);
    background: $track-color;
    border: $track-border-width solid $track-border-color;
    border-radius: $track-radius * 2;
  }

  &::-ms-thumb {
    @include thumb;
    margin-top: 0;
  }
}


 .left-ray, .right-ray {
      animation: buzz 2s infinite;
      transform-origin: center;
      transform-box: fill-box;
    }

 @keyframes buzz {
      1% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  2% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  3% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  4% {
    transform: translate(2px, 1px) rotate(-1deg);
  }
  5% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  6% {
    transform: translate(2px, 2px) rotate(0deg);
  }
  7% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  9% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  10% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  11% {
    transform: translate(2px, 1px) rotate(-1deg);
  }
  12% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  13% {
    transform: translate(2px, 2px) rotate(0deg);
  }
  14% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
  15% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  16% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  17% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  18% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  19% {
    transform: translate(2px, 1px) rotate(-1deg);
  }
  20% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  21% {
    transform: translate(2px, 2px) rotate(0deg);
  }
  22% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  23% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  24% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  25% {
    transform: translate(2px, 1px) rotate(-1deg);
  }
  26% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  27% {
    transform: translate(0px, 0px) rotate(0deg);
  }
    }

   





h1 {
    margin: 0;
    padding: 0;
    color: transparent;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 6px;
    display: flex;
    justify-content: center;
}

h1:before {
    content: attr(data-heading);
    position: absolute;
    background: -webkit-linear-gradient(#ffffff 0%, #ffffff 54%, #1e1e1e 54%, #1e1e1e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: splitLeft 3s 1 forwards; /* Set iteration count to 1 */
}

h1:after {
    content: attr(data-heading);
    position: absolute;
    color: #1e1e1e;
    top: 0;
    
    max-height: 54%;
    overflow: hidden;
    transform: translateX(50%);
    animation: splitRight 3s 1 forwards; /* Set iteration count to 1 */
}
body.dark-mode h1:before {
    content: attr(data-heading);
    position: absolute;
    background: -webkit-linear-gradient(#ffffff 0%, #ffffff 54%, #ffffff 54%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: splitLeft 3s 1 forwards;
}

body.dark-mode h1:after {
    content: attr(data-heading);
    position: absolute;
    color: #ffffff;
    top: 0;
    max-height: 54%;
    overflow: hidden;
    transform: translateX(50%);
    animation: splitRight 3s 1 forwards;
}

@keyframes splitRight {
  0% {
    transform: translate(0);
  }
  15% {
    transform: translate(50%, 0);
  }
  30% {
    transform: translate(50%, 50%);
  }
  45% {
    transform: translate(-50%, 50%);
  }
  60% {
    transform: translate(-50%, 0);
  }
  75% {
    transform: translate(0);
  }
  100% {
    transform: translate(0);
  }
}

@keyframes splitLeft {
  0% {
    transform: translate(0);
  }
  15% {
    transform: translate(-50%, 0);
  }
  30% {
    transform: translate(-50%, -50%);
  }
  45% {
    transform: translate(50%, -50%);
  }
  60% {
    transform: translate(50%, 0);
  }
  75% {
    transform: translate(0);
  }
  100% {
    transform: translate(0);
  }
}



.red{
  background-color: red;
}

body.dark-mode .red{
  
background-color: #1e1e1e;

}



.modal {
      display: none; /* Hidden by default */
      position: fixed; /* Stay in place */
      z-index: 9999999999999; /* Sit on top */
      left: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 100%; /* Full height */
      overflow: auto; /* Enable scroll if needed */
      background-color: rgba(0,0,0,0.7); /* Black with opacity */
      animation: fadeIn 0.5s; /* Fade in animation */
    }

    /* Styles for the modal content */
.modal-content {
    background-color: #fefefe;
    margin: 10vh auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    animation: slideIn 0.5s;
    /* margin: 0 auto; */
    margin-left: 10%;
    height: 80vh;
}
    /* Keyframe animations */
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @keyframes slideIn {
      from { transform: translateY(-50px); }
      to { transform: translateY(0); }
    }

    /* Close button styles */
    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
    }

    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
    }

   .form {
    height: 100%;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr max-content;
    grid-auto-columns: 1fr;
    position: relative
}
.discuss__content {
    height: 100%;
    grid-row-gap: 3rem;
    flex-direction: column;
    justify-content: flex-start;
    display: flex;
}
input {
    line-height: normal;
}
.discuss__fields {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    flex-direction: column;
    flex: 1;
    display: flex;
}
.discuss__field.modulo-1-derecha {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    display: flex;
    flex-wrap: wrap;
}
.discuss__field.is-half {
    width: auto;
    min-width: 40%;
    flex: 1;
}

.form__label {
    z-index: 2;
    color: rgba(2, 2, 30, .5);
    margin-bottom: 0;
    margin-left: -.25rem;
    padding-left: .25rem;
    padding-right: .25rem;
    font-weight: 400;
    line-height: 1;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
    position: absolute;
    top: -1rem;
    bottom: auto;
    left: 0%;
    right: auto;
    transform: translateY(2.2rem);
    display: none;
}
.input-wrap {
    z-index: 1;
    width: 100%;
    position: relative;
    transform: translate(0);
}
.w-input, .w-select {
    width: 100%;
    height: 38px;
    color: #333;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857;
    display: block;
}.input {
    height: 3.5rem;
    color: var(--black);
    background-color: transparent;
    border: 0 solid #32344d;
    border-bottom: .0625rem solid rgba(2, 2, 30, .2);
    border-radius: 0;
    margin-bottom: 0;
    padding: 0;
    font-size: 1rem;
    transition: all .2s;
    position: relative;
}
textarea {
  height: 3.5rem;
    color: var(--black);
    background-color: transparent;
    border: 0 solid #32344d;
    border-bottom: 0.0625rem solid rgba(2, 2, 30, .2);
    border-radius: 0;
    margin-bottom: 0;
    padding: 0;
    font-size: 1rem;
    transition: all .2s;
    position: relative;
    width: 100%
}

textarea:focus,
input:focus {
  outline: none;
  border-bottom: 1px solid var(--white);
}

.form__label-invalid.anim {
    opacity: 0;
    transform: translateY(-0.5rem);
}
.form__label-invalid {
    opacity: 1;
    color: #ff3d2e;
    font-size: .875rem;
    font-weight: 300;
    line-height: 1.4;
    transition: all .4s cubic-bezier(.215, .61, .355, 1);
    position: absolute;
    top: auto;
    bottom: -1.5rem;
    left: 0%;
    right: auto;
    transform: translate(0);
}
.input-wrap.is-submit {
    justify-content: space-between;
    align-items: center;
    display: flex;
}
.input-wrap {
    z-index: 1;
    width: 100%;
    position: relative;
    transform: translate(0);
}
.form-submit.is-absolute {
    z-index: 5;
    width: 100%;
    height: 100%;
    opacity: 0;
    padding: 0;
    display: block;
    position: absolute;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
}
.button__text.is-absolute {
    position: absolute;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
    transform: translateY(150%);
    display: none;
}
.button__text {
    flex: none;
    display: block;
}
.contact-form__policy {
    max-width: 17rem;
    color: rgba(2, 2, 30, .7);
    font-size: .875rem;
}

.form-submit-wrap {
    z-index: 5;
    flex: none;
    transition: all .4s;
    position: relative;
    transform: translate(0);
}
.button__text {
    color: red;
    color: var(--black);
}

span.modal-close.close {
    position: absolute !important;
    font-size: 52px !important;
    top: 0;
}
button {
    border: 0;
    font-size: 100%;
    color: red;
}
a.text-color-blue {
    color: #1f1f1f;
}
button {
    border: 0;
    font-size: 100%;
    color: red;
}





























section#mained {
  view-timeline: --main;
}

section#scrolling {
  /* Creating a snapping rule on the section element */
  scroll-snap-align: start;
  scroll-snap-stop: always;

  /* Attach the timeline to the section element*/
  view-timeline: --section;

  /* Set each section to the full dynamic height of the viewport */
  height: 100dvh;
}

.content {
  /* Fix the content, so it doesn't scroll with the section */
  overflow: hidden;
  position: fixed;
  inset: 0;

  /* Animate the content based on the section scrolling */
  --contrast: 4;
  --blur: 0.5rem;

  animation: blink ease-in-out both;
  animation-timeline: --section;
}

@keyframes blink {
  0%,
  100% {
    filter: blur(var(--blur)) contrast(var(--contrast));
    opacity: 0;
    visibility: hidden;
  }

  50% {
    filter: blur(0) contrast(1);
    opacity: 1;
    visibility: visible;
  }
}

/* 
  This is a bit of a hack to get the indicator to work because I'm lazy.
  We're translating the dot from the top to the bottom of its parent,
  using the browser scroll position as the animation timeline.
  It's not really matched up to the scrolling sections, only appears to be.
*/
.indicator::before {
  animation: indicate linear both;
  animation-timeline: --main;
  animation-range: contain;
}

/* And we're manually setting the colors because see: lazy comment above */
@keyframes indicate {
  0% {
    --color-indicator: var(--color-primary);
    transform: translateY(0);
  }

  25% {
    --color-indicator: var(--color-yellow);
  }

  50% {
    --color-indicator: var(--color-secondary);
  }

  75% {
    --color-indicator: var(--color-red);
  }

  100% {
    --color-indicator: var(--color-purple);
    transform: translateY(
      calc(var(--indicator-total-height) - var(--indicator-size))
    );
  }
}

/* Remove gradient indicator on scroll-to-end (visible on small screens */

.site-header label:last-of-type {
  view-timeline: --site-header inline;
}

.site-header::after {
  animation: fade-scroll ease-in-out both;
  animation-timeline: --site-header;
  animation-range: entry-crossing;
}

@keyframes fade-scroll {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* Change animation based on radio checked */
body:has([value="horizontal-scroll"]:checked) .content {
  /* 
    The only reason we're repeat these two properties instead of simply 
    setting `animation-name` is so the polyfill will pick them up 
    They're flaky though and tend to get stuck. You might need to
    refresh the page and select an option before scrolling
  */
  animation: horizontal-scroll ease-in-out both;
  animation-timeline: --section;
}

body:has([value="backwards-scroll"]:checked) .content {
  animation: backwards-scroll ease-in-out both;
  animation-timeline: --section;
}

body:has([value="zoom-scroll"]:checked) .content {
  animation: zoom-scroll ease-in-out both;
  animation-timeline: --section;
}

/* Alternative animations */
/* Very cool, try it */
@keyframes horizontal-scroll {
  0% {
    transform: translate3d(100%, 0%, 0);
  }

  50% {
    transform: none;
  }

  100% {
    transform: translate3d(-100%, 0%, 0);
  }
}

/* Befuddling, try it */
@keyframes backwards-scroll {
  0% {
    transform: translate3d(0%, -100%, 0);
  }

  50% {
    transform: none;
  }

  100% {
    transform: translate3d(0%, 100%, 0);
  }
}

/* WIP */
@keyframes zoom-scroll {
  0% {
    filter: blur(5rem);
    transform: scale(0);
    opacity: 0;
    visibility: hidden;
  }

  50% {
    filter: blur(0);
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  100% {
    filter: blur(3rem);
    transform: scale(1.5);
    opacity: 0;
    visibility: hidden;
  }
}