body, html {
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    color: gray;
}

h1 {
    text-align: center;
    margin-top: 5%;
    font-weight: bold;
    font-size: 3em;
}

.background-container {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Ensures it covers the full screen */
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/background.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.position-absolute {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
}

.logo {
    margin-right: 30em;
    width: 25vh;
    max-width: 20em;
    top: 0;
    left: 0;
    margin-left: 18vh;
    margin-top: 5vw;
}


.material-icons {
    vertical-align: middle;
    font-size: 24px;
    margin-top: 2px;
  }

.content-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 10vh;
    z-index: 1;
}

a, a:visited, a:active {
    color: white !important;
    text-decoration: none !important;
}

a:hover {
    color: darkgray !important;
    text-decoration: none;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.action-button {
    min-width: 150px;
    padding: 10px 20px;
    font-weight: bold;
}

.flexbox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-right: 2em;
    justify-content: center;
    margin: 3em auto;
    max-width: 1000px;
}

.window {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5em;
    text-align: center;
    border-radius: 10px;
}

.window-radius {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 5em;
    height: 5em;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    margin-bottom: 1em;
}

.subfooter {
    background-color: rgb(53, 53, 53);
    color: white;
    padding: 2em;
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 12em;
    justify-content: center;
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 2em;
}

@media (max-width: 768px) {
    .logo {
        width: 15vh;
        margin-left: 15vw;
        margin-top: 4vh;
    }
    
    .background-overlay {
        background-position: top;
        height: 80vh; /* Increase height */
    }

    .window {
        margin-left: 2em;
        margin-right: 2em;
    }

    .map {
        max-width: 50vh !important;
    }

    .logo_about {
        height: 10vh !important;
    }

    .button-container {
        display: flex;
        flex-direction: column !important;
        max-width: 10vw;
        margin-left: 33vw;
    }

    .subfooter {
        flex-direction: column;
        text-align: center;
        gap: 5em;
    }
}