* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui;
    text-decoration: none;
    font-weight: 400;

    scroll-behavior: smooth;
    /*     
    border: 1px solid #000; */

}


@font-face {

    font-family: "RalewayRegular";

    src: url("SHK_Dzeragir.otf") format("truetype");
    font-weight: 800;
}

:root {
    --bg-color: #1b1b1b;
    --second-bg-color: #bbbbbb;
    --text-color: #000000;
    --main-color: rgb(0, 0, 0);

}

html {
    font-size: 62.5%;

}

body {


    color: var(--text-color);

}
.off-screen-menu{
    background-color: #000000b9;
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3rem;
    transition: .3s ease;
    z-index: 10;
}
.off-screen-menu ul{
    list-style: none;
}
.off-screen-menu ul li{
    color: #fff;
    cursor: pointer;
    margin:  30px 0;
}
.off-screen-menu ul li a{
    padding: 5px;
}
.off-screen-menu ul li a{
    color: #fff;
}
.off-screen-menu ul li a:hover{
    background: #fff;
    color: #000;
}
.off-screen-menu.active{
    right: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 9%;
    background: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: 2s;
    height: 80px;
}

.header.hide {
    background: rgba(255, 255, 255, 0.5);

}

.logo img {
    max-width: 100px;
}

.logo img:hover {
    max-width: 130px;
}

.navbar {
    padding: 3rem 0;
}
.ham-menu{
    opacity: 0;
    height: 50px;
    width: 50px;
    margin-left: auto;
    position: absolute;
}
.ham-menu span{
    height: 5px;
    width: 100%;
    background-color: #000;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1){
    top: 25%;
}
.ham-menu span:nth-child(3){
    top: 75%;
}
.ham-menu.active span:nth-child(1){
    top: 50%;
    transform: translate(-50%,-50%) rotate(45deg);
}

.ham-menu.active span:nth-child(2){
    opacity: 0;
}
.ham-menu.active span:nth-child(3){
    top: 50%;
    transform: translate(-50%,-50%) rotate(-45deg);
}
.navbar a {
    font-size: 18px;
    color: var(--text-color);
    padding: 15px;
    transition: .5s;
    margin-left: 10px;
}

.navbar a:hover,
.navbar a.active {
    background: var(--bg-color);
    color: white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}

.menu {
    color: var(--text-color);
    width: 40px;
    height: 40px;
}

.logoBanner {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;

}

.logoBanner img {
    height: 100%;
    position: relative;
    overflow-x: hidden;
    animation: logo 3s alternate, op 8s alternate;
}

@keyframes logo {
    from {
        transform: translate(-1000px, 600px);
    }

    to {
        transform: translateX(0);
    }

}

@keyframes op {
    from {
        opacity: 0;
    }

    to {
        opacity: 100%;
    }

}


.banner {

    height: 100vh;
    width: 100%;
    background: var(--bg-color);

}

.logoBanner img {
    position: absolute;
    margin: auto;
}

/* 
.logoBanner {
    width: 100%;
    height: 100vh;
    background-image: url(./img1.png);
    background-repeat: no-repeat;
    background-position: center;
}

.banner {


    width: 100%;
    background: var(--bg-color);

} */

.slogan {

    width: 50%;
    height: 70px;
    color: #fff;
    position: absolute;
    top: 88vh;
    margin: 0 5%;
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.slogan h3 {
    color: var(--second-bg-color);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: "Snell Roundhand, cursive";
}

.about {
    width: 100%;
    display: inline-flexbox;
    justify-content: center;
    align-items: center;

}

.ver {
    width: 70%;
    display: flex;
    color: #1f242d;
    align-items: center;
    font-size: 20px;
    padding: 40px;
    border-bottom: 2px #000 solid;
    margin: 30px 30px;
    font-style: italic;
}

.text {
    width: 80%;
    padding: 20px;
    text-align: center;
    margin: auto;
}

.about-text {
    font-size: 30px;
    color: #323946;
}

.chess {
    display: flexbox;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.line {
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
    padding: 20px 50px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
    animation: chess 3s alternate;
    overflow-x: hidden;
}

.line.black {
    background: rgb(20, 20, 20);
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
}

.chimg {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chimg img {
    min-width: 100%;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px;
    border-radius: 10px;
}

.chtext {
    width: 50%;
    font-style: italic;
    font-size: 20px;
    text-align: center;
    color: #323946;
    display: flex;
    align-items: center;
}

.chtext.white {
    color: white;
}

.hidden {
    opacity: 0;
    transition: all 4s;
    transform: translateX(-50%);
}

.line.black.hidden {
    opacity: 0;
    transition: all 4s;
    transform: translateX(50%);
}

.line.black.show {
    opacity: 1;
    transform: translateX(0%);
}

.show {
    opacity: 1;
    transform: translateX(0%);
}

/* @keyframes chess{
    from{transform: translate(-1000px,0);}
    to{transform: translateX(0);}

} */








.part {
    display: flex;

    align-items: center;
    width: 80%;
    margin: auto;

}

.names {
    background: rgb(255, 255, 255);
    width: 100%;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.869) 0px -0px 100px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.name {
    font-size: 25px;
    color: rgb(0, 0, 0);
    list-style: none;
    padding: 10px 30px;
    margin: 20px;
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;

}

.name:nth-child(odd) {
    background: rgb(20, 20, 20);
    color: white;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}









.catalog {
    width: 100%;
    display: flex;
    overflow-x: hidden;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.carousel-container {
    width: 80%;
    overflow: hidden;

}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    height: 75vh;
}

.carousel-item {
    min-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.carousel-item img {
    width: 90%;
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    background: #000;
}

#prev {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    border: none;
    background: #0000006b;
    color: white;
    transition: 0.5s all ease;
    font-size: 30px;
}

#next {
    position: absolute;
    width: 100px;
    height: 100px;
    right: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    border: none;
    background: #0000006b;
    color: white;
    transition: .5s all ease;
    font-size: 30px;

}

button:hover {
    transform: scale(1.1);
}






















.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 40px;

}

.centre {
    display: inline;
    padding: 0 50px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.container {
    display: inline;

}

.box {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 40px 0;
    margin: auto;
}

.box h3 {
    font-size: 25px;
    padding: 20px;
    margin: 0 50px;
    width: 100%;
}

.box img {
    width: 100px;
    height: 100px;
}



.footer {
    background: #1b1b1b;
    height: 50px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer p {
    font-size: 15px;
    color: rgb(148, 148, 148);
}











@media(max-width:1300px) {
    .text {
        width: 90%;
    }

    .chimg {
        width: 40%;
    }

    .chtext {
        font-size: 15px;
    }

    .box img {
        width: 50px;
        height: 50px;
    }

    .box h3 {
        font-size: 25px;
        padding: 5px;
        margin: 0 0;
    }

    .centre {
        display: inline;
        padding: 0 20px;
    }


}

@media(max-width:1200px) {

    .slogan h3 {
        font-size: 20px;
    }
    #prev,#next{
        width: 50px;
        height: 50px;
        font-size: 15px;
    }
    #next{
        right: 20px;
    }
    #prev{
        left: 20px;
    }
    .carousel {
        height: 40vh;}
}

@media(max-width:900px) {


    .header {
        height: 60px;
    }

    .logoBanner img {
        height: 60%;
    }

    .banner {

        height: 60vh;
        width: 100%;
    }

    .slogan {
        top: 50vh;
        width: 50%;
        height: 39px;
    }

    .slogan h3 {
        font-size: 8px;
    }

    .name {
        font-size: 15px;
    }

    .text {
        width: 98%;
    }

    .chimg {
        width: 40%;
    }

    .chtext {
        font-size: 10px;
    }


    .box {
        padding: 20px 0;
    }

    .box h3 {
        font-size: 15px;
        padding: 2px;
        margin: 0 0;
    }

    .box img {
        width: 25px;
        height: 25px;
    }

    footer .p{
        font-size: 10px;
    }



    .ver {
        font-size: 10px;
        padding: 15px;
        margin: 50px 10px;
    }

}

@media(max-width:600px) {
    .line {
        padding: 10px;
        margin: 20px 0;
    }

    .chtext {
        font-size: 8px;
    }




    .name {
        font-size: 15px;
    }

    .ver {
        font-size: 10px;
        padding: 15px;
        margin: 20px 10px;
    }



    #prev,#next{
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    #next{
        right: 10px;
    }
    #prev{
        left: 10px;
    }
    .carousel {
        height: 20vh;}
}

@media(max-width:400px) {
    .header {
        height: 40px;
    }
    .logo img {
        max-width: 60px;
    }
    .logo img:hover {
        max-width: 70px;
    }
    .logoBanner img {
        height: 30%;
    }

    .banner {

        height: 30vh;
        width: 100%;
    }

    .name {
        font-size: 8px;
        padding: 5px;
        margin: 5px;
    }

    .slogan {
        top: 24vh;
        width: 50%;
        height: 30px;
    }

    .slogan h3 {
        font-size: 8px;
    }

    .text {
        width: 98%;
    }

    .chimg {
        width: 40%;
    }

    .chtext {
        font-size: 10px;
    }


    .box {
        padding: 25px 0;
    }

    .box h3 {
        font-size: 15px;
        padding: 2px;
        margin: 0 0;
    }

    .box img {
        width: 25px;
        height: 25px;
    }





    .ver {
        font-size: 10px;
        padding: 15px;
        margin: 50px 10px;
    }

}










@media(max-width:1000px) {


    .ham-menu{
        opacity: 1;
        height: 50px;
        width: 50px;
        margin-left: auto;
        position: relative;
    }
    .ham-menu span{
        height: 5px;
        width: 100%;
        background-color: #000;
        border-radius: 25px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        transition: .3s ease;
    }
    .ham-menu span:nth-child(1){
        top: 25%;
    }
    .ham-menu span:nth-child(3){
        top: 75%;
    }
    .ham-menu.active span:nth-child(1){
        top: 50%;
        transform: translate(-50%,-50%) rotate(45deg);
    }
    
    .ham-menu.active span:nth-child(2){
        opacity: 0;
    }
    .ham-menu.active span:nth-child(3){
        top: 50%;
        transform: translate(-50%,-50%) rotate(-45deg);
    }
    .navbar {
        display: none;
    }}

