@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=BBH+Bogle&family=Oswald:wght@200..700&display=swap');

/* ---------- COLORS ---------- */
:root {
    --dark-green: #0f2f1f;
    --green: #1f6b4a;
    --light-green: #4caf84;
    --bg-light: #e6e6e6;
    --text-light: #f0f0f0;
    --card-bg: #ffffff;
}

/* ---------- GLOBAL ---------- */
body {
    margin: 0;
    padding: 0;
    font-family: "PT Serif", serif;
    background-image: url(/images/background2.jpg);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    gap: 3rem;
}

/* ---------- HEADER ---------- */
header {
    background: linear-gradient(90deg, var(--dark-green), var(--green));
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0 4vw;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    gap: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 65px;
}

.logo-name p {
    margin: 0;
    font-size: 24px;
    color: var(--text-light);
    font-family: "Oswald", sans-serif;
}

.list {
    margin-left: auto;
}

.list ul {
    list-style: none;
    display: flex;
    gap: 55px;
    padding: 0;
    margin: 0;
    font-size: 20px;
}

.list a {
    color: var(--text-light);
    text-decoration: none;
    transition: 0.3s;
}

.list a:hover {
    color: var(--light-green);
}

.basket img {
    width: 36px;
    margin-left: 35px;
    filter: brightness(0) invert(1);
}

/* ---------- main ---------- */
main{
    flex-grow: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.store-info{
    background-color: #92929263;
    width: 80%;
    padding: 1% 2% 2% 2%;
    border-radius: 13px;
    border: 2px solid #1f6b4a;
    box-shadow: 2px 5px 15px 0px rgba(87, 87, 87, 0.7);
}

h1{
    padding-left: 1rem;
}

h2{
    padding-left: 1rem;
}

h3{
    font-size: 2.7vh;
    max-width: 100%;
    padding: 0 2rem;
}

.separator{
    border: none;
    border-top: 1px solid #7c7c7c; 
    margin: 20px 0;
    width: 100%; 
    opacity: 0.5;
}

/* ---------- footer ---------- */
footer {
    background-color: #0f2f1f;
    width: 100%;
    padding: 20px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    height: 9rem;
    gap: 15px;
}

.contacts {
    color: rgb(240, 240, 240);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    font-size: 14.5px;
    gap: 5px;
}

.contacts p {
    margin: 0;
    padding: 0;
}

.listInFooter {
    position: relative;
}

.listInFooter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.listInFooter a {
    color: rgb(240, 240, 240);
    text-decoration: none;
    transition: 0.3s;
}

.listInFooter a:hover {
    color: var(--light-green);
}

/* ---------- ADAPTIVE ---------- */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        justify-items: center;
        height: auto;
        gap: 15px;
        padding: 20px;
    }

    .logo-name {
        display: none;
    }

    .list ul {
        flex-direction: column;
        gap: 15px;
    }

    .basket{
        display: none;
    }

    footer {
        flex-direction: column;
        gap: 15px;
    }

    .contacts,
    .listInFooter {
        left: 0;
        width: 100%;
        text-align: center;
    }
}