.tyre-calc__visuall-before,
.tyre-calc__visuall-after {
    display: block;
    width: 100%;
    display: flex;
    background-image: url('https://duin.ru/images/tyre-calc/setka2.png');
    background-size: auto;
    margin-bottom: 10px;
    border: 1px solid #53b2e9;
    border-radius: 5px;
    padding: 5px;

}

.tyre-calc__frontside {
    display: flex;
    width: 70%;
    position: relative;
    justify-content: center;
    background-image: 
        url('https://duin.ru/images/tyre-calc/strelka.png');
    background-position: 40px 50%;
    background-size: contain;
    background-repeat: no-repeat;
}

.tyre-calc__sideways {
    display: flex;
    position: relative;
    justify-content: center;
    background-image: 
        url('https://duin.ru/images/tyre-calc/strelka2.png');
        background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% 50%;
    width: 29%;
    align-items: center;
}

.tyre-calc__tyre-back,
.tyre-calc__tyre2-back {
    display: block;
    width: 300px;
    height: auto;
    background-image: url('https://duin.ru/images/tyre-calc/tyre-back.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.tyre-calc__tyre-front,
.tyre-calc__tyre2-front {
    display: block;
    width: 250px;
    background-image: url('https://duin.ru/images/tyre-calc/tyre-front.png');
    background-size: 100% 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 250px;
    position: absolute;
    top: 50%;
    margin-top: -125px;
}

.tyre-calc__oldtyres,
.tyre-calc__newtyres {
    border: 1px solid #e6e4e4;
    border-radius: 5px;
    padding: 15px 10px;
    margin-bottom: 10px;
    margin-right: 5px;
    font-size: 20px;
    text-align: center;
}

.tyre-calc__tyre-sideways {
    display: block;
    width: 148px;
    height: 300px;
    background-image: url('https://duin.ru/images/tyre-calc/sideways-tyre2.png');
    background-size: 100% 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.tyre-calc__form select {
    font-size: 30px;
    padding: 5px 15px;
    border: 1px solid #3d8ecf;
    border-radius: 5px;
}

.tyre-calc__table td {
    text-align: center;
}

.tyre-calc__title {
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 15px;
}

.tyre-calc__submit-btn-zone {
    display: block;
    text-align: center;
}


.tyre-calc__visuall-sign {
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -10px;
    font-size: 16px;
}

.tyre-calc__visuall-title {
    font-size: 20px;
    background-color: #51b4eb;
    color: white;
    padding: 5px 15px;
    margin: 0;
    margin-bottom: 5px;
    border-radius: 5px;
}

.tyre-calc__visuall-sign-sideways {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -30px;
}

.tyre-calc__speed-wrapper {
    display: flex;
    justify-content: center;
}

.tyre-calc__speed-part {
    display: flex;
    flex-direction: column;
    margin: 0 15px;
}

.tyre-calc__speed-title {
    font-size: 20px;
    background-color: #51b4eb;
    color: white;
    padding: 5px 15px;
    margin: 0;
    margin-bottom: 5px;
    border-radius: 5px;
}

.tyre-calc__speed input {
    font-size: 90px;
    width: 230px;
    height: 140px;
    padding: 5px 15px;
    padding-right: 0;
    text-align: center;
    border: 1px solid #3d8ecf;
    border-radius: 5px;
}

.tyre-calc__speed-new input {
    color: black;
}

.tyre-calc__desc-wrapper {
    display: flex;
    justify-content: space-between;
}

.tyre-calc__pre-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

@media (max-width: 960px) {
    .tyre-calc__speed input {
        width: 200px; 
    }

    .tyre-calc__speed-wrapper img {
        width: 150px;
        height: 136px;
    }
}

@media (min-width: 755px) and (max-width: 800px) {
    .tyre-calc__speed input {
        width: 150px;
        font-size: 60px;
    }

    .tyre-calc__desc-wrapper {
        flex-direction: column;
        justify-content: center;
    }

    .tyre-calc__img-zone {
        text-align: center;
    }
}

@media (max-width: 650px) {
    .tyre-calc__speed-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .tyre-calc__desc-wrapper {
        flex-direction: column;
        justify-content: center;
    }

    .tyre-calc__img-zone {
        text-align: center;
    }
}

@media (max-width: 650px) {
    .tyre-calc__pre-text {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .tyre-calc__oldtyres, 
    .tyre-calc__newtyres {
        display: flex;
        flex-direction: column;
    }

    .tyre-calc__select option {
        text-align: center;
    }
}

@media (max-width: 500px) {
    .tyre-calc__visuall-before,
    .tyre-calc__visuall-after {
        flex-direction: column;
        align-items: center;
    }
}