* {
  padding: 0;
  margin: 0;
}
body {
  background-image: none;
  width: 100%;
  height: 100%;
  background-color: #ddd;
}
.container {
  background: none;
}
#page {
  display: flex;
  justify-content: center;
  width: 100vw;
  height: 94vh;
}
#box {
  display: flex;
  justify-content: center;
  width: auto;
  height: auto;
  flex-direction: column;
}
#box a {
  display: flex;
  width: 100%;
}
.pplegal1 {
  justify-content: center;
}
.pplegal2 {
  justify-content: center;
}

@media screen and (min-width: 667px) and (max-width: 960px) {
  body {
    background-image: none;
    width: 100%;
    height: 100%;
    background-color: #ddd;
  }
  .container {
    background: none;
  }
  #page {
    width: 100vw;
    height: 100vh;
  }
  #box {
    padding-top: 0;
    flex-direction: row;
    align-items: center;
  }
  #box a {
    /* height: 78vh; */
    /* height: 100vh;
    padding-top: 16vh; */

    width: 367px;
    height: 263px;
  }
  .pplegal1 {
    background-color: #0d3a50;
  }
  .pplegal2 {
    background-color: #e6e5e5;
  }
  #box a img {
    width: 367px;
    height: 263;
  }
}

@media screen and (min-width: 961px) and (max-width: 1024px) {
  body {
    height: 100%;
  }
  #page {
    width: auto;
    align-items: center;
  }
  #box {
    flex-direction: row;
  }
  #box a {
    display: block;
  }
  .pplegal1 {
    justify-content: flex-end;
  }
  .pplegal2 {
    justify-content: flex-start;
  }
}
@media screen and (min-width: 1025px) {
  body {
    background: #fff url('bg.jpg') top center repeat-y;
    height: 944px;
    text-align: center;
    margin: 0 auto;
  }
  .container {
    margin: 0 auto;
    width: 100%;
    display: block;
    background: #fff url('1.jpg') top center no-repeat;
  }
  #page {
    display: block;
    margin: 0 auto;
    width: 100vw;
    height: 450px;
    text-align: center;
  }
  .pplegal1 {
    justify-content: flex-end;
  }
  .pplegal2 {
    justify-content: flex-start;
  }
  #box {
    display: flex;
    padding-top: 54px;
    flex-direction: row;
  }
  #box a img {
    width: 366px;
    height: 245px;
    opacity: 1;
  }
  #box a img:hover {
    opacity: 0.9;
  }
}
