html {
  overflow: hidden;
}

body {
  font-family: sans-serif;
  margin: auto;
  background-image: url("images/background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgb(61,11,19);
  overflow: hidden;
  touch-action: none;
  cursor: pointer;
}

body.reforma {
  background-size: 350px;
  background-position: center -30px;
  background-image: url("images/background-small.jpg?v2");
}

body::before, body::after {
  content: "";
  background-image: url("images/card-corner.png");
  background-repeat: no-repeat;
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  z-index: -1;
}

body::after {
  transform: rotate(180deg);
  top: calc(100% - 100px);
  left: calc(100vw - 100px);
}

@media screen and (max-width: 480px) {
  body:not(.reforma) {
    background-image: url("images/background-2.jpg");
    background-position: 0px -100%;
  }
}

h1, h2 {
  visibility: hidden;
}

img, .img {
  border-radius: 50%;
}

.img {
  position: absolute;
  bottom: 100px;
  left: calc(50% - 75px);
  width: 150px;
  height: 150px;
}

.img img {
  width: 100%;
}

ul {
  position: absolute;
  bottom: 20px;
  left: calc(50% - 345px / 2);
  width: 345px;
  max-width: calc(100vw - 20px);
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
}


ul li {
  text-align: center;
}

ul li span {
  display: none;
}

a, span {
  border: 1px rgb(0,0,0,0) solid;
  border-radius: 5px;
  color: rgb(203,168,113);
  display: inline-block;
  font-size: 13pt;
  font-weight: 100;
  padding: 10px;
  text-decoration: none;
  padding: 10px;
}

a.icon {
  display: none;
  position: absolute;
  top: 0px;
  right: 0px;
  width: 32px;
  height: 32px;
  margin: 10px;
}

svg {
  display: block;
  fill: rgb(203,168,113);
  width: 100%;
  height: 100%;
}

a:hover {
  border: 1px rgb(203,168,113) solid;
}

iframe {
  display: none;
  border: 1px solid rgb(203,168,113);
  position: absolute;
  top: 80px;
  left: -1px;
  width: calc(100vw + 2px);
  height: calc(100% - 80px - 80px);
}

body.reforma a.icon,
body.reforma iframe#reforma {
  display: block;
}

body.reforma .img {
  left: 0px;
  bottom: unset;
  top: calc(100% - 80px);
  width: 60px;
  height: 60px;
}

body.reforma ul {
  right: -15px;
  width: auto;
}

body.reforma ul li:nth-child(n+1):nth-child(-n+5) a {
  display: none;
}

body.reforma ul li:nth-child(n+5) span {
  display: block;
  width: 100%;
  text-align: center;
  cursor: no-drop;
}

@media screen and (min-width: 640px) {
  iframe {
    width: calc(100vw + 15px);
    height: calc(100% - 80px - 80px);
  }

  body.reforma ul {
    left: 80px;
  }
}
