img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

#PhoneDiv {
  position: absolute;
  bottom:0;
  right: 0;
  width: 295px;
  height: 644px;

}

#PhoneBase {
  position: absolute;
  width: 294px;
  height: 644px;
  z-index: 1000;
  pointer-events: none;
}

#MainBackground {
  position: absolute;
  width: 100%;
  height: 100%;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

#PhoneContent{
  position: absolute;
  margin-left: 19px;
  margin-top: 80px;
  width: 260px;
  height: 531px;
}

.BlankBackground{
  position: absolute;
  width: 260px;
  height: 518px;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;

}


.Exit {
  position: absolute;
  bottom: -15px;
  left: 92px;
  z-index: 10000000;
}

.Exit:hover {
  filter: drop-shadow(0px 0px 20px #ffffff);

}

.AppIcon {
  position: relative;
  width: 50px;
  height: 50px;
  z-index: 1000;
}

.AppIcon:hover {
  filter: drop-shadow(0px 0px 20px #ffffff);
}

.AppName {
  position: absolute;
  bottom: -19px;
  color: white;
  text-shadow: 2px 2px 1px black;
  width: 100%;
  text-align: center;
  word-wrap: normal;
  font-size: 15px;
  font-family: "Calibri";
  font-weight: 600;
}

.AppPreview{
  position: relative;

}

#AppGrid {
  display: grid;
  position: relative;
  grid-template-rows: 50px 50px 50px 50px 50px;
  grid-template-columns: 50px 50px 50px 50px;
  margin: 15px;
  grid-column-gap: 10px;
  grid-row-gap: 22px;
  z-index: 100000;

}

.app {
  display: none;
  height: 100%;
  width: 100%;
}

#settings {
  z-index: 2000;
}

#SettingsFlex {
  position: absolute;
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-left: 13px;
  margin-top: 60px;
}

#SettingsText {
  position: absolute;
  font-size: 30px;
  font-family: Calibri;
  color: white;
  z-index: 1000;
  left: 30px;
  top:  10px
}
/* Смена фона */


#OriginalBackgroundPreview {
  z-index: 5000;
  border: 2px solid #ffffff;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;

}

#OriginalBackgroundPreview:hover {
  filter: drop-shadow(0px 0px 20px #ffffff);
}

#AltBackground {
  display: none;
  position: absolute;
  z-index: 0;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

#AltBackgroundPreview {
  z-index: 5000;
  border: 2px solid #ffffff;

}

#AltBackgroundPreview:hover {
  filter: drop-shadow(0px 0px 20px #ffffff);
}

#WallpaperText {
  position: absolute;
  z-index: 5000;
  color:white;
}

/* Миссии */

#MissionsBG {
  position: absolute;
  z-index: 1;
}

#MissionsFlex {
  height: 500px;
  margin-left: 2px;
  margin-top: 7px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  z-index: 2000;
  overflow: auto;
}

.MissionsHover:hover {
  filter: drop-shadow(0px 0px 3px #ffffff);
}

#Cheats {
  position: absolute;
  z-index: 2000;
}

#CraftScreen {

  position: absolute;
  z-index: 2000;
}

#StoreScreen {

  position: absolute;
  z-index: 2000;
}



#HidePhoneDiv {
  position:absolute;
  z-index: 10000;
  right: 0px;
  bottom: 0px;
  margin-right: 290px;

}

#ShowPhone {

  width: 280px;
}


#ShowPhoneDiv {
  display: none;
  position:absolute;
  z-index: 10000;
  right: 0px;
  bottom: 0px;
  margin-right: 10px;
}
