.folder {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-evenly;
    width: 100%;
    padding: 0;
}

.folder img {
    align-self: center;
    width: 150px;
    transition: 0.3s;
}

.folder img:hover {
    align-self: center;
    width: 160px;
    transition: 0.3s;
}

.folder li {
    list-style: none;
    width: 20%;
    word-wrap: break-word;
}

.folder a,
.emptyFolder {
    text-decoration: none;
    color: var(--color-2);
    font-family: "Starjedi", sans-serif;
}

.folder a:hover {
    color: var(--color-1);
}

.back{
    display: flex;
    flex-direction: row;
    padding: 10px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    margin: 0 50px 0 0;
    width: 10%;
}

.back:hover {
    padding: 13px;
    transition: 0.3s;
}

.back img{
    width: 20px;
}

.back p {
    font-size: 16px;
    margin-left: 10px;
    color: var(--color-3);
}

.pictures {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
}

.picture img {
    max-width: 600px;
    margin: 10px;
    border-radius: 10px;
}

.navGallery {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-height: 90px;
    margin-top: 20px;
    background-color: var(--color-2);
    padding-left: 5%;
    padding-right: 5%;
}

.navGallery h2 {
    font-size: 20px;
    font-family: "Starjedi", sans-serif;
    color: var(--color-3);
}

.returnButton {
    color: rgb();
}

@media only screen and (max-width: 1140px) {
    .folder {
        flex-direction: column;
    }

    .back {
        padding: 0px;
        width: 100%;
    }

    .folder li {
        width: 100%;
    }

    .picture img {
        max-width: 100%;
    }

    .navGallery {
        margin-top: 30px;
        max-height: 180px;
        flex-direction: column;
    }
  }