@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Roboto:wght@500;900&display=swap');

*{
    box-sizing: border-box;
}


body{
    font-family: 'roboto', sans-serif;
 
}
/*--FOR THE LINKS--*/
a{
    cursor: pointer;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    color:#f4f4f4;
    font-weight: bolder;
    line-height: 60px;
    padding: 20px;
}

/* -- FOR THE LOGO --*/
.forlogo{
    background-color: rgba(255, 255, 0, 0.747);
}
.forlogo img{
    
    position: relative;
    width: 1000px;
    height: 250px;
    padding-left: 50px ;
    display: flex;
}
.header-main{
    border-radius: 5px;
    width: 100%;
    height: 60px;
    background-color:blueviolet;
    display: flex;
    justify-content: space-between;
}

/*--FOR NAVIGATION--*/

.header-main{
   
    display: flex;
}
.fornav{
    width: fit-content;
}
.fornav ul{
    margin-left: 150px;
}
.fornav ul li{
    display: inline;
}

.fornav ul li a:hover{
    color: yellow;
}

/*--FOR SEARCH BAR--*/

.search{
    position: relative;
    height: 30px;
    padding-top: 10px;
}

.search .input{
    background-color: #fff;
    border: 0;
    font-size: 18px;
    padding: 15px;
    height: 30px;
    width: 30px;
    transition: width 0.3s ease;
}

/*-- FOR BUTTON --*/

.btn{
    padding-top: 10px;
    border: 0;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 30px;
    transition: transform 0.3s ease;


}
.btn:focus, input:focus{
    outline: none
}

.search.active .input{
    width: 250px;
}

.search.active .btn{
    transform: translateX(215px);
}
