header{
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: white;
    width: 100%;
}

.metal_text{
    font-size: 14px;
    font-weight: bold;
}

.metal_prices{
    margin-left: 25px;
    width: 27.5%;
    margin-top: auto;
    margin-bottom: auto;
}

.btn-warning {
    color: #212529;
    background-color: #ffc107;
    border: 1px solid #ffc107;
}

.btn-outline-light {
    color: #2f82ed;
    background-color: white;
    border: 1px solid #2f82ed;
    margin-left: 15px;
}

.actual_price{
    font-size: 12px;
}

.btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.container{
        width: 100%;
    }

ul.horizontal-nav li {
    margin-top: 15px;
    display: inline;
    height: 20px;
}

ul.horizontal-nav a {
    text-decoration: none;
    font-size: 18px;
}

ul.horizontal-nav li:hover {
    margin-top: 8px;
    height: 26px;
    transition: all 0.2s ease;
}

@media only screen and (max-width: 486px){
    header{
        height: 120px;
    }

    .container{
        height: 100%;
    }

    .main{
        display: none;
    }

    .hyper_logo_image{
        display: none;
    }
}

@media only screen and (max-width: 720px){
    header{
        height: 120px;
    }

    .container{
        height: 100%;
    }

    .main{
        display: none;
    }

    .hyper_logo_image{
        display: none;
    }
}

@media only screen and (max-width: 960px){
    header{
        height: 120px;
    }

    .container{
        height: 100%;
    }

    .main{
        display: none;
    }

    .hyper_logo_image{
        display: none;
    }
}

@media only screen and (max-width: 1000px){
    header{
        height: 120px;
    }

    .container{
        height: 100%;
    }

    .main{
        display: none;
    }

    .hyper_logo_image{
        display: none;
    }

    ul.horizontal-nav {
        width: 50%;
        margin-left: 30px;
    }

    ul.horizontal-nav li {
        margin-top: 30px;
    }

    ul.horizontal-nav li:hover {
        margin-top: 18px;
        transition: all 0.2s ease;
    }

    header .nav-link {
        text-decoration: none;
        font-size: 28px;
    }

    ul.horizontal-nav a {
        font-size: 26px;
    }

    .btn-outline-light{
        width: 100px;
        height: 50px;
        font-size: 24px;
    }

    .btn-warning{
        width: 160px;
        height: 50px;
        font-size: 18px;
        padding: 0;
    }

    .metal_prices{
        width: 50%;
    }

    .flags_block {
        width: 30%;
    }

    .flag{
        width: 30px;
        height: 30px;
    }

    .metal{
        width: 60%;
    }

    .metal_text{
        font-size: 20px;
    }

    .metal .price{
        margin-bottom: 20px;
    }

    .actual_price{
        font-size: 16px;
    }

}

.text-end {
    margin-left: 25px;
}

.d-flex{
    display: flex;
    height: 100%;
}

header .nav-link {
    text-decoration: none;
}

ul.horizontal-nav {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding-left: 0;
}

li.not_active a {
    color: black;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    color: #fff;
}

.me-2 {
    margin-right: 0.5rem;
}

.button-link{
    text-decoration: none;
    color: black;
    width: 100px;
    margin-right: 50px;
}

.btn-outline-light:hover {
    background-color: #2f82ed;
    color: white;
}

.profile_action{
    width: 50px;
    height: 50px;
    margin-top: 15px;
    margin-right: 5%;
}

.text-end{
    display: flex;
    float: right;
    margin-right: 20px;
    margin-top: auto;
    margin-bottom: auto;
}

.right_floating_h{
    display: flex;
    float: right;
    justify-content: flex-end;
    width: 100%;
}

.XAU_text{
    color: #b8ac61;
}

.XAG_text{
    color: #8a8a8a;
}

.metal{
    width: 40%;
    margin-left: 10px;
}

.flags_block{
    width: 20%;
    margin-top: 10px;h
}

.flag{
    margin-top: 3px;
}
