#references {
    margin: 100px 0 0 0;
}

@media (max-width: 769px) {
    #references {
        margin: 0 auto;
    }
}

#references .main-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

#references .main-container .hero-part .banner-img {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#references .main-container .hero-part .banner-img img {
    width: 100%;
}

#references .main-container .hero-part .banner-img p {
    font-family: "Tasman", sans-serif;
    font-weight: 500;
    letter-spacing: -5.04px;
    color: white;
    z-index: 1;
    font-size: 84px;
}

@media screen and (max-width: 1200px) {
    #references .main-container .hero-part .banner-img p {
        left: 8% !important;
        top: 47% !important;
    }
}

@media screen and (max-width: 992px) {
    #references .main-container .hero-part .banner-img p {
        font-size: 48px !important;
    }
    #references .specials {
        align-items: end;
        .specials-container .right-corner {
            right: 3% !important;
        }
    }
}

@media screen and (max-width: 768px) {
    #references .main-container .hero-part .banner-img p {
        font-size: 24px !important;
        left: 3% !important;
        top: 45% !important;
    }
    #references .main-container .other-part {
        flex-direction: column-reverse;
    }
    #references .main-container .other-part .content-part,
    #references .main-container .other-part .other-img {
        width: 100% !important;
    }
    #references .main-container .other-part .statistics {
        flex-direction: column;
        gap: 32px !important;
    }
    #references .main-container .other-part .statistics .statistic p {
        font-size: 32px;
    }
    #references .main-container .medias {
    }
}

@media screen and (max-width: 425px) {
    #references .main-container .banner-img p {
        font-size: 22px !important;
    }
    #references .main-container .medias {
    }
}

#references .main-container .medias-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

#references .main-container .medias-container .header-part {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

#references .main-container .medias-container .header-part p {
    background: linear-gradient(180deg, #141414 0%, #747484 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Tasman", sans-serif;
    font-weight: 500;
    font-size: 84px;
    font-style: normal;
    font-weight: 400;
    line-height: 84px; /* 100% */
    letter-spacing: -5.04px;
}
@media (width<606px) {
    #references .main-container .medias-container .header-part p {
        font-size: 44px;
    }
}

#references .main-container .medias-container .medias {
    display: grid;
    gap: 27px;
}

#references .main-container .medias-container .medias .media {
    /* background-color: #d9d9d9; */
    border-radius: 20px;
    aspect-ratio: 250/168;
}

#references .main-container .other-part {
    display: flex;
    align-items: stretch;
    gap: 30px;
}

#references .main-container .other-part .content-part {
    width: 75%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    gap: 33px;
}

#references .main-container .other-part .content-part p {
    color: #50555c;
    font-size: 16px;
    font-weight: 300;
    line-height: 31px;
    letter-spacing: -0.08px;
}

#references .main-container .other-part .content-part .statistics {
    display: flex;
    background-color: #ed1c24;
    border-radius: 30px;
    padding: 26px;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    width: 100%;
}

#references .main-container .other-part .content-part .statistics .statistic {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

#references .main-container .other-part .content-part .statistics .statistic p {
    color: white;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: -3px;
}

#references
    .main-container
    .other-part
    .content-part
    .statistics
    .statistic
    span {
    color: white;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -1.2px;
}

#references .main-container .other-part .other-img {
    width: 25%;
    height: 384px;
    border-radius: 30px;
    overflow: hidden;
}

#references .main-container .other-part .other-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.specials {
    background-image: url("../../images/references/references-specials.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 347px;
    width: 100%;
    margin: 80px 0;
    display: flex;
    align-items: center;
    position: relative;
}

.specials-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.specials-container p {
    color: white;
    font-size: 84px;
    font-style: normal;
    font-weight: 400;
    line-height: 84px;
    letter-spacing: -5.04px;
}

@media (width<980px) {
    .specials-container p {
        font-size: 44px;
    }
}

.specials-container .right-corner {
    background-color: #ed1c24;
    padding: 46px 10px 0;
    position: absolute;
    top: 0;
    right: 18%;
    max-width: 250px;
    border-radius: 0px 0px 30px 30px;
    display: flex;
    flex-direction: column;
    max-height: 192px;
}

.specials-container .right-corner p {
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: -0.08px;
}

.specials-container .right-corner p span {
    font-weight: 500;
    color: white;
}

.specials-container .right-corner img {
    transform: translate(40px, -40px) scale(0.7);
    z-index: 1;
}

@media screen and (max-width: 1440px) {
    .banner-img p {
        font-size: 48px !important;
        left: 8% !important;
        top: 47% !important;
    }
}

@media screen and (max-width: 992px) {
    .specials {
        align-items: end;
    }
    .specials .right-corner {
        right: 3% !important;
    }
}

@media screen and (max-width: 768px) {
    .banner-img p {
        font-size: 22px !important;
        left: 3% !important;
        top: 45% !important;
    }

    .other-part {
        flex-direction: column-reverse;
    }

    .content-part,
    .other-img {
        width: 100% !important;
    }

    .statistics {
        flex-direction: column;
        gap: 32px !important;
    }

    .statistics .statistic p {
        font-size: 32px;
    }

    .statistics .statistic span {
        font-size: 16px;
        text-align: center;
    }
}

@media screen and (max-width: 425px) {
    .banner-img p {
        font-size: 22px !important;
    }
}
