/*
==================================================
01-base.css
Global reset, basic body styling, reusable container
==================================================
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    background-color: #fffaf3;
    color: #24211f;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
}

.top-strip {
    position: relative;
    background-color: #24211f;
    color: #f7efe3;
    text-align: center;
    padding: 8px 52px 8px 16px;
    font-size: 14px;
}

.top-strip p {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
}

.top-strip-close {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.top-strip-close:hover {
    background-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) scale(1.05);
}

.top-strip.hide {
    display: none;
}
