:root{
  /* --mainColor:#f8f8f8;
  --secondryColor:rgb(21, 21, 21); */
  --mainColor: #151515;
  --secondryColor: #f8f8f8;
  --secondryborderColor: 248,248,248;
  --mainborderColor: 21,21,21;
  --opacity:0.1;
  --opacity3:0.3;
}



/* loading overlay */
#loadingoverlay{
  position: fixed;
  top: 0;
  left: 0;
  transform-origin: center;
  width: 100vw;
  height: 100vh;
  background-color: var(--secondryColor);
  z-index: 999999;
  box-shadow: 0 0 100px 145px var(--secondryColor);
  display: flex;
  justify-content: center;
  align-items: center;
  .shape{
    width: fit-content;
    display: flex;
    gap: 40px;
    .svgloader{
      fill: none;
      stroke: var(--mainColor);
      stroke-width: 2px;
      width: 70px;
      overflow: visible;
    }
  }
}
/* hero */
.hero{
  background-color: var(--mainColor);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.herotitle{
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  margin-top: 28px;
}
.stxt{
  font-size: 8.5rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  position: relative;
  color: var(--secondryColor);
  br{
    display: none;
  }
}
.hero .stxt svg{
  width: 119px;
  position: relative;
  top: 0;
  right: 11px;
  z-index: 100;
  overflow: hidden;
  margin-top: 10px;
}
.hero .stxt .h1hide{
  display: inline-block;
  overflow: hidden;
  position: relative;
  height: 127px;
}
.hero .stxt.withline{
  position: relative;
}
.hero .stxt.withline .h1hide{
  transform: skewX(-12deg);
  font-weight: 400;
}
.hero .stxt.withline .lineunder{
  position: absolute;
  bottom: 20px;
  left: 19%;
  width: 0%;
  height: 1px;
  background-color: var(--secondryColor);
}
.hero .stxt .svgrot1{
  margin-left: -20px;
  margin-right: -45px;
}
.hero .stxt .svgrot2{
  margin-left: 13px;
  margin-right: -10px;
}
.hero .stxt .svgrot3{
  margin-left: 13px;
  margin-right: -6px;
}
.p1,.p2,.p4,.p5,.p7,.p8{
  visibility: hidden;
}
.subtitle{
  color: var(--secondryColor);
  text-align: center;
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: 200;
  letter-spacing: 2px;
  overflow: hidden;
  br{
    display: none;
  }
}
.hero .button{
  margin-top: 20px;
}
@media (max-width: 1400px) {
  .hero {
    .stxt{
      font-size: 6rem;
      height: 100px;
      &.withline{
        .lineunder{
          left: 20%;
          bottom: 7px;
        }
      }
      .h1hide{
        height: 93px;
      }
      svg{
        width: 83px;
        top: -4px;
      }
      .svgrot1{
        margin-left: -7px;
        margin-right: -32px;
      }
      .svgrot2{
        margin-left: 15px;
        margin-right: -7px;
      }
      .svgrot3{
        margin-left: 17px;
        margin-right: -5px;
      }
    }
    .subtitle{
      font-size: .9rem;
      margin-top: 20px;
    }
  }
}
@media (max-width: 1000px) {
  .hero{
    .stxt{
      font-size: 5rem;
      height: 82px;
      .h1hide{
        height: 78px;
      }
      svg{
        width: 70px;
      }
      .svgrot1{
        margin-left: -6px;
        margin-right: -31px;
      }
      .svgrot2{
        margin-left: 12px;
        margin-right: -9px;
      }
      .svgrot3{
        margin-left: 13px;
        margin-right: -7px;
      }
    }
  }
}
@media (max-width: 800px) {
  .hero{
    .herotitle{
      .title{
        .stxt{
          &:first-child{
            .h1hide{
              margin-bottom: -20px;
            }
          }
          &:nth-child(2){
            height: calc(82px * 2);
            .h1hide{
              &:first-child{
                margin-bottom: -16px;
              }
            }
          }
          &:nth-child(3){
            .h1hide{
              &:first-child{
                margin-top: 5px;
              }
            }
          }
          &.withline{
            .lineunder{
              left: 10%;
              bottom: 0px;
            }
          }
        }
      }
    }
    .stxt{
      .svgrot1{
        margin-left: -8px;
        margin-right: -31px;
        top: 14px;
      }
      .svgrot2{
        margin-left: 10px;
        margin-right: -11px;
        top: 15px;
      }
      .svgrot3{
        margin-left: 12px;
        margin-right: 0px;
        top: 11px;
      }
    }
  }
}
@media (max-width: 600px) {
  .hero{
    .stxt{
      position: relative;
      font-size: 3rem;
      max-width: 100%;
      height: 53px;
      /* outline: 1px dashed rgba(0, 119, 255, 0.626); */
      &:nth-child(2){
        height: calc(53px * 2) !important;
        br{
          display: inline-block;
        }
        top: -4px;
        .h1hide{
          &:last-child{
            top: -6px;
          }
        }
      }
      &:nth-child(3){
        .h1hide{
          top: -3px;
          margin-top: 0 !important;
        }
      }
      .h1hide{
        height: fit-content;
        margin-bottom: 0 !important;
        /* outline: 1px dashed rgba(255, 0, 0, 0.626); */
      }
      svg{
        width: 44px;
      }
      .svgrot1{
        margin-left: 2px;
        margin-right: -21px;
        top: -1px;
      }
      .svgrot2{
        margin-left: 13px;
        margin-right: -9px;
        top: -3px;
      }
      .svgrot3{
        margin-left: 14px;
        margin-right: 0px;
        top: -1px;
      }
      &.withline{
        .lineunder{
          display: none;
        }
      }
    }
    .subtitle{
      line-height: 1.4;
      font-size: 1.2rem;
      margin-top: 100px;
      margin-bottom: 10px;
      br{
        display: inline-block;
      }
    }
    .button{
      height: 35px;
      .hidcont{
        .mw,.cw{
          font-size: 1rem;
        }
      }
    }
  }
}
/* work section */

.work{
  background-color: var(--mainColor);
  margin-top: -1px;
  &.panel{
    height: fit-content !important;
    padding-bottom: 0;
    min-height: 0 !important;
  }
  .dashedcont{
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 97vw;
    height: 3px;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--mainColor);
  }
  .dashedline{
    opacity: 0.15;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    height: 1px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 98%;
    background-image: repeating-linear-gradient(
      to right,
      var(--secondryColor) 0,
      var(--secondryColor) 10px,
      transparent 10px,
      transparent 30px
    );
  }
  .workhead{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    margin-top: 15px;
    .worktitle{
      font-size: 5.5rem;
      font-weight: 700;
      margin-top: 10px;
      color: var(--secondryColor);
      overflow: hidden;
    }
    .svglinkhandle{
      min-width: 50px;
      display: flex;
      margin-left: 20px;
      margin-top: 7px;
      width: 63px;
      height: 63px;
      border: 1px solid var(--secondryColor);
      justify-content: center;
      align-items: center;
      position: relative;
      cursor: pointer; 
      .wroksvghide{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 70%;
        height: 70%;
        overflow: hidden;
        svg{
          position: absolute;
          rotate: -45deg;
          max-width: 100%;
          width: 100%;
          margin-top: 1px;
          polygon{
            fill: var(--secondryColor);
          }
        }
        .svg2{
          bottom: -48px;
          left: -51px;
        }
      }
    }
  }
  .workcards{
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    margin-top: 30px;
    transition: all 1s ease-out;
    .card{
      border: 1px dashed rgba(var(--secondryborderColor),var(--opacity3));
      height: 400px;
      max-height: 400px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
      cursor: none;
      transition: all 1s ease-out;
      .cardimg{
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        flex: 1;
        transition: all 1s ease-out;
        position: relative;
      }
      &:nth-child(1){
        .cardimg{
          background-image: url(../images/projects/cosina/mywebsite-13.png);
        }
      }
      &:nth-child(2){
        .cardimg{
          background-image: url(../images/projects/bloom/covers-21.png);
        }
      }
      &:nth-child(3){
        .cardimg{
          background-image: url(../images/projects/c&v/covers-22.png);
        }
      }
      .cardtitle{
        min-height: 60px;
        display: flex;
        align-items: center;
        padding: 0 15px;
        border-top: 1px dashed rgba(var(--secondryborderColor),var(--opacity3));
        h1{
          overflow: hidden;
          font-weight: 400;
          color: var(--secondryColor);
        }
      }
      .cardsvg{
        cursor: none;
        width: 140px;
        height: 140px;
        position: absolute;
        top: 0;
        left: 0;
        scale: 0;
        opacity: 0;
        z-index: 9899;
        div{
          width: 55%;
          line-height: 1.2;
          letter-spacing: 1px;
          font-weight: 600;
          font-size: 10px;
          color: #1B1B1B;
          position: absolute;
          top: 48%;
          left: 50%;
          transform: translate(-50%, -50%);
          text-align: center;
        }
      }
      .cardsvg .cardsvg1 path{
        fill: #16F4D0;
      }
      .cardsvg .cardsvg2 path{
        fill: #fb3640;
      }
      .cardsvg .cardsvg3 polygon{
        fill: #FDE74C;
      }
    }
  }
  .marquee{
    background-color: var(--mainColor);
    border: 1px dashed rgba(var(--secondryborderColor),var(--opacity3));
    margin-top: 60px;
    height: 45px;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    .marqueecontent{
      color: var(--secondryColor);
      font-weight: 300;
      font-size: 0.9rem;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      justify-content: space-around;
      min-width: 100%;
      height: 100%;
      .marqueetitle{
        font-weight: 700;
        border-left: 1px dashed rgba(var(--secondryborderColor),var(--opacity3));
        border-right: 1px dashed rgba(var(--secondryborderColor),var(--opacity3));
        color: var(--secondryColor);
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0 20px;
      }
      .po{
        width: 8px;
        height: 8px;
        border-radius: 30px;
      }
    }
  }
}
@media (max-width: 1400px) {
  .work{
    .workhead{

      .worktitle{
        font-size: 4rem;
      }
      .svglinkhandle{
        margin-top: 11px;
        height: 50px;
        width: 50px;
      }
    }
    .workcards{
      grid-template-columns: repeat(2, 1fr);
      row-gap: 20px;
      .card{
        .cardtitle{
          font-size: .8rem;
          min-height: 50px;
        }
      }
      .card:nth-child(3){
        grid-column: span 2;
      }
    }
  }
}
@media (max-width: 1000px) {
  /* .work{} */
}
@media (max-width: 800px) {
  .work{
    .workcards{
      margin-bottom: 45px;
      grid-template-columns: repeat(1, 1fr);
      .card{
        height: 350px;
      }
      .card:nth-child(3){
        grid-column: span 1;
      }
    }
    .marquee{
      display: none;
    }
  }
}
/* about section */

.about.panel{
  height: 700px !important;
  min-height: 0 !important;
}
.about{
  background-color: var(--secondryColor);
  display: flex;
  flex-direction: column;
  position: relative;
  &::before{
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 1000%;
    height: 100%;
    background-color: var(--secondryColor);
  }
  .abouttitle{
    font-size: 5.5rem;
    font-weight: 700;
    margin-top: 10px;
    color: var(--mainColor);
    overflow: hidden;
  }
  .aboutcontent{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    position: relative;
    .aboutimg{
      width: 40%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      img{
        height: 550px;
        object-fit: cover;
        position: relative;
        z-index: 12;
      }
    }
    .abouttext{
      width: 55%;
      line-height: 1.3;
      color: var(--mainColor);
      .txttitle{
        font-weight: 600;
        font-size: 2.5rem;
        color: var(--mainColor);
      }
      .txtbody{
        font-size: 1.4rem;
        line-height: 1.3;
        width: 90%;
        margin-top: 30px;
        color: var(--mainColor);
      }
    }
  }
  svg{
    position: absolute;
    z-index: 0;
    overflow: initial;
    width: 450px;
    top: 42%;
    left: -14px;
    mix-blend-mode: difference;
    .a1{
      fill: transparent;
      stroke: #f8f8f8;
      stroke-width: 0.1px;
    }
    .a2, .a3{
      visibility: hidden;
      display: none;
    }
  }
}
@media (max-width: 1400px) {
  .about{
    &.panel{
      height: 525px !important;
    }
    .aboutcontent{
      margin-bottom: 20px;
      .aboutimg{
        img{
          height: 400px;
        }
      }
      svg{
        width: 337px;
        top: 39%;
        left: -13px;
      }
      .abouttext{
        margin-right: 15px;
        .txttitle{
          font-size: 2.2rem;
        }
        .txtbody{
          font-size: 1rem;
          margin-top: 20px;
        }
      }
    }
  }
}
@media (max-width: 1000px) {
  .about{
    &.panel{
      height: 475px !important;
    }
    .aboutcontent{
      .aboutimg{
        img{
          height: 342px;
        }
      }
      svg{
        width: 281px;
        left: -6px;
      }
      .abouttext{
        margin-right: 0;
        .txttitle{
          font-size: 1.7rem;
        }
      }
    }
  }
}
@media (max-width: 800px) {
  .about{
    &.panel{
      height: 750px !important;
    }
    .aboutcontent{
      flex-direction: column;
      justify-content: space-evenly;
      .aboutimg{
        width: 100%;
        height: 400px;
        margin-bottom: 15px;
        img{
          height: 100%;
        }
      }
      svg{
        left: 100px;
        top: 170px;
        width: 325px;
      }
      .abouttext{
        margin-top: 15px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        .txttitle{
          font-size: 2.1rem;
        }
        .txtbody{
          text-align: center;
        }
      }
    }
  }
}
@media (max-width: 600px) {
  .about{
    &.panel{
      height: 800px !important;
    }
    .aboutcontent{
      justify-content: center;
      margin-bottom: 0;
      .aboutimg{
        margin: 0;
        img{
          height: 300px;
        }
      }
      svg{
        left: 50%;
        transform: translateX(-50%);
      }
    }
    .abouttext{
      margin-top: 0 !important;
      .txttitle{
        font-size: 2.4rem !important;
      }
      .txtbody{
        font-size: .8rem;
        width: 100%;
      }
      text-align: center;
    }
  }
}
/* contact section */

.contact{
  background-color: var(--mainColor);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100vw !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  &.panel{
    height: 380px !important;
    min-height: 0 !important;
  }
  .gameouter{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px dashed rgba(var(--secondryborderColor),var(--opacity));
    .contactgame{
      width: 100%;
      height: 75%;
      display: flex;
      align-items: center;
      justify-content: space-around;
      opacity: 0.5;
      div{
        width: .6%;
        height: 100%;
        background-color: var(--secondryColor);
        transform: rotate3d(0, 1, 0, 0deg);
      }
    }
  }
  .linkshandle{
    display: flex;
    align-items: flex-start;
    margin-top: 30px;
    ul{
    width: 12%;
    display: flex;
    flex-direction: column;
    padding: 15px;
    &:nth-child(2),&:nth-child(3){
      margin-left: 75px;
    }
    li{
      color: var(--secondryColor);
      &:nth-child(1){
        margin-top: 0;
        padding-top: 0;
        a{
          margin-top: 0;
          padding-top: 0;
        }
      }
      a{
        display: block;
        padding: 7px 0px;
        position: relative;
        font-size: 10px;
        letter-spacing: 2px;
        &::after{
          content: "";
          position: absolute;
          bottom: 0;
          left: 0;
          width: 0;
          height: 1px;
          background-color: var(--secondryColor);
          transition: all 0.3s ease-in-out;
        }
        &:hover{
          &::after{
            width: 20%;
          }
        }
      }
    }
  }
  .email{
    width: fit-content;
    li{
      &:nth-child(1){
        font-size: 0.85rem;
      }
      &:nth-child(2){
        a{
          margin-top: 15px;
          padding: 5px 24px;
          border: 1px dashed rgba(var(--secondryborderColor),var(--opacity3));
          font-weight: 500;
          width: fit-content;
          font-size: 0.85rem;
          letter-spacing: 1px;
          .cwC{
            margin-top: 3px;
          }
          &::after{
            display: none;
          }
        }
      }
      & .li{
        display: flex;
        height: 18px;
        flex-direction: column;
        border: none;
        overflow: hidden;
        .mwC{
          margin-top: 1.5px;
        }
      }
    }
  }
  }
}
@media (max-width: 1400px) {
  .contact{
    &.panel{
      height: 400px !important;
    }
    .gameouter{
      .contactgame{
        padding: 0 10px 10px;
        height: 85%;
      }
    }
  }
}
@media (max-width: 1000px) {
  .contact{
    &.panel{
      height: 370px !important;
    }
    .linkshandle{
      ul{
        width: 17%;
      }
    }
  }
  .rights{
    font-size: 10px !important;
  }
}
@media (max-width: 800px) {
  .contact{
    .linkshandle{
      ul{
        width: 140px;
        &:nth-child(2),&:nth-child(3){
          margin-left: 0px;
        }
        &:first-child{
          width: 100px;
        }
      }
    }
  }
}
@media (max-width: 686px) {
  .contact{
    display: flex;
    justify-content: center !important;
    .gameouter{
      display: none;
    }
    .linkshandle{
      flex-direction: column;
      margin: 0;
    }
  }
}
@media (max-width: 600px) {
  .contact{
    &.panel{
      height: 480px !important;
      justify-content: flex-end;
    }
    .gameouter{
      display: none;
    }
    .linkshandle{
      ul{
        width: 100% !important;
        padding-left: 30px;
        &.email{
          li{
            font-size: 15px !important;
          }
        }
        li{
          a{
            font-size: 13px !important;
          }
        }
      }
    }
  }
}

@media (max-width: 1000px) {
  .trail-dot{
    display: none;
  }
}