:root {
  --year: © 2025;
  --smradius: 1rem;
  --hcolor: #883939;/*#883939*/
  --hcolorvalue: 136, 57, 57;
  --graddark: #fcbbbb;/*#fcbbbb*/
  --gradlight: #ffdee9;/*#ffdee9*/
}

.loader {
  width: 65px;
  aspect-ratio: 1;
  position: relative;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  border-radius: 50px;
  box-shadow: 0 0 0 3px inset #fff;
  animation: l4 2.5s infinite;
}

.loader:after {
  animation-delay: -1.25s;
}

@keyframes l4 {
  0% {
    inset: 0 35px 35px 0;
  }

  12.5% {
    inset: 0 35px 0 0;
  }

  25% {
    inset: 35px 35px 0 0;
  }

  37.5% {
    inset: 35px 0 0 0;
  }

  50% {
    inset: 35px 0 0 35px;
  }

  62.5% {
    inset: 0 0 0 35px;
  }

  75% {
    inset: 0 0 35px 35px;
  }

  87.5% {
    inset: 0 0 35px 0;
  }

  100% {
    inset: 0 35px 35px 0;
  }
}

.loaderbox {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: black;
}

html {
  font-family: "Poppins";
  font-size: 1.25rem;
  scroll-behavior: smooth
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-weight: 400;
  font-family: "Poppins";
  font-style: normal;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.3;
  z-index: -2;
  background: linear-gradient(to top right, var(--gradlight) 0.00%, var(--graddark) 80.00%);
}

.bodycontainer {
  width: 100vw;
  overflow: hidden;
  height: auto;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
}

body::before {
  position: fixed;
  content: '';
  height: 100vh !important;
  width: 100%;
  mix-blend-mode: overlay;
  opacity: 1;
  z-index: -1;
  background: url("0BRAND/noise.webp");
  background-size: 300px
}

h1 {
  margin: 0;
  font-weight: 700;
  line-height: 1;
  color: var(--hcolor);
}

h2 {
  margin: 0;
  font-size: clamp(1rem, 5vw, 1.5rem);
  font-weight: 600;
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.25em;
  font-weight: 600;
  line-height: 1;
}

a {
  margin: 0;
  text-decoration: none;
  color: var(--hcolor)
}

p {
  margin-top: 0;
  margin-bottom: 1em;
  color: var(--hcolor)
}

::selection {
  background: var(--hcolor);
  color: var(--graddark)
}

/*Buttons*/
.button {
  padding: 0.25rem 0.5rem;
  border-radius: .5em;
  font-size: .8rem;
  font-family: "Poppins";
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0rem;
  color: var(--gradlight);
  background: var(--hcolor);
}

.button:hover,
.button:focus,
.button:active {
  box-shadow: 5px 5px 10px rgba(var(--hcolorvalue), 0.2), 5px 8px 30px rgba(var(--hcolorvalue), 0.36);
  transition: all 0.3s ease-in-out
}

.list {
  text-decoration: underline;
}

/*Header*/
.header {
  display: flex;
  flex-direction: row;
  z-index: 999;
  overflow: hidden;
  width: 100%;
  max-width: 1800px;
  margin-top: 2.5em;
  font-weight: 700;
  color: var(--hcolor);
}

.company {
  z-index: 98;
  margin-left: 2em;
  font-size: 2em;
  position: fixed;
}

.nav {
  margin-top: .25em;
  width: 95%;
  display: flex;
  align-self: flex-end;
  justify-content: flex-end;
  flex-direction: row;
}

.nav a {
  margin-left:1em;
  margin-bottom:2em;
  padding: 0.25rem 0.5rem;
  border-radius: .5em;
  font-size: .8rem;
  font-family: "Poppins";
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0rem;
  color: var(--gradlight);
  background: var(--hcolor);
}

.nav a:hover,
.nav a:focus,
.nav a:active {
  box-shadow: 5px 5px 10px rgba(var(--hcolorvalue), 0.2), 5px 8px 30px rgba(var(--hcolorvalue), 0.36);
  transition: all 0.3s ease-in-out
}

.footer {
  z-index: -1;
  display: flex;
  flex-direction: row;
  position: fixed;
  bottom: 2em;
  font-size: .8em;
  color: var(--hcolor);
}

.year {
  margin-right: .5em
}

/*Title*/

.ohmai-title{
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 600;
  color: var(--hcolor);
  margin-top: 1em;
  padding-bottom: .5rem;
  width: 100%;
}

.titleblock {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.titletext {
  width: 85%;
  max-width: 1100px;
  margin-top: 3vh;
  margin-left: 5em;
  position: fixed;
  top: 30%;
}

.title-title {
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  padding-bottom: 1rem;
  width: 30%;
}

.title-body {
  margin-top:2em;
  font-size: 1em;
  color: var(--ccolor);
  width: 30%;
}


/*Scroll*/
.scrolltext {
  height: 100%;
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-left: 4rem;
  margin-right: 3rem;
  margin-bottom: 5rem;
  flex-direction: row;
  justify-content: right;
}

.scroll-title {
  font-size: clamp(.9rem, 1vw, 2rem);
  font-weight: 600;
  color: var(--hcolor);
  margin-top: 3em;
  padding-bottom: 2rem;
  width: 100%;
}

.scroll-body {
  display: flex;
  flex-direction: row;
  font-size: 1em;
  width: 100%;
  margin-bottom: 1em;
}

.scroll-list {
  margin-top: 2em;
  width: calc(95%/3);
  color: var(--hcolor);
  display: flex;
  flex-direction: column;
  margin-bottom: 3em;
}

.scroll-list h3 {
  margin-bottom: 1em;
}

ul {
  font-size: .9em;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/*Portfolio*/

.portfolio {
  width: 100%;
  display: flex;
  z-index: 1;
  max-width: 1600px;
  flex-direction: row;
  justify-content: end;
}

/*Gallery*/
.title {
  margin-top: .25em;
  width: 100%;
  display: flex;
}

.gallery {
  width: 96%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  margin-right: 3rem;
  margin-bottom: 7rem;
  flex-direction: row;
  justify-content: right;
}

.gallery-title {
  font-weight: 600;
  margin-right: 2em;
  margin-top: 2em;
  margin-bottom: -1em;
  text-align: right;
  color: var(--hcolor);
  width: 90%;
  display: flex;
  flex-direction: column;
}

.gallery-card {
  margin: 1.2em;
  flex-direction: column;
  border-radius: var(--smradius);
  width:40vh;
}

.gallery-card-full {
  margin: 1.2em;
  flex-direction: column;
  border-radius: var(--smradius);
  width: 84vh;
}

.gallery-image-container:hover+.gallery-card-container {
  margin-top: 0em;
}

.gallery-image-container-full:hover+.gallery-card-container {
  margin-top: 0em;
}

.gallery-image-container {
  aspect-ratio: 1 / 1;
  display: flex;
  position: relative;
  max-width: 600px;
  box-shadow: 0px 10px 10px rgba(var(--hcolorvalue), 0.24);
  max-height: 600px;
  border-radius: var(--smradius);
  transition: all 0.3s ease-in-out
}

.gallery-image-container-full {
  aspect-ratio: 2 / 1;
  display: flex;
  position: relative;
  box-shadow: 0px 10px 10px rgba(var(--hcolorvalue), 0.24);
  max-height: 600px;
  border-radius: var(--smradius);
  transition: all 0.3s ease-in-out
}

.gallery-image-container:hover {
  margin-top: 0em;
  box-shadow: 10px 20px 30px rgba(var(--hcolorvalue), 0.5), 20px 30px 50px rgba(var(--hcolorvalue), 0.36);
}

.gallery-image-container-full:hover {
  margin-top: 0em;
  box-shadow: 10px 20px 30px rgba(var(--hcolorvalue), 0.5), 20px 30px 50px rgba(var(--hcolorvalue), 0.36);
}

.gallery-card-container {
  width: 100%;
  padding: .5rem;
  margin-top: -5em;
  margin-bottom: 0;
  transition: all 0.3s ease-in-out
}

.gallery-card-image {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  border-radius: var(--smradius);
}

/*Lightbox*/

.fslightbox-source {
  border-radius: var(--smradius);
}

.gallery-video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  border-radius: var(--smradius);
}

.gallery-card-title {
  
  font-size: 1.25em;
  margin-top: 1em;
  align-self: flex-start;
  text-align: left;
  color: var(--hcolor);
  line-height: 1em;
}

.gallery-card-text {
  width: 100%;
  align-self: flex-start;
  text-align: left;
  color: var(--hcolor);
  margin-bottom: 0;
}

@media only screen and (max-width: 1300px) {
  .gallery-card-full {
    width: 40vh;
  }
  .gallery-image-container-full {
    aspect-ratio: 1 / 1;
    max-height: 600px;
  }
}

@media only screen and (max-width: 930px) {
  html {
    font-size: 1.1rem;
  }

  .header {
    width: 100%;
  }

  .header:after {
    position: fixed;
    height: 12vw;
    background: var(--graddark);
    left: 0;
    top: 0;
  }

  .nav a {
    margin-right: .5em;
  }

  .company {
    font-size: 1.75em;
    margin-left: 1em;
    left: 0em;
    top: 1.25em;
  }

  .titleblock {
    width: 85%;
  }

  .titletext {
    width: 95%;
    position: relative;
    margin-left: 1.5em;
    margin-top: 8em;
    margin-bottom: 8em;
  }

  .portfolio {
    flex-direction: column;
  }

  .title-title {
    width: 100%;
  }

  .title-body {
    width: 100%;
    line-height: 1.25em;
  }

  .gallery {
    margin-left: 0;
    margin-top: 0;
    justify-content: center;
  }

  .gallery-title {
    margin-left: 1em;
  }

  .gallery-card-container {
    margin-top: 0em;
  }

  .gallery-card {
    width: 90%
  }

  .scrolltext {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-left: 2rem;
    margin-right: 3rem;
    margin-bottom: 5rem;
  }

  .scroll-body {
    display: flex;
    flex-direction: row;
    font-size: 1em;
    width: 100%;
    margin-bottom: 1em;
  }

  .scroll-list {
    margin-top: 2em;
    width: 100%;
    color: var(--hcolor);
    display: flex;
    flex-direction: column;
  }

}