/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    background-color: #fff;
    color: #000;
    height: 100%;
}

#bg-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    display: block;
    width: 100%;
    top: 0;
    z-index: 100;
}

/* Navbar Styles */
#navbar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 5px 0;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #000;
    text-decoration: none;
}

/* Showcase Section */
#showcase {
    text-align: center;
    padding: 2rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#showcase h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 5px;
}

#showcase p {
    font-size: 1.5rem;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px;
    border-radius: 5px;
}

/* Content Section */
#content {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

#boxes {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.box {
    background-color: rgba(240, 240, 240, 0.8);
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 250px;
}

/* Contact Box Styling */
.box a {
    color: #0066cc;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
    transition: color 0.3s ease;
}

.box a:hover {
    color: #004080;
    text-decoration: underline;
}

/* Icon Styling */
.box .fab {
    color: #000;
    transition: opacity 0.3s ease;
    margin-right: 15px;
}

.box .fab:hover {
    opacity: 0.7;
}

/* General hyperlink styling */
a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004080;
    text-decoration: underline;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px 0;
    }

    .box {
        padding: 1rem;
        min-width: 200px;
        width: 100%;
        box-sizing: border-box;
    }

    .box p {
        margin: 0.5em 0;
    }
}

@media (max-width: 480px) {
    .box {
        padding: 0.8rem;
        min-width: 150px;
        width: 100%;
        box-sizing: border-box;
    }
}