#gallery.show {
  opacity: 1;
  z-index: 0;
}
#gallery {
  margin: 0;
  height: 100vh;
  width: 100%;
  overflow: auto;
  position:fixed;
  display: grid;
  place-items: center;
  opacity: 0;
  z-index: -1;
}

.img-container {
  display: flex;
  border-radius: 15px;
  padding: 2% !important;
  left: 2%;
  position: relative;
}

.img-container img {
  width: 150px;
  height: 150px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.img-container img:not(:last-child) {
  margin-right: 10px;
}
.img-container:hover img{
  opacity:0.2;
}
.img-container img:hover{
  opacity:1;
}

@keyframes alarm { 50% {opacity: 0;} }

body::after {
  content:"";
  width:100%;
  height:100%;
  position:fixed;
  box-shadow: 0 0 500px -20px #cc1508 inset;
  top:0;
  left:0;
  opacity: 0;
  transition: 2s;
}
.warn::after {
  transition: 2s;
  opacity: 1;
  animation: 1s ease-out alarm infinite;
  -webkit-animation: 1s ease-out alarm infinite;
}
body::before {
  content: "";
  width:100%;
  height:100%;
  position:fixed;
  box-shadow: 0 0 500px -20px #2ef0c6 inset;
  top:0;
  left:0;
  z-index: 1;
  opacity: 0;
  transition: 2s;
}
.safe::before {
  opacity: 1;
  transition: 3s;
  animation: 2s ease-out alarm infinite;
    -webkit-animation: 2s ease-out alarm infinite;
}
.phone {
  width: 320px;
  height: 260px;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 77px;
  display: flex;
  align-items: flex-end;
  position: fixed;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}
.phone::before {
  content: '';
  position: absolute;
  width: 84%;
  height: 0px;
  bottom: -10px;
  box-shadow: 0 0 25px 9px rgba(255, 0, 0, 0.33), 50px 10px 25px 8px rgba(18, 255, 0, 0.33), -40px 8px 25px 9px rgba(242, 255, 0, 0.33);
  left: 0;
  right: 0;
  margin: auto;
}
.phone::after {
  content: '';
}
.phone_content {
  width: 100%;
  border-radius: 40px;
  overflow: hidden;
  position: absolute;
}
.phone_bottom {
  width: 100%;
  height: 66px;
  background: #03362b;
  display: flex;
  justify-content: center;
  filter: blur(10px);
}

input {
  display: none;
}

label {
  cursor: pointer;
  display: flex;
  width: 33%;
  height: 66px;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: -7px;
  color: transparent;
}
label > img {
  height: 60px;
  top: 0;
  bottom: 15px;
  margin: auto;
  position: absolute;
  z-index: 3;
  transition: 200ms 100ms cubic-bezier(0.14, -0.08, 0.74, 1.4);
}
label::before {
  content: '';
  position: absolute;
}

.circle {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 152px;
  z-index: 1;
  border-radius: 50%;
  left: 0;
  right: 0;
  margin: auto;
  transition: 200ms cubic-bezier(0.14, -0.08, 0.74, 1.4);
  }

.indicator {
  width: 70px;
  height: 70px;
  background-color: #188771;
  background-size: cover;
  background-position: 0 10px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: -42px;
  right: 0;
  margin: auto;
  transition: 200ms cubic-bezier(0.14, -0.08, 0.74, 1.4);
}

#s1:checked ~ [for="s1"] > img {
  top: -85px;
}
#s1:checked ~ [for="s1"] 
{ color: azure; }
#s1:checked ~ .circle,
#s1:checked ~ div div .indicator {
  left: -66%;
}

#s2:checked ~ [for="s2"] > img {
  top: -85px;
}
#s2:checked ~ [for="s2"] 
{ color: azure; }
#s2:checked ~ .circle,
#s2:checked ~ div div .indicator {
  left: 0;
}

#s3:checked ~ [for="s3"] > img {
  top: -85px;
}
#s3:checked ~ [for="s3"] 
{ color: azure; }
#s3:checked ~ .circle,
#s3:checked ~ div div .indicator {
  left: 66%;
}


@import url('https://fonts.googleapis.com/css?family=Voltaire');

body {
  margin: 0;
  max-height: 50%
  
}
#world{
  position: absolute;
  width:100%;
  height: 100%;
  background-color: #dbe6e6;
  overflow: hidden;
}


#gameoverInstructions{
  position:absolute;
  font-family:'Voltaire', sans-serif;
  font-weight:bold;
  text-transform: uppercase;
  font-size:120px;
  text-align:center;
  color:#4f0f0f;
  opacity:0;
  left:50%;
  top:33%;
  width:100%;
  transform : translate(-50%,-100%);
  user-select: none;
  transition: all 500ms ease-in-out;
  
  &.show{
    opacity:1;
    transform : translate(-50%,-50%);
    transition: all 500ms ease-in-out;
  };
}


#header {
  position: fixed;
  left:0;
  right:0;
  top:0;
  display: flex;
}

.value{
  position:absolute;
  transform:translate(-50%,0%);
  user-select: none;  
}

#dist{
  left:30%;
  top:30px;
}

#crt {
  right:10%;
  top:30px;
}

.label{
  position:relative;
  font-family:'Voltaire', sans-serif;
  text-transform:uppercase;
  color:#ffa873;//100707;
  font-size:14px;
  letter-spacing:2px;
  text-align:center;
  margin-bottom:2px;
}


#distValue,#CarrValue{
  position:relative;
  text-transform:uppercase;
  color:#dc5f45;//dc5f45;
  font-size:42px;
  font-family:'Voltaire';
  text-align:center;
  display: inline;
}

#instructions{
  position:absolute;
  width:100%;
  bottom:0;
  margin: auto;
  margin-bottom:30px;
  font-family:'Voltaire', sans-serif;
  color:#dc5f45;
  font-size:16px;
  letter-spacing:1px;
  text-transform: uppercase;
  text-align : center;
  user-select: none;
}
.lightInstructions {
  color:#5f9042;
}
body{
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;}