body{
  position: relative;
  margin: 0px;
  padding: 0;
}

body:before{
  content:'';
  display: block;
  position: absolute;
  height: 100vh;
  left: 0;
  top: -32px;
  width: 100%;
  opacity: 0.8;
  background: url("https://sm.mashable.com/t/mashable_in/photo/default/from-ashneer-grover-to-aman-gupta-heres-the-net-worth-of-the_d2ey.1248.jpg") no-repeat;
  background-size: cover;
}

.line{
  width: 100%;   
  height: 0.25rem;
  background-color: #fff;
  box-shadow: 0 0.2rem;
}
.hamburger-menu{
  width: 3rem;
  height: 3rem;
  position: fixed;
  top:5rem;
  right:5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  cursor: pointer;
}

.sidebar{
  width: 40rem;
  height: 100vh;
  position: fixed;
  top:0;
  right:-40rem;
  opacity: 1;
  background-color: white;
  transition: right 0.4s;
}
.change .sidebar{
  right:0;
}
.menu {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40rem;
}
.menu-item {
  text-align: center;
}
.menu-link {
  font-family: "Baloo Da 2", serif;
  font-size: 3.6rem;
  color: #555;
  position: relative;

}

.menu-link:hover{
  color:red
}  

.shark-tank-brands{
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-evenly;
    row-gap: 20px;
    margin-top: 2rem;
}

.flip-card {
    background-color: transparent;
    width: 400px;
    height: 300px;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: auto;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .flip-card-front {
    background-color: #bbb;
    color: black;
  }
  
  .flip-card-back {
    background-color: #2980b9;
    color: white;
    transform: rotateY(180deg);
    width: 100%;
  }

  .open-button{
    border-radius: 4px;
    background-color: #92b861;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 20px;
    padding: 20px;
    width: 150px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
  }
  
  .open-button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  
  .open-button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
  }
  
  .open-button:hover span {
    padding-right: 25px;
  }
  
  .open-button:hover span:after {
    opacity: 1;
    right: 0;
  }

  @media (max-width:1200px) {
    .shark-tank-brands{
        grid-template-columns: auto auto;
    }
  }
  @media (max-width:750px) {
    .shark-tank-brands{
        grid-template-columns: auto;
    }
  }

  .item-image{
    height: 300px;
  }
  .back-button{
    margin-left: 10px;
    height: 3rem;
    width: 2rem;
    display: block;
    position: absolute;
    z-index: 10;
    cursor: pointer;
  }
  .back-button:hover{ 
    box-shadow: 0 14px 18px 0 rgba(0,0,0,0.2);
  }
  footer{
    position: absolute;
    width: 100%;  
  }