@font-face {
    font-family: 'SpaceGrotesk';
    src: url("/Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf") format('truetype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 25vh;
    scroll-behavior: smooth;
}

body {
    font-family: 'SpaceGrotesk';
    color: #F2F2F2;
    background-color: #2F3540;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 400;
    margin-bottom: 3.4rem;
}

a {
    text-decoration: none;
    color: #BFA688;
}

a:hover {
    font-style: italic;
    text-decoration: none;
    color: #73624D;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 100;
    text-align: center;
    color: #BFA688;
    background-color: #2F3540;
    font-size:2.1rem;
}

.navbar ul {
    list-style-type: none;
}

.navbar ul li {
    display: inline-block;
    margin: 0 20px;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 300;
}

body {
    padding-top: 60px; /* Adjust based on navbar height */
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #BFA688;
    text-align: center;
}

.hero-content h1 {
    font-size:3.4rem;
    margin-bottom: 5px;
    color: #F2F2F2;
}

.hero-content p {
    font-size: 1.3rem;
}

.scroll-down {
    display: block;
    margin-top: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-radius: 50%;
}

.container {
    max-width: 55rem;
    margin: 0 auto;
    padding: 40px;
    line-height: 2.1rem;
}

.container ul {
    max-width: 30%;
    margin: 0 auto;
    list-style: circle;
    list-style-position: outside;
}

.about, .portfolio, .contact {
    padding: 60px 0;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.3rem; 
    padding: 20px; 
}

.project-item {
    padding: 20px;
    border-radius: 10px;
    border-color: #656A73;
    border-width: 5px;
    border: 0.13rem solid #656A73;
}

.project-item a {
    color: #BFA688;
}

.project-item h3 {
    margin-bottom: 1.3rem;
}

.links {
    list-style: none;
}

.links li {
    margin-bottom: 10px;
    list-style-type: none;
}

section {
    min-height: 100vh;
    padding: 100px 0;
}

section + section {
    margin-top: 100px;
}