/* Importing Google font - Fira Sans */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;600;700&display=swap');
font-family: 'Fira Sans', sans-serif;
justify-content: space-between;
.navbar .menu-links li a {
.navbar .menu-links .language-item a {
.navbar .menu-links .language-item span {
.navbar .menu-links li a:hover {
.navbar .menu-links .join-btn a {
.navbar .menu-links .join-btn a:hover {
border-color: transparent;
background-image: url("images/hero-img.jpg");
background-position: center;
.hero-section .content h1 {
.hero-section .search-form {
.hero-section .search-form input {
border-radius: 4px 0 0 4px;
.hero-section .search-form button {
border-radius: 0 4px 4px 0;
transition: background 0.2s ease;
.hero-section .search-form button:hover {
.hero-section .popular-tags {
.hero-section .popular-tags .tags {
.hero-section .tags li a {
.hero-section .tags li a:hover {
.navbar #close-menu-btn {
@media screen and (max-width: 900px) {
header.show-mobile-menu::before {
backdrop-filter: blur(5px);
transition: left 0.2s ease;
header.show-mobile-menu .navbar .menu-links {
.navbar .menu-links li a {
.navbar .menu-links .join-btn a {
.navbar .menu-links .join-btn a:hover {
.navbar :is(#close-menu-btn, #hamburger-btn) {
.hero-section .content :is(h1, .search-form) {
.hero-section .content h1 {
.hero-section .search-form {
.hero-section .search-form input {
.hero-section .search-form button {
.hero-section .popular-tags {
/* Importing Google font - Fira Sans */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Fira Sans', sans-serif;
}
body {
background: #1B1B1D;
}
header {
position: fixed;
left: 0;
top: 0;
width: 100%;
z-index: 1;
padding: 20px;
}
header .navbar {
max-width: 1280px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.navbar .menu-links {
display: flex;
align-items: center;
list-style: none;
gap: 30px;
}
.navbar .menu-links li a {
color: #fff;
font-weight: 500;
text-decoration: none;
transition: 0.2s ease;
}
.navbar .menu-links .language-item a {
display: flex;
gap: 8px;
align-items: center;
}
.navbar .menu-links .language-item span {
font-size: 1.3rem;
}
.navbar .menu-links li a:hover {
color: #1dbf73;
}
.navbar .menu-links .join-btn a {
border: 1px solid #fff;
padding: 8px 15px;
border-radius: 4px;
}
.navbar .menu-links .join-btn a:hover {
color: #fff;
border-color: transparent;
background: #1dbf73;
}
.hero-section {
height: 100vh;
background-image: url("images/hero-img.jpg");
background-position: center;
background-size: cover;
position: relative;
display: flex;
padding: 0 20px;
align-items: center;
}
.hero-section .content {
max-width: 1280px;
margin: 0 auto 40px;
width: 100%;
}
.hero-section .content h1 {
color: #fff;
font-size: 3rem;
max-width: 630px;
line-height: 65px;
}
.hero-section .search-form {
height: 48px;
display: flex;
max-width: 630px;
margin-top: 30px;
}
.hero-section .search-form input {
height: 100%;
width: 100%;
border: none;
outline: none;
padding: 0 15px;
font-size: 1rem;
border-radius: 4px 0 0 4px;
}
.hero-section .search-form button {
height: 100%;
width: 60px;
border: none;
outline: none;
cursor: pointer;
background: #1dbf73;
color: #fff;
border-radius: 0 4px 4px 0;
transition: background 0.2s ease;
}
.hero-section .search-form button:hover {
background: #19a463;
}
.hero-section .popular-tags {
display: flex;
color: #fff;
gap: 25px;
font-size: 0.875rem;
font-weight: 500;
margin-top: 25px;
}
.hero-section .popular-tags .tags {
display: flex;
gap: 15px;
align-items: center;
list-style: none;
}
.hero-section .tags li a {
text-decoration: none;
color: #fff;
border: 1px solid #fff;
padding: 4px 12px;
border-radius: 50px;
transition: 0.2s ease;
}
.hero-section .tags li a:hover {
color: #000;
background: #fff;
}
.navbar #hamburger-btn {
color: #fff;
cursor: pointer;
display: none;
font-size: 1.7rem;
}
.navbar #close-menu-btn {
position: absolute;
display: none;
color: #000;
top: 20px;
right: 20px;
cursor: pointer;
font-size: 1.7rem;
}
@media screen and (max-width: 900px) {
header.show-mobile-menu::before {
content: "";
height: 100%;
width: 100%;
position: fixed;
left: 0;
top: 0;
backdrop-filter: blur(5px);
}
.navbar .menu-links {
height: 100vh;
max-width: 300px;
width: 100%;
background: #fff;
position: fixed;
left: -300px;
top: 0;
display: block;
padding: 75px 40px 0;
transition: left 0.2s ease;
}
header.show-mobile-menu .navbar .menu-links {
left: 0;
}
.navbar .menu-links li {
margin-bottom: 30px;
}
.navbar .menu-links li a {
color: #000;
font-size: 1.1rem;
}
.navbar .menu-links .join-btn a {
padding: 0;
}
.navbar .menu-links .join-btn a:hover {
color: #1dbf73;
background: none;
}
.navbar :is(#close-menu-btn, #hamburger-btn) {
display: block;
}
.hero-section {
background: none;
}
.hero-section .content {
margin: 0 auto 80px;
}
.hero-section .content :is(h1, .search-form) {
max-width: 100%;
}
.hero-section .content h1 {
text-align: center;
font-size: 2.5rem;
line-height: 55px;
}
.hero-section .search-form {
display: block;
margin-top: 20px;
}
.hero-section .search-form input {
border-radius: 4px;
}
.hero-section .search-form button {
margin-top: 10px;
border-radius: 4px;
width: 100%;
}
.hero-section .popular-tags {
display: none;
}
}