*{
    padding: 0;
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
}
.hero{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url(./img/veg.svg);
    background-size: cover;
    background-position: center;
    text-align: center;
     position: relative;
}

nav{
    width: 85%;
    margin: auto;
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo{
    width: 150px;
    cursor: pointer;
}
.menu{
    width: 30px;
    cursor: pointer;
}
.text-box{
    width: 60%;
    margin: 200px auto 0;
    color: #fff;

}
.text-box h1{
    margin-bottom: 20px;
    font-size: 40px;
}

.text-box p{
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 20px;
}

.text-box button{
    width: 250px;
    padding:12px 0 ;
    color: #fff;
    font-size: 20px;
    border-radius: 5px;
    border: 2px solide #fff;
    background: transparent;
    cursor: pointer;
}
.sidebar{
    height: 335px;
    width: 60px;
    background: #fff;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
}
.icon-box{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    margin: 5px auto;
}
.side-text{
    min-width: 0px;
    height: 100%;
    background-color: #f44336;
    margin-right: 5px;
    line-height: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px 0 0 5px;
    overflow: hidden;
    transition: 0.5s;

}
.icon{
    min-width: 50px;
    height: 100%;
    border-radius: 5px;
    cursor: pointer;
}
.icon .fas{
    font-size: 20px;
    color: #f44336;
    line-height: 50px;
}

.icon-box:hover .icon{
    background: #f44336;
}

.icon-box:hover .icon .fas {
    color: #fff;
}

.icon-box:hover .side-text{
    min-width: 140px;
}