.first_slider {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    overflow: hidden;
}

.first_before_trapezoid {
    position: absolute;
    left: 0;
    top: 1rem;
    width: calc(100vw - 50vw);
    width: 1065px;
    height: 96%;
    background: linear-gradient(103deg, #336791 80%, white 20%);

}

.first_after_trapezoid {
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 4.5%;
    width: 700px;
    height: 90%;
    z-index: 2;
    background-repeat: no-repeat;
    background-size: cover;
}


.first_after_trapezoid div {
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 4.5%;
    width: calc(100vw - 62vw);
    width: 780px;
    height: 100%;
    z-index: 2;
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: 0.5s;
}

.first_after_trapezoid div.active_f {
    transition: 0.5s;
    opacity: 1;
}

.first_slider_inner {
    margin-top: 4rem;
    width: 65%;
    height: 85%;
    overflow: hidden;
    border: 1px solid #8B9CAD;
    z-index: 2;
    background-color: white;
}

.first_mycontainer {
    width: 100%;
    height: 100%;
    display: flex;
    transition: 1s;
    transform: translateX(0);
}

.first_mycontainer .slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide_center {
    width: 100%;
    height: 95%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.slide_center div {
    height: 75%;
    width: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;
}


.slide_title {
    text-align: center;
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 0;
}

.slide_subtitle {
    font-weight: 400;
}

.slide_subtitle {
    margin: 0 auto;
    width: 95%;
}

.first_mypanel {
    width: max-content;
    height: max-content;
    display: flex;
    transform: translateY(-1px);
    z-index: 4;
}

.first_mypanel div {
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 1s;
}

.first_mypanel div:nth-child(1) {
    transition: 1s;
    transform: translateX(1px);
    background-image: url(../images/carousel_left.svg);
}

.first_mypanel div:nth-child(2) {
    transition: 1s;
    background-image: url(../images/carousel_right.svg);
}

.first_mypanel div:nth-child(1):hover {
    transition: 1s;
    background-image: url(../images/carousel_left_hover.svg);
}

.first_mypanel div:nth-child(2):hover {
    transition: 1s;
    background-image: url(../images/carousel_right_hover.svg);
}



@media(max-width:1498.98px) {
    .first_slider_inner {
        height: 75%;
    }
}

@media (max-width:992.98px) {
    .first_slider {
        height: 820px;
        justify-content: flex-end;
    }

    .first_slider_inner {
        width: 100%;
        height: 62%;
    }

    .first_before_trapezoid {
        width: 100%;
        height: 100%;
        background: linear-gradient(110.5deg, #8B9CAD 70%, white 20%);
    }

    .first_after_trapezoid div {
        background-size: contain;
        clip-path: polygon(0% 0%, 86% 0%, 43% 100%, 0% 100%);
        background-position: center -200%;
        width: 100%;
        margin-left: 3.5%;
    }

}

@media (max-width:767.98px) {
    .first_slider {
        height: 640px;
    }

    .first_slider_inner {
        height: 70%;
    }

    .first_after_trapezoid div {
        width: 77%;
        margin-left: 2.5%;
    }

    .first_before_trapezoid {
        background: linear-gradient(110deg, #8B9CAD 70%, white 20%);
    }
}



/* ///////////////////////////// SLIDER_TWO */
.slider {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    overflow: hidden;
}

.before_trapezoid {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100vw - 50vw);
    width: 1065px;
    height: 85%;
    background: linear-gradient(103deg, #8B9CAD 80%, white 20%);

}

.after_trapezoid {
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 4.5%;
    width: 700px;
    height: 90%;
    z-index: 2;
    background-repeat: no-repeat;
    background-size: cover;
}


.after_trapezoid div {
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 4.5%;
    width: calc(100vw - 62vw);
    width: 780px;
    height: 100%;
    z-index: 2;
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: 0.5s;
}

.after_trapezoid div.active {
    transition: 0.5s;
    opacity: 1;
}

.slider_inner {
    width: 60%;
    height: 65%;
    overflow: hidden;
    border: 1px solid #8B9CAD;
    z-index: 2;
    background-color: white;
}

.mycontainer {
    width: 100%;
    height: 100%;
    display: flex;
    transition: 1s;
    transform: translateX(0);
}

.mycontainer div {
    min-width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 75%;
    background-position: 53% 43%;
    position: relative;
}

.mycontainer div:nth-child(2) {
    background-size: 60%;
}

.mycontainer div:nth-child(3) {
    background-size: 60%;
}


.slide .slide_rottext {
    position: absolute;
    font-size: 1.2rem;
    font-weight: 400;
    transform-origin: left top;
    transform: rotate(-90deg) translateX(70px);
    margin: 0% 2%;
    left: 0;
    bottom: 0;
    /* background-color: aqua; */
}

.slide .slide_righttext {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 2% 6%;
    font-size: 2rem;
    font-weight: bold;
}

.mypanel {
    width: max-content;
    height: max-content;
    display: flex;
    transform: translateY(-1px);
    z-index: 4;
}

.mypanel div {
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 1s;
}

.mypanel div:nth-child(1) {
    transition: 1s;
    transform: translateX(1px);
    background-image: url(../images/carousel_left.svg);
}

.mypanel div:nth-child(2) {
    transition: 1s;
    background-image: url(../images/carousel_right.svg);
}

.mypanel div:nth-child(1):hover {
    transition: 1s;
    background-image: url(../images/carousel_left_hover.svg);
}

.mypanel div:nth-child(2):hover {
    transition: 1s;
    background-image: url(../images/carousel_right_hover.svg);
}



@media(max-width:1498.98px) {
    .slider_inner {
        height: 55%;
    }
}

@media (max-width:992.98px) {
    .slider {
        height: 820px;
        justify-content: flex-end;
    }

    .slider_inner {
        width: 100%;
        height: 52%;
    }

    .before_trapezoid {
        width: 100%;
        height: 100%;
        background: linear-gradient(110.5deg, #8B9CAD 70%, white 20%);
    }

    .after_trapezoid div {
        background-size: contain;
        clip-path: polygon(0% 0%, 86% 0%, 43% 100%, 0% 100%);
        background-position: center -200%;
        width: 100%;
        margin-left: 3.5%;
    }

    .slide .slide_righttext {
        font-size: 1.6rem;
        margin: 2% 6%
    }

}

@media (max-width:767.98px) {
    .slider {
        height: 640px;
    }

    .after_trapezoid div {
        width: 77%;
        margin-left: 2.5%;
    }

    .before_trapezoid {
        background: linear-gradient(110deg, #8B9CAD 70%, white 20%);
    }

    .slide .slide_rottext {
        transform: rotate(-90deg) translateX(18px);
    }

}

@media (max-width:575.98px) {
    .slider {
        width: 96%;
        margin: 0 auto;
        height: 520px;
    }

    .after_trapezoid div {
        width: 62%;
    }

    .before_trapezoid {
        background: linear-gradient(112deg, #8B9CAD calc(94% - 30%), white 20%);
    }

    .slide .slide_rottext {
        font-size: 0.8rem;
    }

    .slide .slide_righttext {
        font-size: 1.3rem;
    }
}

@media (max-width:425.98px) {
    .slider {
        height: 480px;
    }

    .after_trapezoid div {
        width: calc(100% - 45%);
        background-position: center -146%;
        clip-path: polygon(0% 0%, 86% 0%, 39% 100%, 0% 100%);
    }

    .mypanel div {
        width: 40px;
        height: 40px;
    }

    .slide .slide_righttext {
        font-size: 0.8rem;
    }

    .slide .slide_rottext {
        font-size: 0.7rem;
    }

    .slide .slide_rottext {
        transform: rotate(-90deg) translateX(13px);
    }
}

@media (max-width:380.98px) {
    .slider {
        height: 420px;
    }

    .after_trapezoid div {
        margin-left: 0.8%;
        width: 48%;
        background-position: center -95%;
        clip-path: polygon(0% 0%, 86% 0%, 40% 100%, 0% 100%);
    }

}