<!DOCTYPE html>

<html>

<head>

  <meta charset="utf-8">

  <meta name="viewport" content="width=device-width">

  <title>JS Bin</title>

  <style>

    /*The background*/

    .bg{

  background-image: url("https://images.fineartamerica.com/images-medium-large-5/map-of-ireland-with-flag-art-on-distressed-worn-canvas-design-turnpike.jpg");

  background-repeat: no-repeat;

  background-position: center;

  background-size: cover;

  height: 100%;

}

/*Smaller text in the header*/

h2{

  text-align: center;

  color: #80EDFF;

  font-family: 'Palatino Linotype', 'Book Antiqua';

  text-shadow: 0px 0px 5px black;

}


h1{

  text-align: center;

  color: #80EDFF;

  font-family: 'Palatino Linotype', 'Book Antiqua';

  text-shadow: 0px 0px 5px black;

}

    

    /*Navigation Button the color is just based on the example i used. Feel free to change it.*/

    .button{

      padding: 15px 25px;

      font-size: 24px;

      text-align: center;

      cursor: pointer;

      outline: none;

      color: #fff;

      background-color: #5680ff;

      border: none;

      border-radius: 15px;

      box-shadow: 0 5px #80EDFF;

      display: block;

      margin: auto;

      width: 200px;

      margin-top: 50px;

      font-family: 'Palatino Linotype', 'Book Antiqua';

    }    

    /*If you changed the button color this should be a slightly different shade of that color*/

    .button:hover{background-color: #a5bbff}

    

    /*This background color needs to be the same color as the hover section*/

    .button:active{

      background-color: #3e8e41;

      box-shadow: 0 5px #666;

      transform: translateY(4px);

    }


/*Powered By Text in Footer*/

h5{

  color: red;

  margin-bottom: 0px;

  margin-left: 350px;

}


/*Content Text*/

.content h4{

  text-align: center;

  font-size: 30px;

  color: #42bff4;

  text-shadow: 0px 0px 5px black;

}


/*Ship image in center of page*/

.content img{

  height: 200px;

  width: 200px;

  display: block;

  margin: auto;

}

    

    /*Footer text*/

.footer p{

  text-align: center;

  margin-top: 0px;

  margin-bottom: 0px;

  color: #42bff4;

  text-shadow: 0px 0px 5px black;

}


    /*Powered by Advertisement*/

.footer a{

  margin-left: 425px;

}


    /*Award images*/

.img1 img{

  height: 60px;

  width: 60px;

  padding-left: 10px;

}


.img2 img{

  height: 60px;

  width: 60px;

  padding-left: 10px;

}


.img3 img{

  height: 60px;

  width: 60px;

  padding-left: 10px;

  margin-left: 500px;

}

   

    /*Everything below this is for the Modal Image of the ship*/

    #myImg{

      border-radius: 5px;

      cursor: pointer;

      transition: 0.3s;

    }

    

    #myImg:hover{opacity: 0.7;}

    

    /*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%;

      height: 100%;

      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*/

    }

    

    /*Modal Content(image)*/

    .modal-content{

      margin: auto;

      display: block;

      width: 80%;

      max-width: 700px;

    }

    

    /*Caption of Modal Image */

    #caption{

      margin: auto;

      display: block;

      width: 80%;

      max-width: 700px;

      text-align: center;

      color: #ccc;

      padding: 10px 0;

      height: 150px;

    }

    

    /*Add Animation*/

    .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: 40px;

      font-weight: bold;

      transition: 0.3s;

    }

    

    .close:hover,

    .close:focus{

      color: #bbb;

      text-decoration: none;

      cursor: pointer;

    }

    

    /*100% Image Width on Smaller Screens */

    @media only screen and (max-width: 700px){

      .modal-content{

        width: 100%;

      }

    }

  </style>

</head>

<body>

  <div class="bg">

    <!--This is the Header-->

    <div class="header">

      <h2>Welcome to</h2>

      <h1>www.irishwrecksonline.net</h1>

      <h2>A Diver's Guide to the Ship Wrecks around Ireland</h2>

    </div>

    

    <!--This is the Navigation-->

    <div class="navigation">

      <a class="button" href="http://irishwrecksonline.net/subindex.htm" target="_blank">Click here to enter</a>

    </div>

    

    <br><br>

    <br><br>

    

    <!--This is the page content-->

    <div class="content">

      <img id="myImg" src="http://i.imgur.com/hjyDL1x.jpg" alt="Sunken Ship">

      <h4>10,305 vessels approx. wrecked and/or stranded!</h4>

    </div>

    

    <!-- The Modal -->

    <div id="myModal" class="modal">

      <span class="close">&times;</span>

      <img class="modal-content" id="img01">

      <div id="caption"></div>

    </div>

    

    <script>

      //Get the modal

      var modal = document.getElementById('myModal');

      

      //Get the image and insert it inside the modal - use its "alt" text as a caption

      var img = document.getElementById('myImg');

      var modalImg = document.getElementById("img01");

      var captionText = document.getElementById("caption");

      img.onclick = function(){

        modal.style.display = "block";

        modalImg.src = this.src;

        captionText.innerHTML = this.alt;

      }

      

      //Get the <span> element that closes the modal

      var span = document.getElementsByClassName("close")[0];

      

      //When the user clicks on <span> (x), close the modal

      span.onclick = function(){

        modal.style.display = "none";

      }

    </script>

    

    <br><br>

    <br><br>

    

    <!--This is the footer-->

    <a class="img3" href="http://www.geocities.com/uksteve.geo/award0.html" target="_blank"><img src="http://i.imgur.com/Pvtqj49.jpg"></a>

    <a class="img2" href="http://www.fishswiftsure.com/" target="_blank"><img src="http://i.imgur.com/ZXe0ki9.jpg"></a>

    <a class="img1" href="http://www.nauticalawardsprogram.com/" target="_blank"><img src="http://i.imgur.com/IEQoglt.jpg"></a> 

    

    <div class="footer">

      <p>&copy; irishwrecksonline.net 1997-2014 - All external copyrights respectfully acknowledged</p>

      <p>incorporating www.diveirishshipwrecks.co.uk,

        www.shipwrecksireland.co.uk,

        www.irishshipwrecks.co.uk</p>

      <h5><b><i>Powered by</i></b></h5>

      <a href="http://www.123-reg.co.uk/affiliate.cgi?id=AF176515"><img src="http://www.123-reg.co.uk/images/banners/123domain.gif" border=0></a>

    </div>

  </div>

</body>

</html>