
body {
  background-image: url(../img/fons1.jpg);
  background-repeat:no-repeat;
  -webkit-background-size:cover;
  -moz-background-size:cover;
  -o-background-size:cover;
  background-size:cover;
  background-position:center bottom;
  background-attachment: fixed;
  color: white;
  text-shadow: 0px 0px 10px #000000;
  font-family: 'Petit Formal Script', cursive;
  overflow: hidden;
  cursor: url(../img/cursor.cur) 0 30, url(http://clubtouring.es/extras/postal-navidad-2016/img/cursor.png) 0 30, auto;
  
}


.content {  width: 100%;  overflow: hidden; }
.content .title {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -60%, 0);
          transform: translate3d(-50%, -60%, 0);
  z-index: 0;
  font-size: 1.5em;
    line-height: 0.8em;
}
.content .title img {  max-width: 80%; }

.content .web-link a { color: aliceblue; text-transform: none; text-decoration: none; font-size: 0.8em; }

button { 
    background:#990000;
    margin:10px 0 0 0;
    padding: 20px 25px;
    font-family: 'Petit Formal Script', cursive;
    color: white;
    cursor: pointer;
    cursor: url(../img/cursor2.cur)0 50, url(http://clubtouring.es/extras/postal-navidad-2016/img/cursor2.png) 0 50, auto;
    -webkit-transition: all 1s;    transition: all 1s;
}
button:hover { background: red;  padding: 20px 35px; }


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    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.9); /* Black w/ opacity */
    cursor: pointer;
    cursor: url(../img/cursor2.cur) 0 50, url(http://clubtouring.es/extras/postal-navidad-2016/img/cursor2.png) 0 50, auto;
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    text-transform: capitalize;
    font-size: 1.5em;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 70px;
    font-weight: bold;
    transition: 0.3s;
}

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



#credits { position: absolute; bottom: 0; right: 0; }
#credits img { width: 40px; }

/*** RESPONSIVE ****/
@media (max-width: 768px) {
    body { overflow-y: auto; }
    #credits {display: none; }
   .content {  width: 1000%;  overflow:auto; }
   .content .title {
      position: absolute;
      
      text-align: center;
      top: 5%;
      left: 0;
       right: 0;
      -webkit-transform: translate3d(0%, 0%, 0);
              transform: translate3d(0%, 0%, 0);
      z-index: 0;
      font-size: 1em;
    }
    .content .title img {  max-width: 70%; }
    
    
    
    .modal-content {        width: 100%;    }
}