*{
    box-sizing: border-box;
}

main{
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
}

a{
    display: block;
}

.craving_title{
    font-size: 96px;
    background-color: tan;
    color: ivory;
    padding: 64px;
    border-radius: 50%;
}

.all_criteria{
    display: flexc;
    align-items: center;
}


.craving_criteria_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 64px;;
}

.craving_criteria_label{
    font-size: 40px;
}

.craving_criteria{
    border-radius: 48px;
    height: 96px;
    width: 512px;
    font-size: 32px;
    text-align: center;
}

.button_wrapper{
    display: flex;
    align-items: center;
}

#eat_button{
    height: 64px;
    width: 128px;
    border-radius: 32px;
    margin: 10px auto;
    background-color: white;
}

.matching_zone{
    display: none;
    justify-content: center;
    background-color: tan;
    width: 100vw;
}



.business_profile_container{
    zoom: 107%;
    padding: 32px;
    border-radius: 16px;
    margin: 200px;
    box-shadow: -0px 0px 4px 4px lightgray;
    background-color: rgb(250, 250, 250);
    width: 600px;
}

.business_name{
    text-align: center;
    font-size: 32px;
}

.business_profile{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.business_pictures{
    width:50%;
    border-radius: 16px;
    margin: 16px;
    box-shadow: -0px 0px 8px 8px lightgray;
}

.business_criteria{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.profile_field{
    padding: 10px;
    border-radius: 8px;
    background:white;
    flex: 1;
    box-shadow: -0px 0px 7px 7px rgb(234, 234, 235);
    font-size: 16px;
}

.match_inputs_container{
    width: 100%;
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
}

.accept{
    background-image: url("match.PNG");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.reject{
    background-image: url("reject.PNG");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.reject_transition{
    animation-name: reject_animation;
    animation-duration: 2s;
    animation-iteration-count: 1;
}

.accept_transition{
    animation-name: accept_animation;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

.accept, .reject{
    width: 128px;
    height: 128px;
    background-color: transparent;
    border: none;
}


@keyframes reject_animation {
    49%{transform: translate(-1300px, 0px);}
    50%{transform: translate(-1300px, -1028px);}
    52%{transform: translate(0px, -1028px)}
    100%{transform: translate(0, 0);}
}

@keyframes accept_animation {
    25%{transform: translate(0px, -32px);}
    50%{transform: rotate(10deg);}
    75%{transform: rotate(-10deg)}
    100%{transform: translate(0, 0);}
}