* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}


html, body {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)), url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    text-align: center;
}


.navbar {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    height: 70px;
    z-index: 1000;
}


.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 120px;
    height: auto;
    border-radius: 5px;
}


.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navbar ul li {
    display: inline-block;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #00c3ff;
    transform: scale(1.05);
}


.icon-links {
    display: flex;
    gap: 20px;
}

.icon-links i {
    font-size: 28px;
    color: rgb(200, 200, 200);
    transition: color 0.4s;
}

.shop-link i:hover {
    color: #fff;
}

.discord-link i:hover {
    color: #5865F2;
}


.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    
    padding-top: calc(100px + 70px);
}

h2 {
    color: white;
    font-size: 32px;
    font-weight: bold;
}

.button {
    background: linear-gradient(135deg, #4a4a4a, #1a1a1a);
    border: none;
    padding: 15px 30px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
}

.button:hover {
    background: linear-gradient(135deg, #5a5a5a, #222222);
    transform: scale(1.05);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.gallery-item {
    width: 280px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 5px;
}

.caption {
    color: white !important; 
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
}
.contact-form {
    max-width: 500px;
    width: 90%;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.contact-form h2 {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    color: white;
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    font-size: 16px;
    outline: none;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

/* Teemaan sopiva Lähetä-nappi */
.contact-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4a4a4a, #1a1a1a);
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s, transform 0.2s;
}

.contact-button:hover {
    background: linear-gradient(135deg, #5a5a5a, #222222);
    transform: scale(1.05);
}
.thank-you-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7); /* Tumma tausta */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: white;
}

.thank-you-container h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.thank-you-container p {
    font-size: 18px;
    margin-bottom: 20px;
}

.thank-you-button {
    display: inline-block;
    padding: 15px 25px;
    background: linear-gradient(135deg, #333, #111);
    color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    text-align: center;
}

.thank-you-button:hover {
    background: linear-gradient(135deg, #444, #222);
    transform: scale(1.05);
}
/* Mobiili-tyylit */
@media (max-width: 768px) {

  
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(70px + env(safe-area-inset-top));
        padding: calc(env(safe-area-inset-top) + 10px) 20px 10px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(0, 0, 0, 0.9);
        z-index: 1000;
    }
    .logo-container {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    
    .navbar ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(70px + env(safe-area-inset-top));
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        text-align: center;
        padding: 10px 0;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }
    .navbar ul.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar ul li {
        padding: 10px 0;
    }
    .navbar ul li a {
        font-size: 18px;
        display: block;
        padding: 10px;
    }

   
    .icon-links {
        position: absolute;
        top: calc(env(safe-area-inset-top) + 15px);
        right: 20px;
        margin-top: 0;
    }
    .shop-link, .discord-link {
        font-size: 24px;
    }

    .gallery {
        flex-direction: column;
        align-items: center;
    }
    .gallery-item {
        width: 100%;
        max-width: 300px;
    }
    .gallery-item img {
        max-width: 200px;
    }
    .logo {
        width: 80px;
    }

    
    .menu-toggle {
        position: fixed;
        top: calc(env(safe-area-inset-top) + 15px);
        left: 20px;
        cursor: pointer;
        z-index: 1100;
    }
    .menu-toggle div {
        width: 30px;
        height: 4px;
        background-color: white;
        margin: 5px;
        transition: 0.3s;
    }

    
    .content {
        padding-top: calc(100px + 70px + env(safe-area-inset-top));
    }
    .contact-form {
        width: 95%;
        max-width: 400px;
    }
}

