﻿/* Joanne Yoon Hyoung Style sheet, final project, 2014*/

body {
	background-color: #333;
	overflow:hidden;
	}


.container{
	background-color: white;
	position:relative;
	width: 1050px;
	height: 750px;
	margin: 2% auto;

	-webkit-animation: container-display 180s infinite;
	-webkit-animation-timing-function:linear;
	}

p {
font-family: "Bilbo-Regular";
font-size: 100pt;
letter-spacing: 5px;
}

/* This font substitution method is explained in the folder on Moodle. SJ note.*/

@font-face {
    font-family: Bilbo-Regular;
    src: url('font/Bilbo-Regular.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}
 
p{
    font-family: Bilbo-Regular;
    font-size: 22pt;
    position: relative;
    left: 300px;
}

/* The text of the poem. Each word is isolated with the ID method. SJ note.*/

#title {
    -webkit-animation:opacity 5s linear 1s infinite alternate;
    animation:opacity 5s linear 1s infinite alternate;
    font-family: "Bilbo-Regular";
    font-size: 50pt;
    position: absolute;
    top: 50px;
    left: 100px;
}

#the {
    -webkit-animation:opacity 6s linear 1s infinite alternate;
    animation:opacity 6s linear 1s infinite alternate;
    font-family: "Bilbo-Regular";
    font-size: 36pt;
    position: absolute;
    top: 180px;
    left: 300px;
}

#spring {
    -webkit-animation:opacity 7s linear 2s infinite alternate;
    animation:opacity 7s linear 2s infinite alternate;
    font-family: "Bilbo-Regular";
    font-size: 36pt;
    position: absolute;
    top: 250px;
    left: 330px;
}

#summer {
    -webkit-animation:opacity 8s linear 3s infinite alternate;
    animation:opacity 8s linear 3s infinite alternate;
    font-family: "Bilbo-Regular";
    font-size: 36pt;
    position: absolute;
    top: 300px;
    left: 360px;
}

#autumn {
    -webkit-animation:opacity 9s linear 4s infinite alternate;
    animation:opacity 9s linear 4s infinite alternate;
    font-family: "Bilbo-Regular";
    font-size: 36pt;
    position: absolute;
    top: 350px;
    left: 390px;
}

#winter {
    -webkit-animation:opacity 10s linear 5s infinite alternate;
    animation:opacity 10s linear 5s infinite alternate;
    font-family: "Bilbo-Regular";
    font-size: 36pt;
    position: absolute;
    top: 420px;
    left: 420px;
}

#now {
    -webkit-animation:opacity 11s linear 6s infinite alternate;
    animation:opacity 11s linear 6s infinite alternate;
    font-family: "Bilbo-Regular";
    font-size: 36pt;
    position: absolute;
    top: 490px;
    left: 360px;
}

#excited {
    -webkit-animation:opacity 12s linear 7s infinite alternate;
    animation:opacity 12s linear 7s infinite alternate;
    font-family: "Bilbo-Regular";
    font-size: 36pt;
    position: absolute;
    top: 540px;
    left: 360px;
}

#NY {
    -webkit-animation:opacity 13s linear 8s infinite alternate;
    animation:opacity 13s linear 8s infinite alternate;
    font-family: "Bilbo-Regular";
    font-size: 36pt;
    position: absolute;
    top: 590px;
    left: 360px;
}

/* The pictures. Each individual picture is isolated using the ID method and then positioned precisely. SJ note.*/
#spring01 {
  -webkit-animation:opacity 5s linear 1s infinite alternate;
  animation:opacity 5s linear 1s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  top: 0px;
  left: 0px;
  width: 150px;
  height: 150px;

}

#spring02 {
  -webkit-animation:opacity 6s linear 2s infinite alternate;
  animation:opacity 6s linear 2s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  top: 0px;
  left: 150px;
  width: 150px;
  height: 150px;
}

#spring03 {
  -webkit-animation:opacity 7s linear 3s infinite alternate;
  animation:opacity 7s linear 3s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  top: 0px;
  left: 300px;
  width: 150px;
  height: 150px;
}

#spring04 {
  -webkit-animation:opacity 8s linear 4s infinite alternate;
  animation:opacity 8s linear 4s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 0px;
  left: 450px;
}

#summer01 {
  -webkit-animation:opacity 7s linear 5s infinite alternate;
  animation:opacity 7s linear 5s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 150px;
  left: 450px;
}

#summer02 {
  -webkit-animation:opacity 8s linear 4s infinite alternate;
  animation:opacity 8s linear 4s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 300px;
  left: 450px;
}

#summer03 {
  -webkit-animation:opacity 9s linear 3s infinite alternate;
  animation:opacity 9s linear 3s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 150px;
  left: 300px;
}

#summer04 {
  -webkit-animation:opacity 10s linear 2s infinite alternate;
  animation:opacity 10s linear 2s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 150px;
  left: 150px;
}

#summer05 {
  -webkit-animation:opacity 9s linear 3s infinite alternate;
  animation:opacity 9s linear 3s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 150px;
  left: 0px;
}

#summer06 {
  -webkit-animation:opacity 8s linear 4s infinite alternate;
  animation:opacity 8s linear 4s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 150px;
  left: 750px;
}

#summer07 {
  -webkit-animation:opacity 7s linear 5s infinite alternate;
  animation:opacity 7s linear 5s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 300px;
  left: 750px;
}

#autumn01 {
  -webkit-animation:opacity 6s linear 4s infinite alternate;
  animation:opacity 6s linear 4s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 300px;
  left: 600px;
}

#autumn02 {
  -webkit-animation:opacity 7s linear 3s infinite alternate;
  animation:opacity 7s linear 3s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 450px;
  left: 600px;
}

#autumn03 {
  -webkit-animation:opacity 8s linear 2s infinite alternate;
  animation:opacity 8s linear 2s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 450px;
  left: 450px;
}

#autumn04 {
  -webkit-animation:opacity 9s linear 3s infinite alternate;
  animation:opacity 9s linear 3s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 450px;
  left: 300px;
}

#autumn05 {
  -webkit-animation:opacity 10s linear 4s infinite alternate;
  animation:opacity 10s linear 4s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 300px;
  left: 300px;
}

#autumn06 {
  -webkit-animation:opacity 9s linear 5s infinite alternate;
  animation:opacity 9s linear 5s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 300px;
  left: 150px;
}

#autumn07 {
  -webkit-animation:opacity 8s linear 4s infinite alternate;
  animation:opacity 8s linear 4s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 300px;
  left: 0px;
}

#autumn08 {
  -webkit-animation:opacity 7s linear 3s infinite alternate;
  animation:opacity 7s linear 3s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 450px;
  left: 0px;
}

#autumn09 {
  -webkit-animation:opacity 6s linear 2s infinite alternate;
  animation:opacity 6s linear 2s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 450px;
  left: 150px;
}

#winter01 {
  -webkit-animation:opacity 7s linear 3s infinite alternate;
  animation:opacity 7s linear 3s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 450px;
  left: 750px;
}

#winter02 {
  -webkit-animation:opacity 8s linear 4s infinite alternate;
  animation:opacity 8s linear 4s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 450px;
  left: 900px;
}

#winter03 {
  -webkit-animation:opacity 9s linear 5s infinite alternate;
  animation:opacity 9s linear 5s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 600px;
  left: 0px;
}

#winter04 {
  -webkit-animation:opacity 10s linear 4s infinite alternate;
  animation:opacity 10s linear 4s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 600px;
  left: 150px;
}

#winter05 {
  -webkit-animation:opacity 9s linear 3s infinite alternate;
  animation:opacity 9s linear 3s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 600px;
  left: 300px;
}

#winter06 {
  -webkit-animation:opacity 8s linear 2s infinite alternate;
  animation:opacity 8s linear 2s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 600px;
  left: 450px;
}

#winter07 {
  -webkit-animation:opacity 7s linear 3s infinite alternate;
  animation:opacity 7s linear 3s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 600px;
  left: 600px;
}

#winter08 {
  -webkit-animation:opacity 6s linear 4s infinite alternate;
  animation:opacity 6s linear 4s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 600px;
  left: 750px;
}

#winter09 {
  -webkit-animation:opacity 7s linear 5s infinite alternate;
  animation:opacity 7s linear 5s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 600px;
  left: 900px;
}

#spring05 {
  -webkit-animation:opacity 9s linear 5s infinite alternate;
  animation:opacity 9s linear 5s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 0px;
  left: 600px;
}

#spring10 {
  -webkit-animation:opacity 6s linear 4s infinite alternate;
  animation:opacity 6s linear 4s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 150px;
  left: 600px;
}

#spring06 {
  -webkit-animation:opacity 10s linear 4s infinite alternate;
  animation:opacity 10s linear 4s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 0px;
  left: 750px;
}

#spring07 {
  -webkit-animation:opacity 9s linear 3s infinite alternate;
  animation:opacity 9s linear 3s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 0px;
  left: 900px;
}

#spring08 {
  -webkit-animation:opacity 8s linear 2s infinite alternate;
  animation:opacity 8s linear 2s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 150px;
  left: 900px;
}

#spring09 {
  -webkit-animation:opacity 7s linear 3s infinite alternate;
  animation:opacity 7s linear 3s infinite alternate;
  border-radius: 0%; /* 모서리 둥글게 */
  position: absolute;
  width: 150px;
  height: 150px;
  top: 300px;
  left: 900px;
}


/* The keyframe animation method makes the images fade in and out. SJ note.*/

@keyframes opacity { 
  0% {
   opacity: 1;
 }
  25% {
    opacity:0.50;
  }
  50% {
    opacity:0.25;
  }
  75% {
    opacity:0.1;
  }
  100% {
    opacity:1;
  }
}
@-webkit-keyframes opacity {
  0% {
   opacity: 1;
 }
  25% {
    opacity:0.50;
  }
  50% {
    opacity:0.25;
  }
  75% {
    opacity:0.1;
  }
  100% {
    opacity:1;
  }
}

.opacity {
  -webkit-animation:opacity 5s linear 2s infinite alternate-reverse;
  animation:opacity 5s linear 2s infinite alternate-reverse;
  border-radius: 100%; 
  padding: 10px; 
  margin: 5px; 
}