header {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 20px 50px;
    position: absolute;
    left: 0;
    top: 0;
}

header.show-bg {
    background: url("../img/header_bg.png"), no-repeat;
    background-size: cover;

}

header .menu {
    position: absolute;
    right: 40px;
    top: 113px;
    background: #2F007A;
    border-radius: 4px;
    width: 180px;
    padding: 15px 25px 0;
    display: none;
    z-index: 2;
}

header.logged .menu {
    right: 90px;
}

header .sub-menu a {
    color: #C2B3DB;
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
    text-decoration: none;
    padding: 0 20px;
}

header .sub-menu a:first-child {
    border-right: 2px solid white;
}

header .sub-menu a.active {
    font-weight: bold;
    color: white;
}

@media screen and (max-width: 960px) {
    header .sub-menu {
        display: none;
    }
}

header .menu.open {
    display: block;
}

header .menu:before {
    content: '';
    position: relative;
    top: -45px;
    right: -125px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 16px solid #2F007A;
}

header .menu ul li {
    text-align: left;
    color: white;
    font-weight: 400;
    margin-bottom: 25px;
    cursor: pointer;
}

header .menu ul li:hover {
    color: #d2d2d2;
}

header .flex {
    align-items: center;
}

.user.open .user-arrow {
    transform: rotate(180deg);
}

.user-logout {
    margin-left: 10px;
    cursor: pointer;
}

.user {
    display: flex;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
}

.user-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.user-name {
    margin: 0 10px 0 20px;
    font-size: 20px;
    color: white;
    font-weight: 400;
}

.exchange-rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 730px;
    width: 100%;
    background: white;
    padding: 9px 15px;
    border-radius: 15px;
}

.exchange-rate__logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    color: #1A0038;
    border-right: 1px solid #C5CEE7;
    padding-right: 30px;
}

.exchange-rate__logo img {
    margin-right: 12px;
}

.exchange-rate__amounts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 30px;
    padding-right: 20px;
}

.exchange-rate__amounts b {
    font-size: 18px;
    color: #1A0038;
}

.exchange-rate__amounts p {
    color: #101038;
    font-size: 18px;
}

.exchange-rate__amounts p span {
    font-size: 18px;
    font-weight: 700;
    color: #101038;
}

.exchange-rate__amounts p span.green {
    color: #2ECA8C;
}

.exchange-rate__amounts p span.blue {
    color: #0097F5;
}

@media screen and (max-width: 1300px) {
    .exchange-rate__amounts {
        padding-left: 10px;
        padding-right: 0px;
    }
    .exchange-rate__logo {
        padding-right: 10px;
    }
    .exchange-rate {
        margin: 15px 0;
    }
    header.logged {
        flex-direction: column;
    }
}

@media screen and (max-width: 680px) {
    header {
        padding: 20px;
    }

    header .logo {
        height: auto;
        width: 200px;
    }

    header .menu {
        right: 5px;
        top: 75px;
    }

    .user .user-name {
        font-size: 15px;
        margin: 0 10px;
    }

    .user .user-img {
        height: 30px;
        width: 30px;
    }

    .user .user-arrow img {
        height: 15px;
        width: 15px;
    }

    .mobile-column {
        flex-direction: column;
    }

    .mobile-column .form-btn.row {
        margin-top: 10px;
        margin-left: 0;
    }
    .exchange-rate__amounts {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
