html{
    height: 100%;
    margin: 0;
    padding: 0; 
    font-family: Arial Black, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    color: rgb(0, 0, 0);

}

header {
    font-size: 60px;
    color: #f5e5cc;
    text-align: center;
    background-color: #5d8e8e;
    height: 150px;
    padding-top: 15px; /* Space from the top */
}

header .title {
    display: inline-block;  /* Forces "FRIENDSWOOD" to be on a separate line */
}

header .subtitle {
    display: inline-block;
    font-size: 75px; /* Larger size for the second line */
    font-weight: bold; /* Optional: Bold for emphasis */
    margin-top: -12.5px;  /* Adjusts space between the two lines */
}

.nav{
    height: 50px;
    background-color: #5d8e8e;
    margin: 25px 0px;
    align-content: center;
    justify-content: center;
    display: flex;
    transition: opacity .3s ease;
}

.navButton{
    width: 130px;
    height: 50px;
    margin: 10px;
    font-size: 25px;
    font-weight: bolder;
    border-radius: 7.5px;
    border: none;
    background-color: #104357;
    color: #f5e5cc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.navButton:hover, .currentButton {
    background: hsla(198, 71%, 20%, 0.694);
    border-radius: 12.5px;
    transform: scale(1.1);
}

.navButton:active{
    background: hsla(198, 71%, 20%, 0.694);
    border-radius: 12.5px;
    transform: translate(-2.125px, 1.625px) scale(0.95);
}

.navButton::after{
    background: hsla(198, 71%, 20%, 0.694);
    border-radius: 12.5px;
    transition: all 0.3s ease;
}

.offers{
    display: flex;
    justify-content: center;      /* Center the offers-content horizontally */
    align-items: center;          /* Center the offers-content vertically */
    height: 800px;
    background-color: #5d8e8e;
    text-align: center;
}

.offers-content{
    display: flex;
    flex-direction: column;       /* Stack image and text vertically */
    align-items: center;          /* Center them horizontally */
}

.offers-text p{
    font-family: Arial Black, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-size: 40px;
    color: #f5e5cc;
    text-shadow: 2px 1.5px 1px darkslategrey;
    line-height: 75px;
    margin: 0px;
    transform: translate(-10px, -435.5px);
}

.printer {
    width: 200px;
    height: auto;
    transform: translate(-125px, 100px);
}

.arm {
    width: 200px;
    height: auto;
    transform: translate(125px, 317.5px);
}

body{ 
    background-color: #5d8e8e;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

.footer {
    height: 300px;
}

footer{
    background-color: #104357;
    height: 200px;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.logo {
    cursor: pointer;
    position: absolute;
    left: 30px;
    top: 28px;
    display: inline-block;
    height: auto;
    width: 40px;
    transition: all .3s ease;
    background-color: #104357;
    padding: 10px;
    border-radius: 7.5px;
}

.logo:hover, .home{
    transform: scale(1.1);
    top: 28px;
    left: 30px;
    padding: 10px;
    transition: all .3s ease;
    background-color: hsla(198, 71%, 20%, 0.694);
    border-radius: 20px;
}

.logo:active{
    transition: all .3s ease;
    transform: scale(.9);
}

.logo::after{
    transform: scale(1);
    background-color: hsla(198, 71%, 20%, 0.694);
    border-radius: 20px;
}


.hamburger-menu .bar {
    width: 25px;
    height: 4px;
    background-color: #f5e5cc;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Sidebar Menu */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: hsl(198, 71%, 18%);
    overflow-x: hidden;
    transition: width 0.3s ease;
    padding-top: 60px;
}

.menu-item {
    color: #f5e5cc;
    text-decoration: none;
    padding: 15px 25px;
    transform: translateY(25px);
    display: block;
    transition: all 0.3s ease-in-out;
}

.menu-item:hover, .selected{
    background-color: hsla(198, 71%, 23%, 0.694);
    border-radius: 20px;
    font-size: larger;
    transition: all .3s ease;
}

/* Mobile Media Query */
@media screen and (max-width: 749px) {
    .logo{
        opacity: 0%;
        transition: opacity 0.3s ease;
        display: none;
    }

    .printer {
        transform: translate(-125px, 0);
    }

    .arm{
        transform: translate(125px, 217.5px);
    }
    
    .code{
        transform: translate(0, -100px);
        width: 200px;
        height: auto;
    }

    .offers-text p{
        font-size: 30px;
        line-height: 50px;
        transform: translate(-10px, -450px);
    }
  
    /* Show Hamburger Menu */
    .hamburger-menu {
        display: inline-block;
        top:20px;
        left: 20px;
        background-color: hsla(198, 71%, 23%, 0);;
        transition: all .3s ease;
        padding: 7.5px;

    }

    header {
        font-size: 40px;
        color: #f5e5cc;
        font-weight: bolder;
        text-align: center;
        background-color: #5d8e8e;
        height: 150px;
        padding-top: 15px; /* Space from the top */
        transition: all .3s ease;
    }
    
    header .title {
        display: block ;  /* Forces "FRIENDSWOOD" to be on a separate line */
    }
    
    header .subtitle {
        display:block;
        font-size: 60px; /* Larger size for the second line */
        font-weight: bold; /* Optional: Bold for emphasis */
        margin-top: -50px;  /* Adjusts space between the two lines */
    }
    .title-link {
        pointer-events: none; /* Disables the link functionality */
        cursor: default; /* Makes it look like regular text */
    }

    /* Optionally, remove hover effect */
    .title-link:hover .title,
    .title-link:hover .subtitle {
        background-color: transparent; /* Removes background color on hover */
    }

    .nav{
        opacity: 0%;
        transition: opacity .3s ease;
        display: none;
    }
    /* Sidebar Menu on mobile */
    .sidebar.open {
        width: 250px; /* Width of the sidebar when open */
    }

    .hamburger-menu.open:focus{
        background-color: hsla(198, 71%, 23%, 0);
    }

    .hamburger-menu.open:hover{
        background-color: hsla(198, 71%, 23%, 0.694);
        border-radius: 15px;
        transition: border-radius, background-color .3s ease-in;
    }

    /* Rotate hamburger bars into an X when clicked */
    .hamburger-menu.open .bar1 {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.open .bar2 {
        transform: translate(-67.5px);
        transition: transform .3s ease;
    }

    .hamburger-menu.open .bar3 {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}