@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');

/*
 * Art Gallery
 * Generated with ColorSlurp
 */
:root,
.art-gallery {

    --mine-shaft: #242424;
    --cod-gray: #1a1a1a;
    --tutu: #fffeff;
    --dusty-gray: #979797;
    --malibu: #748ffc;
    --persian-red: #c92a2a;
    --chateau-green: #40c057;
    --lightning-yellow: #fcc419;
    --blue-ribbon: #1951fc;
}


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

body {
    background-color: var(--cod-gray);
    color: #FFFEFF;
    font-family: 'Roboto', sans-serif;
}

.no-js {
    background-color: var(--persian-red);
    color: var(--tutu);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.no-js h1 {
    font-size: 3rem;
    font-weight: 500;
}

.no-js p {
    font-size: 1.5rem;
    font-weight: 300;
}

.no-js a {
    color: var(--tutu);
    text-decoration: none;
}

.no-js a:hover {
    text-decoration: underline;
}

.navbar {
    background-color: var(--mine-shaft);
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.navbar a {
    color: var(--tutu);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.navbar a:hover {
    text-decoration: none;
    color: var(--lightning-yellow);
}

.navbar .links a {
    margin-left: 20px;
}

.primaryShadow {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    padding: 80px 20px 20px 20px;
}

.gallery .gallery-item {
    background-color: var(--mine-shaft);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.gallery .gallery-item .gallery-item-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.gallery .gallery-item:hover .gallery-item-info {
    opacity: 0.9;
    background-color: var(--cod-gray);
}

.gallery .gallery-item .gallery-item-info h3 {
    color: var(--tutu);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.gallery .gallery-item .gallery-item-info p {
    color: var(--tutu);
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 300;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gallery .gallery-item .gallery-item-info p {
    width: 100%;
    padding: 0 20px;
}

.gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery .gallery-item .gallery-item-info .gallery-item-icons a:hover {
    color: var(--lightning-yellow);
}

@media screen and (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

