:root {
    --main-color: #1C1D21;
    --main-color-primary: #F4BF01;
    --main-font-color: #202020;
}

*, *:after, *:before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.container {
    margin: 0 auto;
    max-width: 600px;
}

.header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 64px;
}

.header__logo {
    display: flex;
    width: 80%;
    background-color: var(--main-color);
    border-radius: 0 0 32px 0;
}

.header__logo a {
    display: flex;
}

.logo {
    margin-left: 24px;
}

.menu {
    align-self: center;
}

.menu__button {
    margin-right: 16px;
    padding: 0;
    display: block;
    border: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
}

.menu__icon {
    stroke: var(--main-color);
}

.menu__icon-menu,
.menu__button--open .menu__icon-cross {
    display: block;
}

.menu__icon-cross,
.menu__button--open .menu__icon-menu {
    display: none;
}

.menu__icon:hover {
    stroke: var(--main-color-primary);
}

.menu__icon:active {
    stroke: var(--main-color-primary);
}

.section__title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section__title .wrapper {
    width: 312px;
    margin-bottom: 20px;
}

.section__title h1 {
    font-size: 58px;
    line-height: 140%;
}

.section__title h2 {
    letter-spacing: 1px;
}

.section__title span {
    font-size: 14px;
    color: var(--main-font-color);
    opacity: 0.5;
}

.section__about .wrapper {
    width: 80%;
    background-color: var(--main-color);
    border-radius: 32px 0 0 32px;
    padding: 40px 20px 40px 40px;
}

.section__about h3, .section__rates h3 {
    color: var(--main-color-primary);
    font-weight: 900;
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 20px;
}

.section__about p {
    color: white;
    font-weight: 300;
    font-size: 18px;
    line-height: 150%;
}

.section__rates .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.table {
    width: 300px;
}

.table__row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    border-bottom: 1px solid #D2D2D3;
    padding-bottom: 5px;
}

.table__row span {
    line-height: 150%;
    font-size: 18px;
}

.table__row span:first-child,
.table__row span:last-child {
    font-weight: bold;
    width: 25%;
}

.table__row span:nth-child(2) {
    font-weight: 300;
}

.section__about, .footer {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.section__text {
    margin: 0 20px;
}

.section__text p {
    margin-bottom: 15px;
    font-size: 15px;
    text-align: justify;
    line-height: 27px;
    color: #666;
}

.section__text ul {
    margin: 0 0 2em 3em;
    color: #666;
}

.section__product {
    display: flex;
    flex-wrap: wrap;
}

.card {
    padding: 20px 0;
    border-radius: 4px;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    margin-bottom: 40px;
}

.card .card__title {
    font-size: 24px;
    font-weight: 500;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

.card .card__wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    padding-left: 30px;
    line-height: 21px;
}

.card .group {
    position: relative;
}

.group input {
    background: none;
    color: black;
    font-size: 18px;
    padding: 10px 10px 5px 5px;
    display: block;
    width: 180px;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(34, 34, 34, .2);
}

.group .bar {
    position: relative;
    display: block;
    width: 180px;
}

.group label {
    color: rgba(34, 34, 34, .5);
    font-size: 15px;
    line-height: 24px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 300ms ease all;
}

.group .bar:before {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0;
    position: absolute;
    background: #FCD81C;
    transition: 300ms ease all;
    left: 0;
}

.group input:focus {
    outline: none;
}

.group input:focus ~ label,
.group input:valid ~ label {
    top: -14px;
    font-size: 12px;
}

.group input:focus ~ .bar:before {
    width: 180px;
}

.card .wrapper {
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
    width: 100%;
}

.card a {
    color: #666;
}

.card a:hover {
    text-decoration: none;
}

.card form {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.card textarea {
    margin-top: 10px;
    width: 426px;
    height: 200px;
    max-width: 426px;
    max-height: 200px;
    padding: 10px;
    font-size: 16px;
    border-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    resize: none
}

textarea:hover,
textarea:focus {
    outline: none;

}

.card button {
    outline: none;
    border: none;

}

.card button {
    min-width: 64px;
    line-height: 36px;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card button.active {
    background: rgba(252, 216, 28, 0.8);
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.card button.active:hover, .card button.active:focus {
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, .12);
}

.card button:disabled {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, .2), 0 0 0 0 rgba(0, 0, 0, .14), 0 0 0 0 rgba(0, 0, 0, .1);
}

.footer .wrapper {
    margin-top: 20px;
    width: 80%;
    background-color: #e9e9e9;
    border-radius: 32px 0 0 0;
    padding: 40px 20px 40px 40px;
}

.footer h3 {
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 15px;
}

.footer--contact {
    display: flex;
    flex-direction: column;
}

.footer--contact a, .footer--contact span {
    font-weight: bold;
    font-size: 18px;
    line-height: 125%;
    margin-bottom: 10px;
    color: var(--main-font-color);
    text-decoration: none;
}

.footer--card {
    margin-top: 35px;
}

.footer--card img {
    width: 100%;
}

.footer--info {
    margin-top: 45px;
    font-weight: normal;
    font-size: 15px;
    line-height: 125%;
    color: #111111;
}

.footer--link {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    font-weight: bold;
    font-size: 15px;
    line-height: 200%;
}

.footer--link a {
    text-decoration: underline;
    color: #111111;
}

.footer--link a:hover {
    text-decoration: none;
}

.copyright {
    margin-top: 10px;
}

#contacts iframe {
    width: 100%;
    min-height: 300px;
}

.notification {
    display: block;
    position: absolute;
    overflow: hidden;
    padding: 20px;
    width: 300px;
    border-radius: 3px;
    color: white;
    transition: .5s;
}

.notification.normal {
    background: #273140;
}

.notification.success {
    background: #44be75;
}

.notification.error {
    background: #c33c3c;
}

/* MODAL CSS */

.modal.open .modal-overlay,
.modal.open .modal-window,
.modal.hide .modal-overlay,
.modal.hide .modal-window {
    opacity: 1;
    z-index: 1000;
}

.modal.open .modal-window {
    transform: translateY(100px);
}

.modal.open .modal-overlay {
    background-color: rgba(0, 0, 0, .5);
}

.modal.hide .modal-window {
    transform: translateY(-300px);
}

.modal.hide .modal-overlay {
    background-color: rgba(0, 0, 0, 0);
}

.modal-overlay,
.modal-window {
    opacity: 1;
    z-index: 1000;
}

.modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color .2s ease-in;
}

.modal-window {
    max-width: 300px;
    border-radius: 5px;
    background-color: #fff;
    transform: translateY(-200px);
    transition: transform .2s ease-in;
    margin: 0 auto;
}

.modal-header {
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 1.5rem;
    font-width: bold;
}

.modal-close {
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: 10px;
}

.modal-body p {
    margin: 0 0 5px;
}

.modal-footer {
    display: flex;
    justify-content: space-around;
    padding: 5px 10px;
    border-top: 1px solid #eee;
}

.modal-footer .btn, #buyCrypto.btn {
    background: #333;
    border-radius: 5px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 16px;
    min-width: 160px;
    padding: 8px 20px;
    cursor: pointer;
}

#buyCrypto.btn {
    display: block;
    margin: 10px auto;
    width: 240px;
    font-size: 22px;
    border: none;
}

#buyCrypto.btn:hover {
    background: #1f1f1f;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    color: #fff;
    text-decoration: none;
    -webkit-transition: background .1s;
    transition: background .1s;
}

#buyCrypto.btn:disabled {
    box-shadow: none;
    opacity: .65;
    pointer-events: none;
}

@media screen and (max-width: 484px) {
    .label--textarea {
        padding: 10px;
    }

    .label--textarea textarea {
        width: 100%;
    }

    .card .wrapper {
        flex-direction: column;
        align-items: center;
    }

    .wrapper .group {
        margin-bottom: 15px;
    }

    .modal-window {
        margin: 0 10px;
    }
}

.product__item {
    max-width: 270px;
    min-width: 230px;
    margin: auto auto 8px;

    font-size: 14px;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
    vertical-align: top;
    color: #000;

    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);

    box-sizing: content-box;
}

.item__image {
    display: flex;
    position: relative;
    align-items: center;
}

.item__image img {
    width: 100%;
}

.item__title {
    margin-bottom: 0;
    margin-top: -16px;

    font-size: 32px;
    font-weight: 900;
    line-height: 1.35;
    word-wrap: break-word;
    color: #000;
}

.item__options {
    max-width: 320px;
    margin: 0 auto 24px;
    padding: 0 16px;
}

.item__options label {
    width: 100%;
}

.item__options label span {
    display: inline-block;
    margin-bottom: 14px;

    font-size: 15px;
    line-height: 1.35;
    text-align: center;

    opacity: 0.6;
}

.item__options label input {
    display: inline-block;
    padding: 8px;
    width: 100%;

    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 7px;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.07);
    vertical-align: middle;
    transition: color .1s linear, background-color .1s linear, border-color .1s linear, box-shadow .1s linear;
    appearance: none;
}

.item__btn {
    margin-bottom: 16px;
}

.item__btn button {
    padding: 8px 20px;
    min-width: 240px;

    font-size: 22px;
    font-weight: 900;
    color: #fff;

    background: #333;
    border: none;
    border-radius: 5px;
    box-shadow: none;
    opacity: .65;

    pointer-events: none;
}
