@import "CSS/loading.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.general {
    width: 100%;
    height: 100vh;
}
.folders > h1 {
    margin-bottom: 30px;
}

.folders > .upload_image{
    padding: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.folders > .upload_image > label > .upload {
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px dashed gray;
    display: flex;
    justify-content: center;
    align-items: center;
}

.folders > .upload_image > label > .upload > img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}
.folders > .upload_image > label > .upload > h2{
    margin: 0 20px;
}

.folders > .upload_image > input {
    display: none;
}


.general > .folders {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.general > .folders > .folder,
.general > .folders > .image_container{
    cursor: pointer;
    margin: 5px 10px;
    display: flex;
    align-items: flex-end;
    /*flex-direction: column;*/
}


.general > .folders > .folder > img,
.general > .folders > .image_container > img{
    width: 100px;
    height: 100px;
    object-fit: contain;
}


.general > .folders > .folder > h1,
.general > .folders > .image_container > h1{
    font-size: 22px;
    font-family: "Bitstream Charter", sans-serif;
    text-align: center;
    margin: 30px 30px;
}

.general > .modal_container {
    position: fixed;
    padding: 100px 100px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
}

.general > .modal_container > .wrapper {
    padding-bottom: 30px;
    border-radius: 10px;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 700px;
    background: whitesmoke;
}

.general > .modal_container > .wrapper > .close_modal {
    cursor: pointer;
    position: absolute;
    right: -25px;
    top: -60px;
}


.general > .modal_container > .wrapper > .image_name {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: red;*/
}

.general > .modal_container > .wrapper > .image_name > a {
    text-decoration: none;
    font-size: 25px;
    color: black;
}

.general > .modal_container > .wrapper  > .image_container{
    width: 100%;
    height: calc(100% - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.general > .modal_container > .wrapper  > .image_container > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}