html{
    scroll-behavior: smooth;
}
body{
    margin: 0;
    padding: 0;
    background-color: #1d1c1c;
    margin: 0;
    padding: 0;
    font-family: 'Architects Daughter';
    overflow-x: hidden;
    overflow-y: hidden;
}
a{
    text-decoration: none;
}

/* navbar arrow to nav back to choose game section */
.arrow-left{
    font-size: 35px;
    position: relative;
    top: 7px;
    left: 10px;
    color: white;
    border: 1px solid rgb(255, 255, 255);
    background-color: rgba(31, 31, 31, 0.4);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    visibility: hidden;
}
.arrow-left:hover{
    background-color: rgba(31, 31, 31, 0.8);
    color: rgb(226, 44, 44);
}

/* choose a game section styles */
.choose-game-container{
    height: calc(100vh - 60px);
    position: absolute;
    bottom: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
}
.game-container{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.game-container:nth-child(1){
    background-image: url("https://drive.google.com/uc?id=1bLbPIK5jP-j7Ip9k9qmHYG86qflA6pPf");
}
.game-container:nth-child(2){
    background-image: url("https://drive.google.com/uc?id=1BW0Ihb6jEejWBlskKzQ91b7Ci8hBTWoo");
}
.game-container-layer{
    height: 100%;
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}
.game-container:nth-child(1) .game-container-layer{
    background-color: #1f254980;
}
.game-container:nth-child(2) .game-container-layer{
    background-color: #491f1f80;
}
.choose-game-button, .bo2-coming-soon{
    background-color: #121212b3;
    color: white;
    padding: 4%;
    font-size: 20px;
    border-radius: 5px;
    border: 2px solid white;
    cursor: pointer;
}
.choose-game-button:hover{
    background-color: #121212;
    transition: 200ms;
}


/* choose camo-type section styles */
.main-elements-container{
    height: calc(100vh - 60px);
    width: 100%;
    position: relative;
    top: 60px;
    display: grid;
    grid-template-rows: 10% 88%;
    display: none;
}
.camo-type-header{
    background-color: #4b5aad;
    font-size: 40px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid white;
}
.elements-container{
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    margin-top: 20px;
}
.elements{
    background-color: aliceblue;
    height: 90%;
    width: 90%;
    align-self: center;
    justify-self: center;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    border: 2px solid white;
}
/* pack a punch camos BG */
.elements-bo1:nth-child(1){
    background-image: url("https://drive.google.com/uc?id=1tL8yxTRB2DlQZjswslXvWJgduHn30Wpg");
}
/* weapon camos BG */
.elements-bo1:nth-child(2){
    background-image: url("https://drive.google.com/uc?id=1sXHqziC9SeSrXjz7xLRbEOhnV_Kd5OKz");
}
/* box camos BG */
.elements-bo1:nth-child(3){
    background-image: url("https://drive.google.com/uc?id=1ZJPz7vLvOmT8ViPa4sBdePR2Dbumx40f");
}
/* hud camos BG */
.elements-bo1:nth-child(4){
    background-image: url("https://drive.google.com/uc?id=1RnRzwPub-Pg2TDH1MaHv5FGLLml41mks");
}
/* zombie skins BG */
.elements-bo1:nth-child(5){
    background-image: url("https://drive.google.com/uc?id=1XB-dbPTIedjbNmarKn2_zTreu8KmOQUr");
}
/* effects BG */
.elements-bo1:nth-child(6){
    background-image: url("https://drive.google.com/uc?id=10Xr28st5S9qrOVkd6DJaZDcLo7jFTxVC");
}
/* map design BG */
.elements-bo1:nth-child(7){
    background-image: url("https://drive.google.com/uc?id=1pVXXoRtdAkDSRkc_x1WaVdODM84sszd6");
}
.elements-bo1:nth-child(8){
    background-image: url("https://drive.google.com/uc?id=1FKeR8b_BC45nwB_ABDtFu1deQ-vvMvMT");
}
.elements-layer{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    font-size: 28px;
    background-color: #121212b7;
    text-shadow: 1px 1px 10px #4b5aaf, -1px -1px 10px #4b5aaf;
    cursor: pointer;
}
.elements-layer:hover{
    background-color: #121212ef;
    transition: 200ms;
}

.main-container-items{
    background-color: #1d1c1c;
    position: absolute;
    height: 0;
    width: 100%;
    bottom: 0;
    grid-row: 2;
    display: none;
    grid-template-columns: 20% 20% 20% 20% 20%;
}
.close-list-button{
    grid-column: 1/6;
    grid-row: 1;
    color: white;
    justify-self: center;
    align-self: center;
    height: 50px;
    width: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(196, 51, 51);
    margin-top: 50px;
    border-radius: 5px;
    border: 1px solid white;
    font-size: 20px;
    cursor: pointer;
}
.searchbar-container{
    grid-row: 2;
    grid-column: 1/6;
    justify-self: center;
    width: 600px;
    height: 50px;
    margin-top: 20px;
    margin-bottom: 50px;
    display: grid;
    align-items: center;
    position: relative;
}
.search-icon{
    color: #111111;
    position: absolute;
    right: 0;
    font-size: 30px;
}
.searchbar{
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.main-items-style{
    background-color: white;
    width: 300px;
    height: 300px;
    margin: 20px;
    justify-self: center;
    align-self: center;
    position: relative;
    border-radius: 5px;
    border: 2px solid white;
}
.main-items-styles-layer{
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    font-size: 28px;
    background-color: #2c2c2c;
    text-shadow: 1px 1px 10px #4b5aaf, -1px -1px 10px #4b5aaf;
    box-shadow: 1px 1px 10px white;
    cursor: pointer; 
}
.icon-of-weapon{
    width: 100%;
    max-width: 280px;
    justify-self: center;
    height: auto;
}


/* media queries */
@media (max-width: 700px) {
    .choose-game-container{
        grid-template-columns: 100%;
    }
}

@media (max-width: 1200px) {
    .elements-container{
        grid-template-columns: 25% 25% 25% 25%;
    }
}

@media (max-width: 1000px) {
    .elements-container{
        grid-template-columns: 33.333% 33.333% 33.333%;
    }
    .main-elements-container{
        height: 1000px;
    }
}

@media (max-width: 800px) {
    .elements-container{
        grid-template-columns: 50% 50%;
    }
    .main-elements-container{
        grid-template-rows: 100px 1200px;
    }
}

@media (max-width: 600px) {
    .elements-container{
        grid-template-columns: 100%;
    }
    .main-elements-container{
        grid-template-rows: 100px 1800px;
    }
}

@media (max-width: 500px) {
    .camo-type-header{
        font-size: 35px;
    }
}
@media (max-width: 380px) {
    .camo-type-header{
        font-size: 25px;
    }
}

@media (max-height: 700px) {
    .main-elements-container{
        height: 700px;
    }
}

/* responsive list container */
@media (max-width: 1600px) {
    .main-container-items{
        grid-template-columns: 25% 25% 25% 25%;
    }
    .close-list-button, .searchbar-container{
        grid-column: 1/5;
    }
}

@media (max-width: 1300px) {
    .main-container-items{
        grid-template-columns:  33.333% 33.333% 33.333%;
    }
    .close-list-button, .searchbar-container{
        grid-column: 1/4;
    }
}

@media (max-width: 1000px) {
    .main-container-items{
        grid-template-columns:  50% 50%;
    }
    .close-list-button, .searchbar-container{
        grid-column: 1/3;
    }
}

@media (max-width: 700px) {
    .main-container-items{
        grid-template-columns:  100%;
    }
    .main-items-style{
        width: 90%;
        height: 250px;
    }
    .close-list-button, .searchbar-container{
        grid-column: 1/2;
        height: 50px;
    }
    .searchbar-container{
        width: 80%;
    }
}