.header nav ul {
    display: flex;

}

.header nav ul li a {
    font-size: 2rem;
    font-weight: 500;
    padding: 10px 30px;
    border-radius: 50px;
    transition: 0.3s;

}

.header nav ul li a:hover {
    background-color: red;
    color:black;
}


/* responsive*/

.header .menu{
    display:none;
    width: 60px;
    height: 60px;
   align-self:flex-end;
    
}

.header nav label{
   display:flex;
   flex-direction:column;
}
.header .hamburguer{
background-color:white;
display: block;
position: relative ;
width: 35px;
height:3px;
top:29px;
right:15px;
transition: 0.5s ease-in-out;
}


.header .hamburguer:before,
.header .hamburguer:after{
    background-color:white;
    content: "";
    display:block;
    position:absolute;
    width: 100%;
    height: 100%;
    transition: 0.3s ease-in-out;
}

.header .hamburguer:before{
    top: -10px;
}   

.header .hamburguer:after{
    bottom: -10px;
}

.header input {
    display: none;
}
.header input:checked ~ label .hamburguer {

transform: rotate(45deg);
}
.header input:checked ~ label .hamburguer:before{
    transform: rotate(90deg);
    top:0
}
.header input:checked ~ label .hamburguer:after{
    transform: rotate(90deg);
    bottom: 0;
}

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

.header input:checked ~ ul{
    display:block;}


.header nav{
    position:absolute;
    top: 8px;
    right:0;
    z-index:1 ;
}

.header nav ul{

    width:200px;
    background-color:black;
    padding:10px;
    gap:10px;

}

.header nav ul a{
    text-align: center;
    padding: 00px;
    display: block;;

}

.header .logo{
    font-size: 1.8rem;
}}