body {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: white;
}
div {image-rendering: pixelated;}
a {
    cursor: pointer;
    color: rgb(150, 150, 255);
    font-size: 16px;
}
li {font-size: 16px;}

/* Fixed Elements */
#popup {
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    z-index: 200;
    overflow-y: scroll;
}
#popup::-webkit-scrollbar {width: 16px;}
#popup::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.3);
    border-radius: 8px;
}
.pack {
    width: 100%;
    border-bottom: 1px solid rgba(150,150,150);
    display: inline-block;
}
.icon {
    float: left;
    margin: 20px;
    margin-right: 35px;
    border-radius: 5%;
    height: 100px;
    width: 100px;
    border: 1px solid rgba(150,150,150);
    background-size: cover;
    background-position: center;

}
.infoList {
    /* margin-top: 20px; */
    margin-bottom: 20px;
    text-align: left;
    width: calc(100% - 157px);
    float: right;
}
.infoList p {margin-bottom: 0;}

#versionPopup {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 200;
    display: none;
}
#versionPrompt {
    position: absolute;
    top: 0;
    left: 0;
    height: 40%;
    width: 100%;
    background-image: linear-gradient(to bottom right, rgba(0,0,0), rgba(0,0,0), rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0));
    z-index: 210;
}
#versionPopup p {
    margin-left: 20px;
    margin-right: 30%;
    position: absolute;
}
.versionBackgroundFilter {
    background-color: rgba(0,0,0,0.4);
    height: 100%;
    width: 100%;
}
.versionOptionBackground {
    position: absolute;
    top: 0;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 50%;
    z-index: 200;
    image-rendering: auto;
}
#bedrockBackground {background-image: url("../IMAGES/bedrockBackground.png");}
#javaBackground {
    background-image: url("../IMAGES/javaBackground.png");
    margin-left: 50%;
    border-left: 1px solid rgb(114, 114, 114);
}
.versionOption {
    position: absolute;
    padding-top: 3%;
    padding-bottom: 3%;
    text-align: center;
    font-size: 20px;
    border: 1px solid rgb(223, 223, 223);
    color: rgb(223, 223, 223);
    background-color: rgba(60, 60, 60, 0.6);
    width: 70%;
    margin-left: 15%;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    top: 60%;
}

#imagePopup {
    z-index: 500; 
    width: 100%; 
    height: 100%; 
    position: fixed; 
    background: rgba(0,0,0,0.5); 
    -webkit-backdrop-filter: blur(10px); 
    backdrop-filter: blur(10px);
    top: 0;
    left: 0;
    display: none;
}

.title {
    height: 10%;
    width: 80%;
    position: fixed;
    z-index: 100;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    top: 5px;
}

.grid {
    width: 100%;
    height: 85%;
    position: fixed;
    bottom: 5%;
    z-index: 100;
    display: grid;
    grid-template-columns: 33% 34% 33%;
}

.blockPreviews {display: inline-block;}
.blockMain {
    width: calc(90% - 2px);
    margin: 5%;
    aspect-ratio: 1 / 1.25;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;
}
.blockSelection {
    width: 90%;
    margin: 5%;
    aspect-ratio: 1 / calc(1/3);
    display: grid;
    grid-template-columns: auto auto auto;
    column-gap: 5%;
}
.blockSelection div {
    aspect-ratio: 1 / 1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.selections {
    width: 90%;
    aspect-ratio: 1/1;
    margin: 5%;
}
.button {
    padding-top: 1%;
    padding-bottom: 1%;
    width: 24%;
    text-align: center;
    font-size: 16px;
    display: block;
    position: absolute;
    left: calc(38%);
    text-decoration: underline;
}
.download {margin-top: calc(7%);}
.preview {margin-top: calc(13%);}
.credit {margin-top: calc(19%);}
.hotbarRender {
    width: 90%;
    margin: 5%;
    aspect-ratio: 1 / 0.5;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.player {
    width: 90%;
    margin: 5%;
    aspect-ratio: 1 / 1.25;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.itemSelection {
    width: 90%;
    margin: 5%;
    aspect-ratio: 1 / calc(1/3);
    display: grid;
    grid-template-columns: auto auto auto;
    column-gap: 5%;
}
.itemSelection div {
    aspect-ratio: 1 / 1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.items {
    cursor: pointer;
    width: 60%;
    margin: 20%;
    aspect-ratio: 1 / 1;
}

#imagePopup {
    z-index: 500; 
    width: 100%; 
    height: 100%; 
    position: fixed; 
    background: rgba(0,0,0,0.5); 
    -webkit-backdrop-filter: blur(10px); 
    backdrop-filter: blur(10px); 
    display: none;
    cursor: pointer;
}

/* Background Scrolling */
.firstBackground {
    position: absolute;
    z-index: 0;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background-image: cover;
}
.backgroundFilter {
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.nextBackground {
    position: absolute;
    right: 0;
    left: 0;
    height: calc(103% + 50px);
    clip-path: polygon(0 100%, 0 50px, calc(50% + 50px) 50px, 50% 0, calc(50% - 50px) 50px, 100% 50px, 100% 100%);
}
.nextFilter {
    position: absolute;
    right: 0;
    left: 0;
    height: calc(103% + 50px);
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    clip-path: polygon(0 100%, 0 50px, calc(50% + 50px) 50px, 50% 0, calc(50% - 50px) 50px, 100% 50px, 100% 100%);
}
.whiteBorder {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: white;
}
.whiteBorderTriangle {
    position: absolute;
    width: 100px;
    height: 100px;
    transform: rotate(45deg);
    left: calc(50% - 50px);
    right: calc(50% - 50px);
    background-color: white;
}

.check {
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    z-index: -1;
}

@media screen and (min-width: 1000px) {
    a {
        width: 18%;
        left: 41%;
    }
    .download {margin-top: calc(7%);}
    .preview {margin-top: calc(12%);}
    .credit {margin-top: calc(17%);}    
}

@media (min-aspect-ratio: 1.75/1) {
    .grid {
        width: 85%;
        left: 7.5%;
    }
}

@media (max-aspect-ratio: 1/1) {
    .grid {width: 150%;}
    .download {margin-top: calc(7%);}
    .preview {margin-top: calc(12%);}
    .credit {margin-top: calc(17%);}
}

@media (max-aspect-ratio: 1/1.5) {
    .grid {
        width: 300%;
        margin-left: -100%;
    }
    .download {margin-top: calc(7%);}
    .preview {margin-top: calc(12%);}
    .credit {margin-top: calc(17%);}
}