@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

* {
    margin: 0;
    border: 0;
    box-sizing: border-box;
    font-family: "Roboto Slab", serif;
    user-select: none;
    scroll-behavior: smooth;
}

body {
    height: 100vh;
    width: 100%;
}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);

    & nav .ul-link {
        display: flex;
        justify-content: center;
        align-items: center;

        & a {
            text-decoration: none;
            color: #000;
            font-size: 20px;
        }

        & li {
            list-style: none;
            margin-right: 10px;
        }
    }

    .logo {
        a {
            text-decoration: none;
            color: #000;
        }
    }

    .menu-link {
        display: none;
    }

    .ri-menu-line {
        display: none;
    }

}

.cart-icon {
    position: relative;
    top: 0;
    left: 0;
    font-size: 25px;

    & .cart-count {
        top: 4px;
        left: 10px;
        position: absolute;
        width: 20px;
        height: 20px;
        background-color: tomato;
        font-size: 20px;
        border-radius: 50px;
        color: #fff;
        font-size: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
}

#menu-bar {
    font-size: 20px;
    padding: 10px 10px;
    display: none;
}

.hero {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    background-color: #ebeeef;
    padding: 20px;
    display: flex;
    margin: auto;
    height: 400px;
    background: linear-gradient(to right, #ebeeef, #ebeeef);
    border-bottom-left-radius: 50% 40px;
    border-bottom-right-radius: 50% 40px;

    & .hero-con1 {
        width: 50%;
        height: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1.2;
        padding: 10px 20px;

        & h1 {
            font-size: 40px;
            text-transform: capitalize;
            margin-bottom: 10px;
        }

        & p {
            font-size: 20px;
        }

        & .hero-btns {
            display: flex;
            gap: 10px;
        }

        & a {
            text-decoration: none;
        }

        & a .hero-btn1,
        .hero-btn2 {
            padding: 10px 20px;
            width: 100%;
            border-radius: 4px;
            font-family: "Roboto Slab", serif;
            font-weight: bolder;
            font-size: 14px;
            text-transform: capitalize;
            color: #fff;
            background-color: #000;
            margin-top: 20px;
        }
    }

    & .hero-con2 {
        width: 50%;
        height: 80%;
        background-image: url(images/product1.jpg);
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media(max-width:425px) {
    header {
        & nav .ul-link {
            display: none;
        }

        & .menu-link {
            position: fixed;
            top: 0;
            right: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 80%;
            height: 100%;
            text-align: center;
            padding: 100px 20px;
            background-color: #ebeeef;
            z-index: 1000;
            transform: translateX(400px);
            transition: 0.5s ease;
            box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.1);

            i {
                font-size: 40px;
                position: absolute;
                top: 10px;
                right: 20px;
                color: #000;
            }

            a {
                text-decoration: none;
                color: #000;
            }

            li {
                list-style: none;
                margin-bottom: 20px;
                font-size: 20px;
                font-weight: bolder;
            }

        }

        .menubar {
            transform: translateX(0px);
            transition: 0.5s ease;
        }
    }

    .ri-menu-line {
        font-size: 20px;
        padding: 10px 10px;
        display: flex !important;
    }

    .hero {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;

        & .hero-con1 {
            width: 100%;
            height: 50%;
            padding-top: 40px;

            & h1 {
                font-size: 20px;
                text-transform: capitalize;
                margin-bottom: 10px;
            }

        }

        & .hero-con2 {
            width: 400px;
            height: 500px;
            background-size: 100%;
            margin-top: 20px;
        }
    }
}

@media(max-width:320px) {
    header {
        & nav .ul-link {
            display: none;
        }
    }

    .hero {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;

        & .hero-con1 {
            width: 100%;
            height: 50%;
            padding-top: 40px;

            & h1 {
                font-size: 20px;
                text-transform: capitalize;
                margin-bottom: 10px;
            }

        }

        & .hero-con2 {
            width: 214px;
            height: 500px;
            background-size: 100%;
            margin-top: 20px;
        }

        & a .hero-btn1,
        .hero-btn2 {
            padding: 3px 18px !important;
            width: 100%;
            border-radius: 4px;
            font-family: "Roboto Slab", serif;
            font-weight: bolder;
            font-size: 9px;
            text-transform: capitalize;
            color: #fff;
            background-color: #000;
            margin-top: 20px;
            margin-bottom: 20px;
        }
    }
}

@media(min-width:1024px) {
    .hero {
        width: 100%;
        height: 90%;
        display: flex;
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        align-items: center;
        background-color: #ebeeef;
        padding: 20px;
        display: flex;

        & .hero-con1 {
            width: 50%;
            height: 80%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            line-height: 1.2;
            padding: 10px 50px;

            & h1 {
                font-size: 40px;
                text-transform: capitalize;
                margin-bottom: 10px;
            }

            & p {
                font-size: 20px;
            }

            & .hero-btns {
                display: flex;
                gap: 10px;
            }

            & a {
                text-decoration: none;
            }

            & a .hero-btn1,
            .hero-btn2 {
                padding: 10px 20px;
                width: 100%;
                border-radius: 4px;
                font-family: "Roboto Slab", serif;
                font-weight: bolder;
                font-size: 14px;
                text-transform: capitalize;
                color: #fff;
                background-color: #000;
                margin-top: 20px;
            }
        }

        & .hero-con2 {
            width: 50%;
            height: 80%;
            background-color: bisque;
            background-image: url(images/product1.jpg);
            background-repeat: no-repeat;
            background-size: cover;
        }
    }
}

/* carousel */
.carousel {
    width: 100%;
    margin: 10px auto;
    display: flex;
    justify-content: start;
    align-items: center;
    overflow-x: hidden;
    gap: 10px;
    padding: 10px 20px;
    background-color: tomato;

}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    animation: spin 20s infinite linear;
    padding-left: 8px;
    padding-right: 1rem;

    color: #fff;
}

.card {
    width: 200px;
    flex: 0 0 auto;
    font-family: "Roboto Slab", serif;
    text-align: center;
    font-size: 30px;
    transition: 0.2s;
}

@keyframes spin {
    from {
        translate: 0;
        ;
    }

    to {
        translate: -100%;
    }
}


.product {
    width: 100%;
    height: 200px;
    margin-top: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .product-h1 {
        margin-top: -20px;
        font-size: 20px;
        position: absolute;
        top: -100px;
        font-size: 40px;
        text-transform: capitalize;


    }

}

.collection-div-card {
    height: 290vh;
    overflow: hidden;
    margin-top: -50px;
    width: 100%;
    padding: 10px 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;

    .card {
        gap: 20px;

        img {
            width: 80%;
            transition: 1.1s;
        }

        img:hover {
            transform: scale(1.1);
        }

        .card-body {
            margin-top: 10px;
            text-align: start;
            font-size: 20px;
            padding: 10px;

            .card-title {
                font-size: 20px;
                font-weight: bolder;
                text-transform: capitalize;
                text-align: center;

                .cart-text {
                    font-size: 14px;
                }
            }
        }
    }
}

.img {
    overflow: hidden;

}

.cart-btn {
    width: 90%;
    height: 100%;
    gap: 20px;
    padding: 10px 4px;
    margin-top: 20px;
    font-size: 20px;
    text-transform: capitalize;
    font-weight: bolder;
    cursor: pointer;
}

.cart-price {
    font-size: 20px;
}

.active {
    background-color: #0d6efd !important;
    color: #fff !important;

}

.hide {
    display: none;
}

.more-to-see {
    margin-top: 20px;
    text-align: center;
    padding-bottom: 20px;

    a {
        color: tomato;
        text-decoration: none;
        cursor: pointer;
    }
}


.cart-div {
    width: 360px;
    height: 100%;
    position: fixed;
    top: 0;
    right: -400px;
    z-index: 102;
    background-color: #fff;
    padding: 50px 20px;
    box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.1);
    overflow: auto;
    transition: 0.1s ease;

}

.cart-title {
    font-size: 40px;
    text-transform: capitalize;
    text-align: center;
    margin-top: 20px;
}

.cart-box {
    display: flex;
    align-items: center;
    margin-top: 40px;

}

.cart-box {
    img {
        width: 100px;
        height: 100px;
        border-radius: 6px;
        object-fit: cover;
        margin-right: 20px;

    }
}

.cart-data {
    display: grid;
    gap: 8px;
    margin-right: auto;
}

.cart-data-title {
    font-size: 18px;
    line-height: 1;
}

.cart-price {
    font-size: 18px;
}

.cart-quantity {
    display: flex;
    width: 100px;
    border-radius: 4px;
    border: 1px solid #999;
}

.cart-quantity button {
    background-color: transparent;
    width: 30px;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.Decrement {
    color: #999;
}

.Number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
}

#cart-close {
    font-size: 20px;
    cursor: pointer;
}

.total {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid #999;
    padding-top: 20px;
}

.total-title {
    margin-right: 20px;
}

.total-price {
    font-weight: bolder;
}

.buy {
    display: block;
    text-align: center;
    padding: 10px 40px;
    border-radius: 4px;
    margin: 20px auto 0;
    cursor: pointer;
    padding: 10px 20px;
            
            border-radius: 4px;
            font-family: "Roboto Slab", serif;
            font-weight: bolder;
            font-size: 14px;
            text-transform: capitalize;
            color: #fff;
            background-color: #000;
            margin-top: 20px;
    a{
        text-decoration: none;
        font-size: 20px;
        font-weight: bolder;
        color: #fff;

    }
}

#close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 30px;
    cursor: pointer;
}

.addtocart {
    right: 0px;
}


@media(min-width:768px){
    .about {
    .about-div{
        width: 100%;
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding: 20px 100px;
    }
    .about-con1{
    img {
            width: 100%;
            height: 50% !important;
            border-radius: 20px;
        }
    }
    }
    .about-contact {
        display: none;
}
}

.about {
    .about-div{
        width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    }

    .about-con1 {
        width: 80%;

        img {
            width: 100%;
            height: 200px;
            border-radius: 20px;
        }
    }

    .about-con2 {
        width: 100%;
        padding: 10px 40px;

        .about-title {
            font-weight: 400;
        }

        .span {
            font-weight: bolder;
        }

        .about-h2 {
            font-weight: 400;
            margin-bottom: 20px;
            text-transform: capitalize;
            margin-top: 10px;
        }

        .about-p {
            margin-top: 20px;
        }

    }
}

.about-contact {
    padding: 10px 20px;
    border-radius: 4px;
    font-family: "Roboto Slab", serif;
    font-weight: bolder;
    font-size: 14px;
    text-transform: capitalize;
    color: #fff;
    background-color: #000;
    margin-top: 20px;
    margin-bottom: 20px;
}

.carousel2 {
    width: 100%;
    margin: 10px auto;
    display: flex;
    justify-content: start;
    align-items: center;
    overflow-x: hidden;
    gap: 10px;
    padding: 10px 20px;
    background-color: #000;

}

.carousel2::-webkit-scrollbar {
    display: none;
}

.carousel-group2 {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    animation: spin2 20s infinite linear;
    padding-left: 8px;
    padding-right: 1rem;

    color: #fff;
}

.card {
    width: 200px;
    flex: 0 0 auto;
    font-family: "Roboto Slab", serif;
    text-align: center;
    font-size: 30px;
    transition: 0.2s;
}

@keyframes spin2 {
    from {
        translate: 0;
        ;
    }

    to {
        translate: -100%;
    }
}

.footer {
  background-color: #111;
  color: #fff;
  padding: 40px 0 0 0;
  font-family: Arial, sans-serif;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-section h2,
.footer-section h3 {
  margin-bottom: 15px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  margin-top: 30px;
  border-top: 1px solid #333;
  font-size: 14px;
}

.contact-section {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
}

.contact-intro > * + * {
  margin-top: 1rem;
}

.contact-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.contact-description {
  color: rgb(107 114 128);
}

.form-group-container {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.form-input::placeholder,
.form-textarea:focus-visible {
  color: #6b7280;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.form-textarea {
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 1.2rem;
  background-color: #000;
  color: #fff;
  padding: 13px 5px;
  border-radius: 0.375rem;
}
