* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100vh;
}

body {

    height: 100vh;

    background-image: url('../images/forest.jpg');
    background-size: cover;
    background-position: center;
    background-color: rgba(255,255,255,0.35);
    background-blend-mode: lighten;
}

nav {
    position: fixed;
    left:0;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: rgba(255,255,255,0.5);
    padding: 5px 10px;
}

nav a {
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    margin-right: .5rem;
}

nav a:hover {
    color: blue;
}

nav a.active {
    color: blue;
    pointer-events: none;
}

nav .nav-button {
    padding: 8px 15px;
    background-color: transparent;
    color: #007BFF; /* Kék szín a szöveghez, hogy megfeleljen a tipikus navigációs link színeknek */
    border: 2px solid #007BFF; /* Kék keret a gombhoz */
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    text-decoration: none; /* Eltávolítja az aláhúzást, ha a gomb egy <a> elem */
    transition: background-color 0.3s, color 0.3s;
    margin-left: auto;
}

nav .nav-button:hover {
    background-color: #007BFF; /* Kék háttér az egérmutatóval való interakció során */
    color: #ffffff; /* Fehér szöveg a kontraszt növelése érdekében */
}

nav .nav-button:active {
    background-color: #0056b3; /* Sötétebb kék, amikor a gombot lenyomják */
    border-color: #004085; /* Sötétebb keretszín a lenyomott állapotban */
}

/*@media (max-width: 500px) {*/
/*    nav .nav-button {*/
/*        display: none;*/
/*    }*/
/*}*/

@media (max-width: 500px) {
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav .nav-button {
        margin-right: auto;
        margin-top: 10px;
    }
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

h1 {
    font-size: 3rem;
    font-weight: lighter;
    font-style: italic;
    margin-bottom: 20px;
}

h1 {
    color: blue;
}

.button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.button:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button:active {
    background-color: #004085;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

h2.online-status {
    color: black;
    margin-top: 2rem;
}

.gallery-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
}

.gallery-grid img {
    width: 100%;
    height: auto;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    }
}

@media (min-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

