body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

article {
    display: grid;
    justify-content: center;
    justify-items: center;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    margin-top: 50px;
    padding: 30px;
    gap: 30px
}

.card {
    border-radius: 10px;
    background-color: #e9e7e78b;
}


.card>img {
    width: 250px;
    height: 250px;
    border-radius: 10px 10px 0px 0px;
}


.basic-information>p:nth-child(1) {
    font-size: 20px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.basic-information>p:nth-child(2),
.basic-information>p:nth-child(3) {
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.basic-information>p:nth-child(2) {
    margin-bottom: 5px;
}



.metric-infomation>img {
    width: 10px;
    height: 10px;
}

.metric-infomation>span:nth-child(2) {
    margin-right: 30px;
}

.number-information {
    margin-top: 20px;
    margin-bottom: 20px;
}

section {
    display: flex;
    justify-content: center;
}

.basic-information,
.metric-infomation,
.number-information {
    margin-left: 20px;
}

.linha {
    width: 100%;
    height: 2px;
    background-color: #000;
    margin-top: 5px;
    margin-bottom: 5px;
}



.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 60px;
}

.buttonPagination {
    width: 30px;
    height: 30px;
    font-size: 18px;
    background-color: #000;
    color: yellow;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 10px;
}


/*modal*/

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 30vh;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

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

.sub-container {
    display: flex;
}

.container-number {
    display: flex;
    flex-direction: column;
    width: 20vw;
    padding-left: 30px;

}

a {
    text-decoration: none !important;
    color: #000;
}

a:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.buttonPagination>a {
    color: #fff !important;
}

.buttonPagination>a:hover {
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
}

form {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

input[type="submit"] {
    height: 40px;
    border-style: none;
    background-color: yellow;
    cursor: pointer;
}

.line {
    width: 70%;
    height: 3px;
    background-color: #000;
    margin-top: 10px;
    margin-bottom: 30px;
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

h2 {
    font-size: 30px;
    height: bold;
    margin-left: 15%;
}

h3 {
    font-size: 25px;
    height: bold;
    margin-left: 15%;
    margin-left: -9px;
    margin-bottom: 20px;
}

.container-rad {
    width: 20vw;

}

#quantity1 {
    margin-bottom: 30px;
}

/*radio*/

.rad-label {
    display: flex;
    align-items: center;

    border-radius: 100px;
    padding: 14px 16px;
    margin: 10px 0;

    cursor: pointer;
    transition: .3s;
}


.rad-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    z-index: -1;
}

.rad-design {
    width: 22px;
    height: 22px;
    border-radius: 100px;

    background: yellow;
    position: relative;
}

.rad-design::before {
    content: '';

    display: inline-block;
    width: inherit;
    height: inherit;
    border-radius: inherit;

    background: hsl(0, 0%, 61%);
    transform: scale(1.1);
    transition: .3s;
}

.rad-input:checked+.rad-design::before {
    transform: scale(0);
}

.rad-text {
    color: hsla(0, 0%, 0%, 0.787);
    margin-left: 14px;
    letter-spacing: 3px;

    font-size: 18px;
    font-weight: 900;

    transition: .3s;
}

.rad-input:checked~.rad-text {
    color: hsl(0, 0%, 0%);
}

/* filter */

.result {
    display: flex;
    justify-content: center;
    margin: auto;
}

.result>p {
    font-size: 32px;
    font-weight: bold;
}

center>button {
    background: #15d798;
    border-radius: 11px;
    padding: 20px 93px;
    color: #ffffff;
    display: inline-block;
    font: normal bold 26px/1 "Roboto", sans-serif;
    text-align: center;
}

/*queries*/

@media screen and (min-width: 600px) and (max-width: 870px) {
    article {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }

    .sub-container {
        flex-direction: column;
    }

    h3 {
        width: 200px;
        margin-left: 0px;
        margin-left: 0px;
        margin-bottom: 0px;
    }

    .container-number {
        width: 50vw;
        padding-left: 0px;
    }
}

@media screen and (min-width: 350px) and (max-width: 600px) {
    article {
        grid-template-columns: repeat(1, minmax(250px, 1fr));
    }

    .sub-container {
        flex-direction: column;
        margin-left: 15px;
    }

    h3 {
        width: 200px;
        margin-left: 0px;
        margin-left: 0px;
        margin-bottom: 0px;
    }

    .container-number {
        width: 70vw;
        padding-left: 0px;
    }

    center>button {
        width: 200px;
        padding: 20px 20px;
        margin-left: -20px;
    }
}

@media screen and (min-width: 0px) and (max-width: 350px) {
    article {
        grid-template-columns: repeat(1, minmax(250px, 1fr));
    }

    .card>img {
        width: 170px;
        height: 170px;
    }

    .sub-container {
        flex-direction: column;
        margin-left: 30px;
    }

    h3 {
        margin-left: 0px;
        margin-left: 0px;
        margin-bottom: 0px;
    }

    .container-number {
        width: 50vw;
        padding-left: 0px;
    }
    center>button {
        width: 200px;
        padding: 20px 20px;
        margin-left: -20px;
    }
}