@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");

:root {
    --dark-gray: #909cac;
    --medium-gray: #c5c7c9;
    --gray: #c5c7c9;
    --light-gray: #dbddde;
    --extra-light-gray: #ebedee;
    --light-gray-bg: #f3f4f5;
    --white: #ffffff;
    --border-radius: 10px;
}

body {
    background-color: #fff;
    padding: 40px;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-gray-bg);
}

/* GLOBAL STYLES */

h1 {
    font-weight: 700;
    font-size: 25px;
    position: relative;
    margin: 0;
}

h1::after {
    content: "";
    width: 9px;
    height: 9px;
    position: absolute;
    border-radius: 50%;
    bottom: 11px;
    right: -11px;
    background-color: var(--dark-gray);
}

h2 {
    background-color: var(--medium-gray);
    height: 22px;
    border-radius: var(--border-radius);
    display: flex;
}

.p-style {
    background-color: var(--light-gray);
    height: 17px;
    border-radius: var(--border-radius);
    display: flex;
    margin: 10px 0;
}

.header-footer {
    background-color: var(--medium-gray);
}

.items {
    display: flex;
    justify-content: space-around;
    flex: 1;
    padding: 20px 0 40px;
    flex-flow: row wrap;
}

.item {
    width: 160px;
    height: 220px;
    background-color: var(--white);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 0;
}

.item.carrousel {
    background-color: transparent;
}

.item img {
    background-color: var(--light-gray);
    width: 80px;
    height: 80px;
    border-radius: 25px;
    margin-bottom: 20px;
    padding: 20px;
}

.item span:nth-child(2) {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 5px;
    align-self: flex-start;
    margin-left: 5px;
}

.item span:nth-child(3) {
    background-color: var(--extra-light-gray);
    border-radius: var(--border-radius);
    align-self: flex-start;
    margin-left: 5px;
}

a.link-style {
    background-color: var(--dark-gray);
    color: var(--white);
    height: 45px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 24px;
    display: flex;
    align-items: center;
    font-weight: 700;
    justify-content: center;
    gap: 5px;
}

a.link-style img {
    width: 35px;
    height: 35px;
}

a.link-style#toggleChat img {
    width: 30px;
    height: 30px;
}

.select {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.select p:first-child {
    max-width: 500px;
    width: 100%;
}

.select p:nth-child(2) {
    max-width: 320px;
    width: 100%;
    margin-bottom: 30px;
}

.select div {
    margin-top: 6px;
}

.select button {
    width: 100px;
    height: 35px;
}

.select button:first-child {
    border: 2px solid var(--medium-gray);
    margin-right: 30px;
}

.select button:nth-child(2) {
    background-color: var(--medium-gray);
    border: 2px solid transparent;
}

/* HEADER */

header {
    display: flex;
    flex: 1;
    justify-content: space-between;
    margin-bottom: 150px;
    padding: 0 50px;
    min-height: 76px;
}

header div:first-child {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

header div:nth-child(2) {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

header div:nth-child(2) span:nth-child(even) {
    background-color: var(--dark-gray);
    width: 100%;
    max-width: 95px;
    height: 16px;
    border-radius: var(--border-radius);
    display: inherit;
}

header div:nth-child(2) span:nth-child(odd) {
    background-color: var(--dark-gray);
    width: 100%;
    max-width: 180px;
    height: 16px;
    border-radius: var(--border-radius);
    display: inherit;
}

header img {
    width: 30px;
    height: 30px;
}

/* HOME */
/* SECTION 1 */

#first-home-container {
    display: flex;
    flex-direction: column;
    background-color: var(--extra-light-gray);
    width: 100%;
}

#first-home-container .content {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    padding-bottom: 60px;
    gap: 20px;
    width: 92%;
    margin: auto;
}

#first-home-container .content .main-text {
    flex: 1;
    margin-top: -30px;
}

#first-home-container .content .main-text div {
    display: flex;
    margin-top: 25px;
    gap: 15px;
}

#first-home-container .content .main-text a {
    padding: 0 12px;
    height: 40px;
    cursor: pointer;
}

#first-home-container .content .main-text h2 {
    width: 100%;
    margin-bottom: 25px;
    max-width: 800px;
    background-color: var(--dark-gray);
}

#first-home-container .content .main-text p:nth-child(2) {
    width: 100%;
    max-width: 615px;
    margin-bottom: 10px;
}

#first-home-container .content .main-text p:nth-child(3) {
    width: 100%;
    max-width: 563px;
}

#first-home-container .content .main-text p:nth-child(4) {
    width: 100%;
    max-width: 461px;
}

#first-home-container .content .pricetag {
    display: flex;
    border-radius: var(--border-radius);
    margin-right: 50px;
}

#first-home-container .content .pricetag .item {
    box-sizing: border-box;
    box-shadow: 0 1px 2px 0 rgba(25, 25, 25, 0.05);
}

#first-home-container .content .pricetag .item span:first-child {
    width: 100%;
    max-width: 100px;
    height: 20px;
    background-color: var(--gray);
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    margin-left: 20px;
}

#first-home-container .content .pricetag .item:first-child {
    margin-top: -70px;
    z-index: 1000;
}

#first-home-container .content .pricetag .item:nth-child(2) {
    margin-left: -42px;
}

#first-home-container .content .pricetag .item span:nth-child(2) {
    height: 15px;
    width: 100%;
    max-width: 80px;
}

#first-home-container .content .pricetag .item span:nth-child(3) {
    height: 15px;
    width: 100%;
    max-width: 40px;
}

/* SECTION 2 */

#second-home-container {
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
}

#second-home-container > div:first-child {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 40px;
}

#second-home-container div #section2-title {
    width: 300px;
}

#second-home-container > div:first-child p {
    width: 200px;
    text-align: center;
    margin-top: -5px;
    background-color: var(--light-gray);
}

#second-home-container .items .item {
    width: 100%;
    max-width: 120px;
}

#second-home-container .items .item span:nth-child(2) {
    width: 84px;
    height: 15px;
    border-radius: var(--border-radius);
    align-self: flex-start;
    margin-left: 5px;
}

#second-home-container .items .item span:nth-child(3) {
    width: 42px;
    height: 15px;
    border-radius: var(--border-radius);
    align-self: flex-start;
    margin-left: 5px;
}

#second-home-container #article {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 180px;
    padding: 20px 0 60px;
    align-items: center;
    width: 70%;
    margin: auto;
}

#second-home-container article h2 {
    width: 100%;
    max-width: 650px;
}

#second-home-container article {
    padding: 20px 20px 0 0;
    flex: 1;
}

#second-home-container article p:nth-child(2) {
    width: 369px;
}

#second-home-container article p:nth-child(3) {
    width: 443px;
}

#second-home-container article p:nth-child(4) {
    width: 543px;
}

#second-home-container article p:nth-child(5) {
    width: 282px;
}

#second-home-container article p:nth-child(6) {
    width: 467px;
}

#second-home-container #article div {
    width: 100%;
    max-width: 250px;
    height: 300px;
    background-color: var(--light-gray);
    border-radius: 30px;
    display: flex;
    justify-content: center;
}

#second-home-container #article img {
    width: 100px;
}

#second-home-container .select p:first-child {
    width: 100%;
    max-width: 500px;
    height: 22px;
}

#second-home-container .select p {
    text-align: center;
    margin-top: -5px;
    margin: 10px;
    width: 100%;
    max-width: 320px;
}

#second-home-container .select button {
    margin-top: 25px;
    border-radius: 50px;
}

/* PRODUCT PAGE */

header#product {
    margin-bottom: 50px;
}

/* SECTION 1 */

#first-product-container {
    width: 100%;
    margin: auto;
    display: flex;
    margin-bottom: 60px;
}

#first-product-container .content-product {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 20px;
    width: 92%;
    margin: auto;
}

#first-product-container .content-product div a {
    width: 130px;
}

#first-product-container .content-product #product-card {
    display: flex;
    justify-self: center;
    flex-flow: row wrap;
    flex: 1;
    gap: 10px;
}

#first-product-container .content-product #product-card #slider {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
    align-items: center;
}

#first-product-container .content-product #product-card #slider #main-item {
    max-width: 300px;
    min-width: 200px;
    height: 215px;
    background-color: var(--light-gray);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#first-product-container .content-product #product-card #slider .slider-items {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    max-width: 300px;
    width: 100%;
}

#first-product-container
    .content-product
    #product-card
    #slider
    .slider-items
    span {
    width: 100%;
    height: 70px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

#first-product-container .content-product #product-card #slider #main-item img {
    width: 75px;
    height: 75px;
    gap: 30px;
}

#first-product-container .content-product .main-text {
    width: 100%;
}

#first-product-container .content-product .main-text#text-product {
    width: 100%;
}

#first-product-container
    .content-product
    .main-text#text-product
    h2:first-child {
    max-width: 557px;
    width: 100%;
}

#first-product-container
    .content-product
    .main-text#text-product
    h2:nth-child(2) {
    max-width: 229px;
    margin-bottom: 40px;
    width: 100%;
}

#first-product-container .content-product .main-text#text-product {
    max-width: 667px;
    width: 100%;
    margin: auto;
}

/* SECTION 2 */

#second-product-container .select {
    margin-bottom: 20px;
}

#second-product-container .select p:first-child {
    margin-bottom: 10px;
    height: 22px;
}

#second-product-container .select button {
    border-radius: 50px;
}

/* FOOTER */

footer {
    background-color: var(--extra-light-gray);
    margin-top: 20px;
}

footer .items {
    padding: 20px 0 20px;
}

footer .items .text h2 {
    height: 20px;
    width: 170px;
    background-color: var(--dark-gray);
}

footer .items .text p {
    height: 16px;
    border-radius: var(--border-radius);
}

footer .items .text p:nth-child(2) {
    width: 200px;
}

footer .items .text p:nth-child(3) {
    width: 160px;
}

footer .items .text p:nth-child(4) {
    width: 180px;
}

footer #footer-end {
    padding-top: -40px;
    border-top: 1px solid var(--gray);
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 120px;
    padding: 20px 0 20px;
    align-items: center;
    max-width: 96%;
    margin: auto;
}

footer #footer-end > div:first-child {
    display: flex;
    flex: 1;
    gap: 10px;
    align-items: center;
}

footer #footer-end > div:first-child div:first-child {
    width: 40px;
    height: 40px;
    background-color: var(--dark-gray);
    border-radius: 50%;
}

footer #footer-end > div:first-child div:nth-child(2) {
    width: 90px;
    height: 20px;
    background-color: var(--dark-gray);
    border-radius: var(--border-radius);
}

footer #footer-end > div:nth-child(2) {
    width: 200px;
    height: 20px;
    background-color: var(--dark-gray);
    border-radius: var(--border-radius);
}

@media screen and (max-width: 768px) {
    /* HEADER */
    header {
        margin-bottom: 80px;
        padding: 0 15px;
    }

    header div:nth-child(2) {
        display: none;
    }

    /* HOME */
    #first-home-container {
        padding: 0;
    }

    #first-home-container .content .main-text h2 {
        width: 100%;
        margin-bottom: 20px;
    }

    #first-home-container .content {
        display: flex;
        justify-content: center;
        flex-direction: column-reverse;
        padding-bottom: 30px;
    }

    #first-home-container .content .pricetag {
        align-self: center;
        margin-right: 0;
        margin-bottom: 20px;
    }

    #first-home-container .content .main-text h2 {
        width: 190px;
    }

    #first-home-container .content .main-text .p-style {
        height: 11px;
    }

    #first-home-container .content .main-text h2 {
        height: 14px;
        margin-top: 40px;
    }

    #first-home-container .content .main-text p:nth-child(2) {
        width: 155px;
    }

    #first-home-container .content .main-text p:nth-child(3) {
        width: 55px;
    }

    #first-home-container .content .main-text p:nth-child(4) {
        display: none;
    }

    #first-home-container .content .main-text a {
        padding: 0 10px;
        height: 25px;
        font-size: 18px;
    }

    a.link-style img {
        width: 25px;
        height: 25px;
    }

    a.link-style#toggleChat img {
        width: 20px;
        height: 20px;
    }

    #first-product-container .content-product #product-card {
        justify-content: center;
    }

    #first-product-container .content-product #product-card #slider {
        align-items: center;
    }

    #first-home-container .content .pricetag {
        margin-right: 0;
    }

    #second-home-container > div:first-child {
        padding: 40px 0;
    }

    #second-home-container div #section2-title {
        width: 230px;
    }

    #second-home-container > div:first-child p {
        width: 148px;
    }

    #second-home-container #article {
        flex-direction: column-reverse;
        display: flex;
        gap: 10px;
        padding-bottom: 20px;
    }

    #second-home-container .items .item {
        max-width: 106px;
    }

    #second-home-container .items .item span:nth-child(2) {
        width: 80px;
    }

    #second-home-container .items .item:nth-child(n + 4) {
        display: none;
    }

    #second-home-container .items .item img {
        width: 57px;
        height: 57px;
    }

    #second-home-container {
        width: 100%;
        margin-bottom: 30px;
    }

    #second-home-container .items {
        gap: 5px;
        flex-flow: nowrap;
        justify-content: center;
    }

    #second-home-container .items .item {
        padding: 0;
        height: auto;
        margin-bottom: 20px;
    }

    #second-home-container article h2 {
        max-width: 300px;
    }

    #second-home-container #article div {
        height: 310px;
        max-width: 310px;
    }

    #second-home-container article p:nth-child(2) {
        width: 200px;
    }

    #second-home-container article p:nth-child(3) {
        width: 270px;
    }

    #second-home-container article p:nth-child(4) {
        width: 300px;
    }

    #second-home-container article p:nth-child(5) {
        width: 180px;
    }

    #second-home-container article p:nth-child(6) {
        width: 270px;
    }

    #second-home-container .select p:first-child {
        width: 330px;
        margin-bottom: 0;
    }

    #second-home-container .select p:nth-child(2) {
        width: 273px;
        margin-bottom: 0;
    }

    /* PRODUCT */

    header#product {
        margin-bottom: 20px;
    }

    #first-product-container {
        margin-bottom: 20px;
    }

    #first-product-container .content-product {
        flex-direction: column;
    }

    #first-product-container .content-product > div:first-child {
        margin-bottom: 20px;
    }

    #first-product-container .content-product div a {
        width: 100px;
        height: 30px;
        font-size: 18px;
    }

    #second-product-container .select p:first-child {
        width: 80%;
    }

    #second-product-container .select p:nth-child(2) {
        width: 60%;
    }

    /* FOOTER */

    footer {
        margin-top: 0;
    }

    footer .items .text:nth-child(n + 5) {
        display: none;
    }

    footer .items .text h2 {
        width: 234px;
    }

    footer .items .text p:nth-child(2) {
        width: 275px;
    }
    footer .items .text p:nth-child(3) {
        width: 160px;
    }
    footer .items .text p:nth-child(4) {
        width: 180px;
    }
    footer .items .text p:nth-child(5) {
        width: 200px;
    }

    footer #footer-end {
        flex-flow: nowrap;
        margin-top: 20px;
    }

    footer #footer-end > div:first-child div:nth-child(2) {
        height: 16px;
    }

    footer #footer-end > div:nth-child(2) {
        width: 50px;
        height: 16px;
    }

    /* GLOBAL STYLES */

    .items {
        gap: 30px;
        align-items: baseline;
    }
}

@media screen and (max-width: 1024px) {
    .items {
        padding-bottom: 10px;
    }

    #second-home-container #article {
        width: 95%;
        gap: 0;
    }

    footer .items .text:nth-child(n + 5) {
        display: none;
    }
}

@media screen and (max-width: 1280px) {
    #second-home-container .items .item:nth-child(n + 7) {
        display: none;
    }

    #second-home-container #article {
        width: 85%;
    }

    #first-product-container .content-product #product-card {
        gap: 40px;
        justify-content: center;
    }
}
