body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body * {
    box-sizing: border-box;
    line-height: 1.5em;
}

.layout {
    display: grid;

}

.limit {
    max-width: 1000px;
    margin: auto;
}

main {
    min-height: calc(100vh - 64px);
}

.grid {
    display: grid;
    grid-auto-flow: column;
    max-width: 1000px;
    grid-gap: 20px;
    padding: 20px;
    margin: auto;
    perspective: 1500px;
}

.column {
    display: grid;
    grid-auto-flow: row;
    align-content: start;
    grid-gap: 20px;
}

.item {
    position: relative;
    min-height: 80px;
    background-color: #f1f1f1;
}

.item:hover .caption {
    opacity: 1;
}

.caption {
    transition: 0.3s;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    height: 100%;
    width: 100%;
    padding: 20px;
    color: #fff;
    display: grid;
    align-content: center;
    justify-content: center;
    text-align: center;
}

.caption .title {
    font-size: 16px;
    font-weight: bold;
}

.caption .desc {
    font-size: 12px;
}

main img {
    width: 100%;
    display: block;
}

.filters {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    grid-gap: 10px;
    margin: auto;
    color: #585858;
    padding: 20px 0;
    user-select: none;
}

.filter {
    cursor: pointer;
    transition: color 0.3s;
    padding: 0 8px;
}

.filters .active {
    color: #000;
}

.filter:hover {
    color: #000;
}

hr {
    width: 150px;
    margin: auto;
    height: 1px;
    border: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

p {
    color: #585858;
}

.list {
    display: grid;
    grid-gap: 20px;
}

.page-title {
    font-weight: bold;
    font-size: 2em;
    text-align: center;
    padding: 0 20px;
}

.logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    padding: 20px;
}

.footer-content {
    padding: 20px;
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    grid-gap: 20px;
}

.footer-img {
    width: 200px;
}

.footer-contact img {
    height: 25px;
}

a {
    display: inline-grid;
    grid-gap: 8px;
    align-items: center;
    color: #000;
    font-family: Poppins, sans-serif;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 1px 0 transparent;
}

a:hover {
    box-shadow: 0 1px 0 #000;
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity .5s;
}

.fade-enter,
.fade-leave-to

/* .fade-leave-active below version 2.1.8 */
    {
    opacity: 0;
}

[v-cloak] {
    display: none;
}

@media (max-width:800px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
@media (max-width:600px) {
    .grid {
        perspective: 5000px;
    }
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);
    height: 100vh;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
}
.popup.active{
    display: grid;
}

.popup > * {
    box-shadow: 0 3px 15px #000;
    max-width: 100vw;
    max-height: 100vh;
    background-color: #000;
}

.popup iframe {
    width: 100vmin;
    height: 56vmin;
}

/*------------------- OPTIONAL ---------------*/
/*
.item {
    position: relative;
    min-height: 80px;
    background-color: #f1f1f1;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    outline: 2px solid transparent;
    outline-offset: 3px;
    border: 2px solid #fff;
    transition: transform 0.1s;
    transition-timing-function: ease-in-out;
}

.item:hover {
    box-shadow: 0 1px 0 #000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
    z-index: 2;
    outline: 1p;
    border: 2px solid #fff;
    outline: 2px solid #000;
    outline-offset: 0px;
}
*/

.caption .title,
.caption .desc {
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}
