body{
    margin: 20px !important;
    padding: 0 !important;
    text-align: center !important;
    overflow: auto;
}

html{
    -ms-overflow-style: none;
    scrollbar-width: none;
}
html::-webkit-scrollbar{
    display: none;
}

.my-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.top-info-banner {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #38D1BC;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    font-size: large;
    transition: ease 0.2s;
}

.top-info-banner a {
    color: black !important;
    text-decoration: none !important;
}

.top-info-banner i {
    cursor: pointer;
}

.top-info-banner i:hover {
    transform: scale(1.02);
}

.my-container::-webkit-scrollbar{
    display: none;
}

.folder-title{
    margin-top: 5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
}

.jlr{
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0;
}

.jlr::-webkit-scrollbar{
    display: none;
}

.photo-row {
    display: flex;
    width: 100%;
    margin-bottom: 4px;
    align-items: flex-start;
}

.jlr .jlr_item{
    display: block;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

.jlr img.jlr_img{
    display: block;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.jlr img.jlr_img:hover{
    transform: scale(1.05);
}

.copy{
    margin-top: 5rem;
}

.overlay {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    justify-content: center;
    align-items: center; 
}

.overlay::-webkit-scrollbar{
    display: none;
}

.close, .arrow, .download, .fullscreen{
    transition: 0.2s ease;
    cursor: pointer;
    z-index: 101;
}

.close:hover, .arrow:hover, .download:hover, .fullscreen:hover{
    transform: scale(1.1);
}

.home-loading {
    width: 100px;
}

.overlay img {
    height: auto;
    width: auto;
    max-height: 90vh;
    max-width: 90vw;
    user-select: none; 
    display: block;
    z-index: 100;
}

.overlay .close {
    color: white;
    font-size: 50px;
    position: absolute;
    top: 15px;
    right: 35px;
    cursor: pointer;
    user-select: none; 
}

.overlay .download {
    color: white;
    font-size: 35px;
    position: absolute;
    bottom: 15px;
    right: 35px;
    cursor: pointer;
    user-select: none; 
}

.overlay .fullscreen {
    color: white;
    font-size: 35px;
    position: absolute;
    top: 25px;
    left: 35px;
    cursor: pointer;
    user-select: none; 
}

.overlay .arrow {
    color: white;
    font-size: 50px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    user-select: none; 
}

.overlay .prev {
    left: 20px;
}

.overlay .next {
    right: 20px;
}

.overlay .loading {
    height: 100px;
    width: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.up-btn{
    display: none;
    position: fixed;
    z-index: 10;
    bottom: 20px;
    right: 30px;
    cursor: pointer;
    font-size: xx-large;
    background-color: rgba(190, 190, 190, 0.518);
    border-radius: 5px;
    width: 50px;
    height: 50px;
    opacity: 1;
    transition: 0.2s ease;
}

.up-btn:hover{
    transform: scale(1.1);
}

.folders-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-evenly;
    align-items: center;
    justify-items: center;
    gap: 1rem;
    padding: 1rem 10%;
}

.folder-child{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 2rem 1rem;
    width: 400px;
    height: 220px;
    border-radius: 10px;
    background-color: rgb(250, 250, 250);
    cursor: pointer;
    transition: 0.2s ease;
}

.folder-child:hover{
    transform: scale(1.02);
}

.child-title{
    font-size: large;
    font-weight: 700;
}


.child-access{
    padding: 10px 15px;
    border-radius: 7px;
    color: rgb(255, 255, 255);
    font-weight: 500;
}

.child-access.ok{
    background-color: rgb(40, 202, 0);
}

.child-access.nok{
    background-color: rgb(236, 0, 0);;
}

.child-desc{
    font-size: large;
}

.hidden{
    display: none;
}

.logo{
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100px;
    height: 100px;
    transition: 0.2s ease;
    cursor: pointer;
}

.logo:hover{
    transform: scale(1.1);
}

@media screen and (max-width: 1500px) {
    .folders-container{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 1000px) {
    .folders-container{
        grid-template-columns: 1fr;
    }
    .top-info-banner {
        font-size: medium;
    }
}

@media screen and (max-width: 768px) {
    body{
        margin: 10px !important;
    }
    
    .jlr{
        width: 100%;
        padding: 0;
    }
    
    .photo-row {
        margin-bottom: 3px;
    }
    
    .overlay .arrow {
        font-size: 35px;
    }
    
    .overlay img {
        max-height: 80vh; 
        max-width: 80vw; 
    }

    .folder-title{
        margin-top: 7rem;
        font-size: 1.5rem;
    }
    
    .top-info-banner {
        padding: 10px 5%;
        font-size: medium;
    }
    
    .overlay .close {
        font-size: 40px;
        top: 10px;
        right: 20px;
    }
    
    .overlay .download {
        font-size: 30px;
        bottom: 10px;
        right: 20px;
    }
    
    .overlay .fullscreen {
        font-size: 30px;
        top: 15px;
        left: 20px;
    }
}

@media screen and (max-width: 480px) {
    body{
        margin: 5px !important;
    }
    
    .jlr{
        width: 100%;
        padding: 0;
    }
    
    .photo-row {
        margin-bottom: 2px;
    }
    
    .overlay .arrow {
        font-size: 25px;
        top: 50%;
    }
    
    .overlay .prev {
        left: 10px;
    }
    
    .overlay .next {
        right: 10px;
    }
    
    .overlay img {
        max-height: 75vh; 
        max-width: 95vw; 
    }
    
    .folder-title{
        margin-top: 11rem;
        font-size: 1.2rem;
    }

    .top-info-banner {
        font-size: small;
        padding: 10px 2%;
    }

    .logo {
        top: 75px;
        left: 50%;
        transform: translate(-50%, 0);
        width: 80px;
        height: 80px;
    }
    
    .overlay .close {
        font-size: 35px;
        top: 5px;
        right: 15px;
    }
    
    .overlay .download {
        font-size: 25px;
        bottom: 5px;
        right: 15px;
    }
    
    .overlay .fullscreen {
        font-size: 25px;
        top: 10px;
        left: 15px;
    }
}