* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#app {
    /* background-color: #cfebf9; */
}

/* fan awards */

.xiaomi-fan-awards {
    font-family: Xiaomi-Regular;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
     
}

.logo {
    display: inline-block;
    max-width: 88px;
    margin-left: calc(100% - 200px);
}

.xiaomi-fan-awards .wrapper {
    width: 100%;
    position: relative;
    background-image: url('./assets/fan-awards-images/background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 80px 0 0 0;
}

.xiaomi-fan-awards > * {
    text-align: center;
}

.xiaomi-fan-awards ul {
    list-style: none;
    margin: 0 30px 160px 30px;
}

.fan-title {
    font-style: normal;
    font-weight: bold;
    font-size: 83px;
    line-height: 90px;
    text-align: center;
    color: #FFFFFF;
    margin: 0 30px 85px 30px;
}

.fan-second-title {
    font-style: normal;
    font-weight: bold;
    font-size: 67px;
    line-height: 96px;
    text-align: center;
    color: #fff;
    margin: 0 30px 35px 30px;
}

.fan-description {
    font-style: normal;
    font-weight: 500;
    font-size: 38px;
    line-height: 67px;
    text-align: center;
    color: #FFFFFF;
    margin: 0 30px 90px 30px;
}

.fan-how-to-apply h2 {
    font-style: normal;
    font-weight: bold;
    font-size: 58px;
    line-height: 115px;
    text-align: center;
    color: #FFFFFF;
    margin: 0 30px 55px 30px;
}

.fan-how-to-apply ul li {
    font-style: normal;
    font-size: 54px;
    line-height: 91px;
    text-align: center;
    color: #FFFFFF;
    margin: 0 30px 40px 30px;
}

.fan-what-to-do {
    font-style: normal;
    font-weight: normal;
    font-size: 42px;
    line-height: 67px;
    text-align: center;
    color: #FFFFFF;
    margin: 0 30px 93px 30px
}

.fan-what-to-do a {
    color: #BABAF8
}

.btn-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 780px;
    margin: 0 auto 160px auto;
}

.btn-container .fan-left-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Xiaomi-Regular;
    background: linear-gradient(90deg, #9B9BF5 -1.83%, #F5F5FF 39.97%, #F5F5FF 62.98%, #9B9BF5 102.84%);
    width: 309px;
    height: 91px;
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 32px;
    text-align: center;
    color: #0E1426;
    border-radius: 20px;
    border: none;
    outline: none;
    cursor: pointer;
    margin-right: 50px;
    text-decoration: none;
    transition-duration: .5s;
}
.btn-container .fan-left-btn:hover,.btn-container .fan-rules-btn:hover {
    transform: scale(1.1);
}

.btn-container .fan-rules-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Xiaomi-Regular;
    width: 309px;
    height: 91px;
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 32px;
    text-align: center;
    color: #E4E4FD;
    border-radius: 20px;
    background: transparent;
    border: 1px solid #fff;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    transition-duration: .5s;
}

.fan-footer {
    background-image: url('./assets/fan-awards-images/fan-award-footer.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    padding-bottom: 40%;

}

@media only screen and (max-width: 1024px) {
    .logo {
        width: 70px;
    }
    .fan-title {
        font-size: 66px;
    }
    .fan-second-title {
        font-size: 53px;
    }
    .fan-description {
        font-size: 30px;
        margin: 0 30px 70px 30px;
    }
    .fan-how-to-apply h2 {
        font-size: 46px;
    }
    .fan-how-to-apply ul {
        margin: 0 30px 120px 30px;
    }
    .fan-how-to-apply ul li  {
        font-size: 43px;
        margin-bottom: 30px;
    }
    .fan-what-to-do {
        font-size: 34px;
    }
    .btn-container button {
        width: 247px !important;
        height: 73px !important;
        font-size: 25px !important;
    }
}

@media only screen and (max-width: 768px) {
    .logo{
        margin: 0 auto;
    }
    .logo {
        width: 42px;
    }
    .fan-title {
        font-size: 39px;
        margin-bottom: 20px;
        line-height: 70px;
    }
    .fan-second-title {
        font-size: 32px;
        line-height: 75px;
    }
    .fan-description {
        font-size: 18px;
        margin: 0 30px 60px 30px;
        line-height: 50px;
    }
    .fan-how-to-apply h2 {
        font-size: 28px;
        line-height: 70px;
    }
    .fan-how-to-apply ul {
        margin: 0 30px 100px 30px;
    }
    .fan-how-to-apply ul li  {
        font-size: 26px;
        margin-bottom: 20px;
        line-height: 70px;
    }
    .fan-what-to-do {
        font-size: 20px;
    }
    .btn-container {
        display: flex;
        align-items: center;
        justify-content: space-around;
        flex-direction: column;
        margin: 0 auto 120px auto;
    }
    .btn-container .fan-left-btn {
        margin: 0 0 20px 0 !important;
    }
}

/* fan awards */




@font-face {
  font-family: "Xiaomi-Light";
  src: url("./assets/fonts/CamphorProForXiaoMi-Light.otf") format("OpenType")
}
@font-face {
  font-family: "Xiaomi-Regular";
  src: url("./assets/fonts/CamphorProForXiaoMi-Regular.otf") format("OpenType")
}
@font-face {
  font-family: "Xiaomi-Heavy";
  src: url("./assets/fonts/CamphorProForXiaoMi-Heavy.otf") format("OpenType")
}
@font-face {
  font-family: "Xiaomi-Thin";
  src: url("./assets/fonts/CamphorProForXiaoMi-Thin.otf") format("OpenType")
}
@font-face {
  font-family: "Xiaomi-Medium";
  src: url("./assets/fonts/CamphorProForXiaoMi-Medium.otf") format("OpenType")
}
@font-face {
  font-family: "Xiaomi-Bold";
  src: url("./assets/fonts/CamphorProForXiaoMi-Bold.otf") format("OpenType")
}

.back-to-school {
    
}

.wrapper{
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

.logo-img {
    position: absolute;
    left: calc(100% - 130px);
    bottom: calc(99% - 94px);
    z-index: 10000;
    display: block;
    width: 115px;
}

.absolute-img-wrap {
    top: 6%;
    left: -10%;
    position: absolute;
    display: flex;
}

.absolute-img-wrap > img {
    display: inline-block;
    width: 70%;
    margin: 0 auto;
}

.absolute-img-wrap > p {
    position: absolute;
    font-family: "Xiaomi-Regular";
    font-size: 39px;
    top: 90%;
    left: 20%;
    transform: skewY(
-9deg
);
}

.back-to-school-top {
    background: url('./assets/images/blokovi.png') center center no-repeat;
    background-size: cover;
    height: 723px;
    padding: 30px;
}

.back-to-school-top > h1 {
    font-family: "Xiaomi-Thin";
    letter-spacing: 1px;
    font-size: 45px;
    margin-bottom: 10px;
}

.back-to-school-top > p {
    font-family: "Xiaomi-Regular";
    font-size: 20px;
}

.back-to-school-main {
    background-color: #cfebf9;
    padding: 250px 80px;
}
.flex-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-to-school-main-left {
    position: relative;
    height: 850px;
    width: 850px;

}
.back-to-school-main-right {
    position: relative;
    max-width: 850px;

}

.back-to-school-main-left > p {
    position: absolute;
    font-family: "Xiaomi-Regular";
    font-size: 25px;
    top: 70%;
    letter-spacing: 1px;
}

.back-to-school-main-right > p {
    position: absolute;
    font-family: "Xiaomi-Regular";
    font-size: 25px;
    letter-spacing: 1px;
    top: 0;
    left: 50%;
}

.gift-wrap {
    width: 800px;
    height: 200px;
    background-color: #9CD7F5;
    margin: 0 auto;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

.img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.img-wrap p {
    width: 175px;
    text-align: center;
    font-family: "Xiaomi-Regular";
    font-size: 20px;
}
.gift-wrap img {
    display: inline-block;
    width: 100%;
}

.p-gift {
    position: absolute;
    top: 40%;
    left: -7%;
    transform: rotate(270deg);
    font-family: "Xiaomi-Regular";
    font-size: 30px;
}

.p-or {
    position: absolute;
    top: 40%;
    left: 35%;
    font-family: "Xiaomi-Regular";
    font-size: 30px; 
}

.flex-wrap img {
    display: inline-block;
    height: 100%;
    object-fit: cover;
}

.back-to-school-footer {
    height: 315px;
    background-color: #cfebf9;
    background: url('./assets/images/footerrr3.png') center center no-repeat;
    background-size: cover;
}

.retailers-logos {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.retailers-logos img {
    display: block;
    margin: 15px;
}

@media only screen and (max-width: 1536px) {
    
    .absolute-img-wrap > p {
        font-size: 32px;
        top: 90%;
        left: 23%;
    }

    .back-to-school-main {
        padding:100px 0;
    }

    .back-to-school-main-left, .back-to-school-main-right {
        height: unset;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column-reverse;
    }

    .back-to-school-main-left img, .back-to-school-main-right img {
        height: unset;
        width: unset;
    }

    .back-to-school-main-left p, .back-to-school-main-right p {
        position: static;
        font-size: 30px ;
    }

    .flex-wrap {
        flex-direction: column;
        margin: 200px 0;
    }
}

@media only screen and (max-width: 1024px) {
    .back-to-school-top {
        background: url(./assets/images/blokovi.png) no-repeat;
        background-size: contain;
        background-repeat: no-repeat;
        width: 100%;
        padding-top: 38.6%;
        position: relative;
    }
    .back-to-school-main {
    padding: 100px 0 150px 0;
}
    .logo-img {
        left: calc(100% - 130px);
    bottom: calc(99% - 113px);
    }
    .absolute-img-wrap > p {
        font-size: 19px;
    }
    .back-to-school-top > h1 {
        position: absolute;
        top: 2.5%;
        left: 1.5%;
    }
    .back-to-school-top > p {
        position: absolute;
        top: 12%;
        left: 1.5%;

    }
    .absolute-img-wrap {
        top: 7%;
        left: 0;
        position: absolute;
        display: flex;
        z-index: 10;
    }

    .absolute-img-wrap img {
        width: 80%;
    }
    .absolute-img-wrap > p {
        font-size: 22px;
        top: 90%;
        left: 19%;
    }
    .back-to-school-footer {
        background-color: #cfebf9;
        background: url(./assets/images/footerrr3.png) center center no-repeat;
        background-size: cover;
        padding-top: 17.5%;
        height: 0;
    }
}

@media only screen and (max-width: 960px) {
    .gift-wrap {
        width: 80%;
    }
    .back-to-school-footer {
        padding-top: 17.5%;
        height: 0;
    }
        .back-to-school-main-left img, .back-to-school-main-right img {
        height: unset;
        width: 100%;
    }
}


@media only screen and (max-width: 768px) {
    .back-to-school-top {
        background: url(./assets/images/blokovi.png) no-repeat;
        height: 100%;
        background-size: contain;
        background-repeat: no-repeat;
        width: 100%;
        padding-top: 34.6%;
    }
    .back-to-school-main {
        padding: 100px 0 175px 0;
    }
    .absolute-img-wrap {
        top: 3%;
        position: absolute;
        display: flex;
    }
    .absolute-img-wrap > p {
        font-size: 15px;
        top: 90%;
        left: 24%;
        text-align: center;
    }

    .p-gift {
        font-size: 22px;
    }


    .back-to-school-top > h1 , .back-to-school-top > p {
        display: block
    } 

    .back-to-school-top > h1 {
        font-size: 20px;
    }
    .back-to-school-footer {
        padding-top: 17.5%;
        height: 0;
    }

    .logo-img {
        width: 13vw !important;
        left: 85%!important;
        bottom: 63% !important;
    }
}

@media only screen and (max-width: 540px) {
     .absolute-img-wrap {
        top: 35px !important;
        left: 0 !important;
    }
    .absolute-img-wrap > p {
        font-size: 10px !important;
        top: 94%;
        left: 20%;
        text-align: center;
        width: 65%;
        transform: skewY( 
    -9deg
    );
    }
    .back-to-school-top {
        height: 0;
        min-height: 137px;
    }

    .back-to-school-top h1, .back-to-school-top p{
        display: block
    }

    .back-to-school-top > p {
        font-size: 10px;
    }

    .back-to-school-top h1 {
        font-size: 13px;
    }
    .back-to-school-main {
        padding:100px 0;
    }

    .back-to-school-main-left, .back-to-school-main-right {
        height: unset;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column-reverse;
    }

    .back-to-school-main-left img, .back-to-school-main-right img {
        height: unset;
        width: 300px;
    }

    .back-to-school-main-left p, .back-to-school-main-right p {
        position: static;
        font-size: 15px ;
    }

    .flex-wrap {
        flex-direction: column;
        margin: 0 !important;
    }

    .gift-wrap {
        width: 80%;
    }

    .img-wrap {
        width: 50%;
    }

    .img-wrap p {
    width: unset;
    text-align: center;
    font-family: "Xiaomi-Regular";
    font-size: 12px;
}

    .p-gift {
        top: 40%;
        left: -9%;
        font-family: "Xiaomi-Regular";
        font-size: 20px;
    }

    .p-or {
        left: 42%;
    }

    .back-to-school-footer {
        height: 68px !important;
        background-color: #cfebf9;
        background: url(./assets/images/footerrr3.png) no-repeat;
        background-size: contain;
    } 
}

@media only screen and (max-width: 420px) {
    .p-gift {
        left: -12%;
    }
}

@media only screen and (max-width: 375px) {
     .absolute-img-wrap {
        top: 35px !important;
        left: 0 !important;
    }
    .absolute-img-wrap > p {
        font-size: 10px !important;
        top: 94%;
        left: 20%;
        text-align: center;
        width: 65%;
        transform: skewY( 
    -9deg
    );
    }
    .back-to-school-top {
        height: 0;
        min-height: 137px;
    }

    .back-to-school-top h1, .back-to-school-top p{
        display: block
    }
    .back-to-school-main {
        padding:100px 0;
    }

    .back-to-school-main-left, .back-to-school-main-right {
        height: unset;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column-reverse;
    }

    .back-to-school-main-left img, .back-to-school-main-right img {
        height: unset;
        width: 300px;
    }

    .back-to-school-main-left p, .back-to-school-main-right p {
        position: static;
        font-size: 15px ;
    }

    .flex-wrap {
        flex-direction: column;
        margin: 0 !important;
    }

    .gift-wrap {
        width: 80%;
    }

    .img-wrap {
        width: 50%;
    }

    .img-wrap p {
    width: unset;
    text-align: center;
    font-family: "Xiaomi-Regular";
    font-size: 12px;
}

    .p-gift {
        top: 40%;
        left: -13%;
        font-family: "Xiaomi-Regular";
        font-size: 20px;
    }

    .p-or {
        left: 42%;
    }

    .back-to-school-footer {
        height: 62px !important;
        background-color: #cfebf9;
        background: url(./assets/images/footerrr3.png) no-repeat;
        background-size: contain;
    }

    .retailers-logos img {
        display: inline-block;
        width: 90%;
    } 
}

@media only screen and (max-width: 360px) {
    .absolute-img-wrap {
        top: 35px !important;
        left: 0 !important;
    }
    .absolute-img-wrap > p {
        font-size: 10px;
        top: 94%;
        left: 20%;
        text-align: center;
        width: 65%;
        transform: skewY( 
    -9deg
    );
    }
    .back-to-school-top {
        height: 0;
        min-height: 137px;
    }

    .back-to-school-top h1, .back-to-school-top p{
        display: block
    }
    .back-to-school-main {
        padding:100px 0;
    }

    .back-to-school-main-left, .back-to-school-main-right {
        height: unset;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column-reverse;
    }

    .back-to-school-main-left img, .back-to-school-main-right img {
        height: unset;
        width: 300px;
    }

    .back-to-school-main-left p, .back-to-school-main-right p {
        position: static;
        font-size: 15px ;
    }

    .flex-wrap {
        flex-direction: column;
    }

    .gift-wrap {
        width: 80%;
    }

    .img-wrap {
        width: 50%;
    }

    .img-wrap p {
    width: unset;
    text-align: center;
    font-family: "Xiaomi-Regular";
    font-size: 12px;
}

    .p-gift {
        top: 40%;
        left: -13%;
        font-family: "Xiaomi-Regular";
        font-size: 20px;
    }

    .p-or {
        left: 42%;
    }

    .back-to-school-footer {
        height: 59px !important;
        background-color: #cfebf9;
        background: url(./assets/images/footerrr3.png) no-repeat;
        background-size: contain;
    } 
}

@media only screen and (max-width: 320px) {
    .back-to-school-footer {
        height: 53px !important;
        background-color: #cfebf9;
        background: url(./assets/images/footerrr3.png) no-repeat;
        background-size: contain;
    } 
    .p-gift {
        left: -16%;
    }
}







