252 lines
5.0 KiB
CSS
252 lines
5.0 KiB
CSS
/* Mobile View */
|
|
.navbar-background {
|
|
/*border-top: 3px solid #04B2D9;*/
|
|
position: fixed;
|
|
z-index: 1;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: end;
|
|
align-items: center;
|
|
align-items: stretch;
|
|
background-color: #4C40F7;
|
|
min-height: 74px;
|
|
border-radius: 0px 0px 16px 16px;
|
|
}
|
|
|
|
.navbar-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: stretch;
|
|
flex-grow: 1;
|
|
padding: 15px;
|
|
}
|
|
|
|
.navbar-hamburger {
|
|
font-size: 20pt;
|
|
color: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: flex-end;
|
|
padding: 0px;
|
|
gap: 4px;
|
|
margin-top: 5px;
|
|
|
|
max-height: 35px;
|
|
min-width: 30px;
|
|
padding: 15px;
|
|
}
|
|
|
|
.navbar-hamburger-bar-1 {
|
|
transition-duration: 0.4s;
|
|
width: 16px;
|
|
height: 3px;
|
|
background: #FFFFFF;
|
|
border-radius: 8888px;
|
|
}
|
|
.navbar-hamburger-bars {
|
|
transition-duration: 0.4s;
|
|
width: 27px;
|
|
height: 3px;
|
|
background: #FFFFFF;
|
|
border-radius: 8888px;
|
|
}
|
|
|
|
.navbar-hamburger-x-1 {
|
|
transition-duration: 0.2s;
|
|
position: absolute;
|
|
width: 27px;
|
|
height: 3px;
|
|
background: #FFFFFF;
|
|
border-radius: 8888px;
|
|
transform: rotate(-43.4deg);
|
|
}
|
|
.navbar-hamburger-x-2 {
|
|
transition-duration: 0.2s;
|
|
position: absolute;
|
|
width: 27px;
|
|
height: 3px;
|
|
background: #FFFFFF;
|
|
border-radius: 8888px;
|
|
transform: rotate(43.4deg);
|
|
}
|
|
|
|
.navbar-hamburger:hover {
|
|
background-color: #ffffff14;
|
|
scale: 1.1;
|
|
font-weight: bold;
|
|
border-radius: 3px;
|
|
transition-duration: 0.3s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.navbar-closed {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
margin-top: 10px;
|
|
display: none;
|
|
}
|
|
|
|
.navbar-open {
|
|
margin-top: 20px;
|
|
margin-right: -50px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: end;
|
|
}
|
|
|
|
.navbar-item {
|
|
color: white;
|
|
font-size: 12pt;
|
|
padding-top: 10px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
padding-bottom: 10px;
|
|
font-family: Poppins;
|
|
}
|
|
.navbar-item-selected {
|
|
color: white;
|
|
font-size: 12pt;
|
|
padding-top: 10px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
padding-bottom: 10px;
|
|
font-family: Poppins;
|
|
}
|
|
.navbar-item:hover {
|
|
background-color: #ffffff14;
|
|
scale: 1.15;
|
|
border-radius: 3px;
|
|
transition-duration: 0.3s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.navbar-brand-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
gap: 10px;
|
|
max-width: 350px;
|
|
}
|
|
|
|
.navbar-brand-container:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.navbar-image {
|
|
width: 60px;
|
|
height: 50px;
|
|
object-fit: cover;
|
|
margin-top: -10px;
|
|
}
|
|
|
|
/* Desktop view */
|
|
@media only screen and (min-width: 750px) {
|
|
|
|
.navbar-background {
|
|
background-color: rgb(250, 248, 248);
|
|
border-radius: 0px;
|
|
border-bottom: solid 0.1px #d8d8d800;
|
|
min-height: 60px;
|
|
}
|
|
|
|
.navbar-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-left: 7vw;
|
|
}
|
|
|
|
.navbar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.navbar-closed {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
flex-grow: 1;
|
|
margin-top: 0px;
|
|
gap: 5%;
|
|
}
|
|
|
|
.navbar-open {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
flex-grow: 1;
|
|
margin-top: 0px;
|
|
}
|
|
|
|
.navbar-item {
|
|
color: #6B6B6B;
|
|
font-size: 12pt;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
font-family: Poppins;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
}
|
|
.navbar-item-selected {
|
|
color: #4C40F7;
|
|
font-size: 12pt;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
font-family: Poppins;
|
|
font-weight: bold;
|
|
cursor: default;
|
|
}
|
|
|
|
.navbar-item:hover {
|
|
background-color: rgb(0, 0, 0, 0);
|
|
font-size: 12pt;
|
|
border-radius: 0px;
|
|
transition-duration: 0.3s;
|
|
cursor: pointer;
|
|
}
|
|
.navbar-item-contact-us {
|
|
font-size: 13px;
|
|
font-family: Poppins;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
|
|
color: white;
|
|
background-color: #4C40F7;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
|
|
height: 45px;
|
|
width: 155px;
|
|
|
|
margin-top: 10px;
|
|
margin-right: 7vw;
|
|
margin-bottom: 10px;
|
|
|
|
padding: 0px 5px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
|
|
filter: drop-shadow(-10px 5px 15px rgba(76, 64, 247, 0.5));
|
|
}
|
|
.navbar-item-contact-us:hover {
|
|
scale: 1.1;
|
|
transition-duration: 0.4s;
|
|
background-color: #8982f0;
|
|
|
|
}
|
|
}
|