.wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px;
    row-gap: 25px;
    flex-direction: column;
}

.wrapperMini {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

details {
    width: 100%;
}

details[open] summary {
    margin-bottom: 15px;
}

summary {
    font-size: 2rem;
    align-self: flex-start;
    margin: 0;
}

details p {
    color: white;
    text-shadow: var(--strokeBlack);
}

p {
    text-align: center;
    width: 100%;
}

.borderBlack {
    margin: 15px;
    width: 100%;
}

.txt {
    overflow-y: auto;
}

/* ---------- FOLIO BOX ---------- */

.folioBox {
    margin: 15px;
    position: relative;
    overflow: hidden;
}

.folioBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.folioHover {
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: 0.2s;
    width: 100%;
    height: 100%;
    text-align: center;
}

.folioHover p {
    color: white;
    padding: 5px;
    font-style: normal;
}

.folioHover:hover {
    background-color: hsl(270, 86%, 27%, 0.75);
    opacity: 1;
}

/* ---------- IMAGE MODAL ---------- */

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modalContent {
    max-width: 90%;
    max-height: 85vh;
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#modalTitle {
  position: absolute;
  top: 35px;
  text-align: center;
  align-self: center;
  
  font-size: 3rem;
  color: white;
  text-shadow: var(--strokeBlack);
}

.modalContent .borderDash {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modalContent img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

/* -------------------- M E D I A Q U E R I E S -------------------- */

/* ---------- PHONES ---------- */

@media (max-width: 600px) {
    .folioBox {
        max-width: 120px;
        height: 120px;
    }
    
    .folioHover {
      display: none;
    }

    .txt {
        max-height: 76px;
    }
}

/* ---------- MOBILE ---------- */

@media (min-width: 600px) {
    .folioBox {
        max-width: 120px;
        height: 120px;
    }

    .txt {
        max-height: 60px;
    }
}

/* ---------- DESKTOP ---------- */

@media (min-width: 992px) {
    main .wrapper {
        flex-direction: column !important;
    }

    .folioBox {
        max-width: 140px;
        height: 140px;
    }
    
    .folioHover {
      display: block;
    }

    .txt {
        max-height: 60px;
    }
}