/* font */
@font-face {
    font-family: 'kalame1';
    src: url(/assets/font/Tahrir/TTF/Tahrir_Black.ttf);
    src: url(/assets/font/Tahrir/TahrirBlack.woff2) format('woff');

  }

  @font-face {
    font-family: 'kalame3';
    src: url(/assets/font/Tahrir/TTF/Tahrir_Medium.ttf);
    src: url(/assets/font/Tahrir/TahrirMedium.woff2) format('woff');
  }

  @font-face {
    font-family: 'kalame2';
    src: url(/assets/font/Tahrir/TTF/Tahrir_Bold.ttf);
    src: url(/assets/font/Tahrir/TahrirBold.woff2) format('woff');

  }

  * {
    font-family: kalame3;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: kalame1;

  }

  .font {
    font-family: kalame3;
  }

  .font-bold {
    font-family: kalame1;
    position: relative;
    z-index: 999;
  }


  /* loading */
/* استایل برای پس‌زمینه لودینگ */
#loading {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  /* انیمیشن چرخش لوگو */
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }

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

  /* استایل لوگو */
  .logo_load {
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
  }


/* navbar */
.navbar {
    background: rgb(0, 0, 0);
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 25%, rgba(116, 116, 116, 1) 95%);
    position: sticky;
    top: 0;
    z-index: 999;
}

.menu-item {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-left: 20px;
}

.nav-link {
    color: #fff;
}

.nav-link:hover {
    color: #2db34a;
    font-weight: 700;
}

@media(min-width:768px) {
    #logo_mobile {
        display: none;
    }
}

@media(max-width:768px) {
    #logo_desktop {
        display: none;
    }
}

.drop-menu {
    border: 2px solid #2db34a;
    background-color: #f0f0f0;
    text-align: right;
}

.drop-item:hover {
    color: #2db34a;
}



/* about us */
.about {
    color: #fff;
    border: 1px solid #181a1d;
    background: #181a1d;
    align-items: center;
    text-align: justify;
}

.about-us {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
}

@media(max-width:768px) {
    .about-us {
        text-align: center;
        font-size: 30px;
        font-weight: 800;
    }
}

.about-right {
    font-weight: 800;
    font-size: 30px;
    padding: 20px;
    text-align: justify !important;
}

@media(max-width:768px) {
    .about-right {
        font-weight: 600;
        font-size: 18px;
        padding: 20px;
        text-align: justify !important;
    }
}

.about-left {
    font-size: 15px;

}

@media(max-width:768px) {

    .about-left {
        font-size: 11px;

    }
}

.image-about {
    margin-bottom: 1px;
}

/*  */
/* From Uiverse.io by vinodjangid07 */
.Btn {
    width: 100px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgb(196, 234, 184);
    background: linear-gradient(90deg, rgba(196, 234, 184, 1) 44%, rgba(63, 246, 7, 1) 95%);
    background-size: 250%;
    background-position: left;
    color: #ffd277;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: 1s;
    overflow: hidden;
}

@media(max-width:768px) {
    .Btn {
        width: 85px;
        height: 40px;
        border: none;
        border-radius: 10px;
        background: rgb(196, 234, 184);
        background: linear-gradient(90deg, rgba(196, 234, 184, 1) 44%, rgba(63, 246, 7, 1) 95%);
        background-size: 250%;
        background-position: left;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition-duration: 1s;
        overflow: hidden;
        margin-bottom: 50px;
        font-size: 12px;
    }
}

.Btn::before {
    position: absolute;
    content: "درباره ما";
    color: #ffd277;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 97%;
    height: 90%;
    border-radius: 8px;
    transition-duration: 1s;
    background-color: rgba(0, 0, 0, 0.842);
    background-size: 200%;
}

.Btn:hover {
    background-position: right;
    transition-duration: 1s;
}

.Btn:hover::before {
    background-position: right;
    transition-duration: 1s;
}

.Btn:active {
    transform: scale(0.95);
}

/* products */
.title {
    text-align: center;
}

.button-title {
    /* background-color: #250f67; */
    background-color: #717171;
    color: white;
    padding: 5px 40px 10px 40px;
    border: none;
    border-radius: 40px 0 40px 0;
    font-size: 25px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    margin-top: 100px;
    cursor: default;
    filter: drop-shadow(5px 2px 5px #000);

}

.button-title1 {
    /* background-color: #250f67; */
    background-color: #717171;
    color: white;
    padding: 5px 40px 10px 40px;
    border: none;
    border-radius: 40px 0 40px 0;
    font-size: 32px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    margin-top: 100px;
    cursor: default;
    filter: drop-shadow(5px 2px 5px #000);

}

@media(max-width:768px) {
    .button-title {
        background-color: #717171;
        color: white;
        padding: 5px 30px 10px 30px;
        border: none;
        border-radius: 40px 0 40px 0;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        display: inline-block;
        margin-top: 100px;
        cursor: default;
        filter: drop-shadow(5px 2px 5px #000);

    }
}

.card {
    position: relative;
    /*width: 320px;*/
    height: 480px;
    background: #191919;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 35PX;
}

@media(max-width:768px) {
    .card {
        position: relative;
        width: 290px;
        height: 430px;
        background: #191919;
        border-radius: 20px;
        overflow: hidden;
        margin-top: 35PX;
        margin-right: 30px;
    }
}

.card::before {
    content: "";
    position: absolute;
    top: -50%;
    width: 100%;
    height: 100%;
    background: #2db34a;
    transform: skewY(345deg);
    transition: 0.5s;
}

.card:hover::before {
    top: -70%;
    transform: skewY(390deg);
}

.card::after {
    content: "CORSAIR";
    position: absolute;
    bottom: 0;
    left: 0;
    font-weight: 600;
    font-size: 6em;
    color: rgba(0, 0, 0, 0.1);
}

.card .imgBox {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    z-index: 1;
}

/*
  .card .imgBox img {
      max-width: 100%;

      transition: .5s;
  }

  .card:hover .imgBox img {
      max-width: 50%;

  }
  */
.card .contentBox {
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 2;
}

.card .contentBox h3 {
    font-size: 28px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card .contentBox .price {
    font-size: 24px;
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}


.card .contentBox .buy {
    position: relative;
    top: 100px;
    opacity: 0;
    padding: 10px 30px;
    margin-top: 15px;
    color: #000000;
    text-decoration: none;
    background: #2db34a;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.5s;
}

.card:hover .contentBox .buy {
    top: 0;
    opacity: 1;
}

@media(max-width:768px) {
    .card:hover .contentBox .buy {
        top: 0;
        opacity: 1;
    }
}

.product {
    height: 300px;
    width: auto;
}

/* footer */
footer {
    width: 100vw;
    bottom: 0px
}

footer div {
    background-color: #1e1e1e;
    margin: -5px 0px 0px 0px;
    padding: 0px;
    color: #fff;
}

svg {
    width: 100%;
}

.arrow {
    stroke-width: .3px;
    stroke: #2db34a;
}

.topball {
    animation: ball 1.5s ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-delay: 0.3s;
    cursor: pointer;
}

.wave {
    animation: wave 3s linear;
    animation-iteration-count: infinite;
    fill: #1e1e1e;
}

.drop {
    fill: transparent;
    animation: drop 5s ease infinite normal;
    stroke: #1e1e1e;
    stroke-width: 0.5;
    opacity: .6;
    transform: translateY(80%);
}

.drop1 {
    transform-origin: 20px 3px;
}

.drop2 {
    animation-delay: 3s;
    animation-duration: 3s;
    transform-origin: 25px 3px;
}

.drop3 {
    animation-delay: -2s;
    animation-duration: 3.4s;
    transform-origin: 16px 3px;
}

.gooeff {
    filter: url(#goo);
}

#wave2 {
    animation-duration: 5s;
    animation-direction: reverse;
    opacity: .6
}

#wave3 {
    animation-duration: 7s;
    opacity: .3;
}

@keyframes drop {
    0% {
        transform: translateY(80%);
        opacity: .6;
    }

    80% {
        transform: translateY(80%);
        opacity: .6;
    }

    90% {
        transform: translateY(10%);
        opacity: .6;
    }

    100% {
        transform: translateY(0%) scale(1.5);
        stroke-width: 0.2;
        opacity: 0;
    }
}

@keyframes wave {
    to {
        transform: translateX(-100%);
    }
}

@keyframes ball {
    to {
        transform: translateY(20%);
    }
}

.ball {
    cursor: pointer;
}

/*footer content  */
.title-footer {
    font-size: 35px;
    color: #fff;
    font-weight: bold;
    text-align: right;
}

@media(max-width:768px) {
    .title-footer {
        font-size: 20px;
        color: #fff;
        font-weight: bold;
        text-align: right;
    }
}

.icon-footer {
    color: #fff;
    width: 25px;
}

@media(max-width:768px) {
    .icon-footer {
        color: #fff;
        width: 15px;
    }
}

.text-footer {
    margin: 10px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    text-align: right !important;
}

@media(max-width:768px) {
    .text-footer {
        margin: 10px;
        font-size: 10px;
        color: #fff;
        text-decoration: none;
        text-align: right !important;
    }
}

.text-footer:hover {
    color: #2db34a;
}

/*
--------------------------
new page pro
--------------------------
 */
/* pro */
.snip1418 {
    position: relative;
    overflow: hidden;
    margin: 10px;
    min-width: 230px;
    max-width: 315px;
    width: 100%;
    background: rgb(146, 216, 147);
    background: linear-gradient(90deg, rgba(146, 216, 147, 1) 18%, rgba(87, 194, 105, 1) 44%, rgba(196, 234, 184, 1) 87%, rgba(179, 228, 172, 1) 98%);
    color: #000000;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-perspective: 20em;
    perspective: 20em;
}

.snip1418 * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.snip1418 img {
    max-width: 100%;
    vertical-align: top;
    position: relative;
}

.snip1418 .add-to-cart {
    position: absolute;
    top: 0;
    text-align: right;
    right: 0;
    padding-right: -10px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    opacity: 0;
    background-color: #ff0000;
    -webkit-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

.snip1418 .add-to-cart i {
    display: inline-block;
    margin-right: 10px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #164666;
    color: #ffffff;
    font-size: 1.4em;
}

.snip1418 figcaption {
    padding: 20px;
}

.snip1418 h3,
.snip1418 p {
    margin: 0;
}

.snip1418 h3 {
    font-size: 1.5em;
    text-align: right;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.snip1418 p {
    font-size: 0.9em;
    text-align: right;
    letter-spacing: 1px;
    font-weight: 400;
}

.snip1418 .price {
    font-weight: 500;
    font-size: 1.5em;
    line-height: 48px;
    letter-spacing: 1px;
}

.snip1418 .price s {
    margin-right: 5px;
    opacity: 0.5;
    font-size: 0.9em;
}

.snip1418 a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.snip1418:hover .add-to-cart,
.snip1418.hover .add-to-cart {
    opacity: 1;
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
}

.snip1418:hover .add-to-cart i,
.snip1418.hover .add-to-cart i {
    background-color: #2980b9;
}

/* Clients */
.img-slider {
    width: 50%;
    padding-bottom: 15px;
    margin-top: 35PX;
}

@media(max-width:768px) {
    .img-slider {
        width: 80%;
        padding-bottom: 15px;
        margin-top: 35PX;
    }
}

/*
--------------------------
new page about
--------------------------
 */
.right-about {
    margin-top: 50px;
}

.left-about {
    margin-top: 50px;
    text-align: left;
}

@media(max-width:768px) {
    .left-about {
        margin-top: 50px;
        text-align: center;
    }

}

.title-about {
    color: #2db34a;
    padding: 4px;
    font-weight: 700;
}

.text-about {
    padding: 4px;
    text-align: justify;
}

.logo-about {
    width: 50%;
}

/*
--------------------------
new page gallery
--------------------------
 */

 .img-gallery{
    margin-top: 55px;
 }

@media(max-width:768px) {
    .img-gallery {
        margin-top: 55PX;
    }
}

.img2-gallery{
    margin-top: 55px;
}

@media(max-width:768px) {
    .img2-gallery {
        margin-top: -15px;
    }
}

.img3-gallery{
    margin-top: 55px;
}

@media(max-width:768px) {
    .img3-gallery {
        margin-top: -15px;
    }
}
