/* 
text #fff
blue #8083FF
light grey #C6C6C6
dark grey #5E5E5E
green #00AC7C

*/


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

body {
    /* background-color: #5E5E5E; */
    color: #C6C6C6;
    font-family: Helvetica, sans-serif;
    min-height: 100vh;
    min-width: 100vw;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 3rem;
}

h1 {
    text-align: center;
    font-size: 3rem;
}

.gallery {
    list-style-type: none;
    background-color: #C6C6C6;
    padding: 2rem;
    margin: 2rem;
    border-radius: 1rem;


    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.thumbnail{
    margin: 1rem;
    max-height: 200px;
    max-width: 300px;

    border: solid 3px #fff;
    box-shadow: 0 0 32px 5px #5E5E5E;

    transform: scale(1);
    transition: transform 0.2s;
    cursor: pointer;
}

.thumbnail:hover{
    transform: scale(1.1);
}

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

.popup {
    height: 100vh;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.8);  
    backdrop-filter: blur(5px);

    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;

    animation: fadeIn 0.5s;
}

.popup.hidden{
    display: none;
}

.popup__img{
    max-height: 80%;
    max-width: 80%;
}

.popup__close {
    position: absolute;
    top: 5rem;
    right: 5rem;
    padding: 1rem;
    

    background-color: transparent;
    border: none;
    font-size: 2rem;

    cursor: pointer;
}

.popup__arrow{
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem;

    background-color: transparent;
    border: none;
    border-radius: 50%;

    position: absolute;
    top: 50%;

    /* transition: transform 0.2s; */

    cursor: pointer;
}

.popup__close:hover,
.popup__arrow:hover{
    transform: scale(1.2);
}

.popup__arrow--left{
    left: 1rem;
}
.popup__arrow--right{
    right: 1rem;
}

@keyframes fadeIn{
    from {opacity:0;}
    to {opacity:1;}
}