body,html
{
  width: 100%;
}
h2
{
  font-size: 2em;
  margin: 0;
  padding: 0;
  text-align: center;
}


.content
{
  padding-top: 5%;
  overflow: hidden;
}
#bramy
{
width: 100%;
display: flex;
flex-direction: row;
flex-flow: row wrap;
align-items: stretch;
position: relative;
}
.button
{
  width: 400px;
  height: 400px;
}

.roleta
{
  margin-bottom: 10%;
}

      /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */

}
.modal.active
{
  display: block;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin:auto; /* centered */
  overflow: auto;
  top:20%;
  padding: 3%;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  position: relative;
  outline: 1px solid rgb(141, 141, 141);
  outline-offset: -10px;

  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  

}
.header
{
  font-size: 2em;
  color: black;
  font-weight: bold;
  margin: 0 10% 0 10%;
}



.ptext
{
  padding: 5%;
  text-align: left;



  font-size: 1.5em;
  width: 90%;
  max-height:100%;
  display: flex;
  flex-flow: row wrap;
  align-items: center;



}
.ptext p
{
  width: 45%;
  padding: 2%;
  flex-grow: 1;
}
.ptext img
{
  margin: auto;
  height: auto;
  max-width: 100%;
}




/* The Close Button */
.close {
  color: #aaa;
  font-size: 3em;
  font-weight: bold;
  display: block;
  align-self:flex-start;
  position: absolute;
  top: 10px;
  right: 25px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

    h1
    {
      color: whitesmoke;
      font-weight: 400;
      margin: 0;
      padding: 0;
      font-size: 4em;
      z-index: 1;
      position: relative;
      display: inline;
      
    }
    .hline
    {
      background-color: rgba(255, 255, 255, 0.4);
      margin-bottom: 1em;
    }
    .naglowek_rolety
    {
      background-color: rgba(0,0,0,0.6);
      background-size: cover;
      padding: 2%;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .naglowek_rolety:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
    background-image: url('../img/tlo.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-attachment: fixed;
}


@media screen and (max-width: 850px) {
  h1
  {
    font-size: 3em;
  }
  .hline
    {
      display: none;
    }
    .roleta
    {
      margin-bottom: 100px;
    }
    .roleta input 
    {
      width: 300px;
      height: 300px;
    }
  
    /* MODAL BOX */
  .modal-content .ptext
  {
    padding: 5%;
    text-align: left;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1em;
    width: 85%;
    max-height:100%;
  }


  /* KONIEC MODAL BOX */



  }
  /* Media koniec */