html {
  height: 100%;
  overflow: hidden;
}

body { 
    margin:0;
    padding:0;
    transform-style: preserve-3d;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: Nunito;
}

h1 {
   font-size: 250%
}

p {
  font-size: 140%;
  line-height: 150%;
  color: #333;
}

/*height of my parallax pic min-height*/
.slide {
    position: relative;
    padding-left: 0px;
    padding-right: 0px;
    min-height: 70vh;
    right: 0.8%;
    width: 110%;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, .7);
	transform-style: inherit;
}

/*img {
  position: absolute;
  top: 50%;
  left: 35%;
  width: 320px;
  height: 240px;
  transform: translateZ(.25px) scale(.75) translateX(-94%) translateY(-100%) rotate(2deg);
  padding: 10px;
  border-radius: 5px;
  background: rgba(240,230,220, .7);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
}*/

/*img:last-of-type {
  transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
}*/

.slide:before {
  content: "";
  position: absolute;
}

.title {
  background: rgba(240,230,220, .7);
  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;
}

.header {
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 2px #000;
}

/*background attachment fixed makes the effect of a "window"*/
#title {
  background-image: url("../Pictures/FlorenceCover.jpg");
  background-size: 100% 100%;
  background-attachment: fixed; 
}

@media (max-width: 1500px) {
    #title {
      background-image: url("../Pictures/FlorenceCover.jpg");
      background-size: 100% 100%;
      background-attachment: fixed; 
    }

    .slide {
        position: relative;
        padding-left: 0px;
        padding-right: 0px;
        min-height: 70vh;
        right: 5%;
        width: 110%;
        box-shadow: 0 -1px 10px rgba(0, 0, 0, .7);
	    transform-style: inherit;
    }
}

.mainPictureFromPhone {
    display: none;
    visibility: hidden;
}

@media (max-width: 1000px) {
    #title {
        display: none;
        visibility: hidden;
      /*background-image: url("../Pictures/RomeCoverPictureFromPhone.JPG");
      background-size: 100% 100%;
      background-attachment: fixed;*/ 
    }

    .slide {
        display: none;
        visibility: hidden;
        /*position: relative;
        padding-left: 0px;
        padding-right: 0px;
        min-height: 70vh;
        right: 5%;
        width: 110%;
        box-shadow: 0 -1px 10px rgba(0, 0, 0, .7);
	    transform-style: inherit;*/
    }
}
