/*COLONES DIMG*/

/* The grid: Four equal columns that floats next to each other */
.column {
  float: left;
  width: 25%;
  padding: 10px;
}

/* Style the images inside the grid */
.column img {
  opacity: 0.8;
  cursor: pointer;
}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  font-family: "Roboto-Regular", sans-serif;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-family: "Roboto-Regular", sans-serif;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */





body {
  color: #7a7a7a;

  background: #ecf0f1;
  padding: 0 1em 1em;
}

h1 {
  margin: 0;
  line-height: 2;
  text-align: center;
}

h2 {
  margin: 0 0 0.5em;
  font-weight: normal;
}

input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* .row {
  display: flex;
}
.row .col {
  flex: 1;
}
.row .col:last-child {
  margin-left: 1em;
} */

/* Accordion styles */


.tabs {

  display: flex;
	flex-direction: row;
	flex-wrap: nowrap; 
	justify-content: flex-start;
	align-items: baseline;
	align-content: flex-start;
  justify-content: flex-start;
  flex-direction: row;
  order:0;
  border-radius: 15px;
  overflow: hidden;
  /* display: block; */
  margin-right: 0.2rem;
  box-shadow: 0 10px 4px -2px rgba(0, 0, 0, 0.5);
  } 


.tab {
  width: 50%;
  color: white;
  overflow: hidden;
  order:0;
  
}
.tab-label {
 
  display:flex;
  flex-direction: row;
  order:0;
  justify-content: flex-start;
  justify-content: space-between;
  padding: 1em;
  background: #2c3e50;
  opacity: 50%;
  font-weight: bold;
  cursor: pointer;
  /* Icon */
}
.tab-label:hover {
  background: #1a252f;
}
.tab-label::after {
  content: "❯";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}
.tab-content {
  
  max-height: 0;
  padding: 0 1em;
  color: #2c3e50;
  background: white;
  transition: all 0.35s;
}
.tab-close {
  display: flex ;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #2c3e50;
  cursor: pointer;
}
.tab-close:hover {
  background: #1a252f;
}

input:checked + .tab-label {
  background: #1a252f;
}
input:checked + .tab-label::after {
  transform: rotate(90deg);
}
input:checked ~ .tab-content {
  max-height: 100vh;
  padding: 1em;
}




/* {box-sizing: border-box} */

/* Container needed to position the ov. Adjust the width as needed */
.container {
  position: relative;
  width: 50%;
  max-width: 300px;
}

/* Make the image to responsive */
.image {
  display: block;
  width: 100%;
  height: auto;
}

/* The ov effect - lays on top of the container and over the image */
.overlay {
  box-sizing: border-box;
  font-family: "Roboto";
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the o title */
.container:hover .overlay {
  opacity: 1;
}

.ingredients {
  width:30%;
    margin: 7px;

}

/* .recipe {
  width:30%;
  margin: 7px;
  border-radius: 12px;
  font-family: "roboto";
  color:white;
  text-align: center;

} */

#ingredients {
  border-radius: 15px;
  position: absolute;
  left: -20vw;
  top: 10vh;
  background-color:gray;
  opacity: 90%;
  width: 20vw;
  height: 80vh;
  transition: left 2s;
}

#recipe {
  border-radius: 15px;
  position: absolute;
  left: -20vw;
  top: 10vh;
  background-color:gray;
  opacity: 90%;
  width: 20vw;
  height: 80vh;
  transition: left 2s;
}



.showLeft {
  left: 0vw !important;
}

#ingredient-button {
  border-radius: 15px;
  position: absolute;
  top: 0px;
  left: 20vw;
  height: 40vh;
  background-color:gray;
  opacity: 90%;
  width: 2vw;
}

#recipe-button {
  border-radius: 15px;
  position: absolute;
  bottom: 20px;
  left:20vw;
  height: 40vh;
  background-color:gray;
  opacity: 90%;
  width: 2vw;
}

#recipe-texte{
  font-family: "roboto";
  color:white;
  text-align: center;
}


