html,
body {
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
* {
  margin: 0;
  padding: 0;
  outline: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  width: 0.5rem;
}
::-webkit-scrollbar-thumb {
  background-color: #D9AFD9;
}
::selection {
  background-color: #97D9E1;
  color: #D9AFD9;
}
.container {
  margin: 0 auto;
  max-width: 980px;
}
h1 {
  font-size: 1.2rem;
  font-style: italic;
  font-family: 'Besley', serif;
  color: #000;
  padding-top: 20px;
}
h1:hover {
  color:#97D9E1 !important;
}
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: block;
  transition: top 0.3s;
  z-index: 999;
}
.flex-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-header-left {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.flex-header-right {
  display: flex;
  justify-content: right;
  align-items: center;
  width: 100%;
}
.main-carroussel {
  width: 100%;
  height: 100%;
}
.we-are {
  width: 100%;
}
.we-are .text-about {
  font-family: "DM Serif Text", serif;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: #000;
  padding: 100px 0;
  margin: 0 auto;
  text-align: center;
}
a {
  text-decoration: none;
}
.img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row;
  mix-blend-mode: multiply;
}
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px 15px 10px;
}
.title {
  font-family: "DM Serif Text", serif;
  width: 100%;
  font-size: 50px;
  line-height: 40px;
  font-weight: bolder;
  color: #000;
  padding-bottom: 20px;
}
.text {
  font-family: "Roboto Flex", sans-serif;
  width: 80%;
  height: 100%;
  font-size: 1.2rem;
  color: #000;
  padding-bottom: 50px;
}
.carousel {
  width: 100%;
  height: auto;
  padding-top: 20px;
  overflow: hidden;
}
.swiper-container,
.swiper-clients {
  width: 100%;
  height: 100%;
}
.swiper-clients .swiper-slide {
  height: 100%;
  cursor: grab !important;
}
.swiper-clients .swiper-slide img {
  width: 100%;
}
.form-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-flow: row;
}
form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
  width: 100%;
}
.form-texts {
  width: 100%;
}
form input, form textarea, form select {
  width: 100%;
  padding: 12px;
  border: 1px solid black;
  resize: vertical;
  font-family: 'Rubik', sans-serif;
  background: #fff;
  color: #000;
}
form label {
  padding: 10px 0;
  display: inline-block;
  width: 100%;
  font-family: 'Rubik', sans-serif;
}
form button[type=submit] {
  background-color: gray;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
}
form button[type=submit]:hover {
  background: -webkit-linear-gradient(0deg, #D9AFD9 0%, #97D9E1 100%);
  font-style: italic;
}
footer {
  font-size: 14px;
  font-family: "DM Serif Text", serif;
  padding-top: 100px;
}
.copyright {
  font-size: 10px;
  color: gray;
  padding: 80px 15px 20px;
  text-align: center;
}
.art {
  padding: 0 15px;
}
.wrapper-img {
  height: 800px;
  width: 100%;
  margin-bottom: 150px;
  overflow: hidden;
}
#canvas-art canvas {
	position: absolute;
	display: block;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
	left: 0;
}
#move-glitch {
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  margin-top: 50px;
}
.click-me {
  display: none;
  margin-left: 20px;
  position: absolute;
  color: #fff;
  font-family: "DM Serif Text", serif;
}
#move-glitch:hover + div.click-me {
  display: block;
}
.ascii-art {
  padding-top: 100px;
  color: #D9AFD9;
}
@media (max-width: 556px) {
  header {
    padding: 0 20px 0;
  }
  .footer-wrapper {
    flex-flow: column;
    justify-content: space-between;
    width: 100%;
  }
  .infos {
    width: 100%;
    padding-bottom: 30px;
  }
  .infos:last-child {
    padding-bottom: 0;
  }
  .about-hero .title-about {
    top: -70px;
  }
  .about-hero .text-about {
    bottom: -80px;
  }
  .swiper-clients .swiper-slide img {
    width: 100%;
    object-fit: cover;
  }
  .text {
    width: 100%;
  }
  .we-are .text-about {
    font-size: 2rem;
    padding: 100px 15px;
    line-height: 30px;
  }
  .form-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-flow: column;
  }
  .wrapper-img {
    height: 600px;
    width: 100%;
    margin-bottom: 120px;
  }
  .flex-header {
    align-items: baseline;
  }
  .flex-header-right {
    align-items: flex-end;
    flex-flow: column;
  }
  .flex-header-right button {
    padding-bottom: 10px;
  }
  #move-glitch {
    display: none;
  }
  .ascii-art {
    font-size: 4px;
  }
}

/* DARK MODE */
body {
  --text-color: #222;
  --bkg-color: #fff;
}
body.dark-theme {
  --text-color: #eee;
  --bkg-color: #070911;
}
@media (prefers-color-scheme: dark) {
  body {
    --text-color: #eee;
    --bkg-color: #161617;
  }
  body.light-theme {
    --text-color: #222;
    --bkg-color: #fff;
  }
}
body {
  background: var(--bkg-color);
}
h1,
p, 
a,
form label {
  color: var(--text-color) !important;
}
.btn-toggle {
  background: transparent;
  border: unset;
  cursor: pointer;
}
.material-icons.md-light { 
  color: rgba(255, 255, 255, 1); 
}
.material-icons.md-dark { 
  color: rgba(0, 0, 0, 0.7); 
}
.client-about {
  font-style: italic;
  font-size: 12px;
}

.carousel-home {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding: 0;
}

.swiper-home {
  width: 100%;
  height: 100vh;
  cursor: grab !important;
}

.swiper-home .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-home .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-home .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swiper-home .swiper-slide {
  position: relative;
}

.swiper-home .slide-text {
  position: absolute;
  left: 5%;
  max-width: 40%;
  text-align: left;
}

.swiper-home .slide-text p {
  margin: 0;
  font-weight: bolder;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 8vw, 8rem);
  text-transform: uppercase;
  color: #38f697 !important;
  line-height: clamp(0.4em, 8vw, 105px);
}
.masonry-grid {
  -webkit-perspective: 1;
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
  width: 100%;
  height: auto;
  position: relative;
}
.masonry-item {
  margin: 0 0 15px 0;
  display: grid;
  grid-template-rows: 1fr auto;
  -moz-column-break-inside: avoid;
  -moz-page-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
  -webkit-backface-visibility: hidden;
  position: relative;
  transform: translateZ(0);
}
.masonry-item img {
  width: 100%;
  height: auto;
  position: relative;
}
@media (max-width: 1100px) {
  .masonry-grid {
    column-count: 3;
  }
}
@media (max-width: 900px) {
  .masonry-grid {
    column-count: 2;
  }
}
@media (max-width: 576px) {
  .masonry-grid {
    column-count: 1;
  }
}

.form-wrapper,
.products,
.clients {
  padding: 150px 15px 50px;
}
