/*
    Copyright PRO TV S.A. All rights reserved.
    Contact: @protv.ro
*/
@charset 'utf-8';
@import 'style.css';

/* * { outline: 1px dotted magenta !important; } */

.room {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
  position: relative;
  perspective: 1000px;
  background-color: var(--white);
  padding: 0 15px;
  margin-bottom: 30px;
  overflow: hidden;
}

.timer {
  background-color: var(--oskar-grey);
  width: 230px;
  height: calc(7% - 10px);
  padding: 10px;
  position: relative;
  border-radius: 4px;
  font-family: var(--main-font);
  color: var(--oskar-blue);
  font-weight: 700;
  margin: 30px auto;
}

.timer strong {
  color: var(--white);
  font-family: var(--main-font);
  font-weight: 400;
  text-transform: uppercase;
}

.timer:before {
  font-family: 'Font Awesome 5 Pro';
  content: '\f017';
  margin-right: 3px;
  color: var(--oskar-blue);
}

.canvas {
  height: 600px;
  position: relative;
  background-image: url(https://assets.protv.ro/assets/oskar-2023/images/rooms/clean/living-clean.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  touch-action: none;
}

.canvas .overlay {
  height: 100%;
  width: 100%;
  cursor: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/circular-cursor.png) 53 53, crosshair;
}

.front-face {
  transform: rotateY(180deg);
}

.front-face, .back-face {
  width: 100%;
  height: 100%;
  /* padding: 20px; */
  position: absolute;
  background: var(--gold-light);
  backface-visibility: hidden;
}

.retry {
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  left: 0;
  bottom: 0;
  justify-content: center;
  align-items: center;
  background: rgba(245, 237,229, .85);
  /*background: rgba(236, 236, 236, .75);*/
  /*background: linear-gradient(135deg, #464646, #ffffff);*/
  /*opacity: 0.7;*/
}

.retry button {
  height: 50px;
  width: 100%;
  max-width: 370px;
  background-color: var(--oskar-grey);
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  left: 50%;
  box-shadow:
    -10px -10px 15px rgba(255, 255, 255, 0.9),
    10px 10px 15px rgba(70, 70, 70, 0.12);
  outline: none;
  -webkit-appearance: none;
  border-radius: 4pxpx;
  display: flex;
  justify-content: center;
  transform: translate(-50%, -50%);
  align-items: center;
  padding: 10px;
  cursor: pointer;
  color: var(--white);
  border:none;
}

.retry button:hover {
  background-color: var(--oskar-black);
  color: var(--white);
  outline: none;
  border: none;
}

.retry button::before {
  font-family: 'Font Awesome 5 Pro';
  content: '\f363';
  color: var(--oskar-blue);
  font-size: 25px;
  padding-right: 10px;
}

.retry button:active {
  box-shadow:
    -10px -10px 15px rgba(255, 255, 255, 0.5),
    10px 10px 15px rgba(70, 70, 70, 0.12),
    inset -10px -10px 15px rgba(255, 255, 255, 0.5),
    inset 10px 10px 15px rgba(70, 70, 70, 0.12);
}

.retry button:active::before {
  color: #15e38a;
}

.container-rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 20px;
  padding: 20px 0;
}

@media (max-width: 834px) {
  .canvas {
    
  }
}

@media (max-width: 768px) {
  .canvas {
    height: 400px;
  }
}

@media (max-width: 540px) {
  .canvas {
    height: 200px;
  }
}
