html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
@font-face {
    font-family: 'Magnolia';
    src: url('../media/Magnolia Script.otf') format('truetype');
}

.Magnolia {
    font-family: 'Magnolia', serif;
}

body{
    background-color: #740683;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.DivLogoNameMobile{
    display: none;
    text-align: center;
}

.DivNameLogo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    background-color: #b901f1;
    width: 100%;
}

.Navbar {
    position: sticky;
    background-color: #b901f1;
    z-index: 9998;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding-top: 1%;
    padding-bottom: .5%;
}

.Navbar ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

.Hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
}
.Hamburger .bar {
    width: 28px;
    height: 4px;
    background-color: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.Hamburger.open .bar {
    background-color: #ffe600;
}

.Navbar li {
    margin: 0 1.5rem;
    padding: 0;
}

.NavbarText {
    color: #e9e9e9;
    text-decoration: none;
    transition: color 0.2s;
}

.NavbarText:hover {
    color: #e9d200;
}

.MainContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white
}

.MainTitle {
    margin: 3rem 0 1rem 0;
    font-size: 300%;
    font-family: 'Magnolia', serif;
}

.FooterWrap {
    width: 100%;
    background-color: #b901f1;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.FooterWrap a {
    color: #ffe600;
    text-decoration: underline;
}

.HomePageButtons ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

.HomePageButtons li {
    margin: 1rem;
    padding-bottom: 5rem;
}

.HomePageButtonText {
    color: #f7f7f7;
    background: #b901f1;
    border: 2px solid #d83aec;
    border-radius: 6px;
    padding: 0.5em 1.5em;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    margin: 0 0.5em;
}

.HomePageButtonText:hover {
    color: #b901f1;
    background: #40044d;
    border-color: #270138;
}

.HomeButton {
    justify-content: center;
}

.GalleryImagesDiv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    place-items: center;
    padding-bottom: 5%;
    padding-top: 2%;
}

.GalleryImages {
    max-width: 90%;
    width: 90%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    align-items:start;
}

.WelcomeImage {
    display: block;
    margin: auto;
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.ShopContentDiv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2%;
    place-items: center;
    text-align: center;
}

.ShopContentDiv .Item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.Item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.ShopImage {
    max-width: 300px;
}

.MainText a {
    color: #ffe600;
    text-decoration: underline;
}

.MainText p {
    text-align: center;
}

.MainText {
    margin-bottom: 2%;
}

.ItemText{  
    text-align: center;
    color: #ffffff;
    text-decoration: underline;
}

.SecondTitle {
    margin: 2rem 0 1rem 0;
    font-size: 200%;
    font-family: 'Magnolia', serif;
}

.AboutText p {
    text-align: center;
    padding-left: 30%;
    padding-right: 30%;
    margin-bottom: 2%;
    margin-top: 1%;
}

.AboutImage{
    max-width: 300px;
    margin-top: 1%;
    margin-bottom: 1%;
}

.AboutText a {
    color: #ffe600;
    text-decoration: underline;
}

.BlinkysGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 3%;
}

@media (max-width: 900px) {
    .MainTitle {
        font-size: 2rem;
        margin: 2rem 0 1rem 0;
    }
    .SecondTitle {
        font-size: 1.2rem;
    }
    .HomePageButtons ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0;
    }
    .HomePageButtons li {
        padding-bottom: 0.5rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .ShopContentDiv,
    .GalleryImagesDiv {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 5% 2% 10% 2%;
    }

    .WelcomeImage {
        max-width: 100%;
        width: 100%;
    }
    .DivNameLogo {
        min-height: 28px;
    }
    .Hamburger {
        display: flex;
    }
    .Navbar ul {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: #b901f1;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
        z-index: 10000;
    }
    .Navbar ul.open {
        display: flex;
    }
    .Navbar li {
        margin: 0.5rem 0;
    }
    .FooterWrap {
        font-size: 0.9rem;
        padding: 0.7rem 0;
    }
    .MainText {
        margin-bottom: 1.5rem;
    }
    body {
        font-size: 1rem;
    }
    .AboutText p {
        padding-left: 5%;
        padding-right: 5%;
    }
    .BlinkysGrid {
        grid-template-columns: repeat(1, 2fr) !important;
        gap: 0.5rem;
        width: 50%;
    }
    .WelcomeImage {
        max-width: 90%;
        width: 80%;
    }
    .AboutText{
        padding-top: 3%;
        padding-bottom: 3%;
    }
}