/* stylelint-disable number-max-precision */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  text-align: center;
  margin-top: 100px;
  font-size: 60px;
  font-family: monospace;
}

body {
  background-color: black;
  color: rgb(227, 246, 248);
}

.newspaper {
  background-color: antiquewhite;
  font-family: Times New Roman, Times, serif;
  font-weight: 700;
}

.magazine1 {
  background-color: teal;
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.magazine2 {
  background-image: url('images/pink-pattern.png');
  color: fuchsia;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 900;
}

.medium {
  font-size: 20px;
  padding: 8px;
}

.big {
  font-size: 30px;
  padding: 10px;
}

.reallybig {
  font-size: 40px;
  padding: 15px;
}

.rotateleft {
  transform: matrix(0.996195, -0.0871557, 0.0871557, 0.996195, 0, 0);
}

.rotateright {
  transform: matrix(0.996195, 0.0871557, -0.0871557, 0.996195, 0, 0);
}

.skewleft {
  transform: matrix(1, 0, 0.176327, 1, 0, 0);
}

.skewright {
  transform: matrix(1, 0, -0.176327, 1, 0, 0);
}

#main-container {
  width: 60%;
  margin: auto;
  margin-top: 150px;
  text-align: center;
}

#carta-texto {
  width: 80%;
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  border-radius: 7px;
  margin: 40px 0;
}

#criar-carta {
  font-weight: 400;
  text-align: center;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  background-color: #6c757d;
  color: white;
  margin: 40px 0;
  cursor: pointer;
}

#rotulo-contador {
  display: none;
  font-family: monospace;
  color: rgb(12, 241, 12);
  font-size: 20px;
  font-weight: 700;
}

#bg-video {
  position: fixed;
  z-index: -1;
}

@media ( min-aspect-ratio : 16/9 ) {

  #bg-video {
    width: 100%;
    height: auto;
  }
}

@media ( max-aspect-ratio : 16/9 ) {

  #bg-video {
    width: auto;
    height: 100%;
  }
}

@media ( max-width : 767px ) {

  #bg-video {
    display: none;
  }

  body {
    background: black;
  }
}
