export const HeaderMenu = styled.div`
position: relative;
display: inline-block;
width: 20%;
font-size: 20px;
text-align: center;
p {
position: absolute;
bottom: -70px;
left: 50%;
transform: translateX(-50%);
color: #111;
opacity: 0;
}
`;
export const HeaderIcon = styled.img`
width: 30px;
height: 30px;
:hover {
+ p {
opacity: 1;
transition: all 0.5s;
}
}
`;
background-image: url("/images/main/weather-menu.png");
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
background-color: transparent;
export const Head = styled.div`
padding: 30px 40px;
vertical-align: middle;
background-color: skyblue;
div {
position: relative;
top: 15px;
display: inline-block;
width: 40px;
height: 40px;
margin-right: 30px;
border: 1px solid black;
border-radius: 50%;
background-image: url("/images/user.png");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
button {
width: calc(100% - 75px);
height: 60px;
background-color: transparent;
outline: none;
border: 1px solid #ddd;
border-radius: 15px;
}
`;
img{
object-fit : cover;
}