You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
143 lines
2.7 KiB
143 lines
2.7 KiB
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.navbar-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 2rem;
|
|
width: 100%;
|
|
height: 70px;
|
|
background: #fff;
|
|
color: #212121;
|
|
position: fixed;
|
|
top: 0;
|
|
}
|
|
|
|
.navbar-container .logo-container a {
|
|
font-size: 1.5rem;
|
|
font-weight: 500;
|
|
font-family: 'Kanit', sans-serif;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
color: #212121;
|
|
max-height: 70px;
|
|
}
|
|
|
|
.navbar-container .nav-items {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.navbar-container .nav-items .nav-link a {
|
|
color: #212121;
|
|
padding: 10px;
|
|
text-transform: uppercase;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.navbar-container .nav-items .nav-link:after {
|
|
content: '';
|
|
display: block;
|
|
border-top: 3px solid #00DBFF;
|
|
transform: scaleX(0);
|
|
transition: transform 250ms ease-in-out;
|
|
}
|
|
|
|
.navbar-container .nav-items .nav-link:hover:after {
|
|
transform: scaleX(0.8);
|
|
}
|
|
|
|
.navbar-container .nav-items .login-register {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.navbar-container .nav-items .login-register .button {
|
|
color: #00DBFF;
|
|
padding: 5px 20px;
|
|
text-transform: uppercase;
|
|
border-radius: 15px;
|
|
border: #fff 2px solid;
|
|
}
|
|
|
|
.navbar-container .nav-items .login-register .button2{
|
|
background: #00DBFF;
|
|
color: #fff;
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.navbar-container .nav-items .login-register .button:hover {
|
|
border: #00DBFF 2px solid;
|
|
}
|
|
|
|
.navbar-container .nav-items .login-register .button2:hover {
|
|
border: #00A4FF 2px solid;
|
|
}
|
|
|
|
@media(max-width: 1030px) {
|
|
.navbar-container {
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.navbar-container .nav-items {
|
|
gap: 0.1rem;
|
|
}
|
|
|
|
.navbar-container .nav-items .nav-link a,
|
|
.navbar-container .nav-items .login-register .button {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
@media(max-width: 915px) {
|
|
.navbar-container .nav-items {
|
|
flex-direction: column;
|
|
position: fixed;
|
|
top: 70px;
|
|
right: -100%;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
padding: 1rem 0;
|
|
z-index: 99;
|
|
background: #fff;
|
|
transition: 0.2s ease-in;
|
|
}
|
|
|
|
.bars {
|
|
width: 22px;
|
|
height: auto;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.bars .bar {
|
|
width: 100%;
|
|
height: 2px;
|
|
background: #212121;
|
|
margin: 5px;
|
|
}
|
|
|
|
.navbar-container .nav-items {
|
|
gap: 3rem;
|
|
}
|
|
|
|
.navbar-container .nav-items .login-register {
|
|
width: 50%;
|
|
text-align: center;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.navbar-container .nav-items .login-register .button {
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
}
|
|
|
|
.navbar-container .nav-items.active {
|
|
right: 0;
|
|
} |