.body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #FFFFFF;
    background-color: #06050A;
}

.header {
    background-color: #19181A;
}
.header__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.header__container {
    box-sizing: border-box;
    padding: 10px;
}
.header__container:first-child {
    width: 25%;
}
.header__container:nth-child(2) {
    width: 50%;
    text-align: center;
}
.header__container:nth-child(3) {
    width: 14.98%;
    text-align: end;
}
.header__container:last-child {
    width: 10%;
    text-align: center;
}
.header__logotip {
    display: inline-block;
}
.header__logo {
    width: 60%;
    height: auto;
    border: none;
    border-radius: 0;
}
.header__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}
.header__item {
    padding: 13px 14px;
}
.header__link {
    font-size: 18px;
    font-weight: 500;
    font-style: oblique;
    text-decoration: none;
    transition: .4s;
    line-height: 20px;
    color: #FDE4A5;
}
.header__link_active {
    color: #fff;
}
.header__link:hover {
    color: #fff;
}
.header__burger {
    display: none;
}
.header__signup {
    font-weight: 700;
    text-decoration: none;
    fill: #19181A;
    color: #19181A;
    background-color: #D2B070;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #D2B070;
    border-radius: 50px 50px 50px 50px;
    font-size: 13px;
    padding: 10px 20px;
    display: inline-block;
    line-height: 1;
    transition: all .3s;
    text-align: center;
}
.header__signup:hover {
    background-color: #FDE4A5;
    border-color: #FDE4A5;
}
.header__signin {
    font-weight: 700;
    text-decoration: none;
    fill: #FDE4A5;
    color: #FDE4A5;
    background-color: #02010100;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #FDE4A5;
    border-radius: 50px 50px 50px 50px;
    font-size: 13px;
    padding: 10px 20px;
    display: inline-block;
    line-height: 1;
    transition: all .3s;
}

.burger {
    display: none;
}

.main {
    margin-top: 20px;
    margin-bottom: 20px
}

.text {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px;
    background-color: #19181A;
}
.text h1 {
    font-size: 2.5rem;
    margin: 8px 0 16px;
    font-weight: 400;
    line-height: 1.2;
}
.text__title {
    font-size: 2rem;
    margin: 8px 0 16px;
    font-weight: 400;
    line-height: 1.2;
}
.text__subtitle {
    font-size: 1.75rem;
    margin: 8px 0 16px;
    font-weight: 400;
    line-height: 1.2;
}
.text__description {
    margin: 0 0 14.4px;
}
.text__image {
    height: auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
}
.text__ref {
    color: #FDE4A5;
    text-decoration: none;
}
.text__ref:hover {
    color: #fff;
}
.text table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}
.text td {
    background-color: #000;
    color: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    line-height: 1.5;
    padding: 8px;
    font-size: .9em;
    text-align: center;
}
.text td:first-child {
    font-weight: 700;
}
.text td:last-child {
    border-right: 1px solid #ccc;
}
.text__form {
    margin-top: 34px;
}
.text__labels {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.text__input {
    width: 49.5%;
    box-sizing: border-box;
    padding: 8px 16px;
    border: 1px solid #818a91;
    color: #373a3c;
    border-radius: 3px;
    line-height: 1.4;
    font-size: 15px;
    min-height: 40px;
    margin: 0 0 10px 0;
}
.text__input:focus {
    outline: none;
}
.text__textarea {
    line-height: 1.4;
    font-size: 15px;
    min-height: 40px;
    padding: 5px 14px;
    border-radius: 3px;
    width: 100%;
}
.text__textarea:focus {
    outline: none;
}
.text__button {
    margin-top: 10px;
    min-height: 40px;
    border: none;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
    background-color: #818a91;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 3px;
    text-align: center;
    transition: all .3s;
    width: 100%;
    color: #fff;
}
.text__button:hover {
    background-color: rgb(97,97,97);
}

.footer {
    background-color: #19181A;
}
.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    flex-direction: column;
}
.footer__container {
    margin-bottom: 14.4px;
}
.footer__link {
    color: #fde4a5;
    text-decoration: none;
    margin-bottom: 14.4px;
}
.footer__link:hover {
    color: #fff;
}
.footer__copyright {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 14px;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .header__list {
        display: none;
    }
    .header__container:first-child {
        width: 40%;
    }
    .header__container:nth-child(2) {
        width: 10%;
        display: flex;
        justify-content: end;
    }
    .header__container:nth-child(3) {
        width: 30%;
    }
    .header__container:last-child {
        width: 20%;
    }
    .header__logo {
        width: 48%;
    }
    .header__burger {
        display: inline-flex;
        width: 25px;
	    height: 25px;
	    position: relative;
	    z-index:2;
	    overflow: hidden;
        cursor: pointer;
    }
    .header__burger span {
        width: 23px;
        height: 3px;
        border-radius: 3px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #FDE4A5;;
        transition: all 0.5s;
    }
    .header__burger span:nth-of-type(2) {
        top: calc(50% - 6px);
    }
    .header__burger span:nth-of-type(3) {
        top: calc(50% + 6px);
    }
    .header__burger.active span:nth-of-type(1) {
        display: none;
      }
      .header__burger.active span:nth-of-type(2) {
        top: 50%;
        transform: translate(-50%, 0%) rotate(45deg);  
      }
      .header__burger.active span:nth-of-type(3) {
        top: 50%;
        transform: translate(-50%, 0%) rotate(-45deg); 
      }
    .burger.active {
        display: block;
    }
    .header__list_mobile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0;
        margin: 0;
        align-items: center;
        list-style: none;
        background-color: #19181A;
    }
    .header__item {
        padding: 10px 20px;
    }
    .footer__content {
        padding: 10px 20px;
    }
}

@media screen and (max-width: 767px) {
    .header {
        position: relative;
    }
    .header__content {
        flex-wrap: wrap;
    }
    .header__container:first-child {
        width: 80%;
        text-align: center;
    }
    .header__logotip {
        justify-content: center;
    }
    .header__logo {
        width: 70%;
    }
    .header__container:nth-child(2) {
        width: 20%;
    }
    .header__burger {
        padding: 8px;
        width: 32px;
    }
    .header__burger span {
        width: 30px;
        height: 4px;
    }
    .header__burger span:nth-of-type(2) {
        top: calc(50% - 8px);
    }
    .header__burger span:nth-of-type(3) {
        top: calc(50% + 8px);
    }
    .header__container:nth-child(3) {
        width: 55%;
    }
    .header__container:nth-child(4) {
        width: 45%;
    }
    .header__signup {
        width: 100%;
        box-sizing: border-box;
    }
    .header__signin {
        width: 100%;
        box-sizing: border-box;
    }
    .burger.active {
        position: absolute;
        width: 100%;
        top: 67px;
    }
    .text h1 {
        font-size: 24px;
    }
    .text__title {
        font-size: 22px;
    }
    .text__subtitle {
        font-size: 20px;
    }
}
