.test{
    height: 50vh;
}

/* Slider */
#section-slider-wrapper {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

#section-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.p-slider {
    position: relative;
    padding: 0 22.5vw;
    display: flex;
    align-items: center;
    height: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: -webkit-grab;
    cursor: all-scroll;
    z-index: 2;
}

.p-slider__inner {
    display: flex;
    position: relative;
}

.p-slide {
    overflow: hidden;
}

.p-slide:first-child {
    position: relative;
}

.p-slide:not(:first-child) {
    position: absolute;
    top: 0;
    height: 100%;
}

.p-slide__inner {
    position: relative;
    overflow: hidden;
    width: 55vw;
    padding-top: 56.5%;
}

.p-slide img {
    display: none;

    height: 100%;
    width: 140%;
    position: absolute;
    top: 0;
    left: -20%;
    object-fit: cover;
    will-change: transform;

}

.p-titles {
    position: absolute;
    top: 10%;
    left: 10%;
    -webkit-transform: translate(-10%, -10%);
    transform: translate(-10%, -10%);
    overflow: hidden;
    pointer-events: auto;
    z-index: 9999999999;
}

.p-titles__list {
    position: absolute;
    top: 0;
    left: 0;
}

.p-titles__title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    padding: 60px;
    font-weight: bold;
    letter-spacing: -0.1vw;
    color: black;
}

.p-titles__title--proxy {
    visibility: hidden;
}

.p-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    overflow: hidden;
    pointer-events: none;
}

.p-progress__line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left;
    transform-origin: left;
    background-color: white;
}

.p-progress__line:nth-child(2) {
    -webkit-transform-origin: right;
    transform-origin: right;
}

.flick{
    height: 90%;
    width: 100%;
    display: flex;
}

.flicking {
    height: 700px;
    width: 80%;
    margin: 0px auto;
    background: #eee;
    background: rgba(55, 55, 55 0.1);
    border-radius: 5px;
}
.flicking .panel, .flicking .infinite {
    position: relative;
    display: block;
    border-radius: 5px;
    width: 66%;
    margin-top: 50px;
    height: 600px;
    text-align: center;
    line-height: 120px;
    overflow: hidden;
    box-shadow:
            1px 2.8px 2.2px rgba(0, 0, 0, 0.034),
            1px 6.7px 5.3px rgba(0, 0, 0, 0.048),
            0 12.5px 10px rgba(0, 0, 0, 0.06),
            0 22.3px 17.9px rgba(0, 0, 0, 0.072),
            0 41.8px 33.4px rgba(0, 0, 0, 0.086),
            0 100px 80px rgba(0, 0, 0, 0.12)
;
}

.flicking .panel h2 {
    font-size: 40px;
    padding: 5px;
    cursor: pointer;
    color: #eeeeee;
    background-color: #6E757C;
}
.flicking .panel h2:hover {
    color: #ffe07b;
}

@media only screen and (min-width: 768px) {
    #portfolio .drag {
        display: none;
    }
}


.flicking .panel img {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: auto;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#progress .progress {
    position: relative;
    width: 400px;
    height: 10px;
    border-radius: 5px;
    background: #eee;
    margin: 10px auto;
    overflow: hidden;
}
#progress .thumb {
    position: relative;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: #ccc;
}

#portfolio .smoothscroll {

    scroll-behavior: smooth;!important;
}

@media only screen and (max-width: 767px) {
    #portfolio .drag {
        margin-left: 20px;
    }

    #portfolio .drag h2 {
        color: #6E757C;
        font-size: 24px;
    }

    #resume .image-grid {

        display: grid;
        grid-gap: 20px;
        grid-template-columns: none !important;
        grid-auto-rows: unset !important;
    }

    .flicking .panel, .flicking .infinite {
        width: 80%;
    }

    .flicking {
        width: 90%;
    }

    #next, #prev{
        display: none;
    }
}

#resume .container {
    margin-top: 50px;
    text-align: center;
    height: auto;

}

#resume .image-grid {

    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, auto));
    grid-auto-rows: minmax(300px, auto);
}
#resume .image-grid .image-item:nth-child(5n) {
    grid-column-end: span 2;
}

#resume .image-grid img {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#resume .image-item {
    box-shadow:
            0 2.8px 2.2px rgba(0, 0, 0, 0.034),
            0 6.7px 5.3px rgba(0, 0, 0, 0.048),
            0 12.5px 10px rgba(0, 0, 0, 0.06),
            0 22.3px 17.9px rgba(0, 0, 0, 0.072),
            0 41.8px 33.4px rgba(0, 0, 0, 0.086),
            0 100px 80px rgba(0, 0, 0, 0.12)
;
}

#resume h1 {
    font-size: 40px;
    line-height: 40px;
    text-align: left;
}

#resume p {
    text-align: justify;
    hyphens: auto;
    font-size: 16px;
}

#resume .videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

#resume .videoWrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* close Button */
#close-top {
    position: relative;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}
#close-top a {
    position: absolute;
    top: -24px;
    right: 24px;
    text-decoration: none;
    border: 0 none;
    display: block;
    width: 60px;
    height: 60px;
    background-color: #525252;

    color: #fff;
    font-size: 21px;
    line-height: 60px;
    border-radius: 5px;

    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
#close-top a:hover { background-color: #ffe07b; color: #fff }

/* close Button */
#close {
    position: relative;
    bottom: -24px;
    left: 50%;
    margin-left: -30px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}
#close a {
    text-decoration: none;
    border: 0 none;
    display: block;
    width: 60px;
    height: 60px;
    background-color: #525252;

    color: #fff;
    font-size: 21px;
    line-height: 60px;
    border-radius: 5px;

    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
#close a:hover { background-color: #ffe07b; color: #fff }

#next {
    position: relative;
    font-size: 30px;
    text-align: center;
    cursor: pointer;
    margin-top: 300px;
}

#next a {
    text-decoration: none;
    display: block;
    width: 100px;
    height: 100px;
    color: #404040;
    font-size: 60px;
    line-height: 95px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;

    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

#next a:hover { background-color: #ffe07b; }

#prev {
    position: relative;
    font-size: 30px;
    text-align: center;
    cursor: pointer;
    margin-top: 300px;
}

#prev a {
    text-decoration: none;
    display: block;
    width: 100px;
    height: 100px;
    color: #404040;
    font-size: 60px;
    line-height: 95px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;

    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

#prev a:hover { background-color: #ffe07b; }


/*
#portfolio .container {
    position: relative;
    width: 100%;
    height: 100%;
}

#portfolio .main {
    position: relative;
    width: 700px;
    height: 100%;
}
#portfolio .content {
    position: absolute;
    left: 100px;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
}
#portfolio .content h1 {
    color: #fff;
    font-size: 40px;
}
#portfolio .content .description {
    color: #fff;
    font-size: 16px;
}
#portfolio .item {
    position: relative;
    height: 100%;
    width: 400px;
}
#portfolio .item:hover {
    z-index: 2;
}
#portfolio .item:hover .image-area {
    width: 120%;
}
#portfolio .item .image-area {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    transform: translate(-50%) skew(-10deg);
    overflow: hidden;
    transition: width ease 0.5s;
}
#portfolio .item .image-area .image-inner-area {
    position: relative;
    width: 100%;
    height: 100%;
    transform: skew(10deg);
}
#portfolio .item .image-area .image-inner-area:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
#portfolio .item img {
    position: relative;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    left: 50%;
    top: -100%;
    bottom: -100%;
    margin: auto 0px;
    transform: translate(-50%);

}
#portfolio .item .info {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
}
#portfolio .item .info p {
    display: inline-block;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-weight: bold;
    margin: 5px 0px;
}
#portfolio .item .info .subtitle {
}
*/
