.header{ width: 100%; height: 11vh; background-color: #fff; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); } .header .container{ width: 65%; height: 100%; display: flex; align-items: center; justify-content: space-between; } .logo{ width: 25%; height: 100%; display: flex; align-items: center; justify-content: right; } .logo img{ width: 3vw; height: auto; } .header ul{ width: 50%; height: 100%; display: flex; align-items: center; justify-content: center; /* background: palevioletred; */ margin-left: 5vw; } .header ul li{ width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 0.9vw; } .header ul li a{ color: rgba(0, 0, 0, 0.8); transition: all 0.2s ease; } .header ul li a:hover{ font-size: 1vw; color: rgba(0, 0, 0, 1); text-shadow: 0 0 10px rgba(41, 111, 216, 0.5); }