@charset "UTF-8";
/* CSS Document */
html {
  scroll-behavior: smooth;
}


body {
	font-family: "Quicksand", sans-serif;
	margin-left: 20px;
	font-size: 18px;
}

.buttons {
	display: flex;
    margin-bottom: 20px;
	gap: 10px;
	flex-wrap: wrap;
}

.buttons button {
	background: none;
	border: 1px solid #000;
	padding: 10px 20px;
	cursor: pointer;
	-webkit-box-shadow: 0px 10px 13px -7px #000000, 8px 8px 7px 6px rgba(0,0,0,0.12); 
	box-shadow: 0px 8px 10px -5px #000000, 6px 6px 5px 4px rgba(0,0,0,0.12);
}

form input,
form input[type="submit"] {
	background: none;
	border: 1px solid #000 !important;
	padding: 10px 20px;
	-webkit-box-shadow: 0px 10px 13px -7px #000000, 8px 8px 7px 6px rgba(0,0,0,0.12); 
	box-shadow: 0px 8px 10px -5px #000000, 6px 6px 5px 4px rgba(0,0,0,0.12);
	outline: none;
}

form input[type="submit"] {
	background: #000;
	color: #fff;
	cursor: pointer;
	margin-left: -10px;
}

form input[type="submit"]:active,
form input[type="submit"]:focus,
form input[type="submit"]:hover {
	background: #fff;
	color: #000;
}

.container-cocktails {
	display: flex;
	width: 100%;
	gap: 20px;
	flex-wrap: wrap;
}

.cocktail {
	display: flex;
	width: calc(33.3% - 60px);
	cursor: pointer;
	flex-direction: column;
    border: 1px solid black;
	-webkit-box-shadow: 0px 10px 13px -7px #000000, 8px 8px 7px 6px rgba(0,0,0,0.12); 
	box-shadow: 0px 10px 13px -7px #000000, 8px 8px 7px 6px rgba(0,0,0,0.12);
    padding: 20px;
    border-radius: 12px;
	font-size: 0.9em;
 
	
	/* ANIMATION */
	-webkit-transition: -webkit-transform .8s;
    -moz-transition: -moz-transform .8s;
    -o-transition: -o-transform .8s;
    transition: transform .8s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 50% 50%;
	background: #fff;
	
}

.present {
	background-color: rgba(19,10,162,0.20) !important;
}

.y {
		background-color: rgba(177,0,2,0.30)
}

/*.cocktail.animation {
	-webkit-animation: flip-vertical-left 0.6s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
	        animation: flip-vertical-left 0.6s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}*/

.cocktail .overview,
.cocktail .receipt {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}

.cocktail h2 {
	display: flex;
	font-size: 1.3em;
}

.overviewImg img {
    display: flex;
    width: 100%;
	padding-bottom: 20px;
}

.receipt {
	display: none;
	flex-direction: column;
	
	/* ANIMATION */
	-webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}

.active {
	-webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}

.active .receipt{
	display: flex;
	width: 100%;
}

.active .overview {
	display: none;
	width: 100%;
}

.active .receipt .made {
	display: flex;
	flex-direction: column;
	margin-bottom: 15px;
}

.active .receipt .ingredients {
	/*display: flex;
	/*flex-direction: column;*/
	margin-bottom: 15px;
}

.active .receipt .garnish {
	margin-bottom: 15px;
}

.active .receipt .garnish, 
.active .receipt .variant {
	display: flex;
	flex-direction: column;
}

.row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
}

.row .title {
	width: 70%;
	font-weight: bold;
}

.row .title.fullWidth {
	width: 100%;
	font-weight: normal;
}

.row .detail {
	width: 30%;
}

.button {
	background: #fff;
	color: #000;
}
/*
.button button:hover {
	background: #000;
	color: #fff;
}*/

.button.random {
	flex-basis: 100%;
 	width: 0;
}

.button.random button {
	background-color: #130AA2 !important;
	color: #fff !important;
}

/*
.button.random button:hover {
	background: #fff;
	color: #130AA2;
}*/

.buttons h2 {
	flex-basis: 100%;
 	width: 0;	
}

/*
.active .receipt .made  .title,
.active .receipt .tableClass  .title,
.active .receipt .title.garnish {
	flex: 20%;
	width: 20%;
}

.active .receipt .made  .detail,
.active .receipt .tableClass  .detail,
.active .receipt .detail.garnish {
	flex: 80%;
	width: 80%;
}
*/

#scrollBtn {
  display: none; 
  position: fixed; 
  bottom: 50px;
  right: 50px; 
  z-index: 9999; 
  border: #000 solid 1px; 
  background-color: #000; 
  color: #fff; 
  cursor: pointer; 
  padding: 15px 30px; 
  border-radius: 10px; 
  font-size: 30px; 
  padding: 20px 23px 2px 23px;
}

#scrollBtn:hover {
  background-color: #fff; 
  color: #000;
}

.arrow {
  border: solid #fff;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 10px;
}

#scrollBtn:hover .arrow {
	border: solid #000;
	border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 10px;
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}




/* --------- ANMIATION ---------- */
/*@-webkit-keyframes animation {
  0% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
  }
  100% {
    -webkit-transform: rotateY(-180deg);
            transform: rotateY(-180deg);
  }
}
@keyframes animation {
  0% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
  }
  100% {
    -webkit-transform: rotateY(-180deg);
            transform: rotateY(-180deg);
  }
}*/


/* --------------------------------- */
/* ----------RESPONSIVE------------- */
/* --------------------------------- */

@media only screen and (max-width: 1000px) {
	
	body {
		margin: 20px;
	}
	
	.buttons {
		margin-bottom: 50px;
    	margin-top: 50px;
	}
	
	button, form input {
		font-size: 22px;
		padding: 10px 15px
	}
	
	.cocktail {
		width: calc(50% - 60px);
	}
	
	
	#scrollBtn {
	  bottom: 20px;
	  right: 20px; 
	}
}

@media only screen and (max-width: 500px) {
		
	body {
		font-size: 1.4em;
	}
	
	.cocktail {
		width: 100%;
	}
	
	.buttons {
		display: flex;
    	width: 100%;
    	flex-flow: column;
	}
	
	.buttons button {
		width: 100%;
	}
	
	form {
		width: 100%;
		gap: 0;
		display: flex;
	}
	
	form input[type="text"]{
		width: 65%;
	}
	
	form input[type="submit"]{
		width: 35%;
	}
	
	.button.random {
		width: 100%;
	}
	
	.active .receipt .garnish {
		margin-bottom: 10px;
	}
	
	
	#scrollBtn {
	  bottom: 10px;
	  right: 10px; 
	}
}







