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: #02114A;
|
|
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;
|
|
font-size: 22pt;
|
|
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: Space Grotesk;
|
|
}
|
|
.navbar-item-selected {
|
|
color: white;
|
|
font-size: 12pt;
|
|
padding-top: 10px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
padding-bottom: 10px;
|
|
font-family: Space Grotesk;
|
|
}
|
|
.navbar-item-selected:hover {
|
|
cursor: default;
|
|
}
|
|
.navbar-item:hover {
|
|
background-color: #ffffff14;
|
|
font-size: 13pt;
|
|
font-weight: bold;
|
|
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.5px #d8d8d8;
|
|
min-height: 75px;
|
|
}
|
|
|
|
.navbar-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0px;
|
|
}
|
|
|
|
.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-image {
|
|
width: 60px;
|
|
height: 75px;
|
|
object-fit: cover;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.navbar-item {
|
|
color: #000000;
|
|
font-size: 12pt;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
font-family: Source Sans Pro;
|
|
font-weight: 200;
|
|
}
|
|
.navbar-item-selected {
|
|
color: #02114A;
|
|
font-size: 12pt;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
font-family: Source Sans Pro;
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.navbar-item:hover {
|
|
background-color: rgb(0, 0, 0, 0);
|
|
font-size: 12pt;
|
|
font-weight: normal;
|
|
border-radius: 0px;
|
|
transition-duration: 0.0s;
|
|
cursor: pointer;
|
|
}
|
|
.navbar-item-contact-us {
|
|
font-size: 14px;
|
|
font-family: Space Grotesk;
|
|
|
|
color: white;
|
|
background-color: #02114A;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
|
|
padding: 0px;
|
|
margin-top: 17px;
|
|
margin-right: 30px;
|
|
|
|
max-height: 40px;
|
|
min-width: 45px;
|
|
padding: 2px 10px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
}
|
|
}
|