@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400&display=swap');

body {
    font-family: 'Roboto', sans-serif;
}

.top_menu {
    clear: both;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: normal;
    align-content: normal;
    margin-top: 20px;
}

.year_selector {
    clear: both;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: normal;
    align-content: normal;
    margin-top: 20px;
}

.year {
    display: block;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    text-align: center;
    font-weight: 200;
    padding: 20px;
    font-size: 1.4em;
}

.year a {
    color: #000;
    text-decoration: none;
    padding: 5px;
    border-radius: 4px;
}

.selector a:hover {
    background-color: #BBB;
    color: #FFF;
}

.selected_year a {
    background-color: #000;
    color: #FFF;
}

.clickable_item {
    cursor: pointer;
}

.hidden_item {
    display: none;
}

.img_area {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    float:left;
    min-height: 100vh;
}

.login {
    margin: 20px;
}

.login_wrap {
    width: 200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}

.num_area {
    width: 100%;
    font-size: 2em;
    font-weight: 100;
    text-align: center;
    letter-spacing: 4px;
    background-color: #EEE;
    border: 1px solid #CCC;
    margin-bottom: 10px;
    border-radius: 10px;
    padding-top: 12px;
}

.numeric_button {
    display: flex;
    width: 60px;
    height: 60px;
    border: 1px solid #EEE;
    border-radius: 10px;
    background-color: #EEE;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 2em;
    font-weight: 100;
}

.numeric_button:hover {
    background-color: #CCC;
    color: #FFF;
}

.content {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px;
    color:#FFF;
    background: rgba(0,0,0, 0.5);
    width: -webkit-fill-available;
}

.wrapper_main {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 50px 20px;
}

.wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 180px;
    grid-auto-flow: dense;
    grid-gap: 25px;
    width: 100%;
    margin: 40px 0px;
}

.wrapper:first-child {
    margin-top: 0;
}

/*
.wrapper:nth-child(2n) {

}
*/

.single_box {
    position: relative;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px;
}

.link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.single_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s;
    user-select: none;
}

.link:hover img {
    transform: rotate(5deg) scale(1.4);
}

.link:hover img + .content {
    display: block;
}

.intro {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    align-content: stretch;
    margin: 0 20px;
}

.intro_text {
    font-size: 1.4em;
    font-weight: 100;
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    padding: 20px;
    max-width: 1200px;
}

.intro_imge {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}

.month_box {
    border: none;
    box-shadow: none;
}

.month_box h2 {
    text-align: center;
    margin-top: 40px;
    font-size: 1.4em;
    font-weight: 200;
    background-color: #000;
    padding: 10px;
    color: #FFF;
    border-radius: 4px;
}

.month_box p {
    text-align: center;
    font-weight: 200;
}

/*
@media (max-width: 768px) {
    .img_area {
        padding: 0;
    }
    .wrapper_main {
        max-width: 100%;
        padding: 0;
    }
}
*/
@media (max-width: 768px) {
    .wrapper {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-auto-rows: 170px;
    }
}

@media (max-width: 468px) {
    .wrapper {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 140px;
    }

    #modal {
        width: 90%;
    }

    #modal img {
        width: 100%;
    }
}

/* copyright */
.url_box {
    visibility: hidden;
    width: 130px;
    clear: both;
    background: #FFF;
    padding: 10px;
    text-align: center;
    color: #000;
    font-family: arial;
    position: relative;
    margin: 0 auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #000;
}

.url_box:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 10px solid #000;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #000;
    border-top: 10px solid transparent;
    bottom: 30px;
    left: 8px;
    border-radius: 3px;
}

.url_box a {
    color: #FFF;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    background-color: #000;
}

.copy_image {
    width: 100%;
    float: left;
    clear: both;
    font-size: 1em;
    line-height: 30px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 200;
    margin-top: 30px;
}

.copy_image img {
    vertical-align: middle;
    height: 30px;
    padding-right: 10px;
    -webkit-filter: drop-shadow(0px 0px 5px #FFF);
    filter: drop-shadow(0px 0px 5px #FFF);
    transition: transform .2s; /* Animation */
}

.copy_image img:hover {
    transform: scale(1.5);
}

#modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    background: #FFF;
    box-shadow: rgba(0, 0, 0, 0.70) 0px 3px 8px;
}

#modal img {
    float:left;
}

/* Low Resolution Tablets, Mobiles (Landscape) */
@media (min-width: 320px) and (max-width: 767px) {
    .intro {
        flex-direction: column;
    }

    .login {
        margin: 0 auto;
    }

}
