@font-face {
  font-family: "TimesNewArial";
  src: url("../fonts/TimesNewArialVF.woff2");
  font-variation-settings: "srff" 100, "ital" 0, "wght" 70;
}
html,
body {
  background: #fff;
  z-index: 1;
  font-family: "TimesNewArial", sans-serif;
  font-variation-settings: "srff" 0, "ital" 0, "wght" 70;
  font-size: 21px;
  line-height: 24px;
  font-weight: normal;
  padding: 0;
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  font-variation-settings: "srff" 0, "ital" 0, 'wght' 0;
  overflow: hidden;
}

a,
button,
input,
label {
  cursor: pointer;
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  height: auto;
}

.card{
  position: absolute;
  padding: 10px;
  transform-origin: center center;
  width: calc(896px / 2);
  height: calc(562px / 2);
  background: white;
  -webkit-box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.3);
  overflow: scroll;
  font-size: normal;
  will-change: transform, left, top; 
  backface-visibility: hidden;
}

.card:hover{
  z-index: 99;
}

@media screen and (max-width: 1000px) {
  .card{
    margin: auto;
    margin-top: 5vw;
    margin-bottom: 5vw;
    position: relative;

  }
}

@media screen and (max-width: 750px) {
  body{
    overflow: scroll;
  }
  .card{
    margin: auto;
    margin-top: calc(896px / 6);
    margin-bottom: calc(562px / 6);
    position: relative;
  }
  .card:first-of-type{
    margin-top: calc(896px / 8);
    transform: rotate(85deg);
  }
  .card:nth-of-type(2){
    transform: rotate(-80deg);
    margin-top: calc(896px / 5);
  }
  .card:nth-of-type(3){
    margin-top: calc(896px / 5);
    margin-bottom: calc(562px / 5);
    transform: rotate(92deg);

  }
}