:root {
    color-scheme: light dark;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

ul {
    margin: 0px;
    padding-top: 5px;
    list-style: outside;
}

li {
    padding: 4px 0px;
    font-size:1.1rem;
}

a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px;
    text-align: center;
    color: inherit;
}

h1,
h2,
h3 {
    padding: 5px 0px;
    margin: 0px;
}

html,
body {
    padding: 0px;
    margin: 0px;
    background-color:white;
}

.feedback{
    display:grid;
    grid-template-columns: 30px 1fr;
    width:max-content;
    margin:0 auto;
    gap:10px;
    border:3px double black;
    padding:5px 30px;
    font-weight:bold;
}

.listing-pencil {
    background-color: rgb(0, 0, 0);
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 4px 10px;
    font-size: 0.9rem;
}

.listing-wrapper {
    font-family: Arial, Helvetica, sans-serif;
    background-color: white;
    color: black;
    max-width: 1600px;
    margin: 0 auto;
}

.listing-header {
    background-color: #49563d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.listing-header>img {
    max-width: 220px;
}

.listing-nav {
    display: flex;
    color: white;
    background-color: rgb(40, 40, 40);
}

.listing-nav>a {
    flex-grow: 1;
    font-weight: 600;
}

.listing-nav>a:first-of-type {
    border-top-left-radius: 15px;
    padding-left: 20px;
}

.listing-cta {
    display: flex;
    font-weight: bold;
    gap: 10px;
    padding: 10px 0px;
}

.listing-cta>div {
    padding: 0px 10px;
    background-color: whitesmoke;
    border:1px solid rgba(0, 0, 0, 0.1);
    flex-grow: 1;
}

.listing-cta>div>div {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 10px;
    width: max-content;
    margin: 0 auto;
}

.listing-cta .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    width: 30px;
}

.listing-cta .sub {
    font-size: 0.8rem;
    color: rgb(32, 32, 32);
    display: block;
    font-weight: normal;
}

.listing-product {
    padding-block: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;

    margin: 0 auto;
}

.listing-product h2 {
    font-size: 1.9rem;
    font-weight: normal;
}

.question {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    background-color: rgb(251, 251, 251);
    padding: 0px;
}

.question>span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    border-radius: 100%;
    background-color: black;
    color: white;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.features h3{
    font-size:1.3rem;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-intro {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.product-usp {
    display: flex;
    flex-direction: column;
}

.product-usp>p {
    padding: 10px;
    margin: 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    font-weight: bold;
}

.product-usp>p:first-of-type {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.product-usp>p:before {
    content: '\2713';
    margin-right: 10px;
    font-weight: bold;
    color: green;
    font-size: 1.4rem;
}

.gallery {
    background-color: whitesmoke;
    padding: 5px;
    width: 100%;
}

.gallery>div {
    min-width: 100%;
    height: max-content;
}

.gallery>div.grid-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.gallery.grid-2 img {
    width: calc(50% - 3px);
}

.footer {
    background-color: black;
    text-align: center;
    padding: 30px 20px;
    color: white;
}


.tabs {
    padding: 20px 0px;
}

.tab-page {
    display: none;
    border: 3px solid whitesmoke;
    border-top: 0px;
    padding: 30px;
}

.tabs input[type="radio"] {
    display: none;
}

.tab-buttons {
    padding: 0px;
    margin: 0px;
    display: flex;
    background-color: whitesmoke;
}

.tab-buttons>.tab {
    background-color: rgb(224, 224, 224);
    color: rgb(70, 70, 70);
    cursor: pointer;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s;
}

.tabs input[type="radio"]:nth-of-type(1):checked~.tab-buttons>.tab:nth-of-type(1),
.tabs input[type="radio"]:nth-of-type(2):checked~.tab-buttons>.tab:nth-of-type(2),
.tabs input[type="radio"]:nth-of-type(3):checked~.tab-buttons>.tab:nth-of-type(3) {
    background-color: darkorange;
    color: white;
}

.tabs input[type="radio"]:nth-of-type(1):checked~.tab-page:nth-of-type(2),
.tabs input[type="radio"]:nth-of-type(2):checked~.tab-page:nth-of-type(3),
.tabs input[type="radio"]:nth-of-type(3):checked~.tab-page:nth-of-type(4) {
    display: block;

}

.product-suggestions {
    padding: 20px 0px;
}



.product-suggestions>h2 {
    text-align: center;
    width: 100%;
    padding:20px 10px;
}

.product-suggestions>div {
    display: flex;
    justify-content: center;
    gap:20px;

}

.suggestion {
    max-width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    cursor: pointer;
    border:3px solid rgb(233, 233, 233);
    gap:12px;
    min-height:100%;
}

.suggestion h3{
    font-size:1.1rem;
    flex-grow:1;
    display:flex;
    align-items: flex-end;
    justify-content: center;
    text-align:center;
    width:100%;
}

.suggestion span{
    display:flex;
    align-items: center;
    justify-content: center;
    font-weight:bold;
    font-size:1.1rem;
    width:100%;
    padding:6px 10px;
    background-color: darkorange;
    color:white;
}

/* Tablet */
@media only screen and (max-width:1000px) {

    .product-suggestions > div{
        flex-wrap:wrap;
    }

    .suggestion {
        max-width:40%;
    }

    .listing-product {
        grid-template-columns: 1fr;
        padding: 0px;
        gap: 20px;
    }

    .product-info {
        padding: 0px 20px;
        padding-bottom: 20px;
    }

    .listing-cta {
        width: 100%;
        overflow: hidden;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 10px;
    }

}


/* Mobile */

@media only screen and (max-width:700px) {

    .product-suggestions > div{
        display:grid;
        grid-template-columns: 1fr 1fr;
        padding:5px;
        gap:5px;
    }

    .suggestion {
        max-width:100%;
        width:100%;
    }

    .product-suggestions h2{
        padding:20px 10px;
    }

    .product-info {
        padding: 0px 10px;
    }

    .gallery {
        background-color: rgb(190, 190, 190);
    }

    .tab-buttons{
        display:grid;   
        grid-template-columns: 1fr 1fr 1fr;
    }

    .tab-buttons>* {
        flex-grow: 1;
        text-align:center;
        padding:0px;
    }

    .tabs {
        padding: 20px 5px;
    }

    .tab-page {
        padding: 10px 10px;
        text-align: justify
    }

    .listing-nav {
        display: none;
    }

    .listing-cta {
        width: 100%;
        display: block;
        padding: 0px;
        position: relative;
        height: 60px;
        background-color: whitesmoke;
    }

    .listing-cta>div {
        position: absolute;
        inset:0px;
        background-color: inherit;
        opacity:0;
    }

    .listing-cta>div:nth-of-type(1) {
        animation: carosel1 20s linear infinite;
    }
    @keyframes carosel1 {
        0%{opacity:0;}
        5%{opacity:1}
        20%{opacity:1}
        25%{opacity:0}
    }


    .listing-cta>div:nth-of-type(2) {
        animation: carosel2 20s linear infinite;
    }
    @keyframes carosel2 {
        0%{opacity:0;}
        25%{opacity:0;}
        30%{opacity:1}
        45%{opacity:1}
        50%{opacity:0}
    }


    .listing-cta>div:nth-of-type(3) {
        animation: carosel3 20s linear infinite;
    }
    @keyframes carosel3 {
        0%{opacity:0;}
        50%{opacity:0;}
        55%{opacity:1}
        70%{opacity:1}
        75%{opacity:0}
    }

    .listing-cta>div:nth-of-type(4) {
        animation: carosel4 20s linear infinite;
    }

    @keyframes carosel4 {
        0%{opacity:0;}
        75%{opacity:0;}
        80%{opacity:1}
        95%{opacity:1}
        100%{opacity:0}
    }

    .product-usp>p {
        display: grid;
        grid-template-columns: max-content 1fr;
        align-items: center;
    }

}