@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

.preorder .wrapper {
}

.preorder .wrapper .hero {
    padding: 50px 0 0 0;
    height: 50%;
    background-image: url('./assets/preorder/preorder-background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.preorder .wrapper .hero h1 {
    font-family: "Xiaomi-Regular";
    font-style: normal;
    font-weight: bold;
    font-size: 50px;
    line-height: 59px;
    color: #000000;
}

.preorder .models {
    display: block;
    margin: 120px 0 128px 0;
}

.preorder .months-ensurance {
    margin: 0 0 185px 0;
}

.preorder p {
    font-family: "Xiaomi-Regular";
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 23px;
    color: #000000;
    margin-bottom: 73px;
}

.preorder-flex-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    /* flex-wrap: wrap; */
}

.preorder-hero-left {
    /* width: 700px; */
    max-width: 50%;
    margin: 0 0 0 160px;
}

.preorder-hero-right {
    /* width: 700px; */
    max-width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    margin: 0 160px 0 0;
    /* padding-top: 110px; */
    height: 100%;
}
.preorder-hero-right img {
    display: block;
}
.present {
   width: 300px;
   align-self: center;
   margin-top: 250px;
}
.phones-img {
    width: 500px;
}

.preorder-logo {
    display: block;
    margin: 0 0 0 calc(100% - 238px);
    width: 88px;
}

.retailers {
    height: 50%;
    padding: 110px;
}

.preorder .wrapper .retailers h1 {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 50px;
    line-height: 59px;
    text-align: center;
    color: #000000;
    margin: 0 0 110px 0;
}

.preorder .wrapper .retailers-container {
    max-width: 1420px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.preorder .wrapper .retailers-container .retailer {
    width: 426px;
    height: 227px;
    background: #FFFFFF;
    box-shadow: 0px 5px 13px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preorder .wrapper .retailers-container .retailer img {
    display: block;
    max-width: 75%;
    margin: 0 auto;
}

@media only screen and (max-width: 1520px) {
    .preorder-flex-wrap {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .preorder-hero-left h1 {
        width: 100%;
        text-align: center;
    } 

    .preorder-hero-left {
        margin: 0;
        max-width: unset;
    }

    .preorder-hero-right {
        margin: 0;
        max-width: unset;
        justify-content: center;
    }

    .preorder-logo {
        margin: 0 auto 50px auto;
    }

    .preorder .models{
        margin: 50px auto !important;
    }

    .preorder .months-ensurance {
        margin: 50px auto;
        display: block;
    }

    .phones-img {
        max-width: 50%;
    }

    .present {
        max-width: 30%;
        margin-top: 150px;
    }

    .preorder p {
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    .preorder .wrapper .hero h1  {
        font-size: 40px;
    }
    .models {
        max-width: 100%;
    }
    .preorder .wrapper .retailers h1 {
        font-size: 45px;
    }
    .retailers {
        padding: 110px 10px 110px 10px;
    }

@media only screen and (max-width: 620px) {
    .preorder .wrapper .hero h1 {
        font-size: 35px;
    }

    .preorder .wrapper .retailers h1 {
        font-size: 35px;
        line-height: 50px;
    }
    .models {
        max-width: 80%;
    }

    .months-ensurance {
        font-size: 18px;
    }
}