* {
    padding: 0;
    margin: 0;
}
body {
    color: #fff;
    font-size: 16px;
    background-color: #000;
    font-family: Skia, arial;
}

p {
    margin-bottom: 16px;
}

a {
    color: #fff;
    text-decoration: none;
}

img {
    width: 100%;
}

header {
    padding: 20px;
}
.header__content {
    text-align: right;
}
.header__content a {
    color: #ECDCA4;
    text-decoration: underline;
}

.overflow {
    overflow: hidden;
}

.frm__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}
.frm__group label {
    margin-bottom: 6px;
}
.frm__group input {
    padding: 10px 10px;
    border: 1px solid #fff;
    width: 92%;
    background-color: #000;
    color: #fff;
    outline: none;
    font-size: 14px;
}
.frm__error {
    display: none;
    font-size: 14px;
    padding: 8px 0;
    color: #fff;
    background-color: red;
}
.frm__button {
    margin-top: 20px;
}
.frm__btn {
    display: block;
    color: #fff;
    padding: 10px;
    background-color: #cc7c3d;
    width: 100px;
}

.wrapper {
    max-width: 400px;
    margin: auto;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 2px solid #CC7C3D;
    padding: 20px 0;
    text-align: center;
}
footer p {
    font-size: 16px;
    padding: 0;
    margin: 0;
    margin-bottom: 0px;
}
footer img {
    width: 200px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 99;
}
.bg__modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
}
.bg__modal img {
    width: 640px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    background-color: #000;
    border: 1px solid #cc7c3d;
    z-index: 99;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    text-align: center;
    color: #000;
}
.modal__close {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 16px;
    cursor: pointer;
}
.modal__logo img {
    width: 200px;
}
.modal__title {
    font-size: 18px;
    color: #cc7c3d;
    text-align: left;
    line-height: 22px;
}
.modal__txt {
    font-size: 16px;
    color: #e5c55c;
    text-align: left;
    margin-bottom: 16px;
}
.modal__txt div {
    position: relative;
    display: inline;
}
.modal__txt i {
    position: absolute;
    font-style: normal;
    font-size: 14px;
    bottom: 4px;
    right: -12px;
}
.modal__ty {
    display: none;
    color: #e5c55c;
    font-size: 18px;
}
.modal__ty .frm__btn {
    margin: auto;
    width: 120px;
}
.modal__ty__txt {
    color: #cc7c3d;
    font-size: 28px;
}

@media screen and (min-width: 360px) {

    .modal {
        width: 290px;
    }
    .modal__title {
        font-size: 20px;
    }
    .modal__txt {
        font-size: 18px;
        line-height: 20px;
    }
    .modal__ty {
        font-size: 20px;
    }
    .bg__modal img {
        width: 660px;
    }
    .frm__group input {
        font-size: 16px;
    }
    .frm__error {
        font-size: 16px;
    }

}

@media screen and (min-width: 500px) {

    .modal {
        width: 400px;
    }
    .modal__ty {
        font-size: 22px;
    }
    .modal__txt br {
        display: none;
    }
    

}

@media screen and (min-width: 768px) {

    .modal {
        width: 600px;
    }
    .modal__title {
        font-size: 22px;
        line-height: 28px;
    }
    .modal__txt {
        font-size: 20px;
        line-height: 28px;
    }
    .modal__txt br {
        display: block;
    }
    .bg__modal img {
        width: 700px;
    }
    .frm__row {
        display: flex;
        justify-content: space-between;
    }
    .frm__group input {
        width: 265px;
    }
    .frm__btn {
        font-size: 18px;
        width: 140px;
        padding: 16px 0;
    }
    .wrapper {
        max-width: 680px;
    }
    

}

@media screen and (min-width: 1000px) {

    header {
        background-size: 1400px 180px;
    }
    .header__content {
        width: 900px;
        padding: 30px 20px;
    }
    .header__content a {
        font-size: 20px;
    }
    
    .wrapper {
        max-width: 800px;
    }

}

@media screen and (min-width: 1200px) {

    header {
        background-size: 1600px 180px;
    }
    .header__content {
        width: 1100px;
        padding: 30px 20px;
    }
    .header__left img {
        width: 200px;
    }
    .header__right a {
        font-size: 20px;
    }
    .wrapper {
        max-width: 1060px;
    }
    .modal {
        width: 680px;
        padding: 30px;
    }
    .modal__title {
        font-size: 22px;
        line-height: 30px;
    }
    .modal__title {
        font-size: 28px;
        line-height: 30px;
    }
    .modal__txt {
        font-size: 22px;
        line-height: 28px;
    }
    .bg__modal img {
        width: 800px;
    }
    .frm__group input {
        width: 300px;
    }
    

}

@media screen and (min-width: 1400px) {

    .modal__logo img {
        width: 300px;
    }
    .modal__title {
        font-size: 30px;
        line-height: 32px;
    }
    .modal__txt {
        font-size: 22px;
        line-height: 28px;
    }
    .frm__group input {
        width: 300px;
        font-size: 18px;
    }
    .frm__btn {
        font-size: 20px;
    }

}

@media screen and (min-width: 1920px) {

    .header__content {
        width: 1800px;
        padding: 30px 20px;
    }
    header {
        background-size: 3100px 180px;
    }
    footer img {
        width: 300px;
    }

}