*, ::after, ::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

h1 {
    font-family: cursive;
    width: fit-content;
    margin: 0 auto;
}

h1::after {
    content: '';
    height: 2px;
    width: 100%;
    background-color: white;
    display: block;
    margin-top: 10px;
    animation: colored-line 5s infinite;
    

}

@keyframes colored-line {
    0% {
        background-color: red;
        width: 0;
    }

    50% {
        background-color: #ffa200;
        width: 100%;
    }

    100% {
        background-color: red;
        width: 0;
    }
}




.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 50px;
    position: relative;
    /* background: radial-gradient(lightyellow, yellow 180%); */
}

.app:first-of-type {
    padding: 0;
}

.app .logo {
    position: sticky;
    top: 0;
    left: -200px;
    padding: 10px;
    width: 100%;
    z-index: 20;
}



.app header {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    gap: 10px;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 6px 20px 1px rgba(0, 0, 0, 0.4);
    width: 100%;
    text-align: center;
    position: sticky;
    position: fixed;
    top: 0;
    z-index: 10; 
}

.app header > * {
    flex: 1 1 0;
}

.app header a {
    width: 100px !important;
    text-decoration: none;
    color: black;
    border: 1px solid rgb(255, 222, 36);
    font-weight: 600;
    padding: 10px;
    border-radius: 10px;
}

.app .logo img {
    position: sticky;
    width: 50%;
    -webkit-user-drag: none;
    animation: animatedLogo 2s infinite;
    
}

form {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    border: 0px solid black;
    padding: 20px;
    border-radius: 5px;
    /* box-shadow: 0px 5px 10px 5px rgba(148, 145, 145, 0.808); */
    margin-bottom:  40px;
    animation: animatedShadow 2s infinite;
}

@keyframes animatedShadow {
    0% {
        box-shadow: 0px 5px 10px 5px rgba(255, 222, 36, 0.6);
    }

    20% {
        box-shadow: 0px 5px 10px 5px rgba(255, 231, 18, 0.2);
    }

    40% {
        box-shadow: 0px 5px 10px 5px rgba(250, 228, 28, 0.4);
    }

    100% {
        box-shadow: 0px 5px 10px 5px rgba(255, 222, 36, 0.6);
    }
    
}

@keyframes animatedLogo {
    0% {
        opacity: 1;
    }

    20% {
        opacity: .2;
    }

    40% {
        opacity: .4;
    }

    100% {
        opacity: 1;
    }
}

form .item:last-child {
    margin-bottom: 50px;
}

form button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    margin-bottom: 25px;
    display: block;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 5px;
    border: unset;
    border: 1px solid rgba(0, 0, 0, 0.4);
    color: rgb(117, 117, 117);
    font-weight: 700;
    font-size: 1rem;
    transition: all .4s ease-in-out;
}

form button:hover {
    cursor: pointer;
    background-color:  #f5e162;
    color: white;
    
}



form .item {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

form .item input {
    width: 50px;
    height: 50PX;
    border-radius: 50%;
    text-align: center;
    font-weight: 700;
    padding: 6px;
    transition: all .4s ease-in-out;
}

input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

form .item input:focus {
    background-color: #f5e162;
    border-color: white;
    outline-offset: 5px;
    outline: none;
}

input[type=number] {
    padding: 2px;
    border: unset;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.4);
}


/*Responsive For MOBILE*/

@media screen and (max-width: 450px) {

    header h1 {
        font-size: 1.5rem;
        padding: 10px;
    }


    form.supply-order {
        margin-top: 50px;
    }
    
}

/* Responsive For TABLET */

@media screen and (min-width: 620px) and (max-width: 845px) {
    header h1 {
        font-size: 1.5rem;
    }

    .btn-wrapper > * {
        font-size: .9rem;
    }
}

/* Header Responsive */ 

@media screen and (max-width: 619px) {
    header {
        display: flex;
        flex-direction: column !important;
        gap: 30px !important;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .btn-wrapper > * {
        font-size: .8rem;
    }

    form {
        animation: unset;
    }
}