.header {
    display: flex; 
    /* height: 25px; */
    z-index: 5;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(#013564, #0966B4);
    color: #FFFFFE;

}
.open{
    display: flex !important;
}

nav{
    /* display: flex; */
    width: 100%;
}

nav ul {
    /* display: flex; */
    text-align: center;
    position: relative;
    width: 100%;
    justify-content: space-between;

}

.bur{
    display: none;
    position: relative;
    z-index: 20;
    align-items: center;
    justify-content: flex-end;
    width: 30px;
    height: 25px;
}

.bur span{
    height: 2px;
    width: 80%;
    transform: scale(1);
    background-color: #FFFFFE;
}

.bur::after, .bur::before{
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: aqua;
    transition: all 0.3s ease 0s;
}
.bur::after{
    bottom: 0;
}
.bur::before{
    top: 0;
}

.bur.active span{
    transform: scale(0);
}
.bur.active::before{
    top: 50%;
    transform: rotate(-45deg) translate(0, -70%);
}
.bur.active::after{
    bottom: 50%;
    transform: rotate(45deg) translate(0, 70%);
}

nav ul li {
    /* font-size: 130%; */
    font-size: 1.3em;
    text-align: center;
    /*Центрируем текст по горизонтали*/
    align-self: center;
    margin: 1% 1%;
    list-style: none;
    display: inline-block;

}

nav ul:first-child {
    margin-left: 1%;
    margin-right: 5%;
}


nav ul a {
    text-decoration: none;
    color: rgb(192, 220, 243);
}

nav ul a:hover {
    /* transform: scale(1.2); */
    font-size: 102%;
    text-decoration: underline;
    color: rgb(216, 244, 248);
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
}

.application-header a {
    padding: 10px 10px;
    background: #FDD835;
    color: #000000;
    font-size: 90%;
    border-radius: 10px;
    border: none;
}

.application-header a:hover {
    background: #f02828;
    color: #FFFFFE;
    text-decoration: none;
}

.main {
    padding-top: 3%;
}

@media screen and (max-width: 1200px) {
    .main {
        padding-top: 9%;
    }

    nav ul li {
        margin: 1% 2%;
    }
}


@media screen and (max-width: 900px) {
    .main {
        padding-top: 11%;
    }    
}

@media screen and (max-width: 725px) {
    .main {
        padding-top: 8%;
    }

    .bur{
        display: flex;
        margin: 3% 3%;
    }

    nav{
        display: none;
        flex-direction: column;
        position: fixed;
        height: 80%;
        width: 100%;
        z-index: 20;
        overflow-y: auto;
        /* padding: 50px 40px; */
        background: linear-gradient(#013564, #0966B4);
        color: #FFFFFE;
        /* background-color: #0966B4; */
        animation: burAnimatiom 0.4s;
    }

    nav ul{
        display: flex;
        flex-direction: column;
        row-gap: 30px;
        /* margin-top: 3%; */
    }

    nav ul:first-child {
        margin: 0;
    }
}

@keyframes burAnimatiom {
    from {opacity: 0}
    to {opacity: 1}
}


/* 
@media screen and (max-width: 640px) {
    nav ul li {
        margin: 1% 4%;
    }
} */

/* @media screen and (max-width: 600px) {
    .main {
        padding-top: 25%;

    }
}

@media screen and (max-width: 500px) {
    .main {
        padding-top: 18%;
    }

} */





/* @media screen and (max-width: 490px) {
    .main{
        padding-top: 25%;
        
    }
} */