/*
    Banner
*/
.banner {
    font-family: inherit;
    margin: 0;
    padding: 1.2rem;
    font-size: 1.4rem;
    top: 5rem;
    position: fixed;
    justify-self: center;
    border-radius: 0.5rem;

    background: rgba(235, 235, 235, 0.8);
    color: rgb(0, 0, 0);
    border: 3px solid rgb(0, 0, 0);
    
    animation: fade 6s linear forwards;
    -webkit-animation: fade 6s linear forwards;
}

.success {
    background: rgba(42, 250, 87, 0.8);
    color: rgb(3, 95, 32);
    border-color: rgb(19, 152, 61);
}

@keyframes fade {
    0% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}


/*Nav Bar*/
.navbar {
    background-color: #aa5fcd;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    width: 100%;
    height: 5rem;
    overflow: hidden;
    box-sizing: border-box;
}
.navlinks {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;  
}
.navlinks li:last-child {
    margin-left: auto; /*pushes login box*/
}
.navlogo {
    height: 5rem;
    width: auto;
    text-decoration: none;
    list-style: none;
    margin: 0;
    margin-right: 1px;
    padding: 0;
}
.navitem {
    margin: auto;
}
.navlinks {
    display: flex;
    text-decoration: none;
    list-style: none;
}
.navlink {
    display: flex;
    color: white;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    list-style: none;
    text-decoration: none;
    margin: 20px auto;
    font-size: 1.2rem;
}
.navlink.show {
    display: grid;
}
.navlink:hover {
    transition: all ease-in 0.5s;
    color:#9e80cf;
    background-color: white;
    border-radius: 10px;
    cursor: pointer;
}
.RightNavLinks {
    display: flex;
    text-align: right;
    text-decoration: none;
    list-style: none;
    max-width: 30%;
}
.LeftNavLinks {
    display: flex;
    text-align: left;
    text-decoration: none;
    list-style: none;
    max-width: 70%;
}

/*
    Login Button
*/
.login-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #c8b4e6;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
     margin-left: auto;
}
.login-message {
    margin: 0;
    font-size: 0.95rem;
    color: #3a2d52;
    font-weight: 600;
}
.login-btn {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background-color: #765f99;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.login-btn:hover {
    background-color: transparent;
    color: #765f99;
    border-color: #765f99;
}

/*Hero*/
.set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem;
}
.heroSet {
    display: flex;
    padding: 2rem;
    text-align: center;
    justify-content: center;
    align-items: center;

}
.heroIMG {
    width: 75%;
    border-radius: 10px;
    margin: 1rem auto;
}
.heroText {
    font-family: "dancing script";
    text-align: center;
}
.LeHouse {
    text-align: center;
    font-size: 10rem;
    font-weight: 700;
    margin: 2rem auto;
    font-family: "dancing script";
    color: #9e80cf;
}

/*
        Login Banner
*/
.banner {
    font-family: inherit;
    margin: 0;
    padding: 1.2rem;
    font-size: 1.4rem;
    top: 5rem;
    position: fixed;
    justify-self: center;
    border-radius: 0.5rem;

    background: rgba(235, 235, 235, 0.8);
    color: rgb(0, 0, 0);
    border: 3px solid rgb(0, 0, 0);
    
    animation: fade 6s linear forwards;
    -webkit-animation: fade 6s linear forwards;
}
.success {
    background: rgba(42, 250, 87, 0.8);
    color: rgb(3, 95, 32);
    border-color: rgb(19, 152, 61);
}
@keyframes fade {
    0% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

/* about styles */
.about h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #3a3a3a;
    text-align: center;
    margin-bottom: 1.5rem;
}
.about h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #4a4a4a;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    text-align: center;
}
.about p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #333;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

/*Contacting*/
.contactSection {
    display: flex;
    align-items: center;
    justify-content: center;
}
.form {
    background-color: #c8b4e6;
    border-radius: 10px;
    padding: 2rem 1rem;
    width: 70%;
    margin: auto;
}
.contactForm {
    display: grid;
    margin: 2rem auto;
    align-items: center;
    justify-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.FormLabel {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    width: 100%;
    width: 80%;
}
.contactFormItem {
    margin: auto;
    margin-bottom: 1rem;
    width: 80%;
    background-color: #c8b4e6;
    border: 2px solid black;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}
.ContactHeader {
    text-align: center;
    font-weight: 700;
    font-size: 3rem;
}
.ContactText {
    text-align: center;
    font-size: 1rem;
    margin: auto;
    width: 80%;
    color: #444;
}
.ContactSubmit {
    border-radius: 10px;
    font-size: 1rem;
    width: 2fr;
    width: 75%;
    padding: 1rem;
    background-color: #b595e6;
    margin: 0 auto;
    grid-column: 1/-1;
    border: 2px solid transparent;
}
.ContactSubmit:hover {
    cursor: pointer;
    transition: ease 0.5s;
    border-color: #1e1e1e;
    background-color: transparent;
}

/*Footer*/
.footerNav {
    text-align: center;
    background-color: #aa5fcd;
    margin-top: 1rem;
}
.footerLinks {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.footerLink {
    margin: 0 15px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    padding: 0.5rem;
}
.footerLink:hover {
    transition: linear 0.5s;
    cursor: pointer;
    text-decoration: underline;
}
.footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 80%;
    margin: 2rem auto;
    background-color: #f8f8f8;
    padding: 20px;
}
.footerText {
    text-align: center;
}

/*
    About
*/
.AboutGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0rem;
    margin: 1rem auto;
    align-items: center;
}
.GridText {
    color: black;
    margin: 1rem auto;
    max-width: 65%;
}
.GridText h2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
}
.GridText p {
    color: #444;
}
.AboutGridImage {
    border-radius: 20px;
    padding: 5px;
    max-width: 60%;
    overflow: hidden;
}
.about h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #9e80cf;

    /*change?*/
    font-family: "dancing script";
}
.about p {
    margin: 1rem auto;
}
.AbountImgWrap {
    margin: auto;
    align-items: baseline;
    border-radius: 5px;
}

/*
    Acount form
*/
.AccountForm {
    margin: 4rem auto;
}
.form-nav p {
    display: flex;
    flex-direction: column;
}

/*Error box*/
.ErrorBox, .error {
    margin: 1rem auto;
    width: 80%;
    background-color: #fff0f0;
    border: 1px solid #f7c1c1;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    color: #a32d2d;
    font-size: 0.9rem;
}
.ErrorBox ul, .error ul {
    text-decoration: none;
    padding-left: 1.2rem;
}
.ErrorBox li, .error li {
    text-decoration: none;
    margin-bottom: 0.25rem;
}

/*Success box*/
.SuccessBox {
    background-color: #edf7f0;
    border: 1px solid #7dbe94;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: #1a5c2a;
}
.SuccessBox h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.SuccessBox p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: #2d6e3e;
}
.SuccessBox a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background-color: #9e80cf;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s;
}
.SuccessBox a:hover {
    background-color: #7d5fad;
}

/*
    Prodects
*/
.product {
    background-color: #fff;
    border-radius: 10px;
    border: 2px solid #c8b4e6;
    padding: 1rem;
    margin: 0;
    width: 100%;
    max-width: 300px;
    justify-self: center;
}
.product-form {
    width: 80%;
    display: grid;
    place-items: center;
}
.product-footer {
    gap: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
.product-header p {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    gap: 1rem;
    margin: auto;
    width: 100%;
}
.add-product {
    margin: auto;
}
.product img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    padding: 0.5rem;
}

/*
    utilities/misc
*/
.SixteenByNine {
    aspect-ratio: 16/9;
}
.FourByThree {
    aspect-ratio: 4/3;
}
.Grid2Column {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
}
.Grid3Column {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
}
.Grid4Column {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.rowWrapper {
    display: flex;
    flex-direction: row;
    margin: 1rem 3rem;
}
.RowReverse {
    display: flex;
    flex-direction: row-reverse;
}
.center {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.text-center {
    text-align: center;
}
.form-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 1rem;
    width: 75%;
    margin: 1rem auto;
}
div.form-group:hover {
    transition: all ease-in 0.5s;
    border: 2px solid #765f99;
    border-radius: 10px;
    background-color: transparent;
}
.products-forms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
}
.product-form {
    background-color: #c8b4e6;
    border: 2px solid transparent;
    border-radius: 10px;
    margin: 1rem auto;
    width: 75%;
}
.quarter-width {
    margin: 1rem auto;
    width: 75%;
}
.button {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 2px solid transparent;
    background-color: #9e80cf;
    text-decoration: none;
    color: black;
}
.button:hover {
    transition: all linear 0.5s;
    background-color: transparent;
    border-color: #1e1e1e;
}
.form-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: auto;
}
h2.heading-secondary {
    font-family: "dancing script";
    font-size: 6rem;
    color: #9e80cf;
}
.image-wrap {
    padding: 20px;
    border-radius: 15px;
    overflow: hidden;         
    display: inline-block;
}
.para {
    margin: 1rem auto;
    font-family: "Quivira", "times new roman", "Gerorgia", serif;
    width: 75%;
    font-size: 1.2rem;
    color: brown;
}
.offerings {
    display: grid;
    gap: 0.5rem;
    margin: 2rem auto;
    width: 80%;
    align-items: center;
    justify-content: space-around;
    grid-template-columns: repeat(2, 1fr);
    text-decoration: none;
}
.offerings > .rowWrapper:hover {
    transition: all ease-in 0.5s;
    color:#9e80cf;
    background-color: white;
    border-radius: 10px;
    cursor: pointer;
}
.offerings img {
    border-radius: 5px;
    height: 10rem;
}
.new-blog {
    width: 80%;
    margin: 1rem auto;
}
.rowWrapper > p, img {
    text-decoration: none;
    text-underline-offset: none;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}
a.rowWrapper {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 2px solid #7d5fad;
    border-radius: 10px;
}
a .rowWrapper:hover {
    transition: all ease-in 0.5s;
    border-color: #000;
    cursor: pointer;
    background-color: white;
}
section.about > h2 {
    background-color: #9e80cf;
    color: white;
    padding: 0.5rem 1rem;
    margin: auto;
}
.big-margin-top {
    margin-top: 8rem;
}
.margin-top {
    margin-top: 2rem;
}
.text-center {
    text-align: center;
}
.products-list {
    text-decoration: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 80%;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
}
.products {
    width: 80%;
    margin: 1rem auto;
    gap: 0.5rem;
}
.products > h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.product-type {
    text-decoration: none;
    padding: 0.5rem 1rem;
    width: 10rem;
    margin: auto;
}
.margin-bottom {
    margin-bottom: 2rem;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th {
    background: #333;
    color: white;
}
td, th {
    padding: 10px;
}
.grid-column {
    display: grid;
    grid-template-columns: repeat(1, 1fr) !important;
}


/* 
   Resposive
*/

/* ── small pc?: up to 1100px ── */
@media (max-width: 1100px) {
    .navbar {
        padding: 0.5rem !important;
    }
    .login-box {
        padding: 0.4rem 0.8rem;
    }
    .navlink {
        margin: 5px auto;
        padding: 0.4rem 0.8rem;
        font-size: 1rem;
    }
    .para, .heroIMG {
        width: 90%;
    }
    .offerings {
        width: 100%;
    }
    .form {
        width: 85%;
    }
    .footer {
        padding:5px;
        width: 90%;
    }
    .footerText , .footerText a {
        font-size: 0.9rem;
    }
    .GridText {
        max-width: 90%;
    }
    .AboutGridImage {
        max-width: 90%;
    }
    .logo {
        font-size: 1.4rem;
    }
    .products-form {
        width: 90%;
    }
    .navbar_left {
        gap: 0.5rem;
    }
}

/* Smaller PC?: up to 940px */
@media (max-width: 940px) {
    .offerings {
        width: 90%;
        grid-template-columns: 1fr;
    }
    .heroIMG, .para {
        width: 90%;
    }
    .login-box {
        gap: 0.4rem;
        padding: 0.3em 0.6rem;
    }
    .login-btn, .login-message {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
    .footer {
        width: 95%;
    }
    .LeHouse {
        font-size: 7rem;
    }
    .about p {
        font-size: 0.8rem;
        margin: 1rem;
    }
    .GridText h2 {
        font-size: 1.5rem;
    }
    .about h1 {
        font-size: 2rem;
    }
    .products {
        width: 95%;
    }
}

/* Big Tablet: 768-940px */
@media (max-width: 768px) {
   .navlinks {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        transition: all ease-in 0.5s;
    }
    .navbar {
        margin: 0;
        padding: 0.5rem;
        height: auto;
    }
    body {
        padding: 0;
    }
    .navbar .navlink {
        display: none;
    }
    .navlinks.show {
        display: block;
    }
    .navlogo:hover, .navlogo:active {
        cursor: pointer;
    }
    .footerNav {
        display: none;
    }
    .login-box {
        margin: auto;
        padding: 0.5rem 1rem;
    }
    .login-btn, .login-message {
        font-size: 0.8rem;
    }
    .heroIMG {
        width: 98%;
    }
}

/* Somthing broke at these width*/
@media (max-width: 660px) {
    .AboutGrid {
        grid-template-columns: 1fr;
        align-items: center;
    }
    .AboutGridImage {
        margin: auto;
    }
    .products {
        display: grid;
        align-items: center;
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 500px) {
    .rowWrapper > img {
        display: none;
    }
}

/* ── tablet: 481px – 768px ── */
@media (max-width: 768px) { 
    h2.heading-secondary {
        font-size: 3.2rem;
    }
    .RegisterBox {
        padding: 2rem 1.5rem;
        max-width: 100%;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }
    .RegisterHeader h1 {
        font-size: 1.75rem;
    }
    .navlinks li:last-child {
        width: 120%;
        padding: 0.4rem 0.8rem;
    }
    .LeHouse {
        font-size: 5rem;
    }
    .navlink {
        font-size: 0.8rem;
        font-weight: 600;
    }
}
 
/* ── Mobile: up to 480px ── */
@media (max-width: 480px) { 
    .RegisterContainer {
        margin-top: 1rem;
    }
    .RegisterFox {
        padding: 1.5rem 1rem;
        border-radius: 8px;
    }
    .RegisterHeader h1 {
        font-size: 1.5rem;
    }
    .RegisterHeader p {
        font-size: 0.875rem;
    }
    .FormRow {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
    .FormGroup input {
        font-size: 1rem;
    }
    .RegisterBtn {
        font-size: 1rem;
        padding: 0.85rem;
    }
    .ErrorBox {
        font-size: 0.85rem;
    }
    .SuccessBox h2 {
        font-size: 1.1rem;
    }
    .RegisterFooter {
        font-size: 0.85rem;
    }
    .para {
        font-size: 1rem;
    }
    .product-type {
        font-size: 0.8rem;
    }
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*Smaller mobles*/
@media (max-width: 460px) {
    .footer {
        display: flex;
        flex-direction: column;
    }
    .offerings {
        width: 100%;
    }
    .rowWrapper {
        margin: 0.5rem 1rem;
    }
    .LeHouse {
        font-size: 4rem;
    }
    .ContactHeader {
        font-size: 2rem;
    }
    .GridText h2 {
        font-size: 1.5rem;
    }
    .GridText {
        max-width: 95%;
    }
    .logo {
        font-size: 1rem;
    }
    .navbar_right form > button {
        font-size: 1rem;
        padding: 0.2rem 0.4rem;
    }
}
 
/* ── very small screens; up to 360 px ── */
@media (max-width: 360px) {
    h2.heading-secondary {
        font-size: 2.4rem;
    }
    .RegisterBox {
        padding: 1.25rem 0.85rem;
    }
    .RegisterHeader h1 {
        font-size: 1.3rem;
    }
    .heroIMG {
        width: 100%;
    }
     .LeHouse {
        display: none;
    }
    .product-type {
        width: 8rem;
    }
}
