/*
 * v 3.0
 * Please alo update version number of stylesheet link in index.html if you change home.css
*/

html, body {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}

#content {
  background: url("../images/odc_background.jpg");
  background-position: 80% 100%;
  background-size: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#header {
	position: absolute;
	top: 80px;
	left: 0;
	right: 0;
	height: 150px;
	text-align: center;
}
#header img {
	height: 200px;
}

#spot {
	position: absolute;
	top: 150px;
	left: 0;
	right: 50%;
	bottom: 31px;
	overflow: hidden;
}

#term {
	position: absolute;
	top: 150px;
	left: 50%;
	right: 0;
	bottom: 31px;
	overflow: hidden;
}

#footer {
	position: absolute;
	height: 30px;
	left :0;
	right: 0;
	bottom: 0;
	text-align: center;
	line-height: 30px;
	font-size: 10px;
  color: #fff;
}

#footer a, #footer a:visited {
	color: #ddd;
}

.background {
	transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  width: 100%;
  height: 100%;
  text-align: center;
}
.background a {
	display: block;
	height: 100%;
	width: 100%;
	/*position: relative;*/
	font-size: 48px;
	color: #fff;
	text-decoration: none;
}
.background a span {
    text-align: center;
    position: relative;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    width: 50%;
    margin: 0 auto;
    border: 3px solid #fff;
    padding: 1rem 0;
    border-radius: 2rem;
    background: rgba(0, 0, 0, 0.5);
}

.background:hover {
  transform: scale(1.2);
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1.2, M12=0, M21=0, M22=1.2, SizingMethod='auto expand')";
  filter: progid:DXImageTransform.Microsoft.Matrix(M11=1.2, M12=0, M21=0, M22=1.2, SizingMethod='auto expand');
}

.background:hover span {
	color: #1e88a0;
	border-color: #1e88a0;
}

@media screen and (max-width: 600px) and (orientation:portrait) {

  #header {
    top: 20px;
  }

  #spot {
    top: 50%;
    bottom: 35%;
    right: 0;
    width: 100%;
  }

  #term {
    top: 70%;
    bottom: 15%;
    left: 0;
    width: 100%;
  }

  .background a {
    font-size: 1.5rem;
  }

  .background a span {
    width: 70%;
    padding: 1rem 0;
  }

  .background:hover {
    transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    -o-transform: none;
    -ms-transform: none;
    -ms-filter: none;
    filter: none;
  }
  .background:hover span {
    color: #fff;
    border-color: #fff;
  }

}

@media screen and (max-width: 960px) and (orientation:landscape) {
  #header {
    top: 5px;
    height: 40%
  }
  #header img {
    height: 100%;
  }
  .background a {
    font-size: 24px;
  }
  .background a span {
    width: 70%;
    padding: 1rem 0;
  }
  #spot {
    top: 50%;
  }

  #term {
    top: 50%;
  }
  .background:hover {
    transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    -o-transform: none;
    -ms-transform: none;
    -ms-filter: none;
    filter: none;
  }
  .background:hover span {
    color: #fff;
    border-color: #fff;
  }
}