html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, sans-serif;
    background-color: #333333;
    scroll-behavior: smooth;
    transition: scroll 5s ease;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.section {
    align-items: start;
    justify-content: start;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #333333;
    color: #CCCCCC;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 30px;
    cursor: pointer;
    display: none;
    /* Initially hidden */
}

.header {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    grid-template-rows: 1fr 8fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 100%;
    overflow: hidden;
}

.header .hero-image {
    width: 100%;
    height: 100vh;
    grid-area: 1 / 1 / 9 / 4;
    background-image: url("image.jpg");
    /* Add the blur effect */
    filter: blur(8px);
    -webkit-filter: blur(8px);
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header .content {
    grid-area: 1 / 1 / 9 / 4;
    font-weight: bold;
    background: linear-gradient(90deg, lime, blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-wrap: wrap;
    text-align: center;
}

.header .menu {
    grid-area: 1 / 1 / 2 / 4;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.8);
}

.header .menu .logo img {
    max-width: 50px;
    max-height: 50px;
}

.header .menu .nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.header .menu .nav a {
    color: #CCCCCC;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 100;
}

.header .menu .nav a:hover {
    color: lime
}

.footer {
    color: #CCCCCC;
    font-size: 1rem;
    background-color: #222222;
    min-height: 50vh;
    width: 100%;
    display: grid;
}

.services {
    margin-top: 2.5rem;
}

.links {
    margin-top: 2.5rem;
}

.contact {
    margin-top: 2.5rem;
}

.copy {
    background-color: #111111;
    color: #444444;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Responsive Design */


/* Mobile First */

@media only screen and (max-width: 600px) {
    .header .content {
        font-size: 50px;
    }

    .footer {
        grid-template-columns: 1fr 8fr 1fr;
        grid-template-rows: repeat(3, 3fr) 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .services {
        grid-area: 1 / 2 / 2 / 3;
    }

    .links {
        grid-area: 2 / 2 / 3 / 3;
    }

    .contact {
        grid-area: 3 / 2 / 4 / 3;
    }

    .copy {
        grid-area: 4 / 1 / 5 / 4;
    }

    .header .menu .nav {
        /* flex-direction: column;
        width: 50%; */
        display: none;
    }
}


/* Tablet */

@media only screen and (min-width: 600px) {
    .footer {
        grid-template-columns: 1fr 3fr 1fr;
        grid-template-rows: repeat(3, 9fr) 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .services {
        grid-area: 1 / 2 / 2 / 3;
    }

    .links {
        grid-area: 1 / 3 / 2 / 4;
    }

    .contact {
        grid-area: 1 / 4 / 2 / 5;
        text-align: right;
    }

    .copy {
        grid-area: 2 / 1 / 3 / 6;
    }

    .header .menu .nav {
        flex-direction: row;
        width: 50%;
    }
}


/* Desktop */

@media only screen and (min-width: 768px) {
    .header .content {
        font-size: 100px;
    }

    .footer {
        grid-template-columns: 1fr repeat(3, 4fr) 1fr;
        grid-template-rows: 9fr 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .services {
        grid-area: 1 / 2 / 2 / 3;
    }

    .links {
        grid-area: 1 / 3 / 2 / 4;
    }

    .contact {
        grid-area: 1 / 4 / 2 / 5;
        text-align: right;
    }

    .copy {
        grid-area: 2 / 1 / 3 / 6;
    }

    .header .menu .nav {
        flex-direction: row;
        width: 30%;
    }
}