@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #003329;
    min-height: 100%;
}

.container {
    display: block;
    height: 100%;
    overflow: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 9px 5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: rgba(169, 169, 169, 0.196);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 2em;
    color: #359381;
    pointer-events: none;
}

.hamburger-icon {
    display: none;  /* Initially hidden */
    cursor: pointer;
    color: #359381;
    padding: 6px 15px;
    margin: 0 10px;
    border-radius: 20px;
}

.hamburger-icon span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: #359381;
    transition: all 0.3s ease-in-out;
}

.hamburger-icon:hover,
.hamburger-icon.active {
    background: #359381;
    color: #fff; 
}


.navigation a {
    text-decoration: none;
    color: #359381;
    padding: 6px 15px;
    border-radius: 20px;
    margin: 0 10px;
    font-weight: 600;
}

.navigation a:hover,
.navigation a.active {
    background: #359381;
    color: #fff; 
}

.parallax {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #fff;
}

#text {
    position: absolute;
    font-size: 5em;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
}

.parallax img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    pointer-events: none;
}

section {
    height: 100vh;
}

.sec {
    position: relative;
    background: #003329;
    padding: 6em 3em 3em 3em;
    display: block;
    align-items: center;
    text-align: justify;
    overflow: scroll;
}

.sec h2 {
    font-size: 3em;
    color: #fff;
    margin-bottom: 1em;
    text-align: left;
}

.sec p {
    font-size: 1em;
    color: #fff;
    font-weight: 300;
}

/* Media Query for Tablets and Smaller Screens */
@media (max-width: 1050px) {
    .hamburger-icon {
        display: block;  /* Show hamburger icon in media query */
    }

    .navigation {
        display: none; /* Hide the navigation by default */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust as needed */
        left: 0;
        right: 0;
        background: #333;
        padding: 20px;
    }

    .navigation.active {
        display: flex; /* Show menu when active */
    }

    #text {
        position: absolute; /* Position the element absolutely */
        top: 50%;           /* Position from the top */
        left: 50%;          /* Position from the left */
        transform: translate(-50%, -50%); /* Center the element horizontally and vertically */
        font-size: 3em; 
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;        /* Set a higher z-index to ensure it appears above other elements */
    }
}


@media (max-width: 320px) {
    .hamburger-icon {
        display: block;  /* Show hamburger icon in media query */
    }

    .logo {
        display: none;
    }

    h2{
        font-size: 10px;
    }
    
    header{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #text {
        position: absolute; /* Position the element absolutely */
        top: 50%;           /* Position from the top */
        left: 50%;          /* Position from the left */
        transform: translate(-50%, -50%); /* Center the element horizontally and vertically */
        font-size: 3em;     /* Set the font size */
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;        /* Set a higher z-index to ensure it appears above other elements */
    }
}