/* [Object] Modal
 * =============================== */


.myVideo {
  width: 100%;
  margin-top: 0;
}

.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: left;
  background: rgba(0,0,0, .3);
  transition: opacity .25s ease;
  z-index: 5;
}

.modal__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

.modal-state {
  display: none;
}

.modal-state:checked + .modal {
  opacity: 1;
  visibility: visible;
}

.modal-state:checked + .modal .modal__inner {
  top: 0;
}

.modal__inner {
  transition: top .25s ease;
  position: absolute;
  top: -20%;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  margin: auto;
  overflow: auto;
  background: rgba(255,255,255, 1);
  border-radius: 5px;
  padding: 0.5em 1em;
  height: 85%;

}

.modal__close {
  position: absolute;
  right: 0.5em;
  top: 0.5em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.modal__close:after,
.modal__close:before {
  content: '';
  position: absolute;
  width: 2px;
  height: 1.5em;
  background: #ccc;
  display: block;
  transform: rotate(45deg);
  left: 50%;
  margin: -3px 0 0 -1px;
  top: 0;
}

.modal__close:hover:after,
.modal__close:hover:before {
  background: #aaa;
}

.modal__close:before {
  transform: rotate(-45deg);
}




@media screen and (max-width: 1024px) {
  
  .modal__inner {
    width: 50%;
    height: 95%;
    /* box-sizing: border-box; */
  }
}


@media screen and (max-width: 900px) {
  
  .modal__inner {
    width: 70%;
    height: 95%;
    box-sizing: border-box;
    padding: 0.5em 4.5em;
    text-align: center;
  }
  
  
  .myVideo {
    width: 80%;

   }
}


@media screen and (max-width: 720px) {
  
  .modal__inner {
    width: 95%;
    height: 95%;
    padding: 0.5em 0.5em;
  /*   box-sizing: border-box; */
  }
  
    .myVideo {
    width: 100%;

   }
}



/* Other
 * =============================== */
body {
  /*padding: 1%;
  font: 1/1.5em sans-serif;
  text-align: center;*/
}




.btn {
  cursor: pointer;
/*  background: #27ae60;*/
  display: block;
/*  padding: .5em 1em;*/
  margin-top: 1.5em;
/*  color: #fff;
  border-radius: 3px;*/
}

.btn:hover,
.btn:focus {
/*  background: #2ecc71;*/
filter: saturate(150%);
}

.btn:active {
 /* background: #27ae60;
  box-shadow: 0 1px 2px rgba(0,0,0, .2) inset;*/
}

.btn--blue {
/*  background: #2980b9;*/
}

.btn--blue:hover,
.btn--blue:focus {
/*  background: #3498db;*/
}

.btn--blue:active {
/*  background: #2980b9;*/
}

p img {
 /* max-width: 200px;
  height: auto;
  float: left;
  margin: 0 1em 1em 0;*/
}