/* style for html and body */
html, body {
    width: 100%;
}  
/* style for background image */
body {
    background-image: url("../images/kenny-luo-649778-unsplash.jpg");
    background-size: 100%;
}
/* jumbotron style */
.jumbotron {
    background-color: rgba(173, 235, 235, 0.5);
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 35px;
    width: 100%;
}
/* style for fork images and animation call "flip" */
#left-fork, #right-fork {
    overflow: hidden;
    mix-blend-mode: multiply;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-name: flip;  
    background-color: rgba(173, 235, 235, 0);
    height: 200px;
    width: 200px;   
}
/* style for h1 */
h1 {
    font-size: 100px;
    letter-spacing: 7px;
    padding: 45px;
    color: rgb(255, 194, 102);
    text-shadow: 0 0 3px black, -1px -1px 3px black, 1px 0 3px black, 1px 1px 3px black;
}
/* style for submit button and animation */
.sButton {
    margin: 10px;
	background: linear-gradient(to right, rgb(255, 230, 179), rgb(255, 170, 0));
	color: white;
	--width: 100px;
	--height: calc(var(--width) / 3);
	width: var(--width);
	height: var(--height);
	text-align: center;
	line-height: var(--height);
	font-size: calc(var(--height) / 2.5);
	font-family: sans-serif;
	letter-spacing: 0.2em;
	border: 1px solid #fff;
	border-radius: 2em;
	transform: perspective(500px) rotateY(-15deg);
	text-shadow: 6px 3px 2px rgb(0, 179, 179);
	box-shadow: 2px 0 0 5px rgb(0, 179, 179);
	transition: 0.5s;
	position: relative;
	overflow: hidden;
}
/* style for hover on submit button */
.sButton:hover {
	transform: perspective(500px) rotateY(15deg);
	text-shadow: -6px 3px 2px rgb(107, 129, 129);
	box-shadow: -2px 0 0 5px rgb(214, 241, 241);
}
/* styles for animation on submit button */
.sButton::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, transparent, rgb(173, 235, 235), transparent);
	left: -100%;
	transition: 0.5s;
}
/* style submit button hover */
.sButton:hover::before {
	left: 100%;
}
/* style text for room key */
#roomKey{
    background-color: rgba(241, 214, 156, 0.705);
    color: rgb(61, 57, 53);
    border-style: outset;
    border-color: rgb(117, 207, 207);
}
/* style for room key text field */
#label-key{
    color: rgb(117, 207, 207);
}
/* animation for fork images */
@keyframes flip {
    from {
      -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0)
        rotate3d(0, 1, 0, -360deg);
      transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg);
      -webkit-animation-timing-function: ease-out;
      animation-timing-function: ease-out;
    }
    40% {
        -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 90px)
          rotate3d(0, 1, 0, -190deg);
        transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 90px)
          rotate3d(0, 1, 0, -190deg);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }    
    50% {
    -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 130px)
        rotate3d(0, 1, 0, -170deg);
    transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 130px)
        rotate3d(0, 1, 0, -170deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    }    
    80% {
    -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)
        rotate3d(0, 1, 0, 0deg);
    transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)
        rotate3d(0, 1, 0, 0deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    }
    to {
    -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0)
        rotate3d(0, 1, 0, 0deg);
    transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    }
} 
/* style for h2 and h3 */
h2 {
    color: rgb(243, 193, 118);
    text-shadow: 0 0 1px rgb(41, 39, 39), -1px -1px 1px rgb(41, 39, 39), 1px 0 1px rgb(41, 39, 39), 1px 1px 1px rgb(41, 39, 39);
}
/* style for h3 */
h3{
    color: rgb(117, 207, 207);
    text-shadow: 0 0 1px rgb(41, 39, 39), -1px -1px 1px rgb(41, 39, 39), 1px 0 1px rgb(41, 39, 39), 1px 1px 1px rgb(41, 39, 39);
}
/* style for container */
.container {
    text-align: center;       
    margin-top: 50px;
    background-color: rgba(126, 147, 153, 0.5);
    color: rgb(243, 193, 118);  
    text-shadow: 0 0 0.6px rgb(41, 39, 39), -1px -1px 0.6px rgb(41, 39, 39), 1px 0 0.6px rgb(41, 39, 39), 1px 1px 0.6px rgb(41, 39, 39);
}
/* style for form group */
.form-group {
    text-align: center;
    font-weight: bolder;
    font-size: 28px;
}
/*Styling room-display on the loading page*/
#room-display {
    color: rgb(117, 207, 207);
    font-size: 48px;
}
/* style for p tags */
p {
    text-align: center;       /*need to add*/
    color:rgb(216, 216, 189);
    font-size: 22px;
}
/* style for h4 */
h4{
    text-align: center;
    font-size: 48px;
}
/* style for loader image */
.lds-hourglass {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;    
}
/* style for loader image */
.lds-hourglass:after {
    content: " ";
    display: block;
    border-radius: 50%;
    width: 0;
    height: 0;
    margin: 6px;
    box-sizing: border-box;
    border: 26px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-hourglass 1.2s infinite;
}
/* animation for loader image */
@keyframes lds-hourglass {
    0% {
      transform: rotate(0);
      animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }
    50% {
      transform: rotate(900deg);
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
      transform: rotate(1800deg);
    }
}
/* style for restaurant image */
#rest-img{
    width: auto;  
    height: 200px;  
}
/* style for choices restaurant name */
#name-div{         
    font-weight: bold;
    font-size: 36px;   
}
/* style for choices restaurant rating and cuisine type */
#rating-div, #cuisine-div{ 
    font-size: 25px;
}
/* style for thumbs up image */
#thumbs-up {    
    float: left;   
    margin-left: 40%;  
    width: 70px;    
    height: 50px;
}
/* style for thumbs up hover */
#thumbs-up:hover{
    opacity: 0.7;
}
/* style for thumbs up active */
#thumbs-up:active{
    transform: scale(0.75);
}
/* style for thumbs down image */
#thumbs-down{    
    float: right;    
    margin-right: 40%; 
    width: 70px; 
    height: 50px;
}
/* style for thumbs down hover */
#thumbs-down:hover{
    opacity: 0.7;
}
/* style for thumbs down active */
#thumbs-down:active{
    transform: scale(0.75);
}
/* style for results restaurant name */
#choice-div{         
    font-weight: bold;
    font-size: 36px; 
    color: rgb(243, 193, 118);   
}
/* style for results address */
#address-div{
    font-size: 25px;
    color: rgb(243, 193, 118); 
}
/* style for map image */
#map-div {
    width: 300px;
    height: 150px;
    margin: inherit;
}
/* style for responsive website ipad size */
@media screen and (max-width: 1024px) { 

    #left-fork, #right-fork {
        display: flex;
    }
    .jumbotron {
        padding-top: 60px; 
        text-align: center;
    }
    h1 {
        font-size: 60px;
    }
    body {
        background: cover;
        background-position: center;
    }
    #thumbs-up{
        margin-left: 15%;
    }
    #thumbs-down{
        margin-right: 15%;
    }
}
/* style for responsive website iphone size */
@media screen and (max-width: 768px) {     
    .jumbotron {        
        padding-top: 60px;
    }
    #left-fork, #right-fork{
        display: none;
    }
    h1 {
        font-size: 50px;
        padding-left: 18px;
    }
    body {
        background-size: cover;
        background-position: center;
    }
    p {
        color: white;
        background-color: rgb(126, 147, 153);
        opacity: 0.7;
        width: 95%;
        margin-top: 40px;
    }  
    #thumbs-up{
        margin-left: 15%;
    }
    #thumbs-down{
        margin-right: 15%;
    }
}

