body{
    background-color: #fdf6e4;
    margin:0;
    font-family: 'Poppins', sans-serif;
    color:#3b484a;
}
img{
    max-width: 100%;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:1rem;
}
header>img{
    width:30%;
    max-width: 20rem;
}
header>nav{
    display:none;
    position:fixed;
    top:6.6rem;
    right:-100%;
    width: calc(100% - 2px);
    display:flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    transition: right 4s ease-in-out;
    border:1px solid #f9545b;
}
header>nav.show{
    right:0;
}
.overlay{
    width:100%;
    height:calc(100% - 6.75rem);
    background-color: #f9545c67;
    position: fixed;
    right:-100%;
    bottom:0;
    transition: right .2s ease-in-out;
}
.overlay.show{
    right:0;
}
header>nav>a{
    text-align:center;
    color:#f9545b;
    padding:3rem;
    border:.025rem solid #f9545b;
    font-weight: 600;
    text-decoration: none;
    position:relative;
}
header>nav>a:hover{
    text-decoration: underline;
    color:#fa7578;
}
header>nav>a:nth-child(3):after{
    content:url(images/wicker-basket.svg);
    position:absolute;
    right:calc(50% - 4.5rem);
    top:2.25rem;
    width:2.5rem;
    height: 2.5rem;
}
header>.hamburger{
    width:3rem;
}
.hamburger>hr{
    border:.125rem solid #f9545b;
    border-radius: .125rem;
}
h1{
    margin:0;
    font-weight: 800;
    font-family: "Kablammo", system-ui;
}
h2{
    font-weight: 900;
    color:#f9545b;
    font-family: "Kablammo", system-ui;
    font-size: 2rem;
}
section{
    background-color:white;
    margin:1rem;
    padding:1rem;
    box-shadow: 3px 3px 0px #3b484a42;
}
section.goods{
    background-color:#f9545b;
    display: flex;
    flex-wrap:wrap;
    justify-content: space-between;
    align-items: center;
}
section.goods>img{
    width:3rem;
    margin:0 .5rem .5rem;
    animation-name: rotate;
    animation-duration:  2s;
    animation-timing-function:  linear;
    animation-iteration-count:  infinite;
    transform-origin: center;
}
section.goods>img:nth-child(3){
    animation-delay: .2s;
}
section.goods>img:nth-child(4){
    animation-delay: .4s;
}
section.goods>img:nth-child(5){
    animation-delay: .6s;
}
section.goods>img:nth-child(6){
    animation-delay: .8s;
}
section.goods>img:nth-child(7){
    animation-delay: 1s;
}
@keyframes rotate{
    from{
        transform: rotate(0);
    }
    to{
        transform: rotate(360deg);
    }
}
section.goods>img:first-child{
    margin-left:0;
}
section.goods>h2{
    color:#fff;
    margin:0;
}
main>section:first-child{
    background-image:url(images/croissant.jpg);
    background-size:cover;
    background-position: center;
    color:#fff;
    padding:3rem 4rem;
    text-shadow: 2px 2px 2px #3b484a42;
}
main>section:first-child>p{
    margin:0;
    font-weight: 600;
}
main>.hours>img{
    width:300px;
    display:block;
    margin:auto;
}
.hours{
    position: relative;
}
.hours h2{
    transform: rotate(90deg);
    transform-origin: center;
    position: absolute;
    top:1rem;
    left:0;
}
main>.hours>div>p{
    display:inline-block;
    width:45%;
}
main>.hours>div>ul{
    display:inline-block;
    width:30%;
}
main>.hours>div>ul{
    padding-right:.5rem;
    width:30%;
}
main>.hours>div>p{
    font-weight: 600;
}
main>.order{
    background-color:transparent; 
    box-shadow: unset;  
}
main>.order>form{
    display:flex;
    flex-wrap:wrap;
    grid-gap:1rem;
    padding:0;
}
.order>form>div{
    width:calc(50% - 2.5rem);
    background-color:white;
    padding:1rem;
    box-shadow: 3px 3px 0px #3b484a42;
    text-align: center;
    display:flex;
    flex-direction:column;
    justify-content: space-between;
}
form>h3{
    color:#f9545b;
}
input[type=submit], input[type=reset], button{
    background-color:#f9545b;
    color:#fff;
    font-weight: 600;
    border:0;
    padding:1rem;
    border-radius: .5rem;
    display: block;
    width:100%;
    margin:.5rem 0;
}
input[type=reset]{
    background-color: #2aac92;
}
input:hover[type=submit], button:hover{
    background-color:#fa7578;
}
input:hover[type=reset]{
    background-color: #4cc7b3;
}
label{
    font-weight: 600;
    display: block;
    text-align: center;
    margin:.5rem auto;
}
input[type=number], [type=text], [type=datetime]{
    border:.125rem solid #2aac92;
    background-color:#fdf6e4;
    border-radius:.5rem;
    padding:.5rem;
    width: calc(100% - 1.25rem);
}
input:focus[type=number], input:focus[type=text], input:focus[type=datetime]{
    border:.125rem solid #4cc7b3;
    outline:none;
}
footer{
    background-color:#2aac92;
    padding:1rem;
    display:flex;
    justify-content: space-between;
    align-items: center;
}
footer>div:first-child{
    display:flex;
    flex-direction: column;
}
footer a{
    color:#fdf6e4;
}
.social img{
    height:3rem;
    width:3rem;
}

.cart.add{
    background-color: #fdf6e4;
    display: block;
    position: fixed;
    width: calc(90vw - 4rem);
    left:5vw;
    top:5vh;
    padding:2rem;
    box-shadow: 3px 3px 0px #3b484a42;
    border:2px solid #2aac92;
    max-height: 80vh;
    overflow: scroll;
}
.oh-no{
    font-size: 2rem;
    font-weight: 900;
    position: absolute;
    top:1rem;
    left:1rem;
    background-color: #4cc7b3;
    padding:2rem;
    width:calc(100% - 6rem);
    z-index: 3;
    border:2px solid white;
    box-shadow: 3px 3px 0px #3b484a42;
    animation: fade-in 1s ease-in-out .3s 1 alternate both;
    display: flex;
    justify-self: center;
    flex-direction: column;
}
.oh-no.remove{
    display: none;
}
dialog{
    position: fixed;
    font-size: 250%;
    top:5vh;
    z-index: 100;
    height: 70vh;
    width: calc(100vw - 10rem);
    text-align: center;
    background-color: #f9545b;
    color: #fff;
    animation: text-color .1s linear infinite alternate;
    font-weight: 900;
    font-family: "Kablammo", system-ui;
}
dialog.success{
    display:block;
}
dialog.get-back{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: unset;
    top:0;
}
dialog .exit{
    background-color: unset;
    left: unset;
    top:unset;

}
.get-back .button{
    background-color: #fff;
    width:100px;
    padding:3rem 2rem .5rem;
}
.get-back:hover{
    background-color: #2aac92;
}

@keyframes text-color {
    from{
        color:#fff;
    }
    to{
        color: #4cc7b3;
    }
}
dialog>img{
    width:5rem;
    animation: rotate 2s linear infinite;
    position: absolute;
}
dialog>img:first-child{
    top:1rem;
    left:1rem;
}
dialog>img:nth-child(2){
    bottom:5rem;
    left:5rem;
}
dialog>img:nth-child(3){
    bottom:5rem;
    left:50%;
}
dialog>img:nth-child(4){
    bottom:5rem;
    right: 5rem;
}
dialog>img:nth-child(5){
    top:1.5rem;
    right: 1rem;
}
dialog>img:nth-child(6){
    bottom:15rem;
    right: calc(50% - 3rem);
}
dialog>img:nth-child(even){
    animation: blowup 2s ease-in-out infinite alternate both;
}
@keyframes blowup {
    from{
        transform: scale(1);
    }
    to{
        transform: scale(2.5);
    }
}
@keyframes fade-in{
    from{
        opacity: 0;
    }
    to{
        opacity:1;
    }
}
.button{
    font-size: 2rem;
    background-color: #fff;
    padding:4rem;
    display: block;
    color:#2aac92;
    text-align: center;
    border-radius: 100%;
    text-decoration: none;
    font-weight:900;
    font-family: "Kablammo", system-ui;
    width: 140px; /* adjust to control the size */
    aspect-ratio: 1;
    --g:/20.56% 20.56% radial-gradient(#000 calc(71% - 1px),#0000 71%) no-repeat;
    mask: 100% 50% var(--g),93.301% 75% var(--g),75% 93.301% var(--g),50% 100% var(--g),25% 93.301% var(--g),6.699% 75% var(--g),0% 50% var(--g),6.699% 25% var(--g),25% 6.699% var(--g),50% 0% var(--g),75% 6.699% var(--g),93.301% 25% var(--g),radial-gradient(100% 100%,#000 38.366%,#0000 calc(38.366% + 1px));

}
.button:hover{
    background-color: #f9545b;
}
.cart h3{
    margin: 0 0 0 4rem;
}
.cart label{
    text-align: left;
}
.cart>form{
    justify-content: flex-start;
}
.cart-items{
    display: flex;
    flex-wrap: wrap;
}
.cart-items>div, .cart>form>div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:2rem;
    
}
.cart-items>div{
    flex-basis: 100%;
}
.cart label{
    width: 100%;
    display: flex;
    justify-content:center;
    gap:.5rem;
}
.exit{
    background-color: #2aac92;
    color:#fff;
    position: absolute;
    top:1rem;
    left:1rem;
    border-radius: 2rem;
    padding:1rem;
}
.exit:hover{
    background-color: #f9545b;
}
.cart{
    display: none;
}
.chat>button{
    position: fixed;
    bottom:1rem;
    right:1rem;
    background-color: #fff;
    font-size: 2rem;
    border: 2px solid #2aac92;
    width: 10rem;
    color: #3b484a;
    padding:.5rem;
    border-radius: 2rem;
    cursor: pointer;
}
.chat>button>span{
    transform-origin: center;
    transform: rotate(180deg);
    display: inline-block;
    transition: transform 1s ease-in-out .5s;
}
.chat>button>span.rotate{
    transform: rotate(0deg);
}
.chat>div{
    position: fixed;
    bottom:-100%;
    right:2rem;
    animation: slide-up 10s ease-in-out 1s 1 forwards;
    background-color: #fff;
    border: 2px solid #2aac92;
    padding:7rem 2rem 2rem;
    font-size: 2rem;
    width:calc(100% - 6rem);
}
.chat>div.hide{
    animation: hide 10s ease-in-out 1s 1 both;
}
.get-back{display: block;}
textarea{
    width:100%;
}
@keyframes slide-up {
    from{
        bottom:-100%;
        right:1rem;
    }
    to{
        bottom:20%;
        right:1rem;
    }
}
@keyframes hide {
    from{
        bottom:20%;
        right:1rem;
    }
    to{
        bottom:-100%;
        right:1rem;
    }
    
}
.chat .exit{
    animation: appear .1s linear 10s 1 both;
}
@keyframes appear {
    from{
        display: none
    }
    to{
        display: block;
    }
    
}
@media (min-width:900px){
    header{
        padding:1rem calc((100% - 56rem)/2);
    }
    header>nav.toggle-nav{
        position: unset;
        background-color: transparent;
        flex-direction: row;
        justify-content: flex-end;
        border:0;
    }
    header>nav>a{
        border:0;
    }
    header>.hamburger{
        display: none;
    }
    h1{
        font-size: 3rem;
    }
    main>section{
        max-width: 56rem;
        margin:1rem auto;
    }
    main>section:first-child{
        padding:8rem 1rem;
    }
    main>section:first-child>h1, main>section:first-child>p{
        width:52rem;
        margin:auto;
    }
    main>.about>img, main>.hours>img{
        width:26%;
        margin-left: 2rem;
        max-width: 300px;
        vertical-align:middle;
        display:inline-block;
    }
    main>.about>div, main>.hours>div{
        display:inline-block;
        width: 68%;
        margin-left:1rem; 
        vertical-align:middle;
    }
    main>.hours{
        padding-left:3rem;
    }
    main>.hours>div>p{
        width:35%;
    }
    .order>form>div{
        width:calc(33% - 2.5rem);
    }
    footer{
        padding:1rem calc((100% - 56rem)/2);
    }
    .cart.add{
        width:50vw;
        left:25vw;
    }
    .chat>div{
        width:calc(40vw - 6rem);
    }
    @keyframes slide-up {
    from{
        bottom:-100%;
        right:1rem;
    }
    to{
        bottom:20%;
        right:30vw;
    }
    }
    @keyframes hide {
        from{
            bottom:20%;
            right:30vw;
        }
        to{
            bottom:-100%;
            right:1rem;
        }
    }
    .oh-no{
        flex-direction: row;
    }
    .button{
            width: 140px; /* adjust to control the size */
    }
}