body {
    font-family: Montserrat, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    color: #383838;
}


.hide {
    visibility: hidden;
}

.wrap {
    margin: 0;
    margin-bottom: 79px;
    padding: 10px 4px 19px 4px;
    width: 67%;
    margin-left: auto;
    margin-right: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 63px;
}

.nav {
    margin-top: 34px;
    display: flex;
}

.h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    margin-right: 24px;
    margin-bottom: 15px;
    color: #000000;
}

.style-dropdown-button {
    margin-right: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding: 4px 15px 3px 4px;
    border: #BE315B 1px solid;
    border-radius: 4px;
    background: transparent;
}

.style-dropdown-button::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 2px;
    width: 7px;
    height: 4px;
    background-image: url('img/Vector1.png');
    background-size: contain;
    /* Adjust background-size to fit your image */
    transform: translateY(-50%);
    border: 0;
}

.style-dropdown-menu {
    border: #BE315B 1px solid;
    background-color: #fff;
}

.main-container {
    display: flex;
    justify-content: space-between;
}

.settings-container,
.generation-container {
    border: solid 1px #000000;
    border-radius: 10px;
}

.settings-container {
    position: relative;
    width: 30.4%;
    padding: 0 30px 0 30px;
}

.settings-container::before {
    padding-left: 20px;
    padding-right: 20px;
    content: 'НАСТРОЙКИ';
    position: absolute;
    top: -11px;
    background-color: #fff;
    left: 50%;
    transform: translateX(-51%);
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.generation-container {
    margin-right: 10px;
    width: 67.3%;
    position: relative;
}

.generation-container::before {
    padding-left: 20px;
    padding-right: 20px;
    content: 'ГЕНЕРАЦИЯ';
    position: absolute;
    top: -12px;
    background-color: #fff;
    left: 50%;
    transform: translateX(-51%);
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.style-radio-container {
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
    margin-bottom: 16px;
}

.style-radio-inline {
    margin-right: 0;
}

.style-radio-input {
    border: solid 1px #BE315B;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}


.style-radio-input:active {
    filter: none;
}

.style-radio-input:checked[type=radio] {
    background-color: #fff;
    border-color: #BE315B;
}

.style-radio-input:checked[type=radio] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23BE315B'/%3e%3c/svg%3e")
}

.style-radio-label {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    font-size: 14px;
}

.text-style-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    margin-right: 7px;
    margin-top: 5px;
    width: 20px;
}

.min-max-style {
    height: 30px;
    width: 245px;
    padding: 0 0 0 11px;
    border: 1px #000000 solid;
    border-radius: 4px;
}

.min-max-container:last-child {
    margin-top: 23px;
    margin-bottom: 52px;
}

.min-max-container {
    display: flex;
}

.quantity-buttons {
    position: relative;
}

.minus-button,
.plus-button {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #BE315B;
    border: 1px #000000 solid;
    font-size: 30px;
    font-family: Montserrat, sans-serif;
    padding: 0;
    color: #fff;
}

.minus-button {
    line-height: 20px;
    right: 28px;
}

.plus-button {
    line-height: 27px;
    border-radius: 0px 4px 4px 0;
    right: 0;
}

.quantity-buttons {
    width: 245px;
}


.checkbox-styles {
    font-size: 14px;
    font-weight: 800;
    font-family: Montserrat, sans-serif;
    line-height: 20px;
}

.checkbox-styles.long-checkbox {
    margin-top: -4px;
    line-height: 16px;
}

.checkbox-style {
    width: 20px;
    height: 20px;
    margin: 0 5px 0 0;
    border: #BE315B 1px solid;
}


.checkbox-style:checked {
    background-color: #BE315B;
    border-color: #BE315B;
}

.checkbox-style:focus {
    border-color: #BE315B;
}

.check-items {
    margin-bottom: 15px;
    display: flex;
}

.slider-tittle {
    font-size: 14px;
    font-weight: 800;
    font-family: Montserrat, sans-serif;
    line-height: 20px;
}

input[type=range] {
    height: 26px;
    -webkit-appearance: none;
    margin: 10px 0 0 0;
    width: 100%;
}


input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #D9D9D9;
    border-radius: 6px;
    border: 0px solid #000000;
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 0px solid #2497E3;
    height: 20px;
    width: 20px;
    border-radius: 20px;
    background: #BE315B;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7.5px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #D9D9D9;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #D9D9D9;
    border-radius: 6px;
    border: 0px solid #000000;
}

input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 0px solid #2497E3;
    height: 20px;
    width: 20px;
    border-radius: 20px;
    background: #BE315B;
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #D9D9D9;
    border: 0px solid #000000;
    border-radius: 12px;
    box-shadow: 0px 0px 0px #000000;
}

input[type=range]::-ms-fill-upper {
    background: #D9D9D9;
    border: 0px solid #000000;
    border-radius: 12px;
    box-shadow: 0px 0px 0px #000000;
}

input[type=range]::-ms-thumb {
    margin-top: 1px;
    box-shadow: 0px 0px 0px #000000;
    border: 0px solid #2497E3;
    height: 20px;
    width: 20px;
    border-radius: 20px;
    background: #BE315B;
    cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
    background: #D9D9D9;
}

input[type=range]:focus::-ms-fill-upper {
    background: #D9D9D9;
}

.range-text {
    font-size: 14px;
}

.slider-container {
    margin-top: 29px;
    margin-bottom: 38px;
}

.blockedContainer {
    display: flex;
    margin-bottom: 15px;
}

.textarea-style {
    width: 325px;
    height: 87px;
    font-size: 14px;
    padding: 12px;
}

.textarea-array-style {
    width: 100%;
    height: 131px;
    padding: 12px;
}


::-webkit-input-placeholder {
    /* Edge */
    font-size: 14px;
    line-height: 15px;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    font-size: 14px;
    line-height: 15px;
}

::placeholder {
    font-size: 14px;
    line-height: 15px;
}

.data-container {
    display: flex;
    margin: 25px 0 33px 0;
}

.digital_clock_wrapper {
    margin-top: 36px;
    font-size: 20px;
    justify-content: center;
    display: flex;
}

.final-container {
    text-align: center;
}

.h2 {
    margin-top: 27px;
    text-align: center;
    font-size: 30px;
    text-transform: uppercase;
}


span {
    display: block;
    text-align: center;
}


#generate {
    box-shadow: 0px 4px 0px 0px #992438;
    background: linear-gradient(to bottom, #E63A34 5%, #AF2E6A 100%);
    padding: 10px 20px;;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    width: 307px;
    height: 60px;
    border-radius: 20px;
}
#generate:hover {
    background: linear-gradient(to bottom, #ec4b45 5%, #AF2E6A 100%);
}
#generate:active {
    box-shadow: inset 0px 4px 0px 0px #992438;
}

#result {
    position: relative;
    font-size: 3mm;
    font-weight: 600;
    color: #000000;
}

.alertText {
    line-height: 60px;
    font-size: 50px;
}

.multiple-result-container {
    min-height: 192px;
    margin-bottom: 29px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes slideIn {
    from {
        transform: translateX(-10%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.result-numbers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 800px;
}

.result-numbers-item {
    white-space: pre;
    color: #000000;
    padding: 0 0.4em;
    margin: 0.5em;
}

.result-value-item {
    white-space: nowrap;
    padding: 0 0.4em;
    background: #b7b7b766;
    border-radius: 1em;
    margin: 0.5em;
}

.line-breaker {
    flex: 1 100%;
}

.text-result-number {
    color: #000000;
    font-size: 20px;
    margin-top: 42px;
}

#result-numbers {
    margin-left: auto;
    margin-right: auto;
    white-space: pre; /* Prevent line breaks */
    font-size: 30px;
    font-weight: 400;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 600px;
    height: 60px;
}

.options-container {
    padding: 65px 17px 15px 32px;
    display: flex;
    justify-content: space-between;
}

.custom-button {
    right: 0;
    position: absolute;
    border: 0;
    background-color: transparent;
    width: 56px;
    height: 56px;
    display: block;
    background-image: url('img/collapsesbg.svg');
}

.footer {
    padding-bottom: 22px;
    padding-top: 18px;
    background-color: #ebe9e9;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-container {
    margin-left: auto;
    margin-right: auto;
    width: 67%;
    display: flex;
    align-items: center;
}

.contact-container a {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #000000;
    text-decoration: none;
    margin-left: 20px;
}

/* style scroll */
/* width */
::-webkit-scrollbar {
    border-radius: 4px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #fff;

}

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #e4e4e4;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.options-button-style {
    color: #fff;
    box-shadow: 0px 4px 0px 0px #434343;
    background: #6C6C6C;
    width: 246px;
    height: 43px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    border: 0;
}

/* proverit' check v js esli check odno to dajem display none odnoj funkcii  */
.min-max-choose {
    margin-top: 32px;
    display: block;
}

.setting-array-container {
    margin-bottom: 12px;
    display: none;
}

.result-value-item {
    transition: opacity 0.2s ease-in-out;
}

#digit_clock_time {
    width: 80px
}

@import url('https://fonts.googleapis.com/css?family=Orbitron');

/* media */
@media (min-width: 1921px) and (max-width: 2560px) {
    .min-max-container {
        justify-content: space-between;
    }

    .checks-container {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .check-items {
        display: flex;
        flex: 1 100%;
    }

    .checkbox-styles.long-checkbox {
        margin-top: -4px;
        line-height: 16px;
    }

    .textarea-style {
        min-width: 325px;
        width: 100%;

    }

    .quantity-buttons {
        width: 100%;
    }

    .min-max-style {
        width: 100%;
    }
}

@media (min-width: 1440px) and (max-width: 1919px) {
    .settings-container {
        padding: 0 10px 0 10px;
    }

    .slider-container {
        margin-top: 8px;
        margin-bottom: 23px;
    }

    .textarea-style {
        max-width: 266px;
    }

    .style-radio-label {
        font-size: 12px;
    }

    .options-button-style {
        width: 185px;
    }

    .options-container {
        padding: 15px 17px 15px 32px;
    }

}

@media (min-width: 1025px) and (max-width: 1439px) {
    .wrap {
        width: 90%;
    }

    .h1 {
        font-size: 24px;
    }

    .settings-container {
        padding: 0 8px 0 8px;
    }

    .style-radio-label {
        font-size: 12px;
    }

    .quantity-buttons {
        width: 100%;
    }

    .min-max-style {
        width: 100%;
    }

    .min-max-container:last-child {
        margin-bottom: 17px;
    }

    .slider-container {
        margin-bottom: 10px;
    }

    .textarea-style {
        width: 100%;
    }

    .options-container {
        padding: 15px;

    }

    .options-button-style {
        width: 180px;
        font-size: 12px;
    }
}

@media (min-width: 1263px) and (max-width: 1920px) {
    .check-items {
        max-width: 325px;
    }
}

/* mobile */

@media (max-width: 1024px) {
    .textarea-array-style {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .wrap {
        width: 100%;
    }

    .style-radio-container {
        justify-content: space-around;
    }

    .logo {
        margin-bottom: 24px;
        margin-top: 10px;
    }

    .header {
        margin-top: 5px;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 51px;
    }

    .logo img {
        width: 130px;
    }

    .language-switcher {
        position: absolute;
        top: 11px;
        right: 8px;
    }

    .nav {
        margin-top: 0;
    }

    .h1 {
        text-align: center;
        font-size: 20px;
        margin: 0;
    }

    .main-container {
        padding: 0 10px;
        flex-wrap: wrap;
    }

    .generation-container {
        order: 1;
        margin-bottom: 69px;
        margin-right: 0;
    }

    .settings-container {
        order: 2;
        width: 100%;
        padding: 0 10px 0 9px
    }

    .generation-container {
        width: 100%;
    }

    .custom-button-container {
        display: none;
    }

    .h2 {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 20px;;
    }

    #result {
        margin-bottom: 0;
        font-size: 3mm;
        min-height: 83px;
    }

    .result-numbers-container {
        width: 100%;

    }

    .result-numbers-item {
        font-weight: 400;
    }

    #result-numbers {
        height: 41px;
        width: 80%;
        font-size: 16px;
        margin-bottom: 10px;
    }

    #generate {
        margin-top: 26px;
        width: 269px;
        height: 52px;
    }

    .text-result-number {
        font-size: 16px;
        margin-top: 25px;
    }

    .blockedContainer {
        flex: 1 1 100%;
    }

    .options-items {
        width: 80%;
        flex-wrap: wrap;
        flex: 1 70%;
    }

    .options-container {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        row-gap: 21px;
        margin-bottom: 29px;
        margin-top: 29px;
    }

    .options-button-style {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .text-style-label {
        margin-top: 4px;
        margin-left: 12px;
        margin-right: 11px;
    }

    .min-max-choose {
        margin-top: 29px;
    }

    .min-max-container {
        justify-content: center;
        align-items: stretch;
    }

    .quantity-buttons {
        width: 80%;
    }

    .min-max-style {
        width: 100%;
    }

    .checkbox-style {
        margin: 0px 11px 0 0;
    }

    .check-items {
        flex-wrap: nowrap;
        margin-left: 12px;
        display: flex;
        align-items: center;

    }

    .checks-container {
        justify-content: space-evenly;
        flex-wrap: wrap;
        display: flex;
    }

    .blockingContainer {
        flex-wrap: wrap;
        display: flex;
        justify-content: center;

    }

    .checkbox-styles.long-checkbox {
        margin-top: 0px;
        line-height: 15px;
    }

    .textarea-style {
        width: 80%;
    }

    .digital_clock_wrapper {
        margin-top: 15px;
        font-size: 16px;
    }

    .style-dropdown-button {
        margin-right: 0px;
    }

    .alertText {
        font-size: 25px;
    }

    .alertText {
        margin-top: 27px;
    }

    .wrap {
        overflow: hidden;
    }

    .setting-array-container {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 480px) and (max-width: 1024px) {
    .textarea-array-style {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .blockedContainer {
        justify-content: center;
    }

    .data-container {
        justify-content: center;
    }

    .slider-container {
        text-align: center;
    }
}

.RandomNumber-non-anim .RandomNumber-DigitInner,
.RandomNumber-non-anim .RandomNumber-PrevValue,
.RandomNumber-non-anim .RandomNumber-NextValue {
    animation: none !important;
}
.RandomNumber-non-anim .RandomNumber-DigitInner {
    transform: translateY(-100%);
}
.RandomNumber-non-anim .RandomNumber-PrevValue {
    transform: translateY(-200%);
}
.RandomNumber-non-anim .RandomNumber-NextValue {
    transform: translateY(-100%);
}
.RandomNumber-Value {
    position: relative;
    overflow: hidden;
    font-variant-numeric: tabular-nums;
    text-align: center;
    white-space: nowrap;
}
.RandomNumber-Digit {
    position: relative;
    display: inline-block;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: top;
}
.RandomNumber-DigitSpacer {
    visibility: hidden;
}
@keyframes random-number-digit {
    0% {
        transform: translateY(0)
    }

    to {
        transform: translateY(-100%)
    }
}

.RandomNumber-DigitInner {
    position: absolute;
    top: 0;
    left: 0;
    animation: random-number-digit 3s forwards
}

.RandomNumber-DigitValue {
    color: rgba(84,96,122,.68);
}

.RandomNumber-PrevValue {
    position: absolute;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    animation: random-number-prev-value 3s forwards
}

.RandomNumber-NextValue {
    position: absolute;
    width: 100%;
    animation: random-number-next-value 3s ease-out forwards
}

@keyframes random-number-prev-value {
    0% {
        transform: translateY(-100%)
    }

    15%,to {
        transform: translateY(-200%)
    }
}

@keyframes random-number-next-value {
    0%,70% {
        transform: translateY(0)
    }

    to {
        transform: translateY(-100%)
    }
}