:root {
  --head: #003049;
  --line: #000000;
  --boxcolor: #EAE2B7;
  --bg: #FCBF49;
  --btn: rgba(247, 238, 238, 0.253);
  --random: #c4c4c41f;
  --title: #F77F00;
  --title2: #ffffff;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  width: 100vw;
  height: 100vh;
  background: var(--bg);
  color: #000000;
  display: -ms-grid;
  display: grid;
      grid-template-areas: "head head head head head"
 "btn  btn  btn  btn  btn"
 "main main main main main"
 "low  low  low  low  low"
 "foot foot foot foot foot";
}

header {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
  grid-area: head;
  height: 20vh;
  display: block;
  text-align: center;
  background-color: var(--head);
  width: 100%;
  color: var(--boxcolor);
}

.title {
  font-family: 'Yusei Magic', sans-serif;
  font-size: 3.8em;
  font-weight: 900;
  text-shadow: 2px 8px black;
  -ms-flex-item-align: end;
      -ms-grid-row-align: end;
      align-self: end;
  color: var(--title2);
}

.title2 {
  -ms-grid-column-align: center;
      justify-self: center;
  font-family: 'Yusei Magic', sans-serif;
  color: var(--title);
  font-size: 1em;
  text-shadow: 1px 1px black;
}

.change-button {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
  grid-area: btn;
  height: 17vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  border-top: 5px solid var(--line);
}

.change-button button{
    width: 18vw;
    height: 6vh;
    color: rgb(0, 0, 0);
    font-size: 0.8rem;
    font-family: 'Yusei Magic', sans-serif;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--btn);
}

main {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
  grid-area: main;
  height: 26vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.day {
  height: calc(100vw/5);
  width: calc(100vw/5 - 4px);
  border: 7px solid black;
  border-radius: 5px;
  background-color: var(--boxcolor);
  cursor: pointer;
  background-image: url("img/questionmark.svg");
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center;
}

.lower {
  -ms-grid-row: 4;
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
  grid-area: low;
  height: 17vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  border-bottom: 5px solid var(--line);
}

.lower button{
  width: 28vw;
  height: 6vh;
  color: rgb(0, 0, 0);
  font-size: 1rem;
  font-family: 'Yusei Magic', sans-serif;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--random);
  border: 1.5px solid var(--head);
}

footer {
  -ms-grid-row: 5;
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
  grid-area: foot;
  height: 20vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--title2);
  background-color: var(--head);
  padding-bottom: 30px;

}


.btn {
  text-decoration: none;
  border: 1px solid var(--head);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  box-shadow: 1px 1px 25px 10px rgba(114, 108, 72, 0.4);
}

.btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    var(--title2),
    transparent
  );
  transition: all 650ms;
}

.btn:hover:before {
  left: 100%;
}


@media screen and (max-width: 700px) {
  .title {
    font-size: 2.5rem;
    padding-top: 2rem;
  }
}

@media screen and (max-width: 350px) {
  .title {
    font-size: 2.3rem;
    padding-top: 2rem;
  }
}

@media screen and (min-width: 1100px) {
  .change-button {
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-start;
    padding-top: 5px;
  }

.lower{
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: end;
  -ms-flex-align: end;
      align-items: flex-end;
  padding-top: 5px;
  padding-bottom: 5px;
  }  
}

