* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    box-sizing: border-box;
}

body {
    height: 100vh;
}

#card-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    background-color: #FFF;
    perspective: 1000px;
    max-width: 100%;
}

#card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    cursor: pointer;
}

.card-face {
    backface-visibility: hidden;
}

.card-front {
    transform: rotateY(0deg);
}

#front{
    position: relative;
}

#client-info {
    position: absolute;
    text-align: left;
    width: 50%;
    top: 26%;
    left: 5%;
}

.client-image {
    position: absolute;
    width: 30%;
    max-width: 150px;
    top: 26%;
    right: 13%;
}

#background-front-container {
    max-height: calc(100vh - 40px);
}

#background-back-container {
    position: absolute;
    overflow: hidden;
    top: 0;
    z-index: -1;

    max-height: calc(100vh - 40px);
}

#background-front {

    max-height: calc(100vh - 90px);
}

#background-back{

    max-height: calc(100vh - 40px);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1) scaleY(.99);
}

#background-front{
    max-width: 100%;
}

#background-back{
    max-width: 99.5%;
}
/*
.container {
    height: 100vh;
    display: flex;
    padding-top: 7px;
    position: relative;
    justify-content: center;
}

.fullscreen-image {
    max-height: calc(100% - 90px);
    transition: transform 0.5s;
    cursor: pointer;
    max-width: 100%;
    height: auto;
}


.fullscreen-image {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

#verso.virar {
    transform: rotateY(180deg);
    opacity: 0;
}

#frente.virar {
    transform: rotateY(0deg);
    opacity: 1;
}

#frente {
    display: none;
}


.image-container {
  position: relative;
}

#logado {
  position: absolute;
  margin-top: 40%;
  font-size: 20px;
  padding: 10px 15px;
}

#logado div {
  line-height: 30px;
  padding-bottom: 15px;
}

#logado.teste div {
  line-height: 125%;
  padding-bottom: 15px;
  display: inline-block;
}

#foto-usuario {
  vertical-align: top;
  margin-left: 10px;
}

#foto-usuario img {
  position: relative;
}

#foto-usuario img:hover {
  cursor: pointer;
}

#previewImage {
    max-width: 100%;
    margin-top: 10px;
}

#loadingOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    display: none;
}

#loadingOverlay img {
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 360px) {
  #logado div {
      line-height: 20px;
      padding-bottom: 10px
  }
  #logado {
    font-size: 15px;
  }
}
*/