.main {
    background-image: url("../assets/main/bg1.webp");
    min-height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    -webkit-background-size: cover;
    background-color: #fff;
    z-index: 3;
    position: sticky;
    transition: background-image 0.5s ease-in-out, transform 0.5s ease-in-out;
    /* overflow: hidden; */
}

.main__img_animation {
    animation: wipe-enter 3s;
}

@keyframes wipe-enter {
    from {
        background-repeat: 115% 115%;
    }
    to {
        background-size: 100% 100%;
    }
}

/* .main-animate {
    transform: translateX(100%);
} */

.container__main {
    width: 1440px;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
}

/* .main::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
} */

.main__inner {
    color: #fff;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 50px;
    height: 100%;
}

.main__inner h1 {
    margin-top: 580px;
    font-size: 48px;
    font-family: "Univers";
    margin-left: 5px;
}

.main__inner h3 {
    margin-top: 10px;
    font-size: 48px;
    font-family: "Univers";
    margin-left: 5px;
}

.main__inner button {
    display: inline-block;
    margin-top: 30px;
    padding: 11px 14px 11px 27px;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin-left: 5px;
}

.main__inner button img {
    position: relative;
    top: 2px;
    width: 15px;
    height: 15px;
    right: 10px;
    transition: all 500ms ease-in-out;
}

.main__inner button:hover img {
    right: 5px;
}

.main__inner button:hover {
    cursor: pointer;
}

.main__text {
    text-transform: uppercase;
    margin-top: 580px;
}

.main__text p {
    margin-top: 15px;
    font-size: 36px;
    font-weight: 900;
    font-family: "Univers";
}

.main__progress {
    display: flex;
    flex-direction: column;
}

.main__item div {
    margin-left: 50px;
    font-size: 28px;
}

.main__animation {
    background-color: #f2f2f2;
    z-index: 3000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main__animation_no {
    display: none;
}

.main__animation_img {
    width: 150px;
}

.main__animation_img_no {
    display: none;
}

.main__animation_anime {
    animation: main__animation_up 1s;
}

@keyframes main__animation_up {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@media (max-height: 800px) {
    .main {
        height: 900px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .main__item div {
        font-size: 25px;
    }

    .main__progress {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .main__item div {
        font-size: 25px;
    }

    .main__progress {
        margin-top: 10px;
    }

    .main__animation_img {
        margin-bottom: 100px;
    }
}

@media (max-width: 612px) {
    .main__item div {
        font-size: 23px;
    }

    .main__inner h1 {
        margin-top: 150px;
        font-size: 38px;
    }

    .main__inner h3 {
        font-size: 38px;
    }

    .main__text {
        margin-top: 150px;
    }

    .main__text p {
        font-size: 30px;
    }

    .main__animation_img {
        margin-bottom: 150px;
    }
}

@media (max-width: 480px) {
    .main__animation_img {
        margin-bottom: 300px;
    }

    .main__inner h1 {
        margin-left: 5px;
        margin-top: 200px;
        font-size: 36px;
    }

    .main__inner h3 {
        margin-top: 5px;
        font-size: 36px;
    }

    .main__text p {
        font-size: 20px;
    }

    .main__inner button {
        margin-left: 5px;
        padding: 6px 9px 6px 22px;
        font-size: 15px;
    }

    .main__progress {
        margin-top: 10px;
    }

    .main__item div {
        margin-top: 5px;
        font-size: 20px;
        margin-left: 0;
    }

    .main__item p {
        font-size: 15px;
    }

    .main__text {
        margin-top: 100px;
    }

    .main__text p {
        font-size: 30px;
    }
}

@media (max-width: 450px) {
    .main__inner h1 {
        font-size: 28px;
    }

    .main__inner h3 {
        font-size: 28px;
    }
    .main__text p {
        font-size: 25px;
    }
}

@media (max-width: 425px) {
    .main__inner h1 {
        font-size: 28px;
    }

    .main__inner h3 {
        font-size: 28px;
    }
    .main__text p {
        font-size: 23px;
    }
}

@media (max-width: 320px) {
    .main__inner h3 {
        margin-top: 50px;
    }

    .main__item div {
        font-size: 16px;
    }

    .main__item p {
        font-size: 14px;
    }

    .main__text p {
        font-size: 16px;
    }
}

.swiper4 {
    width: 100%;
    overflow: hidden;
}

.controls {
    display: flex;
    justify-content: right;
    position: relative;
    bottom: 10px;
}

.controls__inner {
    border: 0px;
    display: flex;
    justify-content: space-around;
    background-color: #ffffff;
    width: 140px;
    height: 36px;
    padding: 5px 10px 5px 10px;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}
.custom-prev {
    display: flex;
    align-items: center;
}
.custom-next {
    display: flex;
    align-items: center;
}
.custom-prev img {
    width: 21px;
}
.custom-next img {
    width: 21px;
}

.custom-prev img:hover {
    cursor: pointer;
}
.custom-next img:hover {
    cursor: pointer;
}

@media (min-width: 1441px) and (max-width: 1600px) {
    .container__main {
        max-width: 90%;
    }
}

@media (min-width: 1351px) and (max-width: 1440px) {
    .container__main {
        max-width: 90%;
    }
}

@media (min-width: 992px) and (max-width: 1350px) {
    .container__main {
        max-width: 90%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container__main {
        max-width: 90%;
    }
}

@media (max-width: 767px) {
    .container__main {
        max-width: 90%;
    }
}

.carousel-progress {
    position: relative;
    max-width: 100%;
    height: 4px;
    background-color: rgba(0, 0, 255, 0.3);
}

.progress {
    position: absolute;
    height: 4px;
    background-color: rgb(0, 0, 255);
    animation-name: progress;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}

@keyframes progress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
