* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@import url(https://fonts.bunny.net/css?family=black-han-sans:400|roboto:300,400,900);

html {
    scroll-behavior: smooth;
}


body {
    font-family: "Roboto", Helvetica, sans-serif;
    transition: margin-left 0.3s;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    color: darkslategray;
    font-size: 24px;
    font-family: 'Black Han Sans', Helvetica, sans-serif;
    text-decoration: none;
}
.navbar-logo.dark{
    color: white;
}
.navbar-logo span{
    font-size: 20px;
}
.navbar-logo span span{
    color: #f63;
}

nav ul {
    list-style: none;
}

nav.navbar ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    font-size: 1.75rem;
}

/* Specific styling for navbar links */
nav.navbar ul li a {
    color: #333;
    font-size: 1rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 24px;
}

.navbar {
    display: flex;
}

.side-drawer {
    height: 100%;
    width: 100%;
    position: fixed;
    padding-top: 6rem;
    top: 0;
    left: -100%;
    background-color: darkslategrey;
    overflow-x: hidden;
    transition: 0.3s;
    z-index: 10;
}

.side-drawer nav ul {
    padding: 0;
}

.side-drawer nav ul li {
    padding: 8px 16px;
}

.side-drawer nav ul li a {
    color: white;
    display: block;
    padding: 1rem;
}

.side-drawer nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.side-drawer.open {
    left: 0;
}







.hero {
    padding: 0;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.parallax {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.layer {
    pointer-events: none;
    position: absolute;
    height: 100%;
    width: 100%;
}

.layer img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}


.sky {
    z-index: 1;
}

.ocean {
    z-index: 2;
}

.mountains {
    z-index: 3;
}

.near {
    z-index: 4;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 50, 0); /* Start with a transparent overlay */
    pointer-events: none; /* Ensure the overlay doesn't interfere with pointer events */
    transition: background 0.3s ease; /* Smooth transition for background changes */
}

.hero_center {
    pointer-events: auto;
    position: absolute;
    top: 15%;
    width: 100%;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
    z-index: 2;
}

.hero_home_img { /* house image */
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 50%;
}
.hero_home_img img{
    height: 100%;
    object-fit: cover;
}


.sky {
    z-index: 1;
    transform: translateZ(-3px);
}

.ocean {
    z-index: 2;
    transform: translateZ(-2px);
}

.mountains {
    z-index: 3;
    transform: translateZ(-1px);
}

.near {
    z-index: 4;
    transform: translateZ(0px);
}

section {
    padding: 50px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

section .content{
    padding: 2rem;
}

section h2 {
    font-size: 2em;
    font-family: 'Black Han Sans', Helvetica, sans-serif;
    margin-bottom: 20px;
}


@media (max-width: 768px) {
    .navbar {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

@media (min-width: 768px) {
    .hero_home_img { /* house image */
        width: 200px;
        height: 200px;
    }
    .side-drawer{
        display: none;
    }
}

@media (min-width: 1200px) {
    .hero_home_img { /* house image */
        width: 250px;
        height: 250px;
    }
}
