header{
    margin-top:20px;
    margin-bottom:60px;
    z-index: 5;
}

.header__inner{
    display:flex;
    justify-content: space-between;
    max-width: 1440px;
    margin:0px auto;
}

.logo-title{
    display:flex;
    align-items: center;
    gap:12px;
}

.logo-title a#title__header{
    font-size:var(--elephant-text);
    font-weight:700;
}

.logo-title a#small-title__header{
    font-size:var(--large-text);
    font-weight:500;
}

.main-mob{
	display:none;
}

.header__nav img{
    cursor:pointer;
    transition:.2s ease;
}

.header__nav img:hover{
    opacity:.8;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.line {
    width: 100%;
    height: 1.5px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}
.line:nth-child(3){
    height:2px;
}

.menu-toggle:hover .line{
    opacity:.7;
}

.menu-toggle.active .line:nth-child(1) {
    transform: rotate(45deg) translateY(13px);
}

.menu-toggle.active .line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .line:nth-child(3) {
    transform: rotate(-45deg) translateY(-13px);
    height: 1.5px;
}

.divider{
    margin-left:20px;
    display: flex;
    align-items: center;
}

nav.header__nav{
    display:flex;
    align-items: center;
}

nav.header__nav ul{
    display: flex;
    gap:0px;
    position: relative;
    opacity:0;
    transition:.3s ease;
    margin-right:10px;
}

nav.header__nav ul li{
    display: flex;
    align-items: center;
    pointer-events: none;
}

nav.header__nav ul.active{
    gap:80px;
    opacity:1;
    margin-right:140px;
    pointer-events: all;
}

nav.header__nav ul.active li{
    pointer-events: all;
}

.titles__header{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

#mobile__header{
    display:none;
}


.footer__basement{
    width:100%;
    display:flex;
    justify-content: space-between;
    gap:20px;
    flex-wrap:wrap;
    margin-top:32px;
}

.footer__head{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer__head a:after{
    display:none;
}

.footer__head .logo a{
    display: flex;
    align-items: center;
    gap:8px;
    font-size:var(--elephant-text);
    font-weight:700;
}

.footer__head .logo img{
    /* position:absolute;
    left:-50px; */
    width:40px;
    height:40px;
}

#small-title__footer{
    font-size:var(--large-text);
    font-weight:500;
}

.footer__head .divider{
    background:white;
    margin:20px 0 32px 0;
    width:312px;
    height:1px;
    position:relative;
}

main#footer{
    margin:70px auto 50px auto;
    display: block;
}


@media screen and (max-width:1520px) {
    .header__inner{
        padding:0 80px;
    }
}

@media screen and (max-width:1250px) {
    nav.header__nav ul.active{
        margin-right: 70px;
        gap: 40px;
    }
}

@media screen and (max-width:1050px) {
    header .divider{
        display:none;
    }

    header{
        background-color:rgba(255,255,255,.2);
        backdrop-filter: blur(40px);
        margin-top: 0px;
    }

    .logo-title{
        align-items: flex-start;
    }

    .titles__header{
        flex-direction: column;
    }

    .header__inner{
        padding:20px 80px 15px 80px;
    }

    .header-logo__image{
        width:45px;
        height:45px;
    }
}

@media screen and (max-width:850px) {
    header{
        position:relative;
    }

    .header__nav{
        z-index: 6;
    }

    #mobile__header{
        display:block;
        position: fixed;
        backdrop-filter: blur(40px);
        width: 100%;
        pointer-events: none;
        top:-50%;
        opacity:0;
        transition: .2s ease;
        background: rgb(33,33,33);
        background: linear-gradient(0deg, rgba(33,33,33,1) 0%, rgba(55,20,113,1) 100%);
        height: 100%;
    }
	
	.main-mob{
	display:block;
}
	
	#mobile__header #menu-toggle-menu{
		position:absolute;
		right: 0;
		top: 15px;
	}

    .mobile__ul{
        display:flex;
        flex-direction: column;
        align-items: center;
        gap:25px;
        height: 75%;
        justify-content: center;
    }

    .mobile__ul a{
        font-size:var(--gigantic-text);
    }

    nav.header__nav ul{
        display:none;
    }

    .mobile-menu__title{
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 18px;
        font-size:var(--gigantic-text);
        gap:10px;
		border-bottom: 1px solid white;
		width:fit-content;
    }
	
	.second-title__footer{
		padding-top:18px;
		text-align:center;
		padding-bottom:18px;
		font-size:20px;
	}

    #mobile__header.active{
        opacity:1;
        top:0;
		height:100%;
		z-index:5;
		display: flex;
		flex-direction: column;
        align-items: center;
        min-height:437px;
        pointer-events: all;
    }
	
	.mobile-menu__footer{
		display: flex;
    	justify-content: center;
    	gap: 18px;
		text-align: center;
        flex-direction: column;
	}
}

@media screen and (max-width:605px) {
    .header__inner{
        padding: 20px 40px 15px 40px;
    }

    main{
        padding: 0 20px;
    }

    footer .footer__head .divider{
        margin:18px 0;
    }

    .badania__wrapper{
        justify-content: center;
    }

    .titles__header{
        align-items: flex-start;
    }

    .logo-title a#title__header{
        font-size:var(--gigantic-text);
    }

    .logo-title a#small-title__header{
        font-size:var(--input-size);
    }
}

@media screen and (max-width:480px) {
    main#footer{
        margin: 160px auto 50px auto;
    }

    .header__inner{
        padding: 20px 20px 15px 20px;
    }

    .footer__basement{
        flex-direction: column;
        align-items: center;
    }

    
}