
body {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f6f5f1;
    color: #ffffff;
    overflow-x: hidden;
    background-image: url('background.png'); 
}

.header, .footer {
    background-color: #f6f5f1;
    color: #111416;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
}

.header-container, .footer-container, .main-content {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.header-container, .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.logo img {
    max-height: 50px;
}

.navigation {
    display: none;
}

    .navigation a {
        color: #0b2433;
        text-decoration: none;
        margin-left: 20px;
    }


.exchange-and-reviews-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
}


.exchange-section {
    background-color: rgba(32, 38, 42, 0.95);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(10,33,52, 1);
    padding: 25px;
    box-sizing: border-box;
    flex-grow: 1;
    margin-right: 20px;
    font-family: 'Montserrat', sans-serif;
}

    .exchange-section h2 {
        text-align: left;
        margin-bottom: 20px;
        color: #ffffff;
        font-family: 'Montserrat', sans-serif;
    }

.exchange-notice {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #fff;
    line-height: 1.5;
}

    .exchange-notice p:first-child {
        font-weight: bold;
        color: #d9534f; 
        margin-bottom: 10px;
        font-family: 'Montserrat', sans-serif;
    }

    .exchange-notice p {
        margin-bottom: 5px;
        font-family: 'Montserrat', sans-serif;
    }

.exchange-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.currency-select {
    color: #6c89cd;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

    .currency-select label {
        color: #ffffff;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .currency-select select, .currency-select input[type="number"],
    .contact-form input {
        background-color: #1E1E1F;
        color: #ffffff;
        padding: 10px;
        border: 1px solid #adafb1;
        border-radius: 10px;
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
        font-family: 'Montserrat', sans-serif;
    }

#crypto-from {
    color: #ffffff;
    padding-left: 30px; 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

.amount-display {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 12px 0;
    border-top: 0px solid #fff;
    border-bottom: 1px solid #575757;
    margin: 10px 0;
    box-sizing: border-box;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.terms-agreement {
    margin-top: 10px;
    box-sizing: border-box;
}

    .terms-agreement label {
        margin-left: 5px;
        font-size: 14px;
    }

#continue-button {
    padding: 10px 20px;
    background-color: #6c89cd;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

    #continue-button:hover {
        background-color: #6c89cd;
    }

    #continue-button:disabled {
        background-color: #6c89cd;
        cursor: not-allowed;
    }


.currency-select select {
    color: #ffffff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 30px;
    padding-right: 30px;
    background-position: left center, right center;
    background-repeat: no-repeat, no-repeat;
    background-size: auto 80%, auto 80%;
    box-sizing: border-box;
    width: 100%;
}

    .currency-select select option {
        color: #ffffff;
        padding-left: 30px;
        padding-right: 30px;
        background-position: left center, right center;
        background-repeat: no-repeat, no-repeat;
        background-size: auto 80%, auto 80%;
        box-sizing: border-box;
    }


#crypto-from option[data-icon="icons/btc.png"],
#currency-to option[data-icon="icons/btc.png"] {
    background-image: url('icons/btc.png');
    background-position: left center;
}

#crypto-from option[data-icon="icons/eth.png"],
#currency-to option[data-icon="icons/eth.png"] {
    background-image: url('icons/eth.png');
    background-position: left center;
}

#crypto-from option[data-icon="icons/bnb.png"],
#currency-to option[data-icon="icons/bnb.png"] {
    background-image: url('icons/bnb.png');
    background-position: left center;
}

#crypto-from option[data-icon="icons/trx.png"],
#currency-to option[data-icon="icons/trx.png"] {
    background-image: url('icons/trx.png');
    background-position: left center;
}

#crypto-from option[data-icon="icons/usdt.png"],
#currency-to option[data-icon="icons/usdt.png"] {
    background-image: url('icons/usdt.png');
    background-position: left center;
}

#crypto-from option[data-icon="icons/ltc.png"],
#currency-to option[data-icon="icons/ltc.png"] {
    background-image: url('icons/ltc.png');
    background-position: left center;
}

#crypto-from option[data-icon="icons/doge.png"],
#currency-to option[data-icon="icons/doge.png"] {
    background-image: url('icons/doge.png');
    background-position: left center;
}

#currency-to option[data-icon="icons/eur.png"] {
    background-image: url('icons/eur.png');
    background-position: left center;
}

#currency-to option[data-icon="icons/usd.png"] {
    background-image: url('icons/usd.png');
    background-position: left center;
}

#currency-to option[data-icon="icons/rub.png"] {
    background-image: url('icons/rub.png');
    background-position: left center;
}

#currency-to option[data-icon="icons/byn.png"] {
    background-image: url('icons/byn.png');
    background-position: left center;
}

#currency-to option[data-icon="icons/uah.png"] {
    background-image: url('icons/uah.png');
    background-position: left center;
}

#currency-to option[data-icon="icons/tjs.png"] {
    background-image: url('icons/tjs.png');
    background-position: left center;
}

#currency-to option[data-icon="icons/uzs.png"] {
    background-image: url('icons/uzs.png');
    background-position: left center;
}

#currency-to option[data-icon="icons/kzt.png"] {
    background-image: url('icons/kzt.png');
    background-position: left center;
}

#currency-to option[data-icon="icons/azn.png"] {
    background-image: url('icons/azn.png');
    background-position: left center;
}


#currency-to option[data-icon-right="icons/rub.png"] {
    background-image: url('icons/rub.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 80%;
}


.hamburger-menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 22px;
    cursor: pointer;
    margin-left: auto;
    font-family: 'Montserrat', sans-serif;
}

    .hamburger-menu-icon div {
        width: 30px;
        height: 3px;
        background-color: #072135;
        border-radius: 2px;
        transition: 0.3s;
    }


.navigation-mobile {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #f6f5f1;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

    .navigation-mobile.active {
        display: flex;
        max-height: 500px;
    }

    .navigation-mobile a {
        display: block;
        margin: 15px 0;
        font-size: 18px;
    }


.right-sidebar {
    width: 30%;
    display: flex;
    flex-direction: column;
}


.reviews-section {
    background-color: rgba(32, 38, 42, 0.95);
    border: 0px solid #575757;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(10,33,52, 1);
    padding: 15px;
    box-sizing: border-box;
    margin-bottom: 20px; 
}

    .reviews-section h3 {
        font-size: 1.2em;
        margin-top: 0;
        margin-bottom: 10px;
        color: #49b38a;
    }

.review {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #575757;
}

    .review:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.review-author {
    margin-bottom: 5px;
}

.review-date {
    font-size: 0.8em;
    color: #777;
    margin-bottom: 5px;
}

.review-text {
    color: #fff;
    font-size: 0.9em;
    line-height: 1.4;
}

.reviews-link {
    color: #6c89cd;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 38px;
    border: 1px solid #6c89cd;
    border-radius: 3px;
    text-decoration: none;
}

.reviews-link2 {
    color: #d9534f;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 38px;
    border: 1px solid #6c89cd;
    border-radius: 3px;
    text-decoration: none;
}

.reviews-link:hover {
    text-decoration: underline;
}


.news-section {
    background-color: rgba(32, 38, 42, 0.95);
    border: 0px solid #575757;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(10,33,52, 1);
    padding: 15px;
    box-sizing: border-box;
}

    .news-section h3 {
        font-size: 1.2em;
        margin-top: 0;
        margin-bottom: 10px;
        color: #6c89cd;
    }

.news-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #575757;
}

    .news-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.news-date {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 5px;
}

.news-description {
    color: #fff;
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 10px;
    max-height: 3.2em; 
    overflow: hidden;
}

.news-link {
    color: #6c89cd;
    text-decoration: none;
    font-size: 0.9em;
}

    .news-link:hover {
        text-decoration: underline;
    }


@media (max-width: 768px) {
    .exchange-and-reviews-container {
        flex-direction: column;
    }

    .right-sidebar {
        display: none;
    }

    .exchange-section {
        margin-right: 0;
        width: 100%;
    }
}


@media (min-width: 769px) {
    .exchange-section {
        width: 68%; 
    }
}

#currency-to {
    color: #ffffff;
    padding-left: 30px; 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 20px 20px; 
}


.reviews-page-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    box-sizing: border-box;
    margin-top: 20px;
}

    .reviews-page-section h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
    }

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px;
    margin-bottom: 20px;
}

.review-item {
    background-color: #f9f9f9;
    border: 1px solid #575757;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
}

    .review-item .review-author {
        font-weight: bold;
        margin-bottom: 5px;
    }

    .review-item .review-date {
        font-size: 0.8em;
        color: #777;
        margin-bottom: 10px;
    }

    .review-item .review-text {
        color: #444;
        font-size: 0.9em;
        line-height: 1.4;
    }

.promo {
    margin: 10px 10px 30px;
    background: #b3d667;
    padding: 15px 20px;
    border-radius: 10px;
    font: 500 16px 'Montserrat', 'Open Sans', sans-serif;
    display: flex;
    justify-content: left;
    color: #000000;
}


