main,
footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 36px 0;
}

.header-block {
    display: flex;
    background-color: rgb(250, 248, 254);
    align-items: center;
    padding: 50px 100px
}

.pageTitle {
    font-family: Rubik;
    color: rgb(108, 99, 123);
    padding: 0 12px;
}

.pageText {
    font-family: Rubik;
    color: rgb(108, 99, 123);
    padding: 0 12px;
}

#additionalForm {
    width: 340px;
    align-items: center;
    padding: 16px;
}

#additionalForm div {
    display: flex;
    flex-direction: column;
    width:100%
}

#additionalForm input {
    flex: 1;
    background-color: #f3f3f3;
    color: #797979;
    border-radius: 20px;
    border: none;
    height: 43px;
    font-size: 14px;
    line-height: 14px;
    padding: 14px;
    margin: 8px 0;
    width:92%
}

#additionalForm input:focus {
    outline: none;
}
#additionalForm label {
    display: none;
}

#additionalForm button[type="submit"] {
    flex: 1;
    font-family: Rubik;
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    color: #434343;
    background: rgba(250, 234, 37, 1);
    height: 50px;
    border-style: none;
    border-radius: 100px;
    margin-top: 10px;
    padding: 14px
}

#additionalForm button[type="submit"]:hover {
    cursor: pointer;
    background: rgba(238, 219, 28, 1);
    color: #434343;
}

#additionalForm .error {
    color: red;
    font-size: 0.8em;
    margin-top: 5px;
}

#successSubmit {
    color: green;
    font-size: 1em;
    margin-top: -5px;
}

.footer-text {
    color: rgb(108, 99, 123);
    font-size: 16px;
    font-family: Rubik;
    font-style: normal;
    font-weight: 400;
}

.footer-link {
    color: rgb(108, 99, 123);
    font-size: 16px;
    font-family: Rubik;
    font-style: normal;
    font-weight: 500;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
