@charset "utf-8";
.data {
    padding: 80px 20px;
    width: 100%;
    min-height: 100vh;
}

.table {
    width: 100%;
    padding: 80px 20px;
}

.table img {
    width: 100%;
}

.products {
    min-height: 100vh;
    width: 100%;
    gap: 20px;
    padding: 40px 20px;
}

@media (min-width:200px) {
    .products img {
        width: 80%;
        height: auto;
        border-radius: 8px;
    }
}

@media (min-width:666px) {
    .products img {
        width: 300px;
        height: 210px;
        border-radius: 8px;
    }
}

.products img:hover {
    cursor: pointer;
}


/* 
table {
    border-collapse: collapse;
    border: 2px solid var(--b);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

caption {
    font-size: 40px;
    font-weight: 600;
    margin: 12px;
}

table thead tr th {
    background-color: var(--b);
    color: var(--w);
    font-size: 18px;
    padding: 5px 16px;
}

table tbody tr td {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 5px;
    border-left: 1px solid var(--b);
}

table tbody tr:nth-child(even) {
    background-color: var(--yl);
} */


/* @media (max-width:700px) { */

tbody {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}


caption,
table thead {
    display: none;
}

table,
td,
tr {
    display: block;
    border: none;
}

tr {
    margin-bottom: 16px;
    border: 1px solid black;
    width: 330px;
}

table tbody tr td {
    border: none;
    text-align: right;
    padding: 0;
    border-bottom: 1px solid black;
    font-weight: 600;
}

table tbody tr td:last-child {
    border: none;
}

td::before {
    content: attr(data-label);
    position: absolute;
    right: 0;
    width: 30%;
    padding: 10px 10px 10px 0;
    font-weight: 700;
}

td {
    padding: 0;
    padding-right: 30% !important;
    position: relative;
    background-color: var(--yl);
    color: var(--b);
}

td span {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: var(--w);
    color: #000000;
}


/* } */

@media (min-width:666px) {
    .products img.display {
        position: fixed;
        top: 150px;
        z-index: 80;
        width: 640px;
        height: 440px;
        box-shadow: 0 0 10px #000000;
    }
}

@media (max-width:665px) {
    .products img.display {
        position: fixed;
        box-shadow: 0 0 10px #000000;
        top: 150px;
        z-index: 80;
        width: 80%;
    }
}

.closeimg {
    position: fixed;
    top: 100px;
    right: 20px;
    box-shadow: 0 0 3px #000000;
    width: 50px;
    height: 50px;
    font-size: 30px;
    color: var(--w);
    background-color: var(--b);
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 80;
}

#closeimg.display {
    display: flex;
    align-items: center;
    justify-content: center;
}