/*styles for hotel california*/

@import url('https://fonts.googleapis.com/css?family=Cutive+Mono');

.tester {
  border: 10px solid red;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh; /* Avoid the IE 10-11 `min-height` bug. */
  margin: 0;
  padding: 0;
  color: black;
  font-family: 'Cutive Mono', monospace;
  background-color: black;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

#theBod {
  background-image: url(assets/hotel1.jpg);
}

/* this makes the footer stick to the bottom */
.page {
  flex: 1 0 auto; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
  width: 100%;
  display: block;
  margin: auto;
}

.flexy {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-content: center;
}

img {
  max-width: 100%;
}

a {
  color: black;
}

p {
  text-align: center;
}

p.small {
  font-size: .75em;
}

header {
  background: black;
  width: 100%;
  padding: .5em 0;
  z-index: 1;
  position: relative;
}

header img {
  display: block;
  margin: auto;
  width: 20em;
  max-width: 90%;
}

.roughBorder {
  border: .5em solid black;
  border-image: url(assets/border.svg) 40 40 round;
  border-image-outset: 1px;
  border-collapse: collapse;
}

.neonSign {
  width: 90%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  text-align: center;
}

.neonSign img {
  width: 90%;
  align-self: center;
}

.neonSign img:first-child {
  width: 55%;
  align-self: center;
  margin-bottom: -18%;
}

.copy {
  width: 900px;
  max-width: 95%;
  font-size: 1.25em;
  display: block;
  margin: 1em auto;
  background-color: white;
  border: 1em solid black;
  border-image: url(assets/borderWhite.svg) 40 40 round;
  border-image-outset: 1px;
  border-collapse: collapse;
  box-shadow: 0 5px 10px black;
}

.copy2 {
  font-size: 1.25em;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 1000px;
  max-width: 95%;
  margin: 1em auto;
  color: white;
  background-color: black;
}

.tiles p {
  margin: 2em;
}

.tiles a {
  color: white;
  flex-grow: 1;
  margin: 0 1em;
  position: relative;
}

.tileText {
  background-color: #DF287F;
  position: absolute;
  bottom: 2em;
  left: -1px;
  width: 75%;
  border-image: none;
  box-shadow: 0 2px 5px black;
  text-decoration: underline;
}

.tileText p {
  margin: 1em;
}

.tiles div {
  margin: 1em 0;
  background-position: center;
  background-size: cover;
  box-shadow: 0 5px 10px black;
}

.tiles .big {
  width: 100%;
}

.big .tileImg {
  height: 30em;
}

.small .tileImg{
  height: 20em;
}

.available {
  opacity: 1;
  cursor: pointer;
}

.unavailable {
  opacity: .3;
  cursor: auto;
}

.unavailable .tileText {
  background-color: black;
}

.visited {
  opacity: .9;
}

.visited .tileText {
  background-color: black;
}

.comicContainer {
  width: 1000px;
  max-width: 95%;
  display: block;
  margin: auto;
  margin-top: 2em;
}

.comicContainer img {
  display: block;
}

.button img {
  max-width: 80%;
  display: block;
  margin: 3em auto;
}

footer {
  flex-shrink: 0; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: .1em;
  text-align: center;
  background: black;
  color: white;
  font-size: .75em;
  border: 2em solid black;
  border-image: url(assets/border.svg) 40 40 round;
  border-image-outset: 1px;
  border-collapse: collapse;
}

footer a {
  color: white;
}

.logos {
  max-width: 40%;
}

.logos a {
    text-decoration: none;
    padding: 0;
}

.logos img {
  width: 20px;
  margin: 0 .5em;
}

/* smol bois */
@media only screen and (max-width: 750px) {
  .tiles .small {
    width: 100%;
  }
}

@media only screen and (max-width: 575px) {
  .big .tileImg {
    height: 15em;
  }

  .small .tileImg{
    height: 10em;
  }

  .logos img {
    margin: 0 .25em;
  }
}
