* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    min-height: 100%;
}
 
.burger {
    display: none;
}

/* HEADER */

.header {
    width: 100%;
    min-height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 3;
}

.header_content {
    width: 100%;
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo  {
    max-width: 300px;
    max-height: 60px;
    flex: 1 1 auto;
    margin-right: 50px;
    grid-area: logo;
}

.logo img {
    width: 100%;
    max-height: 100%;
}


.search-container {
    height: 35px;
    max-width: 650px;
    display: flex;
    flex: 1 1 auto;
    margin-right: 30px;
    grid-area: search;
}

.container_icon-search {
    display: none;
}

.submit_finder {
    width: 100px;
    height: 100%;
    background-color: rgb(46, 92, 192);
    color: #fff;
    padding: 0 10px;
    border-radius: 0 5px 5px 0;
    border: none;
    cursor: pointer;
}

.search {
    min-width: 90%;
    height: 35px;
    font-size: 16px;
    padding: 5px 10px;
    border: none;
    border-bottom: 1px solid rgb(43, 99, 204); 
    border-radius: 10px 0 0 10px;
}

.menu {
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    margin-left: 50px;
    grid-area: menu;
}

.menu .item-menu {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu .item-menu-link {
    text-decoration: none;
    padding: 10px 20px;
    color: #333333;
    border-radius: 5px;
    font-weight: 600; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;    

}

.menu .under_link-block {
    width: 40px;
    height: 4px;
    border-radius: 25px;
    background-color: #004787;
    transition-duration: .5px;
    position: relative;
    top: 10px;
}

.menu .item-menu-link:hover .under_link-block { 
    animation: under_block-menu-animate 0.3s forwards;
}

.container_icons-header {
    display: none;
}



/* MAIN */

.main {
    width: 100%;
    min-height: 500px;
}

.main_content {
    width: 100%;
    height: 100%;
}

.big_img-style body {
    overflow-x: hidden;
}



/* FOOTER */

.footer {
    width: 100%;
    min-height: 80px;
    background-color: #dfdfdf;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.footer_content {
    width: 100%;
    height: 100%;
}

@media (max-width: 1300px) {  
    .search-container {
        min-width: 100%; 
    } 

    .header_content {
        min-height: 150px;
        display: grid;
        grid-template-columns: 300px 500px;
        grid-template-rows: 80px 1fr;
        grid-template-areas: "logo menu"
                              "search search";
    } 


}
 

@media (max-width: 900px) {
    .menu {
        display: none;
    } 


    .burger {
        display: block;
        width: 45px;
        height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        position: relative;
        z-index: 3;
        
    }

    .burger::before, .burger::after, .burger span {
        content: '';
        display: block;
        width: 100%;
        height: 2px;
        background-color: rgb(48, 48, 48);
    }
 
    .menu_burger {
        position: absolute;
        top: 0px;
        left: 0px;
        min-width: 100%;
        min-height: 60px;
        background-color: rgba(255, 255, 255, 0.89);
        display: flex;
        justify-content: center;
        padding: 20px;
        animation: burger_animation 0.6s forwards;
        z-index: 1;
        margin: 0;
    }

    .burger_active::before {
        width: 80%;
        transition-duration: 0.6s;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        position: relative;
        top: 18px;
    }
    .burger_active::after {
        width: 80%;
        transition-duration: 0.6s;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        position: relative;
        top: -11px;
    }
    
    .burger_active span { 
        display: none;
    }
    
} 

@media (max-width: 900px) {
    .header {
        max-height: 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header .container {
        flex: 1 1 auto;
    }
 
    .header_content {
        display: flex;
        min-height: 40px;
    }

    .search-box_item img {
        width: 40px;
        cursor: pointer;
    }

    .container_icons-header {
        display: flex;
        max-width: 120px; 
        flex: 1 1 auto;
        justify-content: space-between;
        align-items: center;
    }

    .search-container {
        display: none;
    }

    .show {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        min-width: 100%;
        height: 85px;
        background-color: rgba(255, 255, 255, 0.89);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 50px;
        animation: burger_animation 0.6s forwards;
        margin: 0;
    }
    .show .search {
        max-width: 550px;
        height: 45px;
        flex: 1 1 auto;
    }
    .show  .submit_finder {
        height: 45px;
    }
}


@media (max-width: 500px) {
    .search-box_item {
        margin-right: 20px;
    }
}

@keyframes burger_animation {
    0% {
        top: 0;
        opacity: 0;
    }

    60% {
        opacity: 0;
    }

    100% {
        top: 80px;
        opacity: 1;
    }
}
 

@keyframes under_block-menu-animate { 
                         
    100% {
        top: 5px; 
        transform: scale(1.1);
    }
}