* {
    margin: 0;
    padding: 0;
    font-family: "miltonian tattoo",serif;
  }
:root {
    --negro: #393939;
    --tipo-principal: Helvetica, Arial, sans-serif;
    --tipo-secundaria: Verdana;
  }
  
  @media (prefers-color-scheme: dark) {
    :root {
      --negro: #ececec;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    * {
      -webkit-animation: none !important;
              animation: none !important;
      -webkit-transition: none !important;
      transition: none !important;
    }
  }
  * {
    margin: 0;
    padding: 0;
    border: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    vertical-align: baseline;
  }
  img, picture, video, iframe, figure {
    max-width: 100%;
    width: 100%;
    display: block;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
  }
  a {
    display: block;
    text-decoration: none;
    color: inherit;
    font-size: inherit;
  }
  
  p a {
    display: inline;
  }
  
  li {
    list-style-type: none;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  h1, h2, h3, h4, h5, h6, p, span, a, strong, blockquote, i, b, u, em {
    font-size: 1em;
    font-weight: inherit;
    font-style: inherit;
    text-decoration: none;
    color: inherit;
  }
  
  blockquote:before, blockquote:after, q:before, q:after {
    content: "";
    content: none;
  }
  
  ::-moz-selection {
    background-color: var(--negro);
    color: var(--blanco);
  }
  ::selection {
    background-color: var(--negro);
    color: var(--blanco);
  }
  
  form, input, textarea, select, button, label {
    font-family: inherit;
    font-size: inherit;
    -webkit-hyphens: auto;
        -ms-hyphens: auto;
            hyphens: auto;
    background-color: transparent;
    display: block;
  
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }
  
  table, tr, td {
    border-collapse: collapse;
    border-spacing: 0;
  }
  
  svg {
    background-color: white;
    width: 100%;
    display: block;
    fill: currentColor;
  }
  body {
    min-height: 100vh;
    font-size: 100%;
    font-family: var(--tipo-principal);
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  
  .header{
    width:100%;
    background-color: #282828;
    padding: 1em;
  
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    color:white;
  }
  .header .h2{
    background-color: aqua;
  }
  
  
  .header .button{
    display: none;
    background-color:white
  }
  .header .svg{
    width:2em;
    height:2em;
    fill:white;
  }
  .header .ul{
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;  
  }
  .header .li{
    margin: 0 .5em;
  }
  
   @media screen and (max-width:480px){
    .header .button{
      display: block;
      cursor: pointer;
    }
    .header .nav{
      width:100%;
      display: none;
      height:0;
      pointer-events: none;
      overflow: hidden;
      transition: all .5s ease;
  
      display: flex;
      flex-flow: column nowrap;
      justify-content: center;
      align-items: center;
    }
    .header .nav.activo{
       display: block; 
      height:50vh;
      pointer-events: auto;
    }
    .header .ul{
      flex-direction: column;
    }
    .header .li{
      margin: 1rem 0;
    }
  
  }
body {
    background-color:green;
}
.card{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 440px;
    height: 580px;
    background-color:rgb(255, 0, 0) (255, 255, 255);
}
.face {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    transition: 1s;
}
img{
    width: 100%;
    height: 100%;
}
.front{
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 8px 10px black;
}
.back{
    font-size: larger;
    position: absolute;
    transform: perspective(600px) rotateY(180deg);
    background-color: rgb(243, 243, 225);
    color: rgb(255, 0, 0);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    box-shadow: 0 8px 10px rgb(255, 86, 86);
}
.card:hover .front {
    transform: perspective(600px) rotateY(180deg);
}
.card:hover .back{
    transform: perspective(600px) rotateY(360deg);
}
.h8{ letter-spacing: 12px;}
p{ text-align: justify;
}
.link{
    border-top: solid 1px rgb(223, 29, 29);
    padding-top: 25px;
}
a { color: white;
font-size: 38px;
text-decoration: none;
font-family: "miltonian tattoo",serif;}

