@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;400;700;800&display=swap");

body {
  font-family: "Cairo", sans-serif;
  background-color: #eee;
}

a {
  color: #000;
  text-decoration: none;
}

.link-custom:hover {
  cursor: pointer;
}

.w-50 {
  width: 50% !important;
}

.w-70 {
  width: 70% !important;
}

.w-80 {
  width: 80% !important;
}

.primary-color {
  color: #ffb633;
}

.second-color {
  color: #61666a;
}

.fa-whatsapp {
  left: 33%;
}

.flip-btn {
  left: 65%;
  z-index: 1;
  top: 5px;
}

.lang-btn {
  left: 31.5%;
}

.save-btn {
  left: 46%;
}

.card {
  border: 3px solid #676c70;
  height: 100%;
  background-image: url("../img/bg/4.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
}

.card .qr-code {
  right: 10px;
  bottom: 10px;
  position: absolute;
  width: 150px !important;
  height: 150px !important;
}

.card-link {
  display: block;
  transform: scale(1);
  transition: all 0.5s ease;
}

.card-link:hover {
  transform: scale(1.01);
  box-shadow: 1px 1px 10px 10px #676c703b;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.logos .small {
  font-size: 10px;
}

.couple-logos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 60%;
}

.logo {
  position: relative;
}

.sinaha-robotics,
.sinaha-technology,
.sinaha-smart-catalog,
.made-in-the-emirates,
.entaj,
.sinaha,
.walaa {
  width: 125px;
  margin: 0 1.6rem;
}

.sinaha-events {
  width: 90px;
}

.sinaha-platform {
  width: 270px;
}

.card .overlay {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #ffffff00;
}

.front-row {
  top: 0;
  bottom: 0;
}

.row {
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

img.img-fluid {
  width: 100%;
  height: 162px;
  display: block;
  margin: 0 auto;
  max-width: unset;
  min-width: unset;
  max-height: unset;
  min-height: unset;
  object-fit: cover;
  border-radius: 50%;
  background-color: #fff;
  border: 5px solid #676c70;
  box-shadow: 0px 0 20px 10px #676c703b;
}

img.logo {
  width: 50%;
  display: block;
  margin: 1rem auto 0 auto;
}

.info {
  border-left: 1px solid #0000002d;
}

.card-body {
  position: relative;
  text-align: center;
}

.qr {
  top: 45%;
  right: 5%;
  position: absolute;
}

.name {
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.job-title {
  text-transform: uppercase;
  font-size: 0.75rem;
}

.name,
.job-title,
.text-body-secondary {
  letter-spacing: 0px;
}

.job-title {
  position: relative;
}

.job-title::after,
.job-title::before {
  content: "";
  background-color: #000;
  position: absolute;
  display: block;
  height: 2px;
  width: 10%;
  top: 8px;
}

.job-title .title {
  width: 80%;
  margin: 0 auto;
}

.job-title::before {
  right: 0;
}

.details {
  text-align: left;
}

i {
  margin: 0 10px;
}

.buttons {
  width: 55%;
  margin: 0 auto;
}

.panel {
  width: 100%;
  margin: 0 auto;
  position: relative;
  height: 259px;
}

.panel .front {
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  bottom: 0;
  text-align: center;
  -webkit-transform: rotateX(0) rotateY(0);
  transform: rotateX(0) rotateY(0);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

.panel .back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0;
  text-align: center;
  -webkit-transform: rotateY(-179deg);
  transform: rotateY(-179deg);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

.panel.flip .front {
  transform: rotateY(179deg);
}

.panel.flip .back {
  -webkit-transform: rotateX(0) rotateY(0);
}

.panel {
  -webkit-perspective: 800px;
  perspective: 800px;
}

.social-media {
  bottom: -35px;
  left: 0;
  right: 0;
}

.logos .small .social-media {
  bottom: -20px;
}

.text-body-secondary {
  color: #00732f !important;
}

.sinaha-platform .text-body-secondary {
  color: #00335d !important;
}

.sinaha-technology-color {
  color: #fe681e !important;
}

.made-in-the-emirates-color {
  color: #000 !important;
}

.sinaha-robotics-color {
  color: #4fc0d0 !important;
}

.sinaha-smart-catalog-color {
  color: #048ed6 !important;
}

.card-parent {
  width: 55%;
  margin: 0 auto;
}

@media only screen and (max-width: 600px) {
  .card-parent {
    width: auto;
  }

  .flip-btn {
    left: auto;
    right: 7%;
  }

  .save-btn {
    left: auto;
    right: 30%;
  }

  .lang-btn {
    right: unset;
    left: 7%;
  }

  .logos {
    align-content: stretch;
    justify-content: space-evenly;
  }

  .sperate {
    display: none;
  }

  .sinaha-robotics,
  .sinaha-technology,
  .sinaha-smart-catalog,
  .made-in-the-emirates,
  .entaj,
  .walaa {
    width: 115px;
    margin: 0;
  }

  .sinaha-events {
    width: 85px;
  }

  .nav.justify-content-center.list-unstyled.d-flex {
    font-size: 9px;
  }

  .couple-logos {
    height: 25%;
  }

  .buttons {
    width: auto;
  }

  .panel {
    /* width: 315px; */
    height: 560px;
    margin: 1rem auto !important;
  }

  .card .qr-code {
    width: 40px !important;
    height: 40px !important;
  }

  .info {
    border-left: unset;
    border-top: 1px solid #0000002d;
  }

  img.img-fluid {
    width: 230px;
    height: 230px !important;
  }

  .job-title::after,
  .job-title::before {
    width: 10%;
    top: 7px;
  }

  .name {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .job-title {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  img.logo {
    margin: 2rem auto 0 auto;
  }

  .social-media {
    bottom: -30px;
  }

  .logo {
    margin-bottom: 1rem !important;
  }

  .logos .small {
    font-size: unset;
    margin: 1rem 0;
  }

  .logos .small .social-media {
    bottom: -30px;
  }

  .qr {
    top: 60%;
    position: absolute;
    width: 80px !important;
    height: 80px !important;
  }
}
