body {
    margin: 0;
    font-family: 'Times New Roman', sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
/*    background-color: rgba(0, 0, 0, 0.7);*/
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

.header_logo img {
	align-items: center;
    max-width: 210px;
}

.red_button {
	
    display: inline-block;
    background-image: url('red_buttom.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 200px;
    height: 100px;
    color: white;
    text-align: center;
    line-height: 100px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;	
}

.red_button:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    padding: 10px;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
}

.nav_list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-right: 50px;
    justify-content: center;
    flex: 1;
}

.nav_item {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 3px;
    margin-right: 2px;
}

.nav_item a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px;
}

.nav_item a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.burger_menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    top: 20px;
    padding-right: 65px;
    z-index: 11;
}

.burger_menu span {
    width: 45px;
    height: 7px;
    background-color: #6699cc;
    margin: 5px 0;
}


.lenta {
    margin-top: 5vw;
    padding: 20px;
}

.image_wrapper {
    float: right;
/*    display: flex;*/
    justify-content: center;
    padding: 0px 0;
    max-width: 105%;
    height: auto;
}
.image_wrapper_0{
    max-width: 100%;
}


.form_box{
    max-width: 50%;
}
.form_img_box{
    float: right;
    max-width: 50%;
}

.lenta_box_zapros, .lenta_box_black {
    max-width: 100%;
    padding-top: 5vw;
    margin: 0 auto;
    padding: 20px;
}

.lenta_text, .lenta_text_black {
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: justify;
}

.form {
    margin: 20px 0;
}

.form_title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.form_row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form_group {
    flex: 1;
    margin-bottom: 20px;
}

.form_label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

.form_input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form_input_1{
    width: 49%;
    padding: 10px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form_button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #6699cc;
    color: #fff;
    border: none;
    transition: background-color 0.3s;
}

.form_button:hover {
    background-color: #557a9f;
}

.lenta_box_black {
    background-color: #333333;
    color: #ffffff;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.lenta_box_blue {
    height: 10px;
    width: 80%;
    background-color: #6699cc;
    margin-bottom: 10px;
}

@media (max-width: 1170px) {
    .nav {
        background-color: rgba(0, 0, 0, 0.0);
    }
    .nav_list {
        flex-direction: column;
        display: none;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 85px;
        left: 0;
        z-index: 9;
    }

    .red_button {
        width: 200px;
        height: 75px;
        line-height: 75px;
    }

    .header_logo img {
        max-width: 140px;
    }

    .nav_list.active {
        display: flex;
    }

    .nav_item {
        margin: 10px 0;
    }

    .burger_menu {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav {
        background-color: rgba(0, 0, 0, 0.0);
    }
    .form_row {
        flex-direction: column;
    }

    .form_group {
        margin-bottom: 15px;
    }

    .form_input {
        font-size: 0.9rem;
    }

    .form_button {
        font-size: 0.9rem;
    }

    .lenta_text, .lenta_text_black {
        font-size: 0.9rem;
    }

    .form_title {
        font-size: 1.2rem;
    }

    .image_wrapper img {
        max-width: 60%;
    }
}

@media (max-width: 480px) {
    .form_box{
        max-width: 90%;
    }
    .image_wrapper {
        max-width: 100%;
        height: auto;   
    }
    .form_img_box{
        max-width: 90%;
    }
    .nav {
        background-color: rgba(0, 0, 0, 0.0);
    }
    .header_logo img {
        max-width: 70px;
    }
    .nav_item a {
        font-size: 0.8rem;
    }

    .header {
        padding: 5px 10px;
    }

    .form_input {
        font-size: 0.8rem;
    }

    .form_button {
        font-size: 0.8rem;
    }

    .lenta_box_zapros, .lenta_box_black {
        width: 90%;
    }
    
    .image_wrapper img {
        max-width: 80%;
    }
}
