.thumbnail{
    position: absolute;
    bottom: 50px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;
    box-sizing: border-box;
    justify-content: center;
    width: 80%;
    margin-left: 10%;
}

.thumbnail .item2{

    z-index: 200;

    position: absolute ;

    left: 0;

    width: 5%;
    margin-top: 1%;
    transition: .5s;
    flex-shrink: 0;
}

.thumbnail .item3{

    z-index: 200;

    position: absolute ;

    right: 0;

    width: 5%;
    margin-top: 1%;
    transition: .5s;
    flex-shrink: 0;
}

.thumbnail_img{
    width: 100%;  
    border-radius: 5px;
    margin-top: 15%;
}

.thumbnail .item0{
    margin-left: 1%;
    margin-right: 1%;
    width: 9%;
    transition: .5s;
    flex-shrink: 0;
    overflow: none;
    display: inline-block
}

.item4{
    margin-left: 5%;
    margin-right: 1%;
    width: 9%;
    transition: .5s;
    flex-shrink: 0;
    overflow: none;
    display: inline-block
}

.item5{
    margin-right: 5%;
    margin-left: 1%;
    width: 9%;
    transition: .5s;
    flex-shrink: 0;
    overflow: none;
    display: inline-block
}

.thumbnail_label{
    color: white;
    margin-top: 5%;
    width: 100%;
    display: inline-block;
    border: solid 0px transparent;
    padding: 5%;
    border-radius: 5px;
    background-color: orange;
    text-decoration: none;
    font-size: 100%;
    font-weight: bold;
    transform: scale(1);
    transition: background-color 0.5s ease, transform 0.5s;
    text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}

.thumbnail_next{

    float: right;

    margin-right: 10%;

    color: white;
    margin-top: 25%;
    border: solid 0px transparent;
    padding: 25%;
    border-radius: 15px;
    background-color: orange;

    opacity: 80%;

    text-decoration: none;
    font-size: 150%;
    font-weight: bold;
    transition: background-color 0.5s ease, opacity 0.5s ease;
    text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}

.thumbnail_prev{

    float: left;

    margin-left: 10%;

    color: white;
    margin-top: 25%;
    border: solid 0px transparent;
    padding: 25%;
    border-radius: 15px;
    background-color: orange;

    opacity: 80%;

    text-decoration: none;
    font-size: 150%;
    font-weight: bold;
    transition: background-color 0.5s ease, opacity 0.5s ease;
    text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}

.thumbnail_next:hover, .thumbnail_prev:hover{
    cursor: pointer;
    background-color: rgb(255, 102, 0);
    opacity: 100%;
}

.move{
    width: 100%;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;

    transform: translateX(-15);

    overflow: hidden;
    overflow-x: auto;

    scroll-behavior: smooth;

    white-space: nowrap;

}

.thumbnail_label:hover{
    cursor: pointer;
}

.item0:hover, .item4:hover, .item5:hover{
    transform: scale(1.1);
}

.move::-webkit-scrollbar {
    display: none;
}

@media only screen and (max-width: 768px) {
    .thumbnail{
        width: 100%;
        margin: 0;
    }

    .thumbnail .item2{
        width: 8%;
        margin-left: 1%;
    }

    .thumbnail .item3{
        width: 8%;
        margin-right: 1%;
    }

    .thumbnail .item0{
        width: 20%;
        margin-left: 1%;
        margin-right: 1%;
    }

    .thumbnail_label{
        font-size: 85%;
        width: auto
    }

    .thumbnail_prev{
        border-radius: 5px;
        margin-left: 0%;
    }

    .thumbnail_next{
        border-radius: 5px;
        margin-right: 0%;
    }

    .item4{
        margin-left: 10%;
        width: 20%;
        margin-right: 1%;
    }

    .item5{
        width: 20%;
        margin-left: 1%;
        margin-right: 10%;
    }

}