body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    max-width: 100vw;
    background-color: rgb(230, 230, 230);
}

header {
    width: 100%;
    height: 54vw;
    background-image: url(../images/chata.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f8f8f8;
}

header .overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 20, 5, 0.4);
}

header .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    height: 90%;
    color: var(--main-color);
}

header .hero h1 {
    font-size: 3.7rem;
    margin: 0;
}

header .hero p {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 20px;
}

.contact-us-btn {
    color: var(--main-color);
    display: block;
    text-decoration: none;
    border: 1px solid var(--main-color);
    border-radius: 40px;
    padding: 20px;
    font-size: 1.5rem;
    margin-top: 20px;
    transition: 0.3s;
}

@media screen and (min-width: 768px) {
    .contact-us-btn:hover {
        padding: 15px;
        margin: 25px 0 5px 0;
    }
}

@media screen and (max-width: 768px) {
    header .hero h1 {
        font-size: 2.5rem;
        margin-top: 20px;
    }

    header .hero p {
        display: none;
    }

    .contact-us-btn {
        padding: 15px 10px;
        font-size: 1rem;
    }
}

/* introduction */

.inroduction {
    margin-top: 30px;
    padding: 20px 0;
    background-color: var(--bck-color);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.features .feature {
    flex: 1 1 200px;
    margin: 10px;
    background-color: rgb(236, 236, 236);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.features .feature img {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.features .feature p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    margin: 0 auto;
    max-width: 90%;
}

/* about cottage */

.amenity {
    margin-top: 30px;
    background-color: #f8f8f8;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.amenity h2 {
    color: #333;
    font-size: 2.5rem;
    text-align: center;
}

.amenity p {
    padding-left: 10px;
    font-size: 1rem;
    color: #202020;
    line-height: 1.3;
    margin: 0;
    flex: 1;
    text-align: left;
}

.amenity .feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(219, 219, 219);
}

.amenity .feature img {
    height: 30px;
    width: auto;
}

.amenity .icon {
    padding-right: 4%;
    padding-left: 4%;
    width: 30px;
    height: auto;
    border-right: 1px solid rgb(77, 77, 77);
}



/* kazda druha icona je vlevo (v pripade deaktivace zakomentovat obsah nize) */

.amenity .feature:nth-child(odd) {
    flex-direction: row-reverse;
}

.amenity .feature:nth-child(odd) p {
    text-align: right;
    padding-left: 0;
    padding-right: 10px;
}
    
.amenity .feature:nth-child(odd) .icon {
    border-left: 1px solid rgb(77, 77, 77);
    border-right: none;
}
