.headDivTop{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 6;
    margin-top: 4rem;
    width: calc(100%);
    height: fit-content;
    display: flex;
    justify-content: space-between;
    background:linear-gradient(90deg,rgba(255, 255, 255, 0.8),rgba(255, 255, 255, 1) 80%);
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.4);
}
  
.headLinks{
    position: relative;;
    align-self: center;
    margin-right: 8rem;
}
.headDivTop a{
    padding: 10px;
    color: #000;
}

.headDivTop img{
    height: 6rem;
    margin-left: 4rem;
}

.headDiv{
    width: 100%;
    height:fit-content;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.4);
}

.headDivBottom{
    padding:  0 5% 0 5%;
    width: 90%;
    height: fit-content;
    min-height: 70vh;
    display: flex;
    justify-content: space-between;
    position: relative;
    
}

.headDivBottom h2{
    text-align: left;
    width: 100%;
    font-size: 2rem;
    line-height: 4rem;
}


.headDivBottom div{
    align-self: center;
    justify-content: center;
    width: 60%;
    margin-left: 20px;
    margin-top: -20px;
}

.headDivBottom > img {
    display: block;
    position: absolute;
    height: 100%;
    right: 0%;
    bottom: 0%;
    z-index: 5;
    max-width: 50vw;
    object-fit:scale-down;
    
}

/* .headDivBottom img{
    margin-right: -4.5vw;
    height: 70%;
    margin-top: -10vh;
    z-index: 6;
} */

.dropdownLinks{
    display: none;
}

.dropdownСontent {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 10rem;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-left: 1rem;
    border-radius: 0.5rem;
}

.dropBtn{
    display: flex;
    width: 8rem;
    margin-top: 1rem;
    margin-left: 1rem;
}
.dropdownСontent a {
    padding: 0.8rem 1rem;
    display: block;
}

.dropdownСontent a:hover {background-color: #ddd;}
  
.dropdownLinks:hover .dropdownСontent {display: block;}

.dropdownLinks:hover .line:first-of-type {rotate: 45deg; margin-top: 15px;}
.dropdownLinks:hover .line:not(:last-of-type, :first-of-type) {display: none;}
.dropdownLinks:hover .line:last-of-type {rotate: -45deg; margin-top: -2px; margin-left: 16px;}

.line{
    transition: 0.5s;
    position: relative;
    width: 24px;
    height: 2px;
    margin-top: 5px;
    margin-right: 10px;
    background: black;
}

.ExchangeDiv{
    border-radius: 0.75rem;
    position: -webkit-sticky;
    position: sticky;
    z-index: 7;
    top: 90vh;
    left: 100vw;
    margin-right: -4vw;
    width: fit-content;
    height: fit-content;
    background-color:rgba(255, 255, 255, 1);
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.4);
    display: grid;
    padding: 1.25rem;
}

.ExchangeDiv h2{
    text-align: center;
}
.ExchangeDiv table{
    margin-left: auto;
    margin-right: auto;
}

.exchContainer{
    display: none;
}

.exch{
   display: flex;

}

.col1 {
    min-width: 5rem;
    width: fit-content;
}

.col2 {
    min-width: 5rem;
    width: fit-content;
}

td{
    text-align: center;
}
.exchContainer table{
    margin-bottom: 20px;
}

.ExchangeDivMobile{
    display: none;
}

.exchContainerMobile{
    display: none;
    position: absolute;
    border-radius: 0.5rem;
    margin-left: -12.5%;
    z-index: 7;
    width: fit-content;
    height: fit-content;
    background-color:rgba(255, 255, 255, 1);
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.4);
    padding: 2rem;
}

.exchContainerMobile h2{
    text-align: center;
}
.exchContainerMobile table{
    margin-left: auto;
    margin-right: auto;
}

.exchButtonMobile{
    display: flex;
    width: fit-content;
    text-align: center;
    margin-top: 1.1rem;
}

.dataBaseAnchor:hover ~ .dropdownDataBase{
    display: block;
}

.dropdownDataBase:hover{
    display: block;
}

.dropdownDataBase{
    margin: 0;
    right: 21%;
    top: 1.75rem;
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 10rem;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 0.6rem;
}

.dropdownDataBase a {
    padding: 0.8rem 1rem;
    display: block;
    border-radius: 0.6rem;
}

.dropdownDataBase a:hover {
    background-color: #bebebe;
}


.calcsAnchor:hover ~ .dropdownCalcs{
    display: block;
}

.dropdownCalcs:hover{
    display: block;
}

.dropdownCalcs{
    margin: 0;
    right: 31%;
    top: 1.75rem;
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 10rem;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 0.6rem;
}

.dropdownCalcs a {
    padding: 0.8rem 1rem;
    display: block;
    border-radius: 0.6rem;
}

.dropdownCalcs a:hover {
    background-color: #bebebe;
}

.headDivBottom .consultPopUpButton{
    margin-right: 1rem;
}
@media (max-width: 700px) {
    
    .headDivBottom{
        min-height: 40vh;
    }
    .dropdownLinks{
        display: block;
    }
    .headLinks{
        display: none;
    }
    .headDivBottom img {
        display:none
    }
    .headDivTop{
        margin-top: -10px;
    }
    .headDivTop img{
        height: 3.5rem;
        justify-self: end;
        margin-left: -10px;
    }
    
    .headDivBottom div{
        display:grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
    .headDivBottom h2{
        line-height: 2rem;
        text-align: center;
        font-size: 1.3rem;
    }

    .headDivBottom div{
        width: 100%;
    }
    .headDivBottom a{
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
    .ExchangeDiv{
        display: none;
    }
    .ExchangeDivMobile{
        display: block;
    }
    .headDivBottom .consultPopUpButton{
        margin-right: 0;
    }
}
