@import url("https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@700&display=swap");

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  font-size: 18px;
  line-height: 1.4;
}

body {
  font-family: "Mountains of Christmas", cursive;
  font-weight: 600;
  /* background: linear-gradient(
    180deg,
    rgba(52, 166, 95, 1) 0%,
    rgba(15, 138, 95, 1) 50%,
    rgba(35, 94, 111, 1) 100%
  ); */
  background: url("../img/cover-03.jpg");
  background-size: cover;
  background-attachment: fixed;
  color: black;
}

a {
  color: inherit;
  display: block;
}

header {
  font-family: "Mountains of Christmas", cursive;
  text-align: center;
  color: white;
  
}

header h1 {
  font-size: 250%;
  margin: 2rem 0;
  text-shadow: 4px 4px #00000066;
  
}

.sky {
  height: 100%;
  width: 100%;
  border-top: 1px solid white;
  color: #fff;
  padding: 0;
  margin: 0;
  font-family: Helvetica;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0rem 1rem 2rem 1rem;
  margin: 1rem auto;
  /* height: 90vh; */
  max-width: 900px;
  position: relative;
}

.door {
  color: rgb(255, 248, 170);
  text-shadow: 2px 2px #00000022;
  background-color: rgba(253, 206, 140, 0.35);
  border: 0.2rem solid rgba(253, 206, 140, 0.9);
  box-shadow: 0.2rem 0.3rem rgba(79, 62, 39, 0.8);
  border-radius: 2.0rem;

  font-family: "Mountains of Christmas", cursive;
  font-size: 3.2rem;
  text-decoration: none;

  display: flex;
  justify-content: center;
  align-items: center;
  
}

.hide {
  color: #00000055;
  text-shadow: none;
  border-color: #00000055;
  box-shadow: 0.2rem 0.3rem rgba(79, 62, 39, 0.2);
}

/* ===  MODAL ===  */
.modal-overlay {
  background: rgba(0, 0, 0, 0.8);
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  z-index: -1;
  display: none;
}

.modal-overlay:target {
  display: block;
  opacity: 1;
  pointer-events: auto;
  z-index: 99999;
}

.modal-overlay .modal {
  background-color: white;
  height: 100%;
  position: relative;
  margin: 0 auto;
  padding: 3em;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 60em) {
  .modal-overlay .modal {
    height: 85%;
    margin: 5% auto;
    max-height: 57em;
    max-width: 60em;
    width: 85%;
  }
}
