@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}
@media (prefers-color-scheme: dark) {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
/*additional css*/
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;700&display=swap');
* {
margin: 0;
padding: 0;
outline: none;
box-sizing: border-box;
font-family: 'Work Sans', sans-serif;
a{
text-decoration: none;
color: inherit;
header{
position: sticky;
z-index: 30;
top: 0;
nav{
display: flex;
padding: 16px;
justify-content: space-between;
align-items: center;
background-color: #f1f1f1;
.nav__menu-bar{
flex-direction: column;
row-gap: 6px;
cursor: pointer;
.nav__menu-bar div{
width: 40px;
height: 4px;
background-color: black;
border-radius: 2px;
.nav__menu-list{
position: fixed;
top: 60px;
width: 288px;
row-gap: 24px;
right: -288px;
padding: 24px 16px;
transition: all 0.2s;
min-height: calc(100vh - 60px);
.nav__menu-list.active{
right: 0;
.nav__link{
font-size: 18px;
position: relative;
.nav__link:hover{
font-weight: bold;
.center{
min-height: 600px;
justify-content: center;
@media screen and (min-width: 768px) {
display: none;
position: unset;
flex-direction: row;
min-height: fit-content;
width: fit-content;
column-gap: 24px;
.nav__link::before{
content: '';
position: absolute;
width: 0%;
height: 6px;
bottom: -16px;
left: 0;
.nav__link:hover:before{
width: 100%;