body, html {
    overflow-x: hidden;
    max-width: 100%;
}

@font-face {
    font-family: 'PrimeBold';
    src: url('fonts/PrimeBold.eot');
    src: url('fonts/PrimeBold.eot?#iefix') format('embedded-opentype'),
    url('fonts/PrimeBold.woff') format('woff'),
    url('fonts/PrimeBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PrimeNormal';
    src: url('fonts/PrimeNormal.eot');
    src: url('fonts/PrimeNormal.eot?#iefix') format('embedded-opentype'),
    url('fonts/PrimeNormal.woff') format('woff'),
    url('fonts/PrimeNormal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PrimeLight';
    src: url('fonts/PrimeLight.eot');
    src: url('fonts/PrimeLight.eot?#iefix') format('embedded-opentype'),
    url('fonts/PrimeLight.woff') format('woff'),
    url('fonts/PrimeLight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.bold {
    font-family: 'PrimeBold', sans-serif;
}

.norm {
    font-family: 'PrimeNormal', sans-serif;
}

.light {
    font-family: 'PrimeLight', sans-serif;
}

div {
    box-sizing: border-box
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'PrimeNormal', sans-serif;
    margin: 0;
}

.wrapper {
    width: 100%;
    max-width: 1112px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.center-container {
    width: 100%;
    position: relative;
    z-index: 3;
    transform: translateY(-10%);
}

h1 {
    max-width: 1062px;
    font-size: 50px;
    line-height: 120%;
    margin: 20px auto 60px;
    width: 90%;
    text-shadow: #000 1px 0 10px;
}

.logo.tmain{
  max-width: 230px;
  height: auto;
  margin-top: 74px;
}

.slider-container {
    aspect-ratio: 1920/850;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible
}

.slider-bottom-container,.slider-bottom-container2 {
    background: url(img/arcbottom.svg) no-repeat top center/cover;
    width: 100%;
    height: 49px;
    bottom: -3px;
    position: absolute;
    z-index: 2
}
.slider-bottom-container2 {
    background: url(img/arcbottom2.svg) no-repeat top center/cover;
    z-index:4
}

.slider-bottom-containerb {
    background: url(img/arcbottomb.svg) no-repeat center/80%;
    width: 100%;
    height: 30vw;
    position: absolute;
    z-index: 2;
    transform: translateY(-15vw);
}

.slider-container .center-container {
    position: absolute;
    width: 100%;
    height: auto;
    aspect-ratio: 1920/850;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.cards-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 90px auto 83px;
}

.small-card {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: row;
    width: 100%;
    max-width: 382px;
    margin: 12px;
    position: relative;
}

.small-card .inner {
    position: relative;
    background: linear-gradient(239.61deg, #3D1B56 0%, #0D1744 87.73%);
    height: 253px;
    width: 100%;
    max-width: 270px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 35px;
    padding-right: 35px;
    font-size: 26px;
    line-height: 100%;
    border-radius: 12px;
    padding-top:45px;
}

.small-card .inner:before {
    content: "";
    width: 60px;
    height: 82px;
    background: url(img/chevronred.svg) no-repeat top right/contain;
    position: absolute;
    right: calc(50% - 30px);
    top: 0;
}
.small-card:nth-of-type(2) .inner:before {
    background-image: url(img/chevronred2.svg);
}
.small-card:nth-of-type(3) .inner:before {
    background-image: url(img/chevronred3.svg);
}

.small-card .cnum {
    width: 112px;
    background: url(img/num1.svg) no-repeat top left/cover;
}

.small-card:nth-of-type(2) .cnum {
    background-image: url(img/num2.svg);
}

.small-card:nth-of-type(3) .cnum {
    background-image: url(img/num3.svg);
}

.btn {
    height: 60px;
    line-height: 20px;
    background: #E50914;
    max-width: 316px;
    width: 100%;
    color: #fff;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    box-shadow: 2px 0 18px 0 rgba(0, 0, 0, 0.87);
}

.btn:before {
    display: block;
    background-image: url(img/android.svg);
    content: "";
    width: 36px;
    height: 20px;
    margin-right: 14px
}

.btn:hover {
    background: #ff0012;
}

.spacebottom {
    margin-bottom: 130px;
}

#slideshow {
    position: absolute;
    width: 100%;
    height: auto;
    overflow: hidden;
    z-index: 0;
    aspect-ratio: 1920/850;
}

.topshade {
    position: absolute;
    top: 0;
    width: 100%;
    height: 30vw;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 80%);
}

#slideshow:before {
    content: "";
    position: absolute;
    left: 0;
    width: 50%;
    height: auto;
    z-index: 2;
    aspect-ratio: 960/1080;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

#slideshow:after {
    content: "";
    position: absolute;
    right: 0;
    width: 50%;
    height: auto;
    z-index: 2;
    aspect-ratio: 960/1080;
    background: linear-gradient(-90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

#slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    transform: scale(1.2);
    transition: transform 2s ease, opacity 2s ease;
}

#slideshow img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

@media (max-width: 1220px) {
    .small-card {
        aspect-ratio: 382/253;
        height: auto;
        max-width: calc(33% - 24px);
    }

    .small-card .cnum {
        width: 30%;
        aspect-ratio: 112/253;
        height: auto;
    }

    .small-card .inner {
        aspect-ratio: 270/253;
        height: auto;
    }
        .small-card .inner::before {
        width: 32px;
        height: 50px;
        right:calc(50% - 16px);
    }
    .small-card .inner {
      padding-top: 30px;
    }
}

@media (max-width: 1040px) {
    .slider-bottom-containerb {
        transform: translateY(-18vw);
    }

    h1 {
        font-size: 40px;
    }

    .small-card .inner {
        font-size: 20px
    }

}

@media (max-width: 980px) {
    .cards-container {
        margin: 70px auto 43px;
    }
}


@media (max-width: 906px) {
    h1 {
        margin: 20px auto 20px;
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .small-card .inner {
        font-size: 16px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .small-card .inner::before {
        width: 32px;
        height: 50px;
    }

}

@media (max-width: 640px) {

.logo.tmain{
  max-width: 160px;
  height: auto;
  margin-top: 44px;
}

    .slider-container, #slideshow {
        aspect-ratio: 1080/1080;
    }

    .cards-container {
        margin: 140px auto 23px;
    }

    #slideshow:before, #slideshow:after {
        aspect-ratio: 540/1080
    }

    .slider-bottom-container {
        width: 100%;
        height: auto;
        aspect-ratio: 382/12;
    }


    h1 {
        font-size: 24px;
    }

    .btn {
        height: 50px;
        max-width: 280px;
    }

    .wrapper-container.wide.center-container {
        margin-top: -10vw
    }

    .small-card {
        aspect-ratio: unset;
        height: 100px;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .small-card .cnum {
        width: auto;
        height: 100px;
        aspect-ratio: 112/240;
    }

    .small-card .inner {
        font-size: 18px;
        padding-left: 35px;
        padding-right: 35px;
    }

    .small-card .inner::before {
        width: 32px;
        height: 50px;
    }
       .small-card .inner::before {
        right:8px;
    }
    .small-card .inner {
      padding-top: unset;
    }

    .slider-bottom-container2 {
  background: url(img/arcbottom2.svg) no-repeat top center/contain;
  z-index: 4;
  bottom: -37px;
}
}