*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: arial;

}
body{
    background: url(bg.jpg);
    background-size: cover;
    height: 100vh;
    background-position: center;

}
header{
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 99;
    box-shadow: 0 0 10px black;
    background: black(0,0,0,0.5);
}
#chk1
{
    display: none;
}
i{
    color: white;
    cursor: pointer;
}
header .logo{
    flex: 1;
    color: rgb(255, 153, 0);
    margin-left: 50px;
    text-transform: uppercase;
}
header .search-box
{
    flex:1;
    position: relative;

}
.search-box input{
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    background: white;
    border-radius: 30px;
    color: grey;
    font-size: 16px;
    text-align: center;
   
}
.search-box button{
    cursor: pointer;
    width: 40PX;
    height: 40PX;
    border-radius: 30px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    transform: scale(0.9);
    background: green;
}
header ul{
    flex: 2;
    display: flex;
    justify-content: space-evenly;

}
header ul li a{
text-decoration: none;
color: white;
font-weight: 600;
text-transform: uppercase;
padding: 10px 15px;

}
header ul li a:hover{
    border-bottom: 2px solid cadetblue;

}
header .menu{
    font-size: 2.5em;
    display: none;
}
@media(max-width:1000px){
    .search-box button{
        position: absolute;
    }
    header ul{
        position: fixed;
        top: 100px;
        right: 100%;
        background: rgba(0, 0, 0, 0.5);
        height: calc(100vh - 100px);
        width: 50%;
        flex-direction: column;
        align-items: center;
        transition: right: 0.5s linear;

    }
    header .menu{
        display: block;
        width: 100px;
        text-align: center;
    }
    #chk1:checked ~ ul{
        right: 0;

 
   }
}
