* {
    margin: 0;
    padding: 0;
}

:root {
    --colorp: rgb(255, 255, 255);
}

body {
    background-color: rgb(0, 0, 0);
    height: 100vh;
    height: 100vh;
    display: flex;
    justify-content: center;
}

.containers {
    background-color: rgb(255, 255, 255);
    width: 1920px;
    height: 2000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.darksMod {
    background-color: rgb(34, 34, 34);
}

.header {
    background-color: rgb(20, 20, 20);
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-bottom: 4px solid rgb(194, 189, 188);
}

.logo {
    width: 130px;
    filter: drop-shadow(0 0 4px rgb(0, 0, 0));
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.header nav ul {
    display: flex;
    width: 800px;
    justify-content: space-between;
}

ul li {
    list-style: none;
    border-radius: 20px;
    padding: 0px 20px;
    transition: all 0.3s;
}

.header ul li:hover {
    background-color: rgb(63, 62, 62);
}

.header ul li:hover .aheader {
    color: red;
}

.aheader {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 22px;
    font-family: "Roboto", sans-serif;
    filter: drop-shadow(0 0 2px rgb(134, 6, 6));
    letter-spacing: 2px;
    transition: all 0.3s;
}

.divkorz {
    position: relative;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    filter: drop-shadow(0 0 1px #fafafa);
}

.pcouns {
    position: absolute;
    top: -5px;
    right: -7px;
    background-color: rgb(200, 0, 0);
    color: rgb(255, 255, 255);
    width: 12px;
    height: 12px;
    border-radius: 100%;
    font-size: 10px;
    text-align: center;
    border: none;
    outline: none;
}

.imgkorz {
    margin-top: 4px;
    width: 30px;
    height: 30px;
}


          /* Darkmod */

.darkmod {
    cursor: pointer;
    position: relative;
    background-color: rgb(34, 34, 34);
    width: 60px;
    height: 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 0 3px rgb(136, 136, 136));
}
       
.active {
    background-color: rgb(255, 255, 255);
}

.btmod {
    position: absolute;
    top: 3px;
    left: 2.5px;
    background-color: rgb(130, 130, 130);
    width: 25px;
    height: 25px;
    border-radius: 100%;
    transition: all 0.4s;
}

.darksModbt {
    position: absolute;
    left: 32.5px;
}

.store {
    margin-top: 90px;
    width: 100%;
    height: 190px;
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 0 3px black);
}

.pstore {
    width: 400px;
    padding: 50px 50px; 
    background-color: black;
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 64px;
    font-family: "Roboto", sans-serif;
    border-radius: 60px;
    filter: drop-shadow(0 0 3px rgb(66, 66, 66));
    text-shadow: 0 0 10px green;
    text-decoration: underline;
}

                   /* Корзина */
       
.centers {
    position: relative;
    margin-top: 90px;
    background-color: rgb(248, 243, 243);
    width: 1400px;
    height: 860px;
    display: flex;
    border-radius: 30px;
}

.backtransparent {
    background: transparent;
}

.map {
    width: 990px;
    height: 100%;
    margin-left: 16px;
    border-radius: 30px;
}

.appleimg {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
    filter: drop-shadow(0 0 4px rgb(0, 0, 0));
}

.korzina {
    margin-top: 41px;
    width: 423px;
    height: 810px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-radius: 30px;
    overflow: hidden;
    overflow-y: scroll;
}

.korzina::-webkit-scrollbar {
    width: 3px;
    scroll-behavior: smooth;
}

.titlekorz {
    position: absolute;
    top: 0px;
    left: 5px;
    width: 400px;
    background-color: rgba(0, 0, 0, 0.973);
    color: white;
    font-family: "Roboto", sans-serif;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 8px;
}

.cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px; 
    background-image: linear-gradient(to top, 
    rgb(114, 114, 114),rgb(255, 255, 255), rgb(114, 114, 114));
    width: 400px;
    height: 120px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    filter: drop-shadow(0 0 4px rgb(7, 7, 7));
    transition: all 0.4s ease; 
}

.cards:hover {
    transform: perspective(800px) rotateY(-10deg);
}

.cards:hover .imges {
    transform: scale(1.3);
}

.imges {
    width: 90px;
    object-fit: cover;
    margin-left: 5px;
    transition: all 0.8s;
    filter: drop-shadow(0 0 3px rgb(0, 0, 0));
}

.imges:hover {
    transform: scale(1.3);
    animation: rotate 1.4s alternate infinite;
    cursor: none;
}

@keyframes rotate {
    from {
        transform: perspective(600px) scale(1.3) rotateY(0);
    }
    to {
        transform: perspective(600px) scale(1.3) rotateY(180deg);
    }
}

.title {
    font-size: 22px;
    font-family: "Roboto", sans-serif;
    color: rgb(29, 28, 28);
    font-weight: 700;
}

.price {
    font-size: 19px;
    font-family: "Roboto", sans-serif;
    color: rgb(82, 1, 1);
    font-weight: 600;
}

.btc {
    cursor: pointer;
    background-color: rgb(39, 37, 37);
    color: rgb(255, 255, 255);
    width: 25px;
    height: 25px;
    border-radius: 100%;
    margin-top: -76px;
    margin-right: 10px;
    border: none;
    transition: all 0.3s;
}

.btc:hover {
    background-color: rgb(0, 0, 0);
}

                   /* Form */

.forms {
    position: relative;
    margin-top: 80px;
    width: 700px;
    height: 300px;
    /* background-color: rgb(20, 19, 19); */
    display: grid;
    align-items: center;
    justify-content: center;
}

.form {
    /* background-color: aquamarine; */
    width: 900px;
    height: 380px;
    display: grid;
}

.inpform:nth-child(1) {
    padding-left: 10px;
}

.inpform:nth-child(2) {
    margin-left: 460px;
    margin-top: -87px;
    padding-left: 10px;
}

.inpform:nth-child(3) {
    padding-left: 10px;
}

.inpform:nth-child(4) {
    margin-top: -160px;
    padding-left: 10px;
}

.inpform:nth-child(5) {
    padding-left: 10px;
    margin-left: 460px;
    margin-top: -210px;
    height: 107px;
    border-radius: 5px;
} 

.inpform:nth-child(6) {
    cursor: pointer;
    margin-left: 350px;
    margin-top: -100px;
    width: 200px;
    border-radius: 30px;
    background-color: rgb(33, 32, 32);
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-family: "Roboto", sans-serif;
    letter-spacing: 2px;
    transition: all .3s;   
} 

.inpform:nth-child(6):hover {
    background-color:  rgb(10, 105, 10);
    color: rgb(255, 255, 255);
}

.inpform {
    width: 300px;
    height: 35px;
    margin-left: 140px;
    border-radius: 10px;
    font-size: 16px;
    font-family: "Roboto",sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    outline: none;
    border: none;
    background: transparent;
    color: rgb(123, 123, 123);
    border: 0.5px solid #525252;
}


              /* Thenks */

.thenks {
    position: absolute;
    top: 0px;
    left: -100px;
    z-index: 100;
    transform: scale(0);
    opacity: 0;
    width: 900px;
    height: 300px;
    background-image: linear-gradient(to right,
    rgb(73, 63, 3), rgb(34, 71, 82),  rgb(44, 26, 26));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 10px solid rgb(19, 19, 19);
    transition: all 0.5s;
}

.openThenks {
    transform: scale(1.1);
    opacity: 1;
}

.pthenks {
    width: 100%;
    height: 40px;
    border-radius: 22px;
    color: rgb(233, 233, 233);
    /* background-color: rgba(0, 0, 0, 0.134); */
    /* border: 5px solid rgb(235, 218, 218); */
    text-align: center;
    font-size: 66px;
    font-family: "Roboto", sans-serif;
    text-shadow: 0 0 3px rgb(23, 165, 1);
    text-transform: uppercase;
    /* padding: 20px 20px; */
    letter-spacing: 4px;
    /* animation: colors 0.5s alternate infinite; */
    /* filter: drop-shadow(0 0 2px rgb(255, 255, 255)); */
}

@keyframes colors {
    from {
        background-image: linear-gradient(to left, red, blue,green,yellow,rgb(134, 144, 160));
    }
    50% {
        background-image: linear-gradient(to right, red, blue,green,yellow,rgb(75, 75, 75));
    }
    to {
        background-image: linear-gradient(to left, red, blue,green,rgb(154, 154, 62),rgb(134, 144, 160)); 
    }
}

.btclosed {
    cursor: pointer;
    position: absolute;
    top: 4px;
    right: 4px;
    /* background-color: rgb(255, 255, 255); */
    width: 30px;
    height: 30px;
    border-radius: 100%;
    transition: all 0.3s;
    /* filter: drop-shadow(0 0 2px rgb(231, 231, 231)); */
    text-align: center;
    display: flex;
    align-items: center;
}

.px {
    background-color: #52525200;
    color: #b4b2b2;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    text-align: center;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    transition: all 0.4s;
}

.px:hover {
    background-color: #4a4a4a;
}

/* 
.sp1 {
    position: absolute;
    top: 14px;
    left: 2.5px;
    width: 25px;
    height: 1px;
    background-color: rgb(104, 104, 104);
    border-radius: 3px;
    transition: all 0.3s;
}

.sp1:nth-child(1) {
    transform: rotate(-45deg);
}

.sp1:nth-child(2) {
    transform: rotate(45deg);
}

.btclosed:hover {
    background-color: rgb(71, 71, 71);
}

.btclosed:hover .sp1 {
    background-color: red;
} */

             /* Footers */

.footer {
    background-color: rgb(23, 22, 22);
    width: 100%;
    height: 230px;
    display: grid;
    grid-template-columns: repeat(3, 640px);
    margin-top: 80px;
}

.gids3 {
    display: flex;
    align-items: center;
}

.grid1 {
    border-left: 1px solid rgb(86, 86, 86);
    border-right: 1px solid rgb(86, 86, 86);
}

.imgLogo {
    margin-top: -50px;
    margin-left: 50px;
    width: 100px;
    filter: drop-shadow(0 0 3px rgb(0, 0, 0));
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.ulfooter {
    width: 100%;
}

.ulfooter li {
    background-color: rgb(0, 0, 0);
    margin-top: 20px;
    text-align: center;
}

.ulfooter li:hover .atext {
    color: red;
}

.atext {
    text-decoration: none;
    color: var(--colorp);
    font-size: 19px;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.info {
    margin-left: 50px;
}

.ptext {
    font-size: 19px;
    letter-spacing: 1px;
    color: var(--colorp);
    margin-top: 10px;
}

.gridsimg {
    width: 100%;
    height: 230px;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 90px);
    grid-template-rows: repeat(3, 70px);
    gap: 10px;
}

.imgbox {
    margin-top: 50px;
    width: 90px;
    height: 70px;
    border-radius: 3px;

}

.imgfooter {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


