:root {
    --primary: #3D1680;
    --secondary: #FFE014;
    --gray: #6c757d;
    --third: #2BA6EB;
    --black: #000000;
    --white: #ffffff;
    --danger: #ea0707;
    --light-one: #F7F7F7;
    --light-two: rgba(0, 0, 0, 0.16);
    --max-width: 1500px;
    --size: 25px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: color-mix(in oklab, var(--light-one) 70%, white);
}

body:has(.footer-links) footer {
    margin-top: auto;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

main:has(.contacts-form-wrapper) {
    background-color: white;
}

h1 .contacts-wrapper strong {
    display: block;
    font-size: 1.75rem;
    margin-bottom: 1.5125rem;
    width: 190px;
    border-bottom: 4px solid var(--primary);
}

.contacts-wrapper p {
    margin: 0;
    font-size: 1rem;
}

.contacts-wrapper form {
    margin: 2.125rem 0;
    background-color: color-mix(in oklab, var(--light-two) 40%, white);
    padding: 1rem;
    border-radius: 0.25rem;
}

.contacts-wrapper .contact-message {
    margin-top: 1.575rem;
}

.contacts-wrapper .inputs {
    display: grid;
    grid-auto-columns: 1fr;
    column-gap: 1.75rem;
    row-gap: 1rem;
}

.contacts-wrapper .subject {
    display: none;
}

.contacts-wrapper label {
    display: block;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.contacts-wrapper :is(input, textarea, select) {
    display: block;
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background-color: transparent;
    border: 1px solid color-mix(in oklab, var(--light-two) 90%, black);
    outline: none;
    border-radius: 0.35rem;
}

.contacts-wrapper :is(input:focus, textarea:focus) {
    border: 1px solid var(--primary);
    outline: none;
}

.contacts-wrapper button {
    padding: 0.95rem 1.575rem;
    margin: 1.575rem 0;
    background-color: var(--primary);
    color: white;
    font-weight: bolder;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
}

.width {
    width: 90%;
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
}

.smaller-width {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
}

.smaller-width {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
}

header {
    background-color: white;
}

header nav img {
    display: block;
    max-width: 142px;
}

header nav {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

header nav .cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

header nav .cta .no-border-btn {
    background-color: white;
    border: none;
    padding: 0;
    font-weight: 600;
    cursor: pointer;
}

header nav .cta .bg-btn {
    display: inline-block;
    padding: 10px 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--primary);
    color: white;
}

main {
    margin-top: auto;
    margin-bottom: auto;
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    column-gap: 1.75rem;
    row-gap: 2.75rem;
    margin: 2.75rem 0;
}

.hero img {
    display: block;
    max-width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
}

.hero-text h1 {
    margin: 0;
    line-height: 1.1;
    font-weight: 700;
    font-size: 2.25rem;
    max-width: 550px;
}

.hero-text p {
    color: var(--third);
    max-width: 350px;
    margin: 1rem 0;
}

.hero .cta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hero .cta button {
    display: inline-block;
    padding: 10px 1.5rem;
    border-radius: 5px;
    border: 2px solid transparent;
    font-weight: 600;
    cursor: pointer;
}

.hero .cta button.bg-btn {
    background-color: var(--primary);
    color: white;
}

.hero .cta button.border-btn {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.tutorial-title {
    font-size: 1.7125rem;
    line-height: 1.2;
}

.tutorials-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.tutorial-card-wrapper {
    display: flex;
    flex-direction: column;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.tutorial-card-wrapper .video {
    border-radius: 0.75rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.tutorial-card-wrapper .tutorial-text {
    padding: 1rem;
}

.tutorial-card-wrapper .tutorial-text small {
    font-size: 1rem;
    color: slategrey;
}

.tutorial-card-wrapper .tutorial-text h3 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
    line-height: 1.3;
}

.tutorial-card-wrapper .tutorial-text p {
    color: slategrey;
    margin: 0;
}

.tutorial-card-wrapper .video img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutorial-card-wrapper .video svg {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.shop-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    background: url("/static/images/shop-stats.c6ee30a1a6a6.webp") no-repeat center center / cover;
    min-height: 380px;
    margin-bottom: 4rem;
}

.shop-stats h2 {
    font-size: 2.025rem;
    max-width: 480px;
    text-align: center;
    line-height: 1.3;
}

.shop-message {
    margin-bottom: 4rem;
}

.shop-message .cards :is(h3, p, a) {
    text-decoration: none;
}

.shop-message .cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.shop-message .cards :is(h3, p, a) {
    text-decoration: none;
}

.shop-message .cards .card1 {
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: 0.75rem;
    overflow: hidden;
    background: url("/static/images/group-review.63223a3de274.webp") no-repeat center center / cover;
    padding: 1rem;
    min-height: 548px;
    height: 100%;
}

.card1:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: scale(1.05);
}

.shop-message .cards h3 {
    margin: 0;
    color: white;
    font-weight: 300;
}

.shop-message .cards p {
    margin: 0;
    color: white;
    font-weight: 700;
}

.shop-message .cards .card2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.shop-message .cards .card2 .nest {
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: 0.75rem;
    overflow: hidden;
    padding: 1rem;
    min-height: 274px;
}

.shop-message .cards .card2 .nest-card1 {
    background: url("/static/images/e-commerce-page.605768595f90.webp") no-repeat center center / cover;
}

.shop-message .cards .card2 .nest-card2 {
    background: url("/static/images/african-ear-rings.ff4d29caf138.webp") no-repeat center center / cover;
}

.nest-card1:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.nest-card2:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.shop-selling-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.shop-selling-section aside {
    display: none;
}

.shop-selling-section aside h4 {
    font-size: 1.5rem;
    margin-bottom: 0.525rem;
}

.shop-selling-section aside .links {
    margin-bottom: 2rem;
}

.shop-selling-section aside .links ul {
    margin-top: 0;
    padding-left: 0;
}

.shop-selling-section aside .links ul li {
    list-style: none;
    line-height: 1.75;
}

.shop-selling-section .content {
    margin-bottom: 4rem;
}

.shop-selling-section .content h2 {
    font-size: 2.125rem;
    margin-bottom: 0.25rem;
}

.shop-selling-section .content h3 {
    margin-top: 0;
}

.shop-selling-section aside h4:first-child {
    margin-top: -3px;
}

.shop-selling-section section h2:first-child {
    margin-top: -5px;
}

.learn-more-page h1 {
    margin-top: 4rem;
}
.learn-more-page ol h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.learn-more-page ol p {
    font-size: 1rem;
    margin-top: 0.5rem;
}
.learn-more-page ol li {
    margin-bottom: 1.5rem;
}
.learn-more-page {
    margin-bottom: 3rem;
}

footer {
    margin-top: auto;
}

.footer-links {
    color: white;
    padding: 2.25rem 0;
    background-color: var(--primary);
    margin-top: auto;
}

footer .footer-links h2 {
    font-size: 1.25rem;
    margin: -5px 0;
}

.footer-links .grid-items ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
}

.footer-links .grid-items li {
    margin-bottom: 0.75rem;
}

.footer-links .grid-items li:last-child {
    margin-bottom: 0;
}

.footer-links .grid-items a {
    color: white;
    text-decoration: none;
}

.footer-links .grid-items a:hover {
    color: var(--dark-color);
    text-decoration: revert;
}

.footer-links .grid-items {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
}

.footer-meta-details {
    background-color: var(--secondary);
    color: var(--black);
    padding: 0.75rem 0;
    font-size: 0.75rem;
}

.footer-meta-details .footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.125rem;
}

.footer-meta-details .footer-content .social-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-meta-details .footer-content .social-icons svg {
    width: 16px;
    fill: var(--black);
}

.shop-selection {
    display: flex;
    margin-top: auto;
}

.shop-selection form {
    display: block;
    width: 95%;
    max-width: 560px;
    margin: auto;
    background-color: var(--light-four);
    padding: 3.2rem 2.5rem;
    border: 1px solid var(--light-two);
    border-radius: 1.25rem;
}

.shop-selection form h1 {
    text-align: center;
    font-size: 1.525rem;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 1.575rem;
}

.shop-selection select {
    display: block;
    width: 100%;
    padding: 0.75rem 1.125rem;
    outline: none;
    border: 1px solid var(--light-two);
    border-radius: 0.25rem;
}

.shop-selection input {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem 1.125rem;
    background-color: var(--secondary);
    font-weight: bolder;
    color: white;
    outline: none;
    border: 1px solid var(--secondary);
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.shop-selection input:hover {
    cursor: pointer;
    background-color: color-mix(in oklab, var(--secondary), black 16%);
}

.shop-selection input:focus {
    outline: none
}

.accordion-container {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.accordion-container  .card {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.accordion-container  .card-header {
    border: none;
}

.accordion-container > h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.accordion-container p {
    margin-bottom: 1rem;
}

.toggle-button {
    color: var(--gray);
}

.toggle-button:focus {
    box-shadow: none;
}

.toggle-button.btn-link:focus {
    text-decoration: none;
}

.toggle-button.btn-link:hover {
    text-decoration: none;
}

.toggle-button .heading {
    font-weight: 500;
}

.toggle-button .fa {
    font-size: 1.3rem;
}

.order-list > li::marker {
    font-weight: bold;
}

.order-list > li {
    margin-bottom: 1.563rem;
}

.order-list ul > li {
    list-style-type: disc;
}

.form-text {
    font-size: 0.75rem;
}

/* Can possibly affect global layout, please restructure global layout before removing  */

.page-breadcrumb {
    display: none;
}

@media screen and (min-width: 524px) {
    .tutorial-card-wrapper {
        flex-direction: row;
    }
}

@media screen and (min-width: 768px) {
    .contacts-wrapper .inputs {
        grid-template-columns: 1fr 1fr;
    }

    .contacts-form-wrapper .inputs {
        row-gap: 1.5125rem;
    }

    .contacts-wrapper form {
        padding: 2.125rem;
    }

    .hero {
        grid-template-columns: 1fr 1fr;
        column-gap: 1.75rem;
        margin: 4.75rem 0;
    }

    .hero-text h1 {
        font-size: 2.75rem;
        line-height: 1.2;
    }

    .tutorial-title {
        font-size: 2.5rem;
        max-width: 800px;
    }

    .shop-message .cards :is(h3, p, a) {
        text-decoration: none;
    }

    .shop-message .cards {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .shop-message .cards .card2 {
        display: grid;
        gap: 2rem;
    }

    .shop-selling-section {
        grid-template-columns: 1fr 3fr;
        gap: 2rem;
    }

    .shop-selling-section aside {
        display: block;
    }

    .footer-links .grid-items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 0.75rem;
    }
}

@media screen and (min-width: 912px) {
    .hero {
        column-gap: 2.75rem;
        margin: 6.75rem 0;
    }

    .hero-text h1 {
        font-size: 3.2rem;
        line-height: 1.3;
    }

    .hero-text p {
        margin: 2rem 0;
    }

    .footer-links .grid-items {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 0.75rem;
    }
}

@media screen and (min-width: 1024px) {
    .tutorials-container {
        grid-template-columns: 1fr 1fr;
        row-gap: 1rem;
        column-gap: 2rem;
        margin-bottom: 4rem;
    }
}