*, *:before, *:after {
  box-sizing: border-box;
}
.wrapper {
  display: flex;
  height: 100%;
  flex-direction: column;
  -ms-flex-direction: column;
  background: black;
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
}

header {
  height: auto;
  z-index: 100;
  padding:10px 0 0 10px;
}

main {
	flex: 1;
	justify-content:center;
	align-items: center;
	height: auto;
	display: flex;
	margin: 0 auto; 
}


footer {
  color: #f1f1f1;
  z-index: 100;
  display: flex;
  height: auto;
  background: yellow;
  background: rgba(32, 233, 160 , 0.4);
  justify-content:left-side;
  align-items: left-side;
  padding: 10px;
  line-height: 1;
  
 }


.contenido {
  position: relative;
  display: flex;
  /*margin: 0 auto;*/
  justify-content:center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  /*padding-top: 150px;*/
  clear: both;
}
.card {
  width: 270px;
  height: 260px;
  color: inherit;
  cursor: pointer;
  perspective: 1000px;
  margin: 1rem;
  position: relative;
}

.front,
.back {
  display: flex;
  border-radius: 40px;
  background-position: center;
  background-size: cover;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: ease-in-out 600ms;
}

.front {
  background-size: cover;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  font-family: Poppins, sans-serif;
}
.front:before {
  position: absolute;
  display: block;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(135deg, #1cff8a, #199c58);*/
  opacity: .25;
  z-index: -1;
}
.card:hover .front {
  transform: rotateY(180deg);
}
.card:nth-child(even):hover .front {
  transform: rotateY(-180deg);
}

.back {
  background: #fff;
  transform: rotateY(-180deg);
  padding: 0 2em;
}
.back .button {
  background: linear-gradient(135deg, #1cff8a, #199c58);
}
.back .button:before {
  box-shadow: 0 0 10px 10px rgba(26, 87, 230, 0.25);
  background-color: rgba(26, 87, 230, 0.25);
}
.card:hover .back {
  transform: rotateY(0deg);
}
.card:nth-child(even) .back {
  transform: rotateY(180deg);
}
.card:nth-child(even) .back .button {
  background: linear-gradient(135deg, #cc041c, #a10013);
}
.card:nth-child(even) .back .button:before {
  box-shadow: 0 0 10px 10px rgba(230, 26, 60, 0.25);
  background-color: rgba(230, 26, 60, 0.25);
}
.card:nth-child(even):hover .back {
  transform: rotateY(0deg);
}
/*
.button {
  transform: translateZ(40px);
  cursor: pointer;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  font-weight: bold;
  color: #fff;
  padding: .5em 1em;
  /*border-radius: 100px;*/
  font: inherit;
  border: none;
  position: relative;
  transform-style: preserve-3d;
  transition: 300ms ease;
}
.button:before {
  transition: 300ms ease;
  position: absolute;
  display: block;
  content: '';
  transform: translateZ(-40px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  height: calc(100% - 20px);
  width: calc(100% - 20px);
  /*border-radius: 100px;*/
  left: 10px;
  top: 16px;
}
*/
.button:hover {
  transform: translateZ(55px);
}
.button:hover:before {
  transform: translateZ(-55px);
}
.button:active {
  transform: translateZ(20px);
}
.button:active:before {
  transform: translateZ(-20px);
  top: 12px;
}
#myVideo {
    margin: 0 auto;
    padding: 0 20px;
    width: 50%;
    background:black;
    border-radius: 0px;
    padding: 0px;
    }
#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
}
#myBtn {
  width: 200px;
  font-size: 18px;
  padding: 10px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

#myBtn:hover {
  background: #ddd;
  color: black;
}