:root {
    --swiper-theme-color: #fff;
}

* {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
}

#module {
    height: 80vh
}

@media screen and (max-width:768px) {
    #module {
        height: 25vh;
    }
}

@media screen and (min-width:769px) and (max-width:1023px) {
    #module {
        height: 25vh;
    }
}

#module .swiper {
    width: 100%;
    height: 100%;
}

#module .swiper .swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#module .swiper .swiper-slide .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
    color: var(--swiper-theme-color);
    position: relative;
    z-index: 2;
    max-width: 100%;
}

@media (width > 700px) {
    #module .swiper .swiper-slide .content {
        gap: 2rem;
    }
}

#module .swiper .swiper-slide .content .title {
    font-size: 38px;
    line-height: 65px;
    text-transform: capitalize;
    text-shadow: rgb(0, 0, 0) 0px 0px 10px;
    width: 625px;
    max-width: 100%;
}

@media (width<768px) {
    #module .swiper .swiper-slide .content .title {
        line-height: 45px;
        padding: 0px 30px;
        font-size: 30px;
    }
}

@media (width > 700px) {
    #module .swiper .swiper-slide .content .title {
        font-size: 58px;
    }
}



#module .swiper .swiper-slide .content a {
    background-color: var(--swiper-theme-color);
    padding: 11px 20px;
    font-size: 12px;
    background: #fff;
    color: #05141f;
    min-width: 80px;
    font-weight: 600;
    text-decoration: none;
}

@media (width > 700px) {
    #module .swiper .swiper-slide .content a {
        padding: 21px 40px;
        font-size: 14px;
    }
}

#module .swiper .swiper-slide .content a:hover {
    text-decoration: underline;
}

#module .swiper .swiper-slide .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#module .swiper .swiper-slide .img .pixel-transition {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

#module .swiper .swiper-slide .img .pixel-transition div {
    background-color: rgb(255, 255, 255);
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(1) {
    animation: fade 350ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(6) {
    animation: fade 350ms 100ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(11) {
    animation: fade 350ms 150ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(16) {
    animation: fade 350ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(2) {
    animation: fade 350ms 250ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(7) {
    animation: fade 350ms 200ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(12) {
    animation: fade 350ms 280ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(17) {
    animation: fade 350ms 200ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(3) {
    animation: fade 350ms 300ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(8) {
    animation: fade 350ms 400ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(13) {
    animation: fade 350ms 450ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(18) {
    animation: fade 350ms 300ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(4) {
    animation: fade 350ms 550ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(9) {
    animation: fade 350ms 530ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(14) {
    animation: fade 350ms 600ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(19) {
    animation: fade 350ms 560ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(5) {
    animation: fade 350ms 700ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(10) {
    animation: fade 350ms 800ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(15) {
    animation: fade 350ms 850ms forwards;
}

#module .swiper .swiper-slide .img .pixel-transition div:nth-child(20) {
    animation: fade 350ms 700ms forwards;
}

#module .swiper .swiper-slide .img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

#module .swiper .swiper-button-next,
#module .swiper .swiper-button-prev {
    overflow: hidden;
    border-radius: 40px;
    width: 40px;
    height: 40px;
    opacity: 0.5;
}

@media (width > 700px) {

    #module .swiper .swiper-button-next,
    #module .swiper .swiper-button-prev {
        border-radius: 84px;
        width: 84px;
        height: 84px;
    }
}

#module .swiper .swiper-button-next::before,
#module .swiper .swiper-button-prev::before {
    content: "";
    background: #05141f;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#module .swiper .swiper-button-next svg,
#module .swiper .swiper-button-prev svg {
    position: relative;
    display: block;
    width: 20px;
}

@media (width > 700px) {

    #module .swiper .swiper-button-next svg,
    #module .swiper .swiper-button-prev svg {
        width: 30px;
    }
}

#module .swiper .swiper-button-next:hover,
#module .swiper .swiper-button-prev:hover {
    opacity: 1;
}

#module .swiper .swiper-button-next::after,
#module .swiper .swiper-button-prev::after {
    display: none;
}

#module .swiper .swiper-button-next {
    right: 2rem;
}

#module .swiper .swiper-button-prev {
    left: 2rem;
}

#module .swiper .swiper-pagination {
    bottom: 1.5rem;
}

#module .swiper .swiper-pagination .swiper-pagination-bullet {
    border-radius: 0;
    width: 35px;
    height: 4px;
    margin: 0 5px;
    background-color: #fff;
}

@media (width > 700px) {
    #module .swiper .swiper-pagination .swiper-pagination-bullet {
        width: 45px;
    }
}

#module .swiper .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #fff;
}

@keyframes fade {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}