@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

html {
    box-sizing: border-box;
    height: 100%;
    font-family: "Roboto", sans-serif;
}

html,
body,
p {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

input {
    border-radius: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 400;
}

.site-container {
    overflow-x: hidden;
}

.is-hidden {
    display: none !important;
    /* stylelint-disable-line declaration-no-important */
}

.btn-reset {
    border: none;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
}

.list-reset {
    list-style: none;
    margin: 0;
    padding: 0;
}

.input-reset {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0;
    background-color: #fff;
}

.input-reset::-webkit-search-decoration,
.input-reset::-webkit-search-cancel-button,
.input-reset::-webkit-search-results-button,
.input-reset::-webkit-search-results-decoration {
    display: none;
}

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

.image {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    padding: 30px 0;
    background-color: #f5f5f5;
}

.header__container {
    padding: 0px 70px;
}

.header__container p {
    margin-top: 20px;
    text-align: center;
    font-size: 22px;
    line-height: 1.37;
    font-weight: 400;
    text-align: center;
}

.header__container p span {
    font-weight: 700;
}

.section-quiz {
    padding: 80px 0;
}

.btns {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer {
    padding: 60px 0;
    background-color: #e8e8e8;
}

.footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer__logo {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.footer__logo span {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 33px;
    line-height: 110%;
    display: block;
    margin-left: 10px;
}

.footer__adress {
    font-size: 18px;
    line-height: 110%;
}

.footer__rside {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer__item-icon {
    flex-shrink: 0;
}

.footer__item-icon svg {
    width: 30px;
    height: 30px;
}

.footer__item-title {
    font-size: 16px;
    line-height: 108%;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);

    align-items: center;
    justify-content: center;
    display: none;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    position: fixed;
    z-index: 20;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.modal.active {
    display: block;
}

.modal__title {
    font-size: 1.875rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

.thanks {
    padding: 50px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.thanks__title {
    color: green;
    font-size: 2.3rem;
    line-height: 1.2;
    text-align: center;
}

.thanks__text {
    text-align: center;
    font-size: 1.6rem;
}

.thanks__link {
    text-decoration: underline;
}

.links-policy {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #505050;
}

.links-policy li:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .footer__container {
        flex-direction: column;
        align-items: flex-start;
    }

    .header__container p {
        display: none;
    }

    .header__container,
    .header {
        padding: 0;
    }

    #extr-call-btn {
        right: 10px !important;
        left: auto !important;
    }
}
