* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    padding: 0 0.35%;
}

header {
    background-color: #efddbd;
    padding: 1% 0;
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 80%;
    margin: 0 auto;
    padding: 0 1%;
    flex-wrap: wrap;
}

.logo a {
    font-size: 200%;
    font-weight: bold;
    text-decoration: none;
    color: #8f7a55;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.175);
}   

nav ul {

    list-style: none;
}

nav ul li {
    display: inline-block;
    margin-left: 1vw;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 140%;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

nav ul li a:hover {
    color: #ffdd57;
}

.button {
    background-color: #9dbb93;
    padding: 1vw 2vh;
    color: black;
    border-radius: .31vw;
    text-decoration: none;
    font-weight: bold;
    font-size: 110%;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.5);
}

.button:hover {
    background-color: #fffefe;
    color: rgb(0, 0, 0);
}

.hero {
    height: 80vh;
    background: url('kuva6.jpg') no-repeat center center/cover;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero h1 {
    font-size: 2.5vw;
    margin-top: 0px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-title {
    position: absolute;
    top: 20%; 
    font-size: 3em;
    color: #333;
}

.hero-description.welcome-title{
    position: absolute;
    top: 30%;
    font-size: 180%;
    color: #666;
}
.hero p {
    font-size: 18px;
    margin-top: 0px;
    color: rgb(0, 0, 0);
}

.hero-description.first-line {
    position: absolute;
    top: 40%; 
    font-size: 150%;
    text-align: center;
    color: #666;
}

.hero-description.second-line {
    position: absolute;
    top: 45%; 
    font-size: 150%;
    text-align: center;
    color: #666;
}

.hero-button {
    background-color: #9dbb93;
    padding: 15px 30px;
    color: black;
    text-decoration: none;
    font-size: 20px;
    border-radius: 5px;
    position: absolute;
    bottom: 30%;
}

.hero-button:hover {
    background-color: #fffefe;
    color: rgb(0, 0, 0);
}

.pricing {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.pricing h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.pricing ul {
    list-style: none;
    padding: 0;
}

.pricing ul li {
    font-size: 24px;
    margin: 10px 0;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px; 
    padding: 20px 0;
}

.payment-logos img {
    width: 10%; 
    height: auto;
}

.giftcard{
    padding: 50px 20px;
    text-align: center;
}

.giftcard h2{
    font-size: 36px;
    margin-bottom: 10px;
}
.giftcard p {
    font-size: 18px; 
    margin: 10px 0;
}

.contact {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

footer p {
    margin: 0;
}

.map {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-left: 20px; 
    margin-top: 20px; 
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 10px; 
    }
    .hero-title{
        top: 23%;
        font-size: 80px;
        margin-top: 60px;
    }
    .hero h1,
    .hero-description {
        font-size: 1.5em; 
        margin: 5px 0; 
    }
    .hero-button{
        position: absolute;
        bottom: 10%;
    }
    .hero-description.welcome-title {
        margin-bottom: 40px;
        margin-top: 0px;
    }
    .hero-description.first-line{
        position: absolute;
        top: 45%;
    }
    .hero-description.second-line{
        margin-top: 20px;
        margin-bottom: 0px;
        top: 60%;
    }
    .epassi-image,
    .edenred-image,
    .smartum-image {
        width: 120%; 
        height: auto;
        margin: 10px 0; 
    }

    
}