@import url(https://fonts.googleapis.com/css?family=Nunito);

html {
  height: 100%;
  overflow: hidden;
}

body { 
  margin:0;
  padding:0;
	perspective: 1px;
	transform-style: preserve-3d;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  font-family: Nunito;
}

h1 {
   font-size: 250%
}
h2 {
  font-size: 200;
  margin-left: 25px;
}

p {
  font-size: 140%;
  line-height: 150%;
  color: #333;
}

.slide {
  position: relative;
  padding: 25vh 10%;
  min-height: 10vh;
  width: 100vw;
  box-sizing: border-box;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, .7);
	transform-style: inherit;
  margin: 0%;
}
.slide:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, .7);
}

.title {
  width: 50%;
  padding: 5%;
  border-radius: 5px;
  background: rgba(240,230,220, .8);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
}

.slide:nth-child(2n) .title {
  margin-left: 0;
  margin-right: auto;
}

.slide:nth-child(2n+1) .title {
  margin-left: auto;
  margin-right: 0;
}

.slide, .slide:before {
  background: 50% 50% / cover;  
}

.header {
  text-align: center;
  font-size: 175%;
  color: #fff;
  text-shadow: 0 2px 2px #000;
}

#title {
    background: #222;
}

#title h1,title h2 {
 transform: translateZ(.25px) scale(.75);
 transform-origin: 50% 100%;
}
#title p {
    transform: translateZ(.25px) scale(.75);
    transform-origin: 50% 100%;
    color: #fff;
    text-align: left;
    font-size: 80%;
    margin: 1px;
   }
   #title li {
    transform: translateZ(.25px) scale(.75);
    transform-origin: 50% 100%;
    color: #fff;
    text-align: left;
    font-size: 80%;
    margin: 1px;
   }

#slide1 {
  background-image: url("1.jpg");
  z-index:2;
}

#slide2:before {
  background-image: url("2.jpg");
  transform: translateZ(-1px) scale(2);
  
}

#slide3 {
  background-image: url("3.jpg");
  z-index:2;
}

#slide4:before {
    background-image: url("4.jpg");
    transform: translateZ(-1px) scale(2);
  }

  #slide5 {
    background-image: url("5.jpg");
    z-index:2;
  }

#slide6 {
  background: #222;
}
#slide6 p {
    transform: translateZ(.25px) scale(.75);
    transform-origin: 50% 100%;
    color: #fff;
    text-align: left;
    font-size: 80%;
    margin: 1px;
   }
   #slide6 li {
    transform: translateZ(.25px) scale(.75);
    transform-origin: 50% 100%;
    color: #fff;
    text-align: left;
    font-size: 80%;
    margin: 1px;
   }
   #slide6 .contact-button {
    transform: translateZ(0.25px) scale(0.75);
    transform-origin: 50% 100%;
    color: #fff;
    text-align: left;
    font-size: 80%;
    margin: 1px;
    display: inline-block;  /* Ensure it's inline-block or block for proper styling */
   }
   #slide6 h1{
    transform: translateZ(.25px) scale(.75);
    transform-origin: 50% 100%;
    color: #fff;
    text-align: left;
    font-size: 200%;
    margin: 1px;
   
}

#slide7 {
  background-image: url("7.jpg");
  z-index:2;
}
#slide8:before {
  background-image: url("8.jpg");
  transform: translateZ(-1px) scale(2);
  
}

#slide9 {
  background-image: url("9.jpg");
  z-index:2;
}

#slide10:before {
    background-image: url("10.jpg");
    transform: translateZ(-1px) scale(2);
  }

  #slide11{
    background-image: url("11.jpg");
    z-index:2;
  }
  .custom-img1{
    position: absolute;
    top: 1090%;
    left: 35%;
    width: 320px;
    height: 240px;
    transform: translateZ(.25px) scale(.75) translateX(-94%) translateY(-100%) rotate(2deg);
    padding: 10px;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, .7);
  }
  
  .custom-img1:last-of-type {
    transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
  }
  .custom-img2{
    position: absolute;
    top: 25%;
    left: 35%;
    width: 320px;
    height: 240px;
    transform: translateZ(.25px) scale(.75) translateX(-94%) translateY(-100%) rotate(2deg);
    padding: 10px;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, .7);
  }
  
  .custom-img2:last-of-type {
    transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
  }
  .custom-img3{
    position: absolute;
    top: 25%;
    left: 65%;
    width: 320px;
    height: 240px;
    transform: translateZ(.25px) scale(.75) translateX(-94%) translateY(-100%) rotate(2deg);
    padding: 10px;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, .7);
  }
  
  .custom-img3:last-of-type {
    transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
  }
  .custom-img4{
    position: absolute;
    top: 25%;
    left: 35%;
    width: 320px;
    height: 240px;
    transform: translateZ(.25px) scale(.75) translateX(-94%) translateY(-100%) rotate(2deg);
    padding: 10px;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, .7);
  }
  
  .custom-img4:last-of-type {
    transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
  }
  .custom-img5{
    position: absolute;
    top: 25%;
    left: 65%;
    width: 320px;
    height: 240px;
    transform: translateZ(.25px) scale(.75) translateX(-94%) translateY(-100%) rotate(2deg);
    padding: 10px;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, .7);
  }
  
  .custom-img5:last-of-type {
    transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
  }
  a.contact-button {
  color: #fff; /* White color for text */
  background-color: #007bff; /* Blue background color */
  padding: 10px 20px; /* Padding around the text */
  text-decoration: none; /* Remove underline */
  border-radius: 5px; /* Rounded corners */
  display: inline-block; /* Ensure it's inline-block or block for proper styling */
  z-index: 100; /* High z-index to appear on top of other elements */
}

a.contact-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}
.slide {
  position: relative;
  z-index: 1;
}

/* If needed, ensure the title div does not block clicks */
.title {
  position: relative;
  z-index: 10;
  pointer-events: none; /* Disable pointer events for the title div */
}

/* Re-enable pointer events for the link */
.title a, .slide > a.contact-button {
  pointer-events: auto; /* Enable pointer events only for links */
  z-index: 11; /* Ensure the link is on top */
  position: relative; /* Position link correctly within the container */
  display: inline-block; /* Make sure the link is visible */
  color: #fff;
  background-color: #007bff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

.title a:hover, .slide > a.contact-button:hover {
  background-color: #0056b3;
}