.wrapper {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.conteiner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}

/* header */
.header {
    width: 100%;
    height: 60px;
    z-index: 20;
    background: #333 repeating-linear-gradient(90deg,
            rgba(30, 15, 140, 0.36), rgba(37, 124, 201, 0.37) 5px,
            rgba(10, 26, 89, 0.38) 5px, rgba(123, 159, 225, 0.37) 10px);
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

/* footer */
.footer {
    width: 100%;
    height: 180px;
    background: #333 repeating-linear-gradient(90deg,
            rgba(30, 15, 140, 0.36), rgba(37, 124, 201, 0.37) 5px,
            rgba(10, 26, 89, 0.38) 5px, rgba(123, 159, 225, 0.37) 10px);
}

/* page */
.main {
    flex: 1 1 auto;
}

/* верхний слайдер */
.home_img_conteiner {
    width: 100%;
    height: 900px;
    position: relative;
    overflow: hidden;
    background: #000;
    margin-top: -60px;
}

.home_img_item {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    animation: slideanim 40s infinite;
    pointer-events: none;
}

.home_img_item:nth-child(1),
.home_img_item:nth-child(1) img {
    animation-delay: 0;
}

.home_img_item:nth-child(2),
.home_img_item:nth-child(2) img {
    animation-delay: 10s;
}

.home_img_item:nth-child(3),
.home_img_item:nth-child(3) img {
    animation-delay: 20s;
}

.home_img_item:nth-child(4),
.home_img_item:nth-child(4) img {
    animation-delay: 30s;
}

.home_img_item img {
    width: 100%;
    height: 100%;
    background-position: center;
    object-fit: cover;
    animation: zoom 40s infinite;
}

.home_img_item_text {
    width: 560px;
    position: absolute;
    top: 20%;
    left: 6%;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-family: Verdana, sans-serif;
}

.home_img_item_text h5 {
    font-size: 22px;
    text-align: center;
    padding: 10px;
    color: #BFE2FF;
}

.home_img_item_text p {
    font-size: 15px;
    font-style: italic;
    line-height: 20px;
    text-align: justify;
    padding: 10px;
}

@keyframes slideanim {
    12.5% {
        opacity: 1;
        pointer-events: auto;
    }

    25% {
        opacity: 1;
        pointer-events: auto;
    }

    37.5% {
        opacity: 0;
    }
}

@keyframes zoom {
    50% {
        transform: scale(1.3);
    }
}

.home_btn {
    width: 70%;
    height: 30px;
    border: 1px solid #BFE2FF;
    background-color: transparent;
    color: #fff;
    font-size: 15px;
    margin-top: 5px;
    cursor: pointer;
}

/* Магазин */
h1 {
    font-family: 'Pattaya', sans-serif;
    font-size: 40px;
    padding: 20px 10px 20px 10%;
}

/* Ноутбук и смартфон */
.adapt_conteiner {
    width: 100%;
    margin: 10px auto 70px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
    border-radius: 6px;
    box-shadow: 5px 5px 10px #606060;
}

.laptop_conteiner {
    width: 80%;
    height: 600px;
    position: relative;
    border-radius: 6px;
    border-style: solid;
    border-color: black;
    border-width: 24px 24px 80px;
    background-color: black;
    box-shadow: 5px 5px 10px #606060;
}

.laptop_conteiner::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -119px;
    width: 100%;
    height: 40px;
    background: black;
    border-radius: 6px;
    border: 1px solid #fff;
    box-shadow: 5px 5px 10px #606060;
}

.laptop_conteiner::before {
    content: '';
    display: block;
    position: absolute;
    width: 200px;
    height: 20px;
    bottom: -100px;
    left: 40%;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index: 1;
    background: #333;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), 1px 1px 5px rgba(255, 255, 255, 1);
}

.laptop_content {
    position: absolute;
    width: 100%;
    height: 530px;
    border-radius: 6px;
    overflow: hidden;
    border: none;
    background-color: #fff;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), 1px 1px 5px rgba(255, 255, 255, 1);
}

.laptop_content img {
    width: 100%;
}

.smartphone_conteiner {
    position: relative;
    width: 25%;
    height: 550px;
    top: 63px;
    left: 50px;
    border: 16px black solid;
    border-top-width: 60px;
    border-bottom-width: 60px;
    border-radius: 16px;
    z-index: 10;
    box-shadow: 5px 5px 10px #606060;
}

.smartphone_conteiner::before {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    border-radius: 10px;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), 1px 1px 5px rgba(255, 255, 255, 1);
}

.smartphone_conteiner::after {
    content: '';
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    left: 50%;
    bottom: -65px;
    transform: translate(-50%, -50%);
    background: #333;
    border-radius: 50%;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), 1px 1px 5px rgba(255, 255, 255, 1);
}

.smartphone_content {
    position: absolute;
    width: 100%;
    height: 433px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), 1px 1px 5px rgba(255, 255, 255, 1);
}

.smartphone_content img {
    position: absolute;
    top: -40%;
    left: -37%;
    width: 175%;
}

/* меню товаров */
.gallery_conteiner {
    width: 100%;
    margin: 10px auto;
    padding: 10px;
    background-color: #eee;
    position: relative;
    box-shadow: 5px 5px 10px #606060;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

@property --gallery-rotation {
    syntax: "<number>";
    initial-value: 0;
    inherits: true;
}

@keyframes gallery-rotation {
    to {
        --gallery-rotation: 1
    }
}

#gallery {
    --rotate-direction: 1;
    --rotate-duration: 20s;
    --item-size: 95%;
    --item-transition-duration: 0.5s;
    width: min(80vmin, 500px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: grid;
    animation: gallery-rotation var(--rotate-duration) linear infinite;
    container-type: inline-size;
    isolation: isolate;
    background-color: rgba(142, 52, 227, 0.3);
    box-shadow: 5px 5px 10px #606060;
}

#gallery img {
    background-color: #fff;
    grid-area: 1 / 1;
    width: calc(var(--item-size) / (1 + (1 / sin(180deg / var(--count)))));
    aspect-ratio: 1/1;
    box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, 0.2), 0 1.5cqw 2.5cqw rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border: calc(5cqi / var(--count)) solid blueviolet;
    padding: 10px;
    cursor: pointer;
    object-fit: cover;
    offset-path: border-box;
    offset-anchor: top center;
    offset-distance: calc((100% * (var(--index) / var(--count) + var(--gallery-rotation, 0))) * var(--rotate-direction));
    transform: rotate(calc(-360deg * var(--rotate-direction) * (var(--index) / var(--count) + var(--gallery-rotation, 0))));
    z-index: 0;
    transition: width var(--item-transition-duration), filter var(--item-transition-duration), box-shadow var(--item-transition-duration), z-index 0s calc(var(--item-transition-duration) * var(--transition-delay-z, 1));
    box-shadow: 5px 5px 10px #606060;
}

.gallery_tit_conteiner {
    width: 23%;
    height: 50px;
    position: absolute;
    top: 45%;
    left: 17%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery_title {
    font-family: 'Pattaya', sans-serif;
    font-size: 35px;
    text-shadow: -2px -2px #fff,
        0 3px 0 #0f0f0f;
    color: #0f15c97c;
    transition: all 1s;
}

/* правая картинка */
.reviews_right_conteiner {
    width: 40%;
    height: 500px;
    box-shadow: 5px 5px 10px #606060;
}

.blind-hover {
    width: 100%;
    margin: 20px auto;
    padding: 5px 20px;
    font-size: 0;
    letter-spacing: 0;
}

.blind-hover div {
    display: inline-block;
    overflow: hidden;
    width: 20%;
    transform: rotateY(0);
    transition: all 0.5s ease-out;
}

.blind-hover div img {
    width: 470px;
    max-width: 470px;
    position: relative;
    cursor: pointer;
}

.blind-hover div:nth-of-type(1) {
    transition-delay: 0;
}

.blind-hover div:nth-of-type(2) {
    transition-delay: 0.2s;
}

.blind-hover div:nth-of-type(3) {
    transition-delay: 0.4s;
}

.blind-hover div:nth-of-type(4) {
    transition-delay: 0.6s;
}

.blind-hover div:nth-of-type(5) {
    transition-delay: 0.8s;
}

.blind-hover div:nth-of-type(2) img {
    right: 100%;
}

.blind-hover div:nth-of-type(3) img {
    right: 200%;
}

.blind-hover div:nth-of-type(4) img {
    right: 300%;
}

.blind-hover div:nth-of-type(5) img {
    right: 400%;
}

.blind-hover:hover div {
    transform: rotateY(360deg);
}

/* информационное описание */
.gallery_text {
    width: 80%;
    margin: auto;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 50px 5px 15px;
    background-color: #eee;
    border-radius: 25px;
    border: 6px solid #BFE2FF;
    z-index: 20;
    box-shadow: 5px 5px 10px #606060;

    transition: all 0.8s ease 0s;
    opacity: 0;
    transform: perspective(1000px) translate(0px, -100%) rotateX(45deg);
}

.gallery_text.on {
    transform: perspective(1000px) translate(0px, 0%) rotateX(0deg);
    opacity: 1;
}

.gallery_text img {
    width: 250px;
    height: 250px;
    flex-shrink: 0;
    background-image: linear-gradient(147deg, #BFE2FF 0%, #337AB7 74%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 16px 20px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    border: 6px solid #BFE2FF;
    overflow: hidden;
    transition: all 0.3s ease 0s;
    transform: translateX(-60px) scale(0);
    opacity: 0;
}

.gallery_text img.on {
    transition: all 1.3s ease 0s;
    transform: translateX(-60px) scale(1);
    opacity: 1;
}

.gallery_text_title {
    position: absolute;
    top: 20px;
    display: flex;
    align-items: center;
}

.gallery_title_title {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #337AB7;
    overflow: hidden;

    transform: translate(-120%, 0px);
    opacity: 0;
    transition: all 0.3s ease 0s;
}

.gallery_title_title.on {
    transform: translate(0px, 0px);
    opacity: 1;
    transition: all 1.5s ease 0s;
}

.gallery_close {
    position: absolute;
    font-size: 28px;
    font-weight: 700;
    color: #337AB7;
    right: -200px;
    cursor: pointer;
}

.gallery_text_p {
    height: 300px;
    font-family: Verdana, sans-serif;
    font-size: 15px;
    padding: 5px 10px;
    text-align: justify;
    color: #000;
    line-height: 20px;
    text-indent: 20px;
    transform: translateX(-20px) scale(1);
    overflow: auto;

    transform: scale(0);
    opacity: 0;
    transition: all 0.3s ease 0s;
}

.gallery_text_p.on {
    transform: scale(1);
    opacity: 1;
    transition: all 1.8s ease 0s;
}

.gallery_text_p ol li {
    font-size: 14px;
    font-style: italic;
    color: #000;
    list-style: decimal;
    list-style-position: inside;
}

/* книга пдд */
.general_container {
    width: 100%;
    margin: 10px auto;
    padding: 10px;
    background-color: #eee;
    box-shadow: 5px 5px 10px #606060;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.general_contant {
    width: 50%;
    height: 400px;
}

.cover_book {
    width: 18.5em;
    height: 23.0991em;
    margin-top: -30px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    transform: perspective(60em) rotateX(58deg) rotateZ(-34deg) skewY(-7deg);
    box-shadow: -1.4em 1.7em 0.3em -0.3em rgba(0, 0, 0, 0.8), -1.6em 1.8em 0.9em -0.2em rgba(0, 0, 0, 0.5), 0.3em 1.9em 1.3em rgba(0, 0, 0, 0.3);
    border-top-right-radius: 0.4em;
}

.cover_book img {
    border-top-right-radius: 0.4em;
    box-sizing: border-box;
    width: 100%;
    clip: rect(0em, 18.5em, 23.1em, 0em);
    display: block;
    position: absolute;
    filter: saturate(90%);
}

.cover_book::before,
.cover_book::after {
    content: '';
    position: absolute;
    top: 0;
}

.cover_book::before {
    width: 105%;
    height: 105%;
    left: -5%;
    z-index: -1;
    background-repeat: no-repeat;
    background-image: linear-gradient(115deg, transparent 2.8%, #3f3f3f 3%, #3f3f3f 16%, transparent 16%), linear-gradient(125deg, transparent 10%, #3f3f3f 10%, #3f3f3f 17%, #222 46.8%, transparent 47%), linear-gradient(125deg, transparent 46%, rgba(0, 0, 0, 0.5) 46.5%, rgba(0, 0, 0, 0.25) 49%, transparent 53%), linear-gradient(to right, #444, #666), linear-gradient(#444, #444), linear-gradient(140deg, transparent 45%, #eee 45%, #ccc 96.8%, rgba(170, 170, 170, 0) 97%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 0.4em, 94% 0.2em, 100% 100%;
    background-position: 0 0, 0 0, 0 0, 0 95.8%, 0 100%, 0 0;
}

.cover_book::after {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-image: linear-gradient(to right, transparent 2%, rgba(0, 0, 0, 0.1) 3%, rgba(0, 0, 0, 0.1) 4%, transparent 5%), linear-gradient(-50deg, rgba(0, 0, 0, 0.1) 20%, transparent 100%), linear-gradient(-50deg, rgba(0, 0, 0, 0.2) 20%, transparent 100%), linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 20%, transparent 100%), linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 20%, transparent 100%);
    background-size: 100% 100%, 2% 20%, 1% 20%, 2% 20%, 1% 20%;
    background-position: 0 0, 2.2% 100%, 3% 100%, 2.2% 0, 3% 0;
}

.general_text {
    width: 40%;
    padding: 10px;
}

.general_text p {
    text-align: center;
    font-family: Verdana, sans-serif;
    font-size: 20px;
    color: #000;
    padding: 5px 10px;
}

/* куб */
.d-container {
    margin: 30px auto;
    width: 300px;
    height: 300px;
    position: relative;
    perspective: 1000px;
}

.d-cube {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transform: translateZ(-150px) rotateY(0deg);
    animation: cube 12s infinite;
}

.d-cube figure {
    width: 100%;
    height: 100%;
    margin: 0;
    position: absolute;
}

.d-cube figure img {
    width: 100%;
    height: 100%;
    background-color: lightsteelblue;
    display: block;
    object-fit: cover;
    object-position: center center;
}

figure:nth-child(1) {
    transform: rotateY(0deg) translateZ(150px);
}

figure:nth-child(2) {
    transform: rotateX(180deg) translateZ(150px);
}

figure:nth-child(3) {
    transform: rotateY(90deg) translateZ(150px);
}

figure:nth-child(4) {
    transform: rotateY(-90deg) translateZ(150px);
}

figure:nth-child(5) {
    transform: rotateX(90deg) translateZ(150px);
}

figure:nth-child(6) {
    transform: rotateX(-90deg) translateZ(150px);
}

@keyframes cube {
    0% {
        transform: translateZ(-150px) rotateY(0deg);
    }

    16.66% {
        transform: translateZ(-150px) rotateX(-180deg);
    }

    33.32% {
        transform: translateZ(-150px) rotateY(-90deg);
    }

    50% {
        transform: translateZ(-150px) rotateY(90deg);
    }

    66.66% {
        transform: translateZ(-150px) rotateX(-90deg);
    }

    83.32% {
        transform: translateZ(-150px) rotateX(90deg);
    }

    100% {
        transform: translateZ(-150px) rotateY(0deg);
    }
}

/* колода */
.cart_container {
    width: 50%;
    margin: 20px;
    position: relative;
}

.cart {
    height: 400px;
    width: 300px;
    position: absolute;
    top: 0;
    left: calc(50% - 150px);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border-radius: 10px;
    border: 5px solid darkgreen;
    padding: 10px;
    z-index: 100;

    background: linear-gradient(90deg,
            rgba(255, 225, 132, .7) 50%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(90deg,
            rgba(32, 113, 120, .3) 50%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(90deg,
            rgba(255, 150, 102, .3) 50%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(90deg,
            rgba(23, 76, 79, .1) 50%, rgba(255, 255, 255, 0) 50%);
    background-size: 7em 7em, 5em 5em, 3em 3em, 1em 1em;
    background-color: #F5E9BE;
}

.cart:nth-child(1) {
    transform: rotate(-3deg);
    position: relative;
}

.cart:nth-child(2) {
    transform: rotate(4deg);
}

.cart:nth-child(3) {
    transform: rotate(10deg);
}

.cart:nth-child(4) {
    transform: rotate(-6deg);
}

.cart:nth-child(5) {
    transform: rotate(-2deg);
}

.cart:nth-child(6) {
    transform: rotate(7deg);
}

.cart img {
    height: 70%;
    margin-top: 30px;
    object-fit: cover;
}

.bottom {
    z-index: 50;
    animation: move ease-in-out 1s;
}

.bottom_last {
    z-index: 30;
    animation: move_last ease-in-out 1s;
}

@keyframes move {
    0% {
        left: calc(50% - 150px);
        z-index: 150;
    }

    50% {
        left: calc(50% + 220px);
    }

    100% {
        left: calc(50% - 150px);
        z-index: 50;
    }
}

@keyframes move_last {
    0% {
        left: calc(50% - 150px);
        z-index: 150;
    }

    50% {
        left: calc(50% + 220px);
        z-index: 50;
    }

    100% {
        left: calc(50% - 150px);
        z-index: 30;
    }
}

.p {
    font-family: Verdana, sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: darkgreen;
    text-align: center;
    padding: 20px 10px 10px;
}

.gbdd {
    width: 100%;
    margin: 30px auto;
}

.btn_conteiner {
    margin-top: 30px;
    text-align: center;
}

.btn_admin_product {
    width: 130px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
        7px 7px 20px 0px rgba(0, 0, 0, .1),
        4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
    background: linear-gradient(0deg, rgba(0, 172, 238, 1) 0%, rgba(2, 126, 251, 1) 100%);
    line-height: 42px;
    padding: 0;
    border: none;
}

.btn_admin_product span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.btn_admin_product:before,
.btn_admin_product:after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    background: rgba(2, 126, 251, 1);
    transition: all 0.3s ease;
}

.btn_admin_product:before {
    height: 0%;
    width: 2px;
}

.btn_admin_product:after {
    width: 0%;
    height: 2px;
}

.btn_admin_product:hover {
    background: transparent;
    box-shadow: none;
}

.btn_admin_product:hover:before {
    height: 100%;
}

.btn_admin_product:hover:after {
    width: 100%;
}

.btn_admin_product span:hover {
    color: rgba(2, 126, 251, 1);
}

.btn_admin_product span:before,
.btn_admin_product span:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    background: rgba(2, 126, 251, 1);
    transition: all 0.3s ease;
}

.btn_admin_product span:before {
    width: 2px;
    height: 0%;
}

.btn_admin_product span:after {
    width: 0%;
    height: 2px;
}

.btn_admin_product span:hover:before {
    height: 100%;
}

.btn_admin_product span:hover:after {
    width: 100%;
}

/* Адаптация */
@media(max-width:1200px) {
    .conteiner {
        max-width: 970px;
    }

    .home_img_item_text {
        width: 460px;
    }

    .home_img_item_text h5 {
        font-size: 20px;
    }

    .home_img_item_text p {
        font-size: 14px;
    }

    .laptop_conteiner {
        height: 500px;
    }

    .laptop_conteiner::before {
        left: 35%;
    }

    .laptop_content {
        height: 430px;
    }

    .smartphone_conteiner {
        height: 470px;
        top: 55px;
    }

    .smartphone_content {
        height: 350px;
    }

    .gallery_tit_conteiner {
        width: 28%;
        left: 14%;
    }

    .gallery_close {
        right: -120px;
    }

    .gbdd {
        margin: 70px auto;
    }
}

@media(max-width:992px) {
    .conteiner {
        max-width: 750px;
    }

    .home_img_item_text {
        top: 15%;
    }

    .laptop_conteiner {
        height: 400px;
    }

    .laptop_conteiner::before {
        width: 150px;
        left: 35%;
    }

    .laptop_content {
        height: 330px;
    }

    .smartphone_conteiner {
        height: 370px;
        top: 55px;
    }

    .smartphone_content {
        height: 250px;
    }

    .gallery_tit_conteiner {
        width: 36%;
        left: 32%;
    }

    .reviews_right_conteiner {
        display: none;
    }

    .gallery_close {
        right: -50px;
    }

    .gbdd {
        margin: 90px auto;
    }
}

@media(max-width:767px) {
    .conteiner {
        max-width: none;
    }

    .home_img_conteiner {
        height: 500px;
    }

    .home_img_item_text {
        width: 360px;
        top: 13%;
    }

    .home_img_item_text h5 {
        font-size: 19px;
    }

    .home_img_item_text p {
        font-size: 12px;
    }

    .home_btn {
        font-size: 13px;
    }

    .laptop_conteiner {
        height: 270px;
    }

    .laptop_conteiner::after {
        bottom: -110px;
        height: 30px;
    }

    .laptop_conteiner::before {
        width: 100px;
        height: 15px;
        left: 35%;
        bottom: -95px;
    }

    .laptop_content {
        height: 220px;
    }

    .smartphone_conteiner {
        height: 250px;
        top: 40px;
    }

    .smartphone_content {
        height: 150px;
    }

    .smartphone_conteiner::after {
        width: 25px;
        height: 25px;
    }

    .gallery_tit_conteiner {
        width: 45%;
        left: 28%;
    }

    .gallery_title {
        font-size: 32px;
    }

    .gallery_text img {
        display: none;
    }

    .gallery_title_title {
        font-size: 22px;
    }

    .gallery_close {
        font-size: 22px;
        right: -30px;
    }

    .general_container {
        flex-direction: column;
    }

    h1 {
        font-size: 26px;
    }

    .general_text {
        width: 100%;
    }

    .gallery_text_p {
        font-size: 12px;
    }

    .general_container {
        gap: 3px;
    }

    .cover_book {
        margin-left: -20px;
    }

    .general_contant {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .gbdd {
        width: 500px;
    }
}

@media(max-width:550px) {
    /*до 340px*/

    .footer {
        height: 240px;
    }

    .home_img_conteiner {
        height: 300px;
    }

    .home_img_item_text {
        width: 260px;
        top: 15%;
    }

    .home_img_item_text h5 {
        font-size: 16px;
        padding: 7px;
    }

    .home_img_item_text p {
        font-size: 11px;
        line-height: 15px;
        padding: 7px;
    }

    .home_btn {
        font-size: 11px;
    }

    .laptop_conteiner {
        height: 170px;
    }

    .laptop_conteiner::after {
        bottom: -110px;
        height: 30px;
    }

    .laptop_conteiner::before {
        width: 50px;
        height: 15px;
        left: 35%;
        bottom: -95px;
    }

    .laptop_content {
        height: 120px;
    }

    .smartphone_conteiner {
        height: 160px;
        top: 35px;
    }

    .smartphone_content {
        height: 70px;
    }

    .smartphone_conteiner::after {
        width: 15px;
        height: 15px;
        bottom: -60px;
    }

    .gallery_tit_conteiner {
        width: 45%;
        left: 28%;
    }

    .gallery_title {
        font-size: 20px;
    }

    .gallery_title_title {
        font-size: 14px;
    }

    .gallery_close {
        font-size: 18px;
        right: -17px;
    }

    .cover_book {
        width: 9em;
        height: 12em;
    }

    .cart {
        height: 300px;
        width: 200px;
    }

    .cart img {
        height: 60%;
    }

    .general_contant {
        height: 300px;
    }

    .gbdd {
        width: 300px;
    }
}