|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
|
|
.top-1-navbar {
|
|
background-color: #2980b9;
|
|
color: white;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.top-1-navbar .container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.top-1-navbar .logo {
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.top-1-navbar .nav {
|
|
display: flex;
|
|
gap: 20px;
|
|
}
|
|
|
|
.top-1-navbar .nav-item {
|
|
cursor: pointer;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.top-1-navbar .nav-item:hover {
|
|
color: #f08080;
|
|
}
|
|
|
|
|
|
.top-2-navbar {
|
|
background-color: #f4f4f1;
|
|
color: #1a0202;
|
|
padding: 0.5rem 1rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.top-2-navbar .logo {
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.top-2-navbar .nav-item {
|
|
cursor: pointer;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.top-2-navbar .nav-item:hover {
|
|
color: #f08080;
|
|
}
|
|
|
|
|
|
.actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.action-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
cursor: pointer;
|
|
color: #333;
|
|
}
|
|
|
|
.action-item:hover {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
|
|
.delivery {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.delivery-label {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.delivery-switch {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
width: 40px;
|
|
height: 20px;
|
|
border-radius: 20px;
|
|
background-color: #ccc;
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.delivery-switch::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
background-color: #fff;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.delivery-switch:checked {
|
|
background-color: #f08080;
|
|
}
|
|
|
|
.delivery-switch:checked::before {
|
|
transform: translateX(22px);
|
|
}
|
|
|