body {
    margin: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    background-color: #e20019;
    -webkit-text-size-adjust: none;
    background-image: url(../images/redbg.png);
    overflow-x: hidden;
}
html {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.z999 {
    z-index: 999 !important;
}

.fade {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.show {
    opacity: 1;
    visibility: visible;
}
.fade:not(.show) .fade.show {
    opacity: 0;
    visibility: hidden;
}

#bgtestimg {
    height: 136px;
    margin-top: -59px;
}
#photocanv {
    display: none;
}
.landscapebg {
    display: none;
    flex-direction: column;
    background-image: url("../images/redbg.png");
    align-items: center;
    justify-content: center;
    min-width: 100vw;
    min-height: 100vh;
    z-index: 49;
    position: absolute;
    top: 0px;
    color: white;
    font-weight: 700;
    text-align: center;
}
.lstitle {
    margin-top: 4vh;
    margin-bottom: 4vh;
}
.lspic {
    height: 33vh;
    width: auto;
}
.lssubtitle {
    margin-top: 4vh;
}
.deksktopbg {
    display: none;
    flex-direction: column;
    background-image: url("../images/redbg.png");
    background-color: lightgray;
    align-items: center;
    min-height: 100vh;
}
.dtlogo {
    margin-top: 60px;
}
.dttitle {
    text-align: center;
    color: white;
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 1.5em;
    line-height: 1.5em;
}
.dtsubtitle {
    text-align: center;
    color: white;
    padding-top: 10px;
    font-family: "Montserrat";
    /* font-weight: 700; */
    font-size: 0.6em;
    line-height: 0.5em;
    width: 90%;
}
.qrcodeholder {
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 12px;
    border-radius: 12px;
    margin-top: 30px;
}
.scanlogo {
    width: auto;
    height: 10vh;
    margin-left: 2vh;
    margin-top: 1vh;
}
.clearheader {
    display: flex;
    flex-direction: column;
    background-image: url("../images/knitpat.png");
    background-color: lightgray;
    align-items: center;
}
.flexcol {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#ingholder {
    z-index: 4;
    position: absolute;
    top: calc(114px + 100vw);
    width: 100vw;
    height: 15vh;
    background-image: url("../images/whitebg.png");
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-content: start;
}
.ingtable {
    height: 80%;
    width: 95%;
    table-layout: fixed;
}
/* .scanneding {
  background-color: #FFFFFFAA;
  width: 3vh;
  height: 3vh;
  border-radius: 3vh;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 1vh;
} */
.scannedingcontent {
    display: flex;
    width: fit-content;
    background-color: white;
    border: solid 2px #e20019;
    border-radius: 4vh;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    font-size: 1.8vh;
    padding: 0vw 1vw 0vw 2vw;
    font-weight: 700;
    color: #e20019;
    height: 4vh;
    margin: 1vw 0.5vw 0vw 0.5vw;
}
.scannedingtxt {
    padding-top: 0.3vw;
    text-transform: capitalize;
    pointer-events: none;
}
.scannedingclose {
    width: 5vw;
    height: 5vw;
    margin-left: 1vw;
    background-image: url("../images/x.svg");
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}
.adding {
    width: 6vw;
    height: 6vw;
    margin-left: 1vw;
    background-image: url("../images/plus.svg");
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}
.scannedingcloseIng {
    width: 5vw;
    height: 5vw;
    margin-left: 1vw;
    background-image: url("../images/x.svg");
    background-size: cover;
    background-repeat: no-repeat;
}

.ingholdertop {
    z-index: 1;
    position: absolute;
    top: -1rem;
    width: 100vw;
    height: 1rem;
    background-image: url("../images/whitebg_trans.png");
}
.findbut {
    width: 66%;
    max-width: 250px;
    height: 43px;
    background-color: #e20019;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    color: white;
    align-content: center;
    flex-direction: column;
    text-align: center;
    margin-top: 1rem;
}

.resultholderup {
    height: 102vh;
}
.kintline {
    width: 100vw;
    background: conic-gradient(from 135deg at top, #000 90deg, #0000 0) top;
    margin-top: -4vh;
}
.kintlinebrown {
    width: 100vw;
    background: conic-gradient(from 135deg at top, #000 90deg, #0000 0) top;
    margin-top: 2.5vh;
}
.kintlinegrey {
    width: 100vw;
    background: conic-gradient(from 135deg at top, #000 90deg, #0000 0) top;
    margin-top: -3.6vh;
}

.zig-zag-line-red {
    --a: 90deg; /* control the angle */
    --s: 7vh; /* size of the zig-zag */
    --b: 5vh; /* control the thickness */

    /* background: #e20019; */
    background-image: url("../images/knitpat_red.png");
    background-color: #e20019;
    background-position: 0%;
    height: calc(var(--b) + var(--s) / (2 * tan(var(--a) / 2)));
    /* width: 100%; */
    --_g: var(--s) repeat-x conic-gradient(from calc(var(--a) / -2) at bottom, #0000, #000 1deg calc(var(--a) - 1deg), #0000 var(--a));
    mask: 50% calc(-1 * var(--b)) / var(--_g) exclude, 50% / var(--_g);
}
.zig-zag-line-brown {
    --a: 90deg; /* control the angle */
    --s: 7vh; /* size of the zig-zag */
    --b: 2vh; /* control the thickness */

    /* background: #e20019; */
    background-image: url("../images/knitpat.png");
    background-color: #4a270d;
    background-position: 0%;
    height: calc(var(--b) + var(--s) / (2 * tan(var(--a) / 2)));
    /* width: 100%; */
    --_g: var(--s) repeat-x conic-gradient(from calc(var(--a) / -2) at bottom, #0000, #000 1deg calc(var(--a) - 1deg), #0000 var(--a));
    mask: 50% calc(-1 * var(--b)) / var(--_g) exclude, 50% / var(--_g);
}
.zig-zag-line-grey {
    --a: 90deg; /* control the angle */
    --s: 7vh; /* size of the zig-zag */
    --b: 2vh; /* control the thickness */

    /* background: #e20019; */
    background-image: url("../images/knitpat.png");
    background-color: lightgray;
    background-position: 0%;
    height: calc(var(--b) + var(--s) / (2 * tan(var(--a) / 2)));
    /* width: 100%; */
    --_g: var(--s) repeat-x conic-gradient(from calc(var(--a) / -2) at bottom, #0000, #000 1deg calc(var(--a) - 1deg), #0000 var(--a));
    mask: 50% calc(-1 * var(--b)) / var(--_g) exclude, 50% / var(--_g);
}

.topline {
    text-align: center;
    color: #e20019;
    padding-top: 90px;
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 1em;
    line-height: 1em;
}

.video-container {
    margin-top: 114px;
    width: 100vw;
    height: 100vw;
    /* border-radius: 3vh; */
    overflow: hidden;
}
.vid-container-frame {
    position: relative;
    top: -85%;
    background-image: url("../images/vidframe.png");
    background-size: contain;
    background-position: center;
    height: 65vw;
    width: 65vw;
    opacity: 0.8;
    background-repeat: no-repeat;
    left: 17vw;
}

.scanning {
    animation: fadebounce 1s ease infinite;
}
@keyframes fadebounce {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
    }
}

.actionbutton {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#live-stream {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.scanbuthint {
    margin-top: -150px;
    width: fit-content;
    height: 30px;
    background-color: white;
    color: #303030;
    font-size: 3vw;
    border-radius: 25px;
    text-align: center;
    padding: 9px 20px;
    font-weight: 700;
    line-height: 30px;
    z-index: 3;
}
.hintarrow {
    min-height: 20px;
    min-width: 20px;
    position: absolute;
    bottom: -10px;
    left: 47.2%;
    background-color: white;
    transform-origin: center;
    transform: rotate(-45deg);
    scale: 0.8 1;
}
.scanholder {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.scanbutoutline {
    margin-top: -31vw;
    width: 65px;
    height: 65px;
    border: 4px solid #ffffffaa;
    border-radius: 50px;
    background-color: transparent;
    transition: border 1s;
    z-index: 3;
}
.borderfade {
    border: 4px solid #ffffff66;
}
.scanbutinner {
    position: relative;
    top: 6px;
    left: 6px;
    width: 53px;
    height: 53px;
    background-color: white;
    border-radius: 40px;
    opacity: 1;
    transition: opacity 1s;
}
#scanbutring {
    width: 65px;
    height: 65px;
    background-image: url(../images/scanring.png);
    position: relative;
    top: -53px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform-origin: center;
    rotate: -90deg;
}
.scananim {
    animation: scanning 3s linear infinite;
}
@keyframes scanning {
    0% {
        rotate: -90deg;
    }
    100% {
        rotate: 270deg;
    }
}
.disableinner {
    opacity: 0.4;
}

.actionbutton {
    z-index: 4;
    margin-top: auto;
    font-size: 4vw;
    font-weight: 700;
    color: #e20019;
    background-color: white;
    padding: 0.8em 2em 0.8em 2em;
    line-height: 1em;
    margin-bottom: 2em;
    margin-top: 1em;
    border-radius: 2em;
}

.scanings {
    width: 90vw;
    z-index: 4;
    color: white;
    margin-top: 1vh;
    display: flex;
    flex-wrap: wrap;
}
.scaning {
    background-color: #e20019aa;
    /* background-color: #e20019; */
    border-radius: 2em;
    font-size: 4vw;
    padding: 0.3em;
    width: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 0.2em;
    margin-bottom: 0.2em;
    border: solid 0.15em white;
}
.removebut {
    width: 1em;
    height: 1em;
    border: 0.15em white solid;
    border-radius: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    text-align: center;
}
.scaningtext {
    padding-left: 1vh;
    padding-right: 1vh;
}
.bounce-in {
    animation: bounce-in 0.8s ease forwards;
}
@keyframes bounce-in {
    0% {
        opacity: 0;
        scale: 0.3;
    }
    50% {
        opacity: 1;
        scale: 1.05;
    }
    70% {
        scale: 0.9;
    }
    100% {
        scale: 1;
    }
}
.bounce-out {
    animation: bounce-out 0.5s ease;
}
@keyframes bounce-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

.resultholder {
    background-color: white;
    color: #e20019;
    z-index: 25;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#returntitle {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    z-index: 3;
    margin-top: 6.5rem;
    text-align: center;
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 7vh;
}
/* @media (min-width: 767px) {
    #returntitle {
        margin-top: 3vh;
    }
} */
#returnsubtitle {
    font-size: 9px;
    /* font-weight: 700; */
    /* color: white; */
    /* padding: 0.8em 2em 0.8em 2em; */
    line-height: 15px;
    z-index: 3;
    text-align: center;
    margin-bottom: 6px;
    /* margin-top: 0.5em; */
}
.backvisual {
    height: 100%;
}
.hflexscroll {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    position: relative;
    margin-top: 1rem;
}

.toprep {
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;
    width: 70vw;
    background-color: white;
    border-radius: 10px 10px 10px 10px;
    margin: 0vw 2vw;
    height: fit-content;
}
.topreppic {
    width: 70vw;
    height: 40vw;
    background-image: url("../images/rep_sample.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 10px 10px 0px 0px;
    pointer-events: none;
}

.repbut {
    width: 90vw;
    height: 30vw;
    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    margin-top: 5px;
    scale: 0;
}
.reppic {
    width: 24vw;
    height: 30vw;
    background-image: url("../images/rep_sample.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 10px 0px 0px 10px;
    pointer-events: none;
}
.topreppicportion {
    position: relative;
    width: 14vw;
    height: 14vw;
    z-index: 2;
    background-image: url("../images/portion.png");
    background-size: cover;
    background-position: center;
    float: right;
    margin: 1vw;
    pointer-events: none;
}
.reptextholder {
    width: 67%;
    padding: 5px 2px 0px 10px;
    pointer-events: none;
    height: 30vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.reptexttitle {
    font-size: 3.6vw;
    font-weight: 700;
    color: black;
    line-height: 4vw;
    margin-bottom: 3px;
    max-width: 70%;
    min-height: 30px;
    text-align: center;
    margin-top: 8px;
    pointer-events: none;
}
.morereptitle {
    max-width: 100%;
    font-size: 3.6vw;
    line-height: 4vw;
    text-align: left;
}
.centerjust {
    justify-self: center;
}
.prepholder {
    display: flex;
    flex-direction: row;
    color: #e20019;
    font-size: 2.5vw;
    font-weight: 700;
    border: 1px solid #e20019;
    border-radius: 3vw;
    padding: 1.5vw 2vw 1.5vw 2vw;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    margin-top: 1vw;
    line-height: 10px;
    margin-bottom: 15px;
    pointer-events: none;
}
.otherprepholder {
    display: flex;
    flex-direction: row;
    color: #e20019;
    font-size: 2.5vw;
    font-weight: 700;
    border: 1px solid #e20019;
    border-radius: 3vw;
    padding: 1.5vw 2vw 1.5vw 2vw;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    margin-top: 1vw;
    line-height: 10px;
    margin-bottom: 4vw;
    pointer-events: none;
}
hr.vertical {
    width: 0px;
    height: 8px;
    margin: 0px 4px 0px 4px;
    color: lightgray;
    opacity: 0.4;
}
.preptimeicon {
    height: 10px;
    width: 10px;
    margin-right: 3px;
}

#morerep {
    background-image: url(../images/whitebg.png);
    background-size: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: -1;
    padding: 6rem 0;
    transform: translateY(-6rem);
}
.moretitle {
    font-size: 5vw;
    font-weight: 700;
    line-height: 5vw;
    margin: 1rem 0 5px;
    text-align: center;
    width: 80%;
}
.introholder {
    position: relative;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    z-index: 5;
}
.intro {
    /* min-height: 96vh; */
    height: 95dvh;
    background-image: url(../images/redbg.png);
    background-size: auto;
    overflow: hidden;
}
.introup {
    transition: height 1s;
    height: 84px;
}
#nutline {
    margin-top: 85dvh;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    width: 85%;
}
.flake {
    height: 148px;
    width: auto;
    position: absolute;
    top: -33px;
    left: 50%;
    transform: translateX(-50%);
}
/* .flakeleft {
  top: 40px;
  left: -7vw;
}
.flakeright {
  top: 40px;
  right: -7vw;
} */
.ingareaholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 15vh;
    margin-top: -21px;
}
#ingarea {
    position: absolute;
    top: 0;
    height: 15vh;
    overflow-y: scroll;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
}

.searchbtnfixed {
    position: fixed;
    bottom: 7vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    margin-top: 0;
}

@media (min-width: 767px) {
    #nutline {
        width: 67%;
    }
    .introholder {
        margin-top: -6.5em;
    }
    #inputselector {
        top: 7em !important;
    }
    .onboardholder {
        margin-top: calc(3.5em + 13vw) !important;
    }
    #vidholder {
        left: 50%;
        transform: translateX(-50%);
    }
    .video-container {
        width: 80vw !important;
        height: 80vw !important;
    }
    .ingholder {
        top: calc(114px + 80vw) !important;
    }
    .scanbutoutline {
        margin-top: -19vw !important;
    }
    .vid-container-frame {
        height: 50vw !important;
        width: 50vw !important;
        top: -80% !important;
    }
    .hintarrow {
        left: calc(50vw - 90px) !important;
    }
    .tableentry {
        width: 2vw !important;
        height: 1vw !important;
        font-size: 10px !important;
        margin: 0vw 1vw !important;
        border: solid 0.5vw #e20019 !important;
        border-radius: 2vw !important;
    }
    .addingtable {
        /* font-size: 19px !important; */
        top: -1.5vw !important;
        left: calc(50% - 0vw) !important;
        width: 3vw !important;
        height: 3vw !important;
    }

    .backvisual {
        top: 0px !important;
    }
    .onboardmsg {
        width: 51vw !important;
        height: 46vw !important;
        font-size: 3vw !important;
    }
    .onboardstep {
        font-size: 19px;
    }
    .repbut {
        width: 580px !important;
        height: 25vw !important;
    }
    .reppic {
        width: 19vw !important;
        height: 25vw !important;
    }
    .reptextholder {
        height: 26vw !important;
    }
    .morereptitle {
        font-size: 2.5vw !important;
        line-height: 3vw !important;
    }
    .prepholder {
        font-size: 2vw !important;
    }
    #detailsmalltitle {
        font-size: 2.5vw !important;
    }
    #detailmaintitle {
        font-size: 6vw !important;
    }
    #repdetailheader {
        width: 65vw !important;
    }
    .inputcamhand {
        top: 160px !important;
    }
}
#preingmsg {
    font-weight: 700;
    text-align: center;
    color: #303030;
}

.intropanel {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    z-index: 5;
}
.ncicrle {
    width: 60px;
    height: auto;
    margin-bottom: 2vh;
}
.introtext {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
}
.fruitline {
    margin-top: 4vh;
    /* margin-left: -1vw; */
}

.scanhandanim {
    animation: scanhandanim 5s ease infinite;
}
@keyframes scanhandanim {
    0% {
        opacity: 0;
        bottom: -8rem;
        left: 37%;
    }
    20% {
        opacity: 1;
        bottom: -4rem;
        left: 37%;
    }
    40% {
        opacity: 1;
        bottom: -3rem;
        left: 67%;
    }
    70% {
        opacity: 1;
        bottom: -4rem;
        left: 8%;
    }
    90% {
        opacity: 1;
        bottom: -4rem;
        left: 37%;
    }
    100% {
        opacity: 1;
        bottom: -4rem;
        left: 37%;
    }
}
.gobut {
    color: #e20019;
    width: 35%;
    background-color: white;
    border-radius: 4vh;
    padding: 15px 10px 15px 10px;
    text-align: center;
    position: absolute;
    bottom: 13vh;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1em;
    font-weight: 700;
    z-index: 5;
}
#vidholder {
    position: absolute;
    top: 0;
    z-index: 0;
}
#tableholder {
    position: absolute;
    top: 0;
    z-index: 1;
    background-color: white;
    margin-top: 114px;
    width: 100vw;
    height: 100vw;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
}
#kbholder {
    position: absolute;
    top: 0;
    z-index: 1;
    background-color: white;
    margin-top: 114px;
    width: 100vw;
    height: 100vw;
    overflow-y: auto;
    z-index: 2;
}

#inputselector {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    height: 44px;
    width: fit-content;
    /* display: flex; */
    background-color: white;
    border: solid 1px #e20019;
    border-radius: 25px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    z-index: 6;
}
.inputsel {
    /* padding: 4px; */
    min-width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    border: solid 2px white;
    background-color: white;
}
.inputselleft {
    border-radius: 22px 0px 0px 22px;
}
.inputselright {
    border-radius: 0px 22px 22px 0px;
}
.redbg {
    background-color: #e20019;
}
.inputicon {
    height: 19px;
}
.inputcamhand {
    position: absolute;
    top: 139px;
    left: calc(50% - 73px);
    pointer-events: none;
    z-index: 22;
    scale: 0.8;
}

.ingfetch {
    background-color: #e20019;
    z-index: 20;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
}
.floating-image {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}
.waitmessage {
    color: white;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: 700;
    font-size: 5vw;
}

#onboarding {
    background-color: #00000088;
    z-index: 5;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0px;
    left: 0px;
}
.onboardholder {
    display: flex;
    flex-direction: column;
    margin-top: calc(90px + 13vw);
    align-items: center;
}
#onboardhand {
    height: auto;
    /* width: 8vw; */
    width: 33px;
    margin-bottom: 3vw;
    transition: margin-left 0.5s ease-in-out;
    /* margin-left: -24vw; */
}
.handleft {
    margin-left: -110px;
}
.handcenter {
    margin-left: 10px;
}
.handright {
    margin-left: 140px;
}
.onboardmsg {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    background-color: white;
    width: 90vw;
    border-radius: 2vw;
    height: 80vw;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}
.onboardtitle {
    color: #e20019;
    font-size: 20px;
    line-height: 1em;
    margin: 35px 0vw 17px 0vw;
}
.onboardstep {
    color: black;
    margin: 4px 0vw 0vw 0vw;
    line-height: 19px;
}
.onboardstepsmall {
    font-size: 0.9em;
    line-height: 1em;
}
#onboardbut {
    background-color: #e20019;
    padding: 16px 50px 16px 50px;
    border-radius: 50px;
    color: white;
    margin-top: 18vw;
}

.error {
    background-color: #00000088;
    z-index: 20;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0px;
    left: 0px;
}
.errorholder {
    width: 80%;
    padding: 2rem 1rem;
    max-width: 350px;
    height: fit-content;
    max-height: 550px;
    background-color: white;
    border-radius: 15px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
#errtitle {
    color: #e20019;
    font-size: 28px;
    margin-bottom: 2vh;
}
#errmessage {
    font-size: 16px;
    margin-bottom: 3vh;
    line-height: 20px;
}
.errhand {
    height: 6vh;
    width: auto;
    padding: 1vh;
    margin-left: 10vh;
    margin-bottom: 3vh;
}
.poterrimg {
    width: 80%;
    height: auto;
    margin-bottom: 3vh;
}
#errorbut {
    background-color: #e20019;
    color: white;
    padding: 15px 40px 15px 40px;
    border-radius: 30px;
}

.ingtableformat {
    display: flex;
    flex-direction: row;
    margin-top: 10vh;
    margin-bottom: 5vh;
    flex-wrap: wrap;
    justify-content: center;
}
.tableentry {
    width: 13vw;
    font-size: 3vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6vw;
    height: 11vw;
    margin: 0vw 1vw;
    border: solid 1vw #e20019;
    border-radius: 4vw;
    font-weight: 700;
    color: #e20019;
    text-transform: capitalize;
}
.addingtext {
    text-align: center;
    pointer-events: none;
}
.addingtable {
    position: relative;
    top: -4.5vw;
    left: 50%;
    pointer-events: none;
    width: 8vw;
    height: 8vw;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%);
    pointer-events: none;
    background-image: url("../images/plus.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

.kbinput {
    margin-top: 12vh;
    margin-bottom: 2vh;
    border: solid 1px lightgray;
    padding: 22px 16px;
    border-radius: 40px;
    text-align: center;
    min-width: 270px;
}
input {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align: center;
    font-weight: 700;
    font-size: 1em;
    width: 100%;
}
input::placeholder {
    opacity: 0.5;
    text-align: center;
}
#kbinputresults {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8vh;
}

.detailholder {
    background-color: transparent;
    z-index: 25;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    max-height: 100dvh;
    overflow: hidden;
    overflow-y: scroll;
}
.detailback {
    position: fixed;
    top: 80px;
    left: 5vw;
    width: 50px;
    height: 50px;
    z-index: 999;
}
@media (min-width: 767px) {
    .detailback {
        top: 110px !important;
    }
}
#recipedetail {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#repdetailheader {
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 310px;
    margin-top: 120px;
}
#detailsmalltitle {
    font-size: 4vw;
    font-weight: 700;
    color: #573a25;
    margin-bottom: 3px;
}
#detailmaintitle {
    font-size: 8vw;
    font-weight: 700;
    color: #e20019;
    line-height: 8vw;
}
.detaillozengeholder {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 7px;
    margin-bottom: 7px;
}
.detaillozenge {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #573a25;
    font-size: 11px;
    font-weight: 700;
    padding: 4px;
    border: 2px solid #573a25;
    min-width: 80px;
    border-radius: 15px;
    margin: 3px;
}
.detailsubtitle {
    font-size: 11px;
    color: black;
    margin-bottom: 15px;
}
.deatilingborders {
    display: flex;
    flex-direction: row;
    width: 100vw;
}
.detailborder {
    width: 10vw;
    background-image: url("../images/borderbg.png");
    background-repeat: repeat-y;
    background-size: contain;
    margin-top: 40px;
}
.dtdetailborder {
    width: 10vw;
    background-image: url("../images/borderbg.png");
    background-repeat: repeat-y;
    background-size: 80%;
    margin-top: 20px;
    background-position-x: center;
}
.dtcenter {
    display: flex;
    flex-direction: column;
    width: 80vw;
    align-items: center;
    min-height: calc(100vh - 60px);
}
.detailpicholder {
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.detailpic {
    width: 100vw;
    /* max-width: 430px; */
    height: 75vw;
    max-height: 322px;
    background-image: url("https://www.nutella.com/us/sites/nutella20_us/files/2020-09/spiced_pancakes_147_hero.jpg");
    background-position: center;
    background-size: cover;
}
.detailsep {
    width: 100vw;
    height: 60px;
    background-image: url("../images/pattern-red2.png");
    background-repeat: repeat-x;
    background-size: contain;
    z-index: 27;
    position: relative;
}
.detailing {
    background-image: url("../images/redbg.png");
    background-size: auto;
    margin-top: -30px;
}
.detailingholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 57dvh;
    width: 80vw;
    /* margin-top: 100px; */
}
.detailingheader {
    font-size: 4vh;
    font-weight: 700;
    color: white;
    margin-top: 55px;
}
#detailingserve {
    font-size: 3.5vw;
    font-weight: 700;
    color: white;
    line-height: 5vw;
}
#detailinglist {
    text-align: center;
    color: white;
    font-size: 16px;
    max-width: 300px;
    line-height: 22px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
#detaillinkbut {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    color: #e20019;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 8px 8px 15px;
    border-radius: 20px;
    width: 160px;
    margin-top: 18px;
    margin-bottom: 30px;
}
p {
    height: 10px;
}

.seemore {
    font-size: 16px;
    font-weight: 700;
    color: #e20019;
    margin-top: 1rem;
    text-decoration: underline;
}
