html, body {
    scroll-behavior: smooth;
    background-color: black;
}

h1,
h2,
h3,
h4
{
    font-family: "Montserrat", sans-serif;
}

h1 {
    margin: 0;
}

h2 {
    margin-bottom: 15px;
    margin-top: 0;
}

div, p {
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: 100;
    line-height: 1.5rem;
}

a {
    color: #4eaad4;
    text-decoration: none;
}

nav {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 60%, rgba(255, 255, 255, 0) 100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 5;
    display: flex;
    align-items: center;
    height: 110px;
    padding: 0 30px;
}

nav img {
    width: 80px;
}

.menu-items {
    margin-left: 30px;
    display: flex;
}

.menu-item {
    margin: 0 10px;
}

.menu-item a {
    color: white;
}

/* Hero Container */
.home-image {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Background Video */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Ensures video scales like background-size: cover */
    z-index: 0;
}

/* Dark Tint / Shadow Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
    z-index: 1;
}

.home-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.home-title {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 50vw;
}

.home-title h1 {
    margin: 0;
    color: white;
    font-size: 3.6rem;
    text-align: center;
    line-height: 5rem;
}

.about::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px; /* Height of the fade effect */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #000000);
    pointer-events: none; /* Allows clicks to pass through */
}

.about {
    position: relative;
    z-index: 2;
    background-color: #000000;
    color: white;
}

.about-body {
    margin: auto;
    background-color: black;
}

.about-inside {
    background-color: #05363f;
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 30px;
}

#projects {
    margin-top: 50px;
}

.single-project {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.project-title {
    color: #66B3B4;

}

.project-img img {
    width: 300px;
}

.project-txt {
    padding: 20px;
    color: white;
    width: 80%;
}

footer {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 50px;
}

.footer-logo img {
    width: 100px;
    margin-bottom: 30px;
}

.footer-item {
    margin: 5px 0;
}

.footer-item img {
    width: 18px;
    margin-right: 8px;
}

.footer-item a {
    color: white;
}

.footer-item:hover a {
    color: #66B3B4;
}