html{
    background-color: rgb(253, 236, 217);
}

:root {
  --bs-body-bg: #f9e5d5; /* Your desired custom color */
}

.thin_spacer{
    background-color: rgb(253, 236, 217);
    height:15px;
    width:100%;
}
.homepage_title{
    background-color: rgb(253, 236, 217);
    font-family:'Courier New', Courier, monospace;
    display: grid;
    width: 100%;
    justify-content: center;
}
.homepage_content{
    background-color: rgb(253, 236, 217);
    display: grid;
    grid-template-columns: 50% 50%;
    border-top-style: dashed;
    border-bottom-style: dashed;
    border-bottom-width: 2px;
    border-top-width: 2px;
    width: auto;
    height: auto;
    justify-items: center;
}
.game_name{
    background-color: rgb(253, 236, 217);
    font-family: 'Courier New', Courier, monospace;
    width: 100%;
    display: grid;
    justify-content: center;
}
.left_game{
    background-color: rgb(253, 236, 217);
    width: 80%;
    height: 100%;
}

.main_info{
    background-color: rgb(253, 236, 217);
    border-right-width: 2px;
    border-right-style: dashed;
    width: 100%;
    height: 550px;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 10% 90%;
}
.intro_info{
    font-family: 'Courier New', Courier, monospace;
    justify-content:left;
    padding-left: 10%;
    padding-right: 10%;
}
.gallery_title{
    background-color: rgb(253, 236, 217);
    display: grid;
    border-bottom-width: 2px;
    border-bottom-style: dashed;
}
.document_gallery{
    background-color: rgb(253, 236, 217);
    padding-bottom:5%;
}
.document_grid{
    padding-top: 2%;
    padding-left: 2%;
    padding-right: 2%;
    display: grid;
    align-content: center;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}
.document{
    display: grid;
}
.document_thumbnails{
    display: block;
    justify-self: center;
    height:auto;
    width:100%;
}
.document_info{
    font-family: 'Courier New', Courier, monospace;
    justify-content:left;
    font-size: 13px;
    padding-left: 5%;
    padding-right: 5%;
}
.document_block{
    width: 100%;
    height: auto;
    display: grid;
    grid-template-rows: 20% 80%;
}
.document_name{
    width: 100%;
    font-size: 18px;
    text-align: center;
    padding-left: 5%;
    font-family: 'Courier New', Courier, monospace;
}

.explorer_container {
    width: 100%;
    max-width: 95%;
    justify-self: center;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

.folder {
    margin-bottom: 10px;
}

.folder_label{
    font-family: 'Courier New', Courier, monospace;
    display: block;
    padding: 15px 20px;
    background-color: #e0e9f1;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-weight: 600;
    color: #5d7083;
    user-select: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
}

.folder_label:hover {
    background-color: #d1dcec;
    transform: translateY(-2px);
}

.folder_label:before {
    content: '📂'; /* Unicode folder icon */
    font-size: 1.2em;
    margin-right: 15px;
    transition: transform 0.2s ease;
}

.folder input[type="checkbox"] {
    display: none;
}

.folder input[type="checkbox"]:checked ~ .documents {
    max-height: 500px;
    padding: 15px 0;
}

.documents{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
    padding-top: 0;
    background-color: #f4f7f6;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    font-family: 'Courier New', Courier, monospace;
}

.documents a {
    display: block;
    padding: 10px 20px 10px 50px;
    color: #4a4a4a;
    text-decoration: none;
    transition: background-color 0.2s ease;
    position: relative;
    font-size: 0.95rem;
}

.documents a:hover{
    background-color: #e9ecf0;
}

.documents a::before{
    content: '📄'; /* Unicode document icon */
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width:768px){
    .homepage_title{
        text-align: center;
    }
    .homepage_content {
        grid-template-columns: 100%;
        border-bottom-width: 2px;
    }
    .main_info{
        border-right-width: 0;
        border-bottom-style: dashed;
        border-bottom-color:black;
        border-bottom-width: 2px;
        margin-bottom: 15px;
        height:auto;
    }
    .game_name{
        text-align: center;
    }
    .intro_info{
        padding-bottom:12px;
    }
    .left_game{
        padding-bottom: 12px;
    }
    .document_grid{
        grid-template-columns: 1fr;
        padding: 0 5%;
        gap:20px;
        margin-top: 10px;
    }
    .document_name{
        font-weight: 1000;
        padding-left: 0;
        padding-bottom: 2px;
        height:100%;
        margin-top: 0;
        margin-bottom: 0;
    }
}