@media (max-width: 640px) {
    
.header-logo {
    width: 150px;
}

.uk-heading-xlarge {
    font-size: 1.5rem;
}

.uk-text-lead {
    font-size: 1.1rem;
    color: #f1f1f1;
    line-height: 1.2rem;
}


.exchange-block {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    color: white;
    border-radius: 15px;
    padding: 10px 10px;
    background: radial-gradient(circle at 95% 5%, #3E4528 0%, #1E2220 25%, #1A1E1F 75%);
    animation: rotateGradient 30s linear infinite;
    background-size: 200% 200%;
    flex-direction: column;
    position: relative;
    z-index: 5;
}
.exchange-block--menu-open {
    z-index: 100;
}


.exchange-block-left input {
    font-size: 35px;
    font-weight: 600;
    color: #fff;
    border: none;
    outline: none;
    border-radius: 12px;
    width: 100%;
    margin-top: 4px;
    transition: 0.4s ease-out;
}
    
.currency-select__trigger {
    margin-top: 12px;
    border: 1px solid rgb(45 49 41 / 50%);
    border-radius: 12px;
}

.exchange-block-left small {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 4px;
    font-weight: 300;
}

.exchange-block-left label {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

    img.exchange-icon {
        display: block;
        width: 30px;
        border: 1px solid #191c21;
        margin: 0 auto;
        border-radius: 8px;
    }

.bg-image-1 {
    background-image: url('../img/bg/1.png');
}

.bg-image-2 {
    background-image: url('../img/bg/2.png');
}

.uk-h1, h1 {
    font-size: 1.2rem;
    line-height: 1.2;
}

.custom-form .uk-form-label {
    color: #f1f1f1;
    font-weight: 400;
    font-size: 16px;
}

.uk-modal-body {
    padding: 20px 20px;
}

.uk-modal-dialog {
    border-radius: 20px;
    border: 1px solid rgb(255 255 255 / 5%);
}

[class*=uk-modal-close-] {
    top: 15px;
    right: 15px;
    padding: 15px;
    border-radius: 50px;
}

.custom-form .custom-input {
    background: #2B2C2F;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 9999px;
    padding: 10px 20px !important;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 0 10px 3px rgb(0 0 0 / 20%);
}

.exchange-total-label {
    color: #f1f1f1;
    font-weight: 400;
    font-size: 16px;
}

.exchange-total-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background: transparent;
    gap: 0px;
    flex-direction: column;
}

.exchange-total-value {
    font-size: 40px;
    font-weight: 500;
}

.exchange-total-currency {
    border: 1px solid rgb(255 255 255 / 15%);
}


}

/* Выпадающее меню валют — поверх всего, кликабельно только когда открыто */
.currency-select {
    position: relative;
    z-index: 10;
}
.currency-select__menu {
    z-index: 9999;
    position: absolute;
}
.currency-select__trigger {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}