/*@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');*/

/* pacifico-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Pacifico';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/pacifico-v22-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('fonts/pacifico-v22-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }

/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('fonts/roboto-v30-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }
  /* roboto-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('fonts/roboto-v30-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }
  /* roboto-900 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/roboto-v30-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('fonts/roboto-v30-latin-900.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }

:root{
    --primary: #ECFAFE;
    --secondary: #2677c8;
    --shadow: #9dc3e9;
    --borderRadius: 3px;
}

*{
    font-family: 'Roboto', sans-serif;
}

header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

header span{
    width: 20px;
    color: var(--primary);
}

button{
    background-color: var(--primary);
    border: 1px solid var(--secondary);
    border-radius: var(--borderRadius);
    box-shadow: 3px 3px var(--shadow);
    color: var(--secondary);
    cursor: pointer;
}

button:active{
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: var(--borderRadius);
    box-shadow: 2px 2px var(--shadow);
    color: var(--primary);
}

input{
    border: none;
    border-bottom: 2px solid rgba(42, 42, 42, 0.3);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
    border-bottom: 1px solid var(--secondary);
  }

input:focus{
    border-bottom: 1px solid #1460ad;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    box-shadow: 0px 1px 0px #1460ad;
  }

.wrapper{
    max-width: 844px;
    min-width: 350px;
    height: 100%;
    margin: auto;
    padding-bottom: 80px;
}

html, body{
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background-color: #0d2b49;
}

.title{
    font-family: 'Pacifico', cursive;
    color: var(--primary);
    display: flex;
    text-align: center;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    justify-content: center;
    font-size: 60px;
    margin-top: 25px;
    margin-bottom:20px;
    line-height: 65px;
    text-shadow: 2px 2px 0px #C87726;
} 

.subtitle{
    font-weight: 100;
    font-size: 16px;
    margin-top:0px;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-content: center;
    align-items: baseline;
    justify-content: center;
}

.drinks{
    max-width: 800px;
    margin: auto;
}

.drink{
    margin:auto;
    width: 90%;
    background-color: var(--primary);
    border: 1px solid var(--secondary);
    border-radius: var(--borderRadius);
    box-shadow: 3px 3px var(--shadow);
    color: var(--secondary);
    margin-bottom: 15px;
}

.main{
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height:50px;
    display: grid;
    grid-template-columns: 70% 30%;
}

.amount p:nth-child(1){
    font-weight: bolder;
    border-radius:40px;
    width: 30px;
    height: 30px;
    border: solid var(--secondary) 1px;
    background-color: rgb(255, 140, 140);
}

.amount p:nth-child(1):active{
    background-color: rgb(233, 35, 35);
    color:white;
    cursor: pointer;
    border: solid var(--shadow) 1px;
}

.amount p:nth-child(2){
    width: 20px;
    height: 20px;
    font-weight: bolder;
    font-size: 25px;
}

.amount p:nth-child(3){
    font-weight: bolder;
    border-radius:40px;
    width: 30px;
    height: 30px;
    border: solid var(--secondary) 1px;
    background-color: rgb(176, 255, 185);
}

.amount p:nth-child(3):active{
    background-color: rgb(32, 163, 47);
    color:white;
    cursor: pointer;
    border: solid var(--shadow) 1px;
}

.main .amount{
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    margin-top: -1px;
    margin-right: -1px;
    height: 51px;
}

.more {
    display:flex;
    transition: 200ms;
}

.main .description{
    padding-left: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content:left;
}

.amount p{
    margin:0;
    height: 100%;
    width: 33%;
    align-items: center;
    display: flex;
    align-content: center;
    justify-content: center;
}

.price{
    display: flex;
}

.price p{
    margin: 0px;
    align-items: center;
    padding-top:10px;
}

.options{
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    margin: 0 7%;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.options button{
    align-self: flex-end;
    right: 0;
    width: 20%;
    height: 25px;
    background-color: rgb(255, 78, 78);
    box-shadow: none;
    border: none;
    border-radius: var(--borderRadius);
    color: white;
}

.options input{
    height: 30px;
    margin-top: 1px;
    margin-bottom:10px;
    background-color: var(--primary);
    color: var(--secondary);
    padding-top:10px;
    box-sizing: border-box;
}

.changeName {
    width: 30%;
}

.changePrice{
    width: 15%;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.price label{
    font-weight: bolder;
    display: flex;
    align-items: center;
}

.addDrink{
    width: 30px;
    height: 30px;
    border-radius: 40px;
    border: solid var(--secondary) 1px;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    color: var(--secondary);
    margin: auto;
    box-shadow: 2px 2px 1px var(--shadow);
}

.addDrink:active{
    background-color: var(--secondary);
    color:white;
    cursor: pointer;
    border: solid var(--primary) 1px;
    box-shadow: 2px 2px 1px var(--shadow);
}

footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 844px;
    height: 50px;
    margin: auto;
    display: flex;
    justify-content: space-around;
}

footer{
    padding: 0 10px;
    box-sizing: border-box;
}

footer > span{
    width: 15%;
}

.footerButton{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.footerButton > button{
    /*border: none;
    border-radius: 15px;*/
    justify-content: space-evenly;
    display: flex;
    font-weight: bolder;
    width: 100%;
    height: 100%;
    /*background-color: rgb(202, 202, 202);*/
    /*color: black;*/
    font-size: 20px;
    align-items: center;
    flex-wrap: nowrap;
    align-content: center;
    margin-bottom: 35px;
    /*box-shadow: 5px 5px 1px rgb(124, 124, 124);*/
}

.pay{
    width: 50%;
}

#back{
    width: 100%;
}

.pay button:active{
    /*background-color: rgb(66, 66, 66);
    color:white;*/
    cursor: pointer;
    /*box-shadow: 5px 5px 1px rgb(47, 47, 47);*/
}

.prev{
    background-color: white;
    width: 70%;
    margin: auto;
    padding: 40px;
    box-sizing: border-box;
}

.prev h2{
    margin: 0;
    text-align: center;
    margin-bottom: 20px;
}

.prev .billLine{
    display: grid;
    grid-template-columns: 20px 70% auto;
    border-bottom: 1px dashed black;
}

.prev .billLine p{
    margin: 5px;
}

.prev .subTotal{
    text-align: right;
}



.prev{
    background-color: white;
    width: 70%;
    margin: auto;
    padding: 40px;
    box-sizing: border-box;
}

.prev h2{
    margin: 0;
    text-align: center;
    margin-bottom: 20px;
}

.prev .billLine{
    display: grid;
    grid-template-columns: 20px 70% auto;
    border-bottom: 1px dashed black;
}

.prev .billLine p{
    margin: 5px;
}

.prev .subTotal{
    text-align: right;
}

.tip{
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}
.tip p{
    padding-right: 7px;
}

.tip input{
    width:10%;
}

.round{
    color: var(--primary);
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 18px;
}