@import url('https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&family=Mochiy+Pop+One&family=Poppins:ital,wght@0,700;1,700&family=Stylish&display=swap');

/*
    font-family: 'Hachi Maru Pop', cursive;
    font-family: 'Mochiy Pop One', sans-serif;
    font-family: 'Poppins', sans-serif;
    font-family: 'Stylish', sans-serif;
*/


html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    background-image: linear-gradient(to right bottom, #209cee, #00adee, #10bcea, #44cae5, #0080ae);
    /* background: rgb(149, 194, 215); */
    font-family: 'Stylish', sans-serif;
}


a {
    text-decoration: none;
}

.main-header {
    flex: 0 1 auto;
}

.blog-link {
    color: #fff;
    font-size: 1rem;
    font-family: 'Mochiy Pop One', sans-serif;
    margin-top: 0;
}

.logo-text {
    background: rgb(245,255,250);
    text-align: center;
    font-size: 3rem;
    font-family: 'Mochiy Pop One', sans-serif;
    padding: 10px;
}

.main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.thumbnail-list {
    flex: 0 1 auto;
    order: 2;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 20px 0;
    white-space: nowrap;
    overflow-x: auto;    
}

.thumbnail-item {
    display: inline-block;
    min-width: 120px;
    max-width: 120px;
    border: 2px solid rgb(100%, 100%, 100%, 0.8);
    border: 2px solid rgba(100%, 100%, 100%, 0.8);
    transition: transform 133ms ease-in-out;
}

.thumbnail-item:hover {
    transform: scale(1.2);
}

.thumbnail-title {
    display: block;
    margin: 0;
    padding: 4px 10px;
    background: rgb(30,144,255);
    color: rgb(255,250,250);
    
}

.thumbnail-image {
    display: block;
    width: 100%;
}

.detail-image-container {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-image-frame {
    position: relative;
    text-align: center;
    transition: transform 333ms cubic-bezier(1, .06, .28, 1);
}

.is-tiny {
    transform: scale(0.001);
    transition: transform 0ms;
}

.detail-image {
    width: 90%;
}

.detail-image-title {
    position: absolute;
    bottom: -3px;
    left: 3px;
    color: #333;
    font-family: 'Hachi Maru Pop', cursive;
    font-size: 1.9rem;
    text-shadow: rgba(0, 0, 0, 0.9) 5px 7px 13px;
}

.hidden-detail .detail-image-container {
    display: none;
}

.hidden-detail .thumbnail-list {
    flex-direction: column;
    align-items: center;
}

.hidden-detail .thumbnail-item {
    max-width: 80%;
}


@media all and (min-width: 768px) {
    .main-content {
        flex-direction: row;
        overflow: hidden;
    }
    .thumbnail-list {
        flex-direction: column;
        order: 0;
        margin-left: 20px;
        padding: 0 35px;
    }
    .thumbnail-item {
        max-width: 260px;
    }
        .thumbnail-item + .thumbnail-item {
        margin-top: 20px;
    }
}