/*Page Styles*/
.filter-works {
    background-image: url("../img/bg.png");
    background-size: cover;
    background-position: center;
}

.filter-works main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: proxima-nova, sans-serif;
    margin: 0% 3%;
    position: relative;
}

.filter-works a {
    font-weight: bold;
    text-decoration: none;
    transition: all .2s;
}

.filter-works a:hover {
    opacity: .6;
}

.filter-works a.grid-link {
    font-weight: normal;
}

.filter-works a.grid-link:hover {
    opacity: 1;
}


/*Grid Styles*/
.works-grid {
    position: relative;
    max-width: 700px;
    min-width: 280px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}

.grid-item {
    position: relative;
    /*border: 5px solid black;*/
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    margin: 7%;
}

.grid-item div {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(0,0,0,.75);
    width: 100%;
    height: 100%;
    z-index: 1;
    color: white;
    opacity: 0;
    transition: all .3s;
}

.grid-item img {
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: all .3s;
}

.grid-item div h2, .grid-item div h3, .grid-item div p {
    margin: 5%;
}

.grid-item div h2 {
    font-size: 1.15em;
    font-weight: bold;
}

.grid-item div h3 {
    letter-spacing: 1px;
}


/*Grid Hover Styles*/
.grid-item:hover div {
    opacity: 1;
}


/*Center Logo Styles*/
#logo-item {
    border: none;
    cursor: auto;
    overflow: visible;
}

#logo-item img {
    position: absolute; 
    width: 134%;
    height: auto;
    z-index: -1;
}

#logo-item:hover img {
    transform: none;
}


/*Footer Styles*/
.filter-works footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    max-width: 700px;
    min-width: 280px;
    margin-top: .75%;
}

.filter-works footer p {
    margin: 0 2%;
}

.filter-works footer a {
    color: #E92774;
    margin: 2% 2% 0 2%;
}

.filter-works footer a:hover {
    opacity: .6;
}


/* Modal Styles */
.filter-modal {
    position: absolute;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.25%;
    display: none;
}

.filter-modal-content {
    position: relative;
    background-color: rgba(255,255,255);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    /*border: 5px solid black;*/
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 5%;
}

.filter-modal-content-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 7%;
}

.filter-modal-content-wrapper img {
    width: 60%;
    height: auto;
}

#qr-modal .filter-modal-content-wrapper img {
    width: 80%; 
    margin: 0 auto;
}

#qr-modal .filter-modal-content-wrapper p {
    width: 80%; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    text-align: center;
}

#qr-modal {
    height: 100%;
}

.filter-modal-content-wrapper ul {
    margin-left: 5%;
    width: 35%;
}

.filter-modal-content-wrapper ul li {
    margin-bottom: 7%;
    font-weight: bold;
    font-size: .8em;
    text-transform: uppercase;
}

.filter-modal-content-wrapper ul li span {
    font-size: 1.2em;
    display: block;
    text-transform: none;
    margin-top: 1%;
    font-weight: normal;
}

.filter-modal-content-wrapper ul li .country {
    font-size: 1em;
}

.filter-modal-content-wrapper p {
    width: 100%;
    margin-top: 5%;
    font-size: .9em;
}

.filter-modal-content-wrapper p::-webkit-scrollbar {
    width: 3px;
  }
  
.filter-modal-content-wrapper p::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 15px;
}

.filter-modal-content-wrapper p::-webkit-scrollbar-thumb {
background: #888;
border-radius: 15px;
}

.filter-modal-content-wrapper a {
    color: #E92774;
    margin-top: 3%;
    width: 100%;
}

.filter-modal-content-wrapper a span {
    transition: all .3s;
}

.filter-modal-content-wrapper a:hover span {
    margin-left: 1%;
}

.close-modal {
    position: absolute;
    top: 2%;
    right: 3%;
    background-color: transparent;
    border: none;
    box-shadow: none;
    font-size: 2em;
    cursor: pointer;
}

@media only screen and (max-width: 700px){

    .filter-modal {
        height: auto;
        position: absolute;
        top: 0;
    }

    .filter-modal-content-wrapper img {
        width: 100%;
    }
    
    .filter-modal-content-wrapper ul {
        margin-top: 5%;
        margin-left: 0%;
        width: 100%;
    }

    .filter-modal-content-wrapper ul li {
        margin-bottom: 5%;
    }

    .filter-modal-content-wrapper p {
        margin-top: 0%;
        font-size: .9em;
    }

    .close-modal {
        top: 1%;
        right: 3%;
    }
}