body{

    margin: 0;
    min-width:800px
}
#head{
    position: fixed;
    width: 100%;
    z-index: 999;
    height: 100px;
}
#heading{
    background-color: rgb(0, 0, 0);
    display: flex;
    justify-items: center;
    gap: 10%;
    height: 100%;
    color: orange;
}
#heading>*{
    margin-left: 10px;
    position: relative;
}
.themes:hover{
    color: #e16a07;
    cursor: pointer;
}
#slider{
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 820px;
    height: 420px;
    background: rgb(0, 0, 0);
}
#main{
    width: 1vm;
    height: 500px;
    background: rgb(0, 0, 0);
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
}
.footing{
    border-top: #c98810 3px solid;
    width: 100%;
    height :200px;
    background-color: rgb(0, 0, 0);
}
#gameField{
    background-image: url("images/gamef.jpg");
    display: grid;
    grid-template-columns: auto auto auto;
    justify-items: center;
}
.game{
    border-radius: 5px;
    margin:30px 0 30px 0;
    width: 200px;
    height: 300px;
    background: rgb(0, 0, 0);
    border: 10px solid transparent;
    border-image: linear-gradient(90deg, #000202 0%, #313131 100%) 25% / 1 / 0 stretch;
    box-shadow:
            inset 0 0 50px #cf7f07,      /* inner white */
            inset 20px 0 80px rgb(0, 0, 0),   /* inner left magenta short */
            inset -20px 0 80px rgb(0, 0, 0),  /* inner right cyan short */
            inset 20px 0 300px rgb(0, 0, 0),  /* inner left magenta broad */
            inset -20px 0 300px rgb(0, 0, 0), /* inner right cyan broad */
            0 0 50px #c26712,            /* outer white */
            -10px 0 80px rgb(204, 140, 2),        /* outer left magenta */
            10px 0 80px rgb(0, 0, 0);         /* outer right cyan */
}
.image{
    height: 65%;
    width: 100%;
    background-color: rgb(0, 0, 0);
    transform: translateY(5px);
}
.price{
    color: orange;
    margin-top: 5%;
    height:  10%;
    width: 100%;
    font-size: 20px;
    text-align: center;
}
.buy{
    bottom: 10px;
    left: 50%;
    background-color: rgba(250, 124, 33, 0.88);
    height: 10%;
    width: 100%;
    border-radius: 10px;
    font-style: italic;
    font-weight: bolder;
}
.buy:hover{
    background-color: #fd6716;
    cursor: pointer;
}
.gameName{
    margin-top: 5%;
    text-align: center;
    color:#c26712;
  
    
}
#loginField{
    border: 3px solid black;
    border-radius: 10px;
    position: fixed;
    width: 250px;
    height: 300px;
    background-color: rgb(97, 97, 97);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
    display: block;
    gap: 10px;
}
#loginField>*{
    font-size: 20px;
    margin-top: 30px;
    text-align: center;
}
.nick{
    width: 190px;
    margin-left: 25px!important;
}
.chapter{
    color: white;
    margin: 20px;
    font-size: 30px;
    display: grid;
}
.subsection{
    margin-left: 10px;
    font-size: 20px;
}
.slide>img{
    height: 100%;
    width: 100%;
}
.close {
    height: 30px;
    width: 30px;
    position: absolute;
    top: -16px;
    right: -16px;
    background-color: red;
    border-radius: 50%;
    z-index: 999;
}
.close::before,
.close::after{
    content: "";
    background-color: rgb(255, 255, 255);
    position:absolute;
    height: 20%;
    width: 69%;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%) rotateZ(45deg);
    border-radius: 15px;
}
.close::after{
    transform: translate(-50%, -50%) rotateZ(-45deg);
    background-color: #ffffff;
}
.close:hover {
    cursor: pointer;
    background-color: rgb(211, 2, 2);
    background-image: none;
}
@media screen and (max-width: 1250px) {
    #gameField{
        grid-template-columns: auto auto ;
    }
}
@media screen and (max-width: 950px) {
    .sides{
        display: none ;
    }
    #main{
        grid-template-columns: auto;
    }
    .f3{
        display: none;
    }
}
.hidden{
    display: none;
}
.confirmBuyWindow{
    border-radius: 15px;
    border: #fd6716 3px solid;
    top: 58%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #000000;
    position: fixed;
    width: 600px;
    padding: 10px;
}
.gameImage{
    margin-top: 20px;
    width: 100%;
    max-height: 380px;
}
.confBWGameName{
    font-size: 24px;
    color: orange;
}
.gamePrice{
    font-size: 30px;
    color: #bea200;
}
.confirmBuyButton{
    background-color: #c07300;
    width: 50%;
    text-align: center;
    border: 3px solid black;
    border-radius: 25px;
    font-size: 30px;
    color: #000000;
}
.confirmBuyButton:hover{
    cursor: pointer;
    color: #2a2a2a;
    text-shadow: 4px 1px #c8c9c9;
    background-color: #d1bc01;
}
.center{
    margin-top: auto;margin-bottom: auto
}
#wrapper{
    background-image: url("images/bgOr.png");
    height: 100%;
}
.sides{
    background-image: url("images/bgOr.png");
}
.payment>img{
    margin: 10px;
    height: 50px;
    width: 120px;
}
.payment{
    display: flex;
    gap: 20px;
    justify-content: center;
}