html {
  height: 100%;
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
}

body {
  height: 100%;
  margin: 0;
  position: relative;
}

h1, h2 {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
  word-wrap: normal;
}

section {
  position: absolute;
  left: 0;
  height: 50%;
  width: 100%;
  background-size: cover;
  background-repeat: none;
  text-align: center;
  -webkit-transition: height 0.2s linear;
  transition: height 0.2s linear;
  background-attachment: fixed;
}

a {
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

section:first-of-type {
  background-image: url("gran-hotel-suances.jpg");
  background-position: center;
  top: 0;
  border-bottom: solid 1px #fff;
}

section:last-of-type {
  background-image: url("hotel-suances.jpg");
  background-position: center;
  bottom: 0;
  border-top: solid 1px #fff;
}

img {
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  max-width: 300px;
  height: auto;
  margin-top: 10%;
}



@media (min-width: 320px) and (max-width: 379px) {

section {
	background-repeat: no-repeat !important;
}

img {
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  max-width: 200px;
  height: auto;
  margin-top: 10%;
}

a:hover > img {
  max-width: 240px;
}

section:first-of-type {
  background-image: url("gran-hotel-suances2.jpg");
  top: 0;
  border-bottom: solid 1px #fff;
  background-repeat: no-repeat;
  background-position: center top;
  background-size:contain;
}

section:last-of-type {
	background-image: url("hotel-suances2.jpg");
	bottom: 0;
	border-top: solid 1px #fff;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size:contain;
}

}

@media (min-width: 480px) {

section:hover {
  height: 70%;
  z-index: 1;
}

section:hover + section img {
  margin-top: 14%;
}

a:hover > img {
  max-width: 400px;
}

img {
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  max-width: 300px;
  height: auto;
  margin-top: 10%;
}

}

@media (min-width: 481px) and (max-width: 1279px) {

}

@media (min-width: 1280px) {


}
