
/* Logos */

.header-logos {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
    gap: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff; 
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
    z-index: 1000; 

}

.header-description{
    font-family: 'Poppins', sans-serif;
}

.logos {
    display: flex;
    gap: 150px;
    justify-content: space-around;
    align-items: center; 
}

.logo1{
    width: 250px;
    height: auto;
}

.logo2 {
    width: 80px; 
    height: auto;
}

.header-logos p {
    margin: 0;
    font-size: 1em; 
}



@media (max-width: 1300px) {
    .header-logos {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: 142px;
    }

    .logos {
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 10px;
    }

    .header-logos .header-description {
        margin-right: 12px;
    }

    .logo{
        width: 60px; 
        height: auto;
    }
    
    .logo1{
        width: 220px;
        height: auto;
    }

    .logo2 {
        width: 60px; 
        height: auto;
    }
    

    body{
        line-height: 1;
    }
}






/* Meniu */


.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: color 0.3s;
    @media(max-width: 1300px) {
        color: #111;
    }
}

.nav a:hover, a.active {
    color:  #a1f500;
}

.menu {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: black;
    height: 70px;
    position: absolute;
    top: 110px; 
    z-index: 100;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

.menu::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-color: black;
    opacity: .6;
}
.logo {
    height: 100%;
    
}

.logo a {
    width: 200px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo img {
   height: 90%;
   object-fit: contain;
   margin-right: 50px;
   width: 200px;
   position: relative;
}

nav {
    display: flex;
    align-items: center;
    position: relative;
}


.hamburger {
    cursor: pointer;
    z-index: 1;
    display: none;
}

.hamburger .line {
    stroke-width: 6;
    stroke-linecap: round;
    stroke: white;
    transition: all 500ms;
}

.hamburger .top {
    transform-origin: 26px 40px;
}

.close {
    z-index: 999;
    color: black;
    display: none;
    position: absolute;
    font-size: 31px;
    right: 10px;
    top: 51px;
}

.hamburger .middle {
    stroke-dasharray: 60 60;
}

.hamburger .bottom {
    transform-origin: 26px 60px;
}

.hamburger.active {
    z-index: 1;
}



.hamburger.active .top {
    transform: rotate(45deg);
}

.hamburger.active .middle {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
}

.hamburger.active .bottom {
    transform: rotate(-45deg);
}




@media (max-width: 1300px) {
   
    .nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 100px;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #f8f9fa;
        box-shadow: -4px 0px 6px rgba(0, 0, 0, 0.1);
        padding: 60px 20px 0;
        z-index: 1000;
        transition: 0.3s;
    }
    .close {
        display: block;
    }
    .nav a {
        position: relative;
        z-index: 999;
        
    }
    
    .cover {
        position: fixed;
        background-color: #111;
        opacity: 0.8;
        right: 0;
        top: 0;
        height: 100vh;
        width: 0;
        transition: width 0.3s;
    }
    
    .cover.active {
        width: 100vw;
        z-index: 99;
    }
    
    .nav.active {
        right: 0;
    }
    
    .hamburger {
        display: inline;
    }
    

    .menu{
        position: relative;
        top: 142px;
        gap: 150px;
    }
}



@media (max-width: 441px) {
    .menu{
        top: 119px;
    }
    .header-logos {
        min-height: 122px
    }
    .header-logos .logo1{
        width: 200px;
    }
    
    .header-logos .logo2{
        width: 64px;
    }
    
    .header-logos p {
        margin: 0;
        font-size: 0.8em; 
    }
    
    .header-logos {
        padding: 5px;
        gap: 10px;
    }
}
