body {
    font-family: 'Open Sans', sans-serif;
    color: #111827;
    margin: 0;
}

.center-page-container {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin: 18px 0;
}

.flex-container img {
    flex: 1;
    object-fit: cover;
    width: 100%;
    height: 200px;
}

.flex-item {
    flex: 1 1 100%;
    max-width: 100%;
    background-color: #d1cfcf34;
    padding: 14px;
    margin: 0 0 14px 0;
    text-align: center;
}

h1, h2, h3, h4 {
    font-family: 'Domine', serif;
    text-transform: uppercase;
}

h1 {
    font-size: 31px;
}

h2 {
    color: #AAD5D3;
    font-size: clamp(32px, 6vw, 60px);
}

h3 {
    font-size: 43px;
    margin-bottom: 24px;
}

h4 {
    font-size: 21px;
    text-transform: none;
    color: #8B4448;
    margin-bottom: 12px;
}

header {
    padding: 15px 9px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header > div {
    font-weight: bolder;
}

header p {
    margin: 0;
    font-size: 14px;
    color: #8B4448;
    padding-left: 0;
}

ul.menu {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

ul.menu a {
    text-decoration: none;
    color: #111827;
}

ul.menu a:hover {
    text-decoration: underline;
}

.banner {
    background: url('../img/spa.jpg') no-repeat center center;
    background-size: cover;
    min-height: 370px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner div {
    background-color: rgba(92, 71, 47, 0.5);
    padding: 20px;
    width: 100%;
    max-width: 400px;
}

.banner p {
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}

.banner a {
    background-color: rgba(143, 181, 182, 0.5);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
}

.banner a:hover {
    background-color: rgba(143, 181, 182, 0.7);
}

.offer-grid, .tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.offer-item, .tour-item {
    text-align: center;
}

.offer-item img, .tour-item img {
    max-width: 100%;
    height: auto;
}

article {
    display: inline-block;
    margin-top: -40px;
    padding: 10px 20px;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

footer {
    background-color: #8B4448;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
}

footer h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    border-bottom: 1px solid #f5f4f4;
    margin: 0 20px 15px;
    font-weight: bolder;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer div {
    padding-top: 20px;
    text-align: center;
}

li{
    margin: 20px;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .banner div {
        padding: 30px 15px;
    }

    .flex-item {
        flex: 1 1 100%;
    }
}
