/*
Author: Jorge Chavez
Licence: MIT
*/

.wrap{
  width: 80%;
  margin: 0px auto;
  text-align: center;
}



.contribute {
  position: fixed;
  right: -20px;
  top: 20px;
  width: 16em;
  height: 10em;
  overflow: hidden;
  transform: rotate(45deg);
}
.contribute p {
  padding: 3px;
  background-color: #444444;
}
.contribute p a {
  border-top: 1px dashed white;
  border-bottom: 1px dashed white;
  display: block;
  color: white;
  text-decoration: none;
  padding: 2px 0px;
}

.open-modal {
  background-color: #3C3C3C;
  border-radius: 2px;
  box-shadow: 2px 2px 0 #F42A54;
  color: white;
  font-size: 20px;
  padding: 10px;
  transition: all 0.2s ease;
  display: inline-block;
  margin: 10px;
  border-top: 1px solid transparent;
  min-width: 150px;
}

.open-modal:hover {
  cursor: pointer;
  background-color: #E7E7E7;
  color: #3C3C3C;
  border-top: 1px solid #eEeeee;
  box-shadow: 0.2px 0.2px 2px #F42A54;
}

/*以下個人的なカスタマイズ*/

.modal h2, .modal p{
  color:white;
}

.modal h2{
  position:relative;
  font-size: 30px;
  width:100%;
  max-height:15%;
  margin-top:5%;
  margin-bottom:10%;
  padding:5px;
  background-color:rgba(0,72,103,0.8);
  overflow:auto;
}
.modal .modal-text{
  width:100%;
  height:70%;
  padding:5px;
  background-color:rgba(0,72,103,0.8);
  overflow:auto;
}

.modal .modal-text img{
  max-width:100%;
  height:auto;
}

.modal-span{
  cursor:pointer;
  color:red;
  font-weight:bold;
}


@media(max-width:800px){
  .modal h2{
    font-size: 30px;
    max-height:10%;
    margin-top:5%;
    margin-bottom:10%;
  }
  .modal .modal-text{
    width:100%;
    height:75%;
  }

}

