.productPopup {
    z-index:101;
}

.popup {
    height:50vh;
}

#wrapperConfiture {height:50vh;background-color:#293f2a;}
#wrapperConfiture td {border-bottom: 1px solid #5a6b5b;}
#wrapperConfiture td:hover{background-color: #40513f;}

#wrapperGelees {height:50vh;background-color:#E9B0D1;}
#wrapperGelees td {border-bottom: 1px solid white;}    
#wrapperGelees td:hover{background-color: #eec3db;}
#wrapperGelees h3 {color:#66608d;}

#wrapperChutney {height:50vh;background-color:#E6213B;}
#wrapperChutney td {border-bottom: 1px solid white;} 
#wrapperChutney td:hover {background-color: #eb7f85;}
#wrapperChutney h3{color:white;}

#wrapperCaramel {height:50vh;background-color:#8C3716;}
#wrapperCaramel td {border-bottom: 1px solid white;} 
#wrapperCaramel td:hover {background-color: #ab847d;}
#wrapperCaramel h3{color: #293f2a;}

#wrapperMiel {height:50vh;background-color:#F8B123;}
#wrapperMiel td {border-bottom: 1px solid white;}    
#wrapperMiel td:hover{background-color: #f9c47f;}
#wrapperMiel h3{color:#3f6029;}

#wrapperSuperFoods {height:50vh;background-color:#CFE7DD;}
#wrapperSuperFoods td {border-bottom: 1px solid white;}    
#wrapperSuperFoods td:hover{background-color: #daece4;}
#wrapperSuperFoods h3{color:#3f6029;}

.productPopup .wrapper {
    display:grid;
    grid-template-columns: 50% 50%;
    grid-gap: 0;
    padding: 0;
}

.productPopup table {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    font-size: 1em;
    color:white;
    line-height: 200%;
}

.productPopup td {
    height:10vh;
}

.productPopup td:active{
    background-color: white;
    color:#1b351c;
}

.productTabTitle{
    grid-column: 1;
    grid-row: 1;
    margin: 10% auto 10% auto;
    text-align: center;
}
.productTabTitle h1 {
    font-size: 2.5em;
    margin-bottom: 0;
}

.productTab {
    grid-column: 1;
    grid-row: 2;
    overflow: auto;
    box-shadow: 0px 5px 2px 0px rgba(0, 0, 0, 0.3) inset;
}

.popupImg {
    grid-column: 2;
    grid-row-start: 1;
    grid-row-end: 3;
    background-color: white;
    color:#1b351c;
    text-align: center;
}

.popupImg {
    display: flex;
}

.productPopup .itemDescription{
    margin:auto;
    font-family: "Berlingske Serif";
}


.productTab h1 {
    text-align: center;
    margin-top:1em;
    margin-bottom:1em;
    color:white;
    font-weight: lighter;
    font-size:2.5em;
}

@media only screen and (max-width:600px) {
    .productPopup .wrapper {
        grid-template-columns: auto;
        grid-template-columns: 100%;
    }
    
    .productPopup .popupImg {
        visibility: hidden;
    }
    .itemDescription {
        display: none;
    }
}


.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: auto;
  transform: translateY(50%);
  padding: 0;
  background: #293f2a;
  border-radius: 5px;
  width: 50vw;
  position: relative;
  transition: all 1s ease-in-out;
  z-index: 10000;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}