@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.container form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
    height: 100%;
}

.container {
    width: 100%;
    height: 100%;
    justify-content: center;
}

h1 {
    margin: 0;
}

p {
    margin: 0;
}

.glav {
    max-width: 1016px;
    margin: 0 auto;
    margin-top: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

.z {
    color: black;

    word-wrap: break-word;
    text-align: center;
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 40px;
}

.main-img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    margin-top: 48px;
    height: 400px;
}




.zag {
    color: rgb(0, 0, 0);
    margin-top: 48px;
    text-align: center;
    font-size: 44px;
    line-height: 56px;
    font-weight: 600;
    text-overflow: clip;
}

.zag-3 {
    color: rgb(0, 0, 0);
    margin-top: 48px;
    text-align: center;
    font-size: 44px;
    line-height: 56px;
    font-weight: 600;
    text-overflow: clip;
}

.zag-1 {
    color: rgb(0, 0, 0);
    text-align: center;
    font-size: 38px;
    line-height: 56px;
    margin: 0;
    font-weight: 600;
    text-overflow: clip;
    margin-top: 48px;
}

.nezag-1 {
    color: rgb(0, 0, 0);

    text-align: left;
    width: auto;
    padding: 0;
    margin-top: 48px;
    margin-bottom: 0px;
    font-size: 22px;
    line-height: 28px;
    font-weight: 400;
}

.nezag-2 {
    color: rgb(0, 0, 0);
    text-align: left;
    width: auto;
    padding: 0;
    margin-top: 16px;
    margin-bottom: 0px;
    font-size: 22px;
    line-height: 28px;
    font-weight: 400;
}

.nezag-3 {
    color: rgb(0, 0, 0);
    text-align: center;
    width: auto;
    padding: 0;
    margin-bottom: 24px;
    font-size: 26px;
    line-height: 28px;
    font-weight: 600;
    text-decoration: none;
}

.nezag-3:hover {
    color: #3366ff;
    cursor: pointer;
}


.read-main {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 56px;
    background: #3366ff;
    border-radius: 10px;
    text-align: center;
    /*margin-top: 24px;*/
    padding: 0;
    border: 0;
    text-decoration-line: none;
}

.read-text {
    width: auto;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    padding-left: 41px;
    padding-right: 41px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.knopki {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}


.photo-block {
    display: flex;
    flex-direction: column;
}

.photo {
    width: auto;
    height: 165px;
    object-fit: cover;
}

#photo-a {
    height: 250px; 
    border-radius: 20px; 
    width: 430px;
}

.photo-desc {
    width: 293px;
    height: 85px;
    background-color: rgb(51, 102, 255, 0.25);
    padding: 0 15px;
    margin: 0;
    font-weight: 300;
}

.photo-desc-block {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    color: black;
    height: 85px;
}

.photo-desc-block-2 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: auto;
}

input {
    width: 50%;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #3366ff;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 0 20px;
}

input[type=submit] {
    color: #ffffff;
    width: 25%;
    background: #3366ff;
}


input[type=file]::file-selector-button {
    margin: 5px 5px 5px 0;
    border: none;
    background: #3366ff;
    padding: 10px 20px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
}




/*синий загловок*/

.blue-box {
    width: 100%;
    height: 150px;
    background-color: #116394;
    text-align: center;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    /* Align horizontal */
    align-items: center;
    /* Align vertical */
    margin: 0;
}


.text-blue-box {
    color: rgb(255, 255, 255);

    text-align: center;
    font-size: 44px;
    line-height: 52px;
    margin: 0;
    font-weight: 600;
    text-overflow: clip;
}

.B1 {
    color: #505f79;
    font-size: 12px;
    margin: 12px 0 0 0;
    line-height: 16px;
    text-align: center;
}

#B1 {
    margin-top: 24px;
    width: 100%;
    height: 400px;
}


/* footer */


footer {
    position: relative;
    /*относительное позиционирование*/
    width: 100%;
    /*на всю ширину*/
    background: #3366ff;
    /*цвет футера*/
    display: flex;
    justify-content: center;
    /*в центре по горизонтали*/
    align-items: center;
    /*в центре по вертикали*/
    flex-direction: column;
    margin-top: 100px;
    /*отступ сверху*/
}

.social,
.menu1 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    flex-wrap: wrap;
    /*разрешен перенос на новую строку*/
    padding: 0;
}

.social li,
.menu1 li {
    list-style: none;
    /*удалить черные маркеры*/
}

.social li a {
    font-size: 2em;
    /*размер иконок*/
    color: #fff;
    /*цвет иконок*/
    margin: 0 10px;
    display: inline-block;
    /*отображать как строчно-блочный элемент*/
    transition: 0.5s;
    /*плавный переход*/
    padding: 0;
}

.menu1 li a {
    font-size: 1.2em;
    /*размер ссылок меню*/
    color: #fff;
    /*цвет ссылок меню*/
    opacity: 0.75;
    /*значение прозрачности*/
    margin: 15px;

    text-decoration: none;
    /*ссылка без подчеркивания*/
    display: inline-block;
}

.menu1 li a:hover {
    opacity: 1;
}

footer p {
    color: #fff;
    text-align: center;
    margin-top: 15px;
    font-size: 1.1em;
}

footer .B1 {
    width: 90%;
    color: #ffffff;
    font-size: 12px;
    margin-top: 12px;
    line-height: 16px;
    text-align: center;
}

textarea {
    border-radius: 10px;
    border: 1px solid #3366ff;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 20px;
    width: 50%;
    height: 200px;
}



input[type="submit"]:disabled {
    opacity: .5;
}

.nezag-2-2 {
    font-size: 22px;
    text-decoration: none;
    margin: 0;
    color: #777;
}

#button:hover {
    color: #3366ff;
}

#button-2 {
    color: #777;
    text-decoration: none;
}

#button-2:hover {
    color: #3366ff;
}

.form__group {
    display: flex;
    align-items: center;
    width: 75%;
    justify-content: center;
}

input[type="checkbox"],
input[type="radio"] {
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.65rem;
}

.box-header {
    margin-right: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.box-header-1 {
    height: 80px;
    width: auto;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nezag-header {
    background-color: #3366ff;
    color: rgb(255, 255, 255);
    width: auto;
    padding: 5px 10px;
    font-size: 22px;
    line-height: 28px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
}

.nezag-header-1 {
    color: rgb(255, 255, 255);
    width: auto;
    padding: 0px;
    font-size: 22px;
    line-height: 28px;
    font-weight: 500;
    text-decoration: none;
    margin-right: 16px;
}