html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    text-decoration: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


body {
    max-width: 67.5rem;
    font-family: Arial, sans-serif;
    background-color: white;
    padding: 2.875rem 2.25rem;
}

.title {
    display: grid;
    grid-template-columns: 6.625rem 1fr;
    gap: .625rem;
    align-items: center;
    margin: 0 auto;
    width: 63rem;
    margin-bottom: 3.875rem;
}

.back {
    width: 3.875rem;
    height: 3.875rem;
}

.carrot-icon {
    width: 6.625rem;
    height: 6.625rem;
    object-fit: contain;
}

.bg_title {
    justify-self: center;
    width: 43.125rem;
    height: 6.4375rem;
    object-fit: contain;
}

.food-grid {
    width: 63rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.0625rem;
}

.food-item {
    width: 19.625rem;
    height: 28rem;
    background-color: white;
    text-align: center;
}

.food-item img {
    width: 100%;
    height: 19.625rem;
    margin-bottom: 3.125rem;
}

.food-item p {
    font-size: 1.875rem;
    font-weight: 600;
    color: #000000;
}

.item-container {
    max-width: 63rem;
    text-align: center;
}

.item-img {
    width: 31.25rem;
    height: 31.25rem;
    margin-bottom: 5.4375rem;
}

.item-title {
    font-size: 3.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3.375rem;
}

.content-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
}

.content-item {
    max-width: 30.375rem;
    height: 9.5rem;
    padding: 2.125rem 1.75rem;
    text-align: center;
    line-height: 9.5rem;
    background-color: #EF863F;
    color: #fff;
    font-size: 1.875rem;
    text-align: left;
}


.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.mask-content {
    box-sizing: border-box;
    width: 54.875rem;
    height: 99.9375rem;
    padding: 3.75rem 1.9375rem;
    margin: 1.25rem auto 0;
    background-color: white;
    border-radius: .5rem;
    position: relative;
}

.close-btn {
    position: absolute;
    top: .625rem;
    right: .9375rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

.mask-content h2,
.mask-content-result h2 {
    font-size: 3.125rem;
    font-weight: 600;
    margin-bottom: 4.5rem;
    color: #333;
}

.nutrient-table {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8125rem;
    width: 100%;
    border-collapse: collapse;
}

.nutrient-table tr {
    border-bottom: .0625rem solid #eee;
}

.nutrient-table td {
    padding: .625rem .3125rem;
    text-align: left;
    color: #666;
}

.calculate-btn {
    width: 100%;
    height: 8rem;
    background-color: #6BE166;
    color: #000000;
    font-size: 2.8125rem;
    font-weight: 600;
    border: none;
    padding: .625rem 1.25rem;
    margin-top: 1.8125rem;
    /* border-radius: .25rem; */
    cursor: pointer;
}

.table-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 24.5rem;
    height: 8.625rem;
    text-align: center;
    background-color: #EF863F;
    color: #fff;
    font-size: 1.875rem;
}

.table-item-big {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 8.625rem;
    text-align: center;
    background-color: #EF863F;
    color: #fff;
    font-size: 1.875rem;
}

.table-item h4 {
    height: 3.5rem;
    font-size: 2.5rem;
}

.decs {
    height: 3.5rem;
    font-size: 2.5rem;
}





.input-container {
    display: flex;
    width: 100%;
    height: 8rem;
    align-items: center;
    background-color: #EF863F;
    color: #fff;
    padding: .5rem .75rem;
    box-sizing: border-box;
}

.input-container input {
    width: 60%;
    margin: 0 2.5rem;
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 3.75rem;
    font-weight: 600;
    outline: none;
}

.input-container input::placeholder {
    font-size: 1.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.unit {
    width: 40%;
    margin-left: 1.25rem;
    font-size: 1.875rem;
    font-weight: 600;
}


.mask-content-result {
    box-sizing: border-box;
    width: 54.875rem;
    height: 99.9375rem;
    margin: 1.25rem auto 0;
    background-color: white;
    border-radius: .5rem;
    position: relative;
}

.nutrient-table-result {
    display: flex;
    flex-wrap: wrap;
    /* gap: 5.625rem; */
    justify-content: space-around;
    width: 100%;
    border-collapse: collapse;
}

.nutrient-table-result .table-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 24.5rem;
    height: 8.625rem;
    text-align: center;
    background-color: #EF863F;
    color: #fff;
    font-size: 1.875rem;
    margin-bottom: 1.875rem;
}

.result {
    width: 100%;
    margin-top: 2.5rem;
    padding-top: 2.75rem;
    height: 20.0625rem;
    background: #D8D8D8;
    font-size: 3.125rem;
    font-weight: 600;
    text-align: center;
}

.result .total {
    font-size: 6.25rem;
}

.result p {
    display: block;
    margin-bottom: 2.5rem;
}