* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: white;
    text-decoration: none;
    display: contents;
    text-decoration: none;
    /* Keeps the text from turning blue/underlined */
    color: inherit;
}

a:hover {
    cursor: pointer;
}

button:hover {
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F3F0DB;
    font-family: "Geist", sans-serif;
}

.navBar {
    height: 125px;
    display: flex;
    align-items: center;
}

.navLogo {
    height: 60%;
    margin-left: 5%;
}

.navLogoText {
    font-family: "Lato", sans-serif;
    color: #3A1313;
    font-size: 40px;
    margin-left: 20px;
    font-weight: 500;
}

.navButton {
    height: 50%;
    width: 250px;
    background-color: #3A1313;
    border-radius: 100px;
    color: white;
    border: none;
    font-size: 30px;
    font-weight: 400;
    font-family: "Geist", sans-serif;
    margin-left: auto;
    margin-right: 5%;
    margin-left: 20px;
}

.navbut2 {
    margin-right: 0px;
    margin-left: auto;
}

.navbut3 {
    margin-right: 5%;
    margin-left: auto;
}

.heroSection {
    min-height: calc(100vh - 125px);
    display: flex;
    justify-content: center;
}

.center {
    width: 90%;
    display: flex;
    align-items: center;
}

.bubbledText {
    display: inline-block;
    border: 2px solid #3A1313;
    border-radius: 100px;
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
    color: #3A1313;
    font-size: 20px;
}

.heroHeader {
    font-size: 85px;
    font-weight: normal;
    color: #3A1313;
}

.bold {
    font-weight: bold;
}

.heroCTA {
    font-size: 32px;
    color: #3A1313;

}

.heroSplitDiv {
    width: 50%;
    margin-bottom: 125px;
}

#apple {
    display: flex;
    justify-content: flex-end;
}

@keyframes itemAnim1 {
    0% {
        transform: translate(0px, 0px);
    }

    100% {
        transform: translate(-60px, 160px);
    }
}

@keyframes itemAnim2 {
    0% {
        transform: translate(0px, 0px);
    }

    100% {
        transform: translate(-130px, 80px);
    }
}

@keyframes itemAnim3 {
    0% {
        transform: translate(0px, 0px);
    }

    100% {
        transform: translate(-145px, -30px);
    }
}

@keyframes itemAnim4 {
    0% {
        transform: translate(0px, 0px);
    }

    100% {
        transform: translate(-105px, -160px);
    }
}

@keyframes itemAnim5 {
    0% {
        transform: translate(0px, 0px);
    }

    100% {
        transform: translate(-0px, -190px);
    }
}

@keyframes itemAnim6 {
    0% {
        transform: translate(0px, 0px);
    }

    100% {
        transform: translate(120px, -180px);
    }
}

@keyframes itemAnim7 {
    0% {
        transform: translate(0px, 0px);
    }

    100% {
        transform: translate(190px, -140px);
    }
}


#anim1 {
    animation-name: itemAnim1;
}

#anim2 {
    animation-name: itemAnim2;
}

#anim3 {
    animation-name: itemAnim3;
}

#anim4 {
    animation-name: itemAnim4;
}

#anim5 {
    animation-name: itemAnim5;
}

#anim6 {
    animation-name: itemAnim6;
}

#anim7 {
    animation-name: itemAnim7;
}


.anim {
    animation-duration: 3s;
    animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    animation-fill-mode: forwards;
    z-index: 1;
}

.polygon {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 45%;
    right: 28%;
}

.star {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 45%;
    right: 28%;
}

.heroImage {
    width: 80%;
    z-index: 2;
}

.imageSection {
    height: 100vh;
    display: flex;
    justify-content: center;

}

.barcodeIMGHolder {
    width: 80%;
    aspect-ratio: 1 / 1;
    height: auto;
    border: #3A1313 3px solid;
    border-radius: 40px;
}

.barcodeIMG {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 40px;
}

.imageHeader {
    font-weight: normal;
    font-size: 70px;
    color: #3A1313;
    margin-bottom: 50px;
}

.input {
    width: 80%;
    height: 70px;
    border-radius: 1000px;
    border: 3px solid #3A1313;
    background-color: #ffffff00;
    margin-bottom: 25px;
    font-size: 25px;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #3A1313;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.fileInputText {
    font-size: 25px;
    font-weight: 500;
}

.fileInput {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.input:focus {
    outline: none;
}

.startButton {
    width: 80%;
    height: 70px;
    border-radius: 1000px;
    background-color: #3A1313;
    color: white;
    outline: none;
    border: none;
    font-size: 25px;
}

.summarySection {
    display: none;
    justify-content: center;
    animation: fadeIn 0.4s ease-out forwards;
}


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


#itemName {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
}

#ingredientList {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

#AISummary {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}

#circleProgress {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
}

.ingredient-animate {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.summaryContent {
    width: 90%;
    margin-bottom: 15px;
}

.itemsummary {
    width: 100%;
    border: #3A1313 3px solid;
    border-radius: 25px;
    margin-bottom: 40px;
}

.margin {
    margin: 40px;
    display: flex;
}

.listText {
    color: #3A1313;
    font-size: 25px;
    width: 70%;
}

.listText2 {
    color: #3A1313;
    font-size: 25px;
}


.summarySplitDiv {
    width: 50%;
}

.summarySplitDiv2 {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

circle-progress::part(base) {
    width: 300px;
    height: auto;
}

circle-progress::part(value) {
    stroke-width: 6px;
    stroke: #3A1313;
}

circle-progress::part(circle) {
    stroke-width: 6px;
    stroke: #3a13132c;
}

circle-progress::part(text) {
    fill: #3A1313
}

.Ingredients {
    margin-top: 15px;
    height: 80px;
    width: 100%;
    border: #3A1313 3px solid;
    border-radius: 1000px;
    display: flex;
    align-items: center;
}


@media only screen and (max-width: 1150px) {

    .heroHeader {
        font-size: 50px;
    }

}

@media only screen and (max-width: 1150px) {

    .heroSection {
        min-height: 0px;
    }

    .center {
        flex-direction: column;
        margin-top: 130px;
    }

    .heroSplitDiv {
        width: 90%;
        margin-bottom: 0px;
    }

    .heroImage {
        width: auto;
        height: 100%;
    }

    #apple {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 500px;
    }

    .polygon {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 70%;
        right: 55%;
    }

    .star {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 70%;
        right: 55%;
    }

    .imageSection {
        height: auto;
    }

    .mobileLessMarginTop {
        margin-top: 50px;
    }

    .heroSplitDivBarcode {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-top: 50px;
    }

    .startButton {
        margin-bottom: 50px;
    }
}

@media only screen and (max-width: 1000px) {
    .navbut1 {
        display: none;
    }

    .navbut2 {
        margin-right: 5%;
        margin-left: auto;
    }


}

@media only screen and (max-width: 958px) {

    .polygon {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 83%;
        right: 55%;
    }

    .star {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 83%;
        right: 55%;
    }

}

@media only screen and (max-width: 700px) {
    .navButton {
        display: none;
    }

    .navBar {
        display: flex;
        flex-direction: column;
    }

    .navLogo {
        margin: 0px;
    }

    .navLogoText {
        margin: 0px;
    }

    .heroSection {
        text-align: center;
    }

    .heroHeader {
        font-size: 30px;
        font-weight: 500;
    }

    .heroCTA {
        font-size: 18px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .heroHeader {
        margin-top: 10px;
    }

    .heroImage {
        width: 100%;
        height: auto;
    }

    #apple {
        height: auto;
    }

    .imageHeader {
        font-size: 30px;
    }

    .fileInputText {
        font-size: 15px;
    }

    .margin {
        display: flex;
        flex-direction: column;
        margin: 20px;
    }

    .summarySplitDiv {
        width: 100%;
    }

    #itemName {
        margin-bottom: 20px;
    }

    .listText {
        font-size: 20px;
        width: 100%;
        margin-bottom: 80px;
    }

    .summarySplitDiv2 {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    circle-progress::part(base) {
        width: 150px;
        height: auto;
    }

    #AISummary {
        font-size: 20px;
    }

    .listText2 {
        font-size: 20px !important;
    }

    #mobile {
        display: block !important;
        font-size: 20px !important;
    }

    #desktop {
        display: none;
    }

    .barcodeIMGHolder {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        align-self: center;
        flex-basis: auto;
        border: #3A1313 3px solid;
        border-radius: 40px;
        overflow: hidden;
    }

    .polygon {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 73%;
        right: 58%;
    }

    .star {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 73%;
        right: 58%;
    }

}

@media only screen and (max-width: 700px) {
    .polygon {
        display: none;
    }

    .star {
        display: none;
    }
}

.footer {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 400;
    font-size: 10px;
    border-top: #3A1313 3px solid;
}

/* about css is here!! blehh if you read this send me a message: tomdejong2009@gmail.com */




.tomIMG {
    width: 80%;
}

.aboutsplit {
    display: flex;
    align-items: center;
    justify-content: center;
}

#biggertext {
    font-size: 30px;
    margin-bottom: 50px;
}

/* extra animations wow!! this will make the page look so awesome. i bet nobody will even read this */

@keyframes weightanimation {
    0% {
        font-weight: 100;
        letter-spacing: normal;
    }

    100% {
        font-weight: 900;
        letter-spacing: -3px;
    }
}

.weightanim {
    animation: weightanimation;
    animation-timing-function: ease;
    animation-direction: alternate;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}


@keyframes arrowAnim {
    0% {
        transform: translate(0px, 0px);
    }

    100% {
         transform: translate(0px, 10px);
    }
}

.arrowAnim {
    animation: arrowAnim;
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
    animation-direction: alternate;
    animation-duration: 0.4s;
    animation-iteration-count: infinite;
}

.buttondownanim{
    box-shadow: 0px 10px 0px 0px #3A1313;
    transition: 0.4s ease;
}

.buttondownanim:hover{
transform: translate(0px, 5px);
box-shadow: 0px 5px 0px 0px #3A1313;
}

.buttondownanim:active{
transform: translate(0px, 10px);
box-shadow: 0px 0px 0px 0px #3A1313;
}