:root {
    --pearl-beige: #F3E9DC;
    --golden-apricot: #F6BD60;
    --cotton-candy: #FFB5E8;
    --brown-red: #9B5D4D;
    --black-cherry: #3B1F2B;
}

body {
    margin: 0;

    background-color: #fff0de;
    background-image: url("images/batthern.png");
    background-repeat: repeat;

    color: #3B1F2B;
    font-family: "Quicksand", sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 5rem;
    color: var(--brown-red);
    margin-bottom: 10px;
}

.subtitle {
    color: var(--brown-red);
    letter-spacing: 2px;
}

nav {
    text-align: center;
    margin-bottom: 30px;
}

nav a {
    text-decoration: none;
    color: var(--brown-red);
    margin: 10px;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: var(--cotton-candy);
}

.layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    border: 3px solid var(--golden-apricot);
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.hero {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero img {
    width: 300px;
    border-radius: 20px;
}

h2, h3 {
    color: var(--brown-red);
}

.sidebar-box {
    background: white;
    padding: 20px;
    border-radius: 20px;
    border: 3px solid var(--cotton-candy);
    margin-bottom: 20px;
}

.sidebar-img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 10px;
}

.button-img {
    width: 100%;
    margin-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 20px;
    border: 3px solid var(--golden-apricot);
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--brown-red);
}

@media (max-width: 768px) {

.layout {
    grid-template-columns: 1fr;
}

.hero {
    flex-direction: column;
}

.hero img {
    width: 100%;
}

header h1 {
    font-size: 3rem;
}

nav a {
    display: inline-block;
    margin: 5px;
}

}