@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

* {
    font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
  }
  
  body {
    background-image: url("marmer.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
  }
  
  .blue {
    color: #29b6f6;
  }
  
  .green {
    color: #9ccc65;
  }
  
  .purple {
    color: #ba68c8;
  }
  
  .cyan {
    color: #4dd0e1;
  }
  
  .red {
    color: #ef5350;
  }
  
  .content {
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .top__container {
      display: flex;
      flex-direction: row;
      margin-left: -25vw;

  }

  .text {
      font-family: 'Permanent Marker', cursive;
      font-size: x-large;
      flex-grow: 1;
      transform: rotate(-10deg);
      margin-top: -70px;
      color: #495359;
  }
  .text__small {
    font-family: 'Permanent Marker', cursive;
    font-size: medium;
    right: 0;
    margin-top: -50px;
    color: #767e83;
    text-align: center;
}

  .card {
    perspective: 150rem;
    height: 20rem;
    width: 30rem;
    position: relative;
  }
  .card__side {
    height: 15rem;
    transition: all 0.8s ease;
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
    width: 30rem;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
  }
  .card__side--front {
    background-color: #1c1c1c;
  }
  .card__side--back {
    transform: rotateY(180deg);
    background-color: #1c1c1c;
  }
  .card:hover .card__side--front {
    transform: rotateY(-180deg);
    cursor: pointer;
  }
  .card:hover .card__side--back {
    transform: rotateY(0deg);
  }
  .card__cont {
    height: 15rem;
    background-color: #1c1c1c;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card__cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    color: white;
  }
  .card__cta p {
    margin-left: 1rem;
  }
  .card__cta p > .space {
    margin-left: 2rem;
  }

  /* arrow */
  .arrow {
    position: relative;
    top: -40px;
    left: -20px;
    width: 50px;
    height: 50px;
  }
  
  .arrow__body {
    width: 100%;
    height: 95%;
    border-width: 3px 3px 0 0;
    border-style: solid;
    border-color: #495359;
    border-top-right-radius: 100%;
  }
  
  .arrow__body::after {
    content: '';
    width: 12px;
    height: 18px;
    position: absolute;
    transform: rotate(300deg);
    bottom: -12px;
    right: -8px;
    border-width: 3px;
    border-style: solid;
    border-color: transparent transparent #495359  #495359 ;
  }