.menu {
    background-image: url(../img/shared/menu-background.jpg)
}
img.top {
    top: 0px;
}
#home-logo {
    top: 74px;
	width: 1000px;
	height: auto;
}
img.left {
    left: 0px;
}
#buttons {
    width: 960px;
    height: 263px;
    top: 160px;
    display: flex;
}
#select-game {
    top: 460px;
}
#buttons img {
    position: relative;
}

#preload {
    /* background-image: url(../img/bootstrap.jpg);
    display: flex;
    background-repeat:no-repeat;
    background-position: center center; */
    width: auto;
    height: 100%;
    /*50vw = half viewport width*/
    /* bootstrap width = 1920 height = 1080*/
    left: calc(50vw - ((100vh / 1080) * 960));
}

div.menu-area {
    overflow-x: hidden;
    overflow-y: auto;
    width: 1520px;
    height: 680px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    position: absolute;
}

#articulation-menu {
  justify-content: center;
}

#language-menu {
    align-content: center;
    justify-content: center;
}

#topic-submenu {
  direction: rtl;
  height: 666px;
  width: 500px;
}

.submenu {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

div.topic {
  color: #00606e;
  font-family: 'Open Sans Condensed';
  font-weight: 900;
  font-size: 40px;
  background-image: url(../img/language/white-button.png);
  width: 471px;
  display: flex;
  flex: none;
  height: 104px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-bottom: 10px;
}

a.subtopic {
  background-color: #00a9a1;
  border-radius: 30px;
  width: 555px;
  height: 64px;
  font-size: 30px;
  line-height: 60px;
  margin: 0 0 20px 20px;
  -webkit-box-shadow: inset 0px 5px 0px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: inset 0px 5px 0px 0px rgba(0,0,0,0.2);
  box-shadow: inset 0px 5px 0px 0px rgba(0,0,0,0.2);
  cursor: pointer;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,0.4))
}

div.menu-button {
    display: flex;
    /* width: 110px; */
    height: 90px;
    margin: 20px;
    line-height: 90px;
    font-size: 60px;
    justify-content: center;
    background-image: url(../img/articulation/glint.png);
    background-position: top left;
    background-color: #007676;
    border-radius: 30px;
    -webkit-box-shadow: inset 0px 5px 0px 0px rgba(255,255,255,0.4);
    -moz-box-shadow: inset 0px 5px 0px 0px rgba(255,255,255,0.4);
    box-shadow: inset 0px 5px 0px 0px rgba(255,255,255,0.4);
    min-width: 110px;
}

div.menu-button span {
    margin: 0 30px;
}

div.dialog {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

div.scrim {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    position: absolute;
}

div.dialog-panel {
    width: 1060px;
    height: 540px;
    background-image: url(../img/shared/popup-dialog.png);
}

div.blends-panel {
    width: 1788px;
    height: 891px;
    padding: 96px 0;
    background-image: url(../img/shared/popup-dialog-large.png);
}

div.popup  {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

div.popup a {
    background-color: #007676;
    border-radius: 16px;
    width: 420px;
    height: 100px;
    font-size: 60px;
    line-height: 100px;
    margin: 20px;
    -webkit-box-shadow: inset 0px 3px 0px 0px rgba(255,255,255,0.4);
    -moz-box-shadow: inset 0px 3px 0px 0px rgba(255,255,255,0.4);
    box-shadow: inset 0px 3px 0px 0px rgba(255,255,255,0.4);
    cursor: pointer;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.4))
}

div.character-buttons {
    position: absolute;
    top: 210px;
    left: 230px;
    width: 1470px;
    height: 500px;
    display: flex;
    flex-wrap: wrap;
    align-content: center
}

img.character-button {
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
}

#char-continue {
    bottom: 0;
    cursor: pointer;
}

div.how-many {
    position: absolute;
    display: flex;
    justify-content: flex-end;
    top: 700px;
    width: 1424px;
    height: 143px;
    background-image: url(../img/character/how-many-fish.jpg);
}

img.s-quantity {
    position: relative;
    box-sizing: border-box;
    top: 4px;
    cursor: pointer;
}

#game{
    background-image: url(../img/game/game-screen-background.jpg)
}

#play-again {
    position: absolute;
    display: none;
    bottom: 20px;
    width: 530px;
    height: 190px; 
    cursor: pointer;
    background-image: url(../img/game/play-again.png)
}

#play-again span {
    margin: auto;
    font-size: 60px;
    position: relative;
    top: -14px;
    font-weight: 900;
    font-family: Arial;
    -webkit-text-stroke: 3px #449dcc;
}

#word-display {
    pointer-events: none;
    position: absolute;
    display: flex;
    right: 40px;
    bottom: 20px;
    width: 840px;
    height: 120px;
}

#word-zone {
    bottom: -10px;
    pointer-events:none;
}

#word-span {
    pointer-events:none;
    margin: auto;
    font-size: 76px;
    z-index: 10;
    font-weight: 900;
    font-family: Arial;
    -webkit-text-stroke: 3px #0088bb;
}

#sentence {
    pointer-events:none;
    width: 830px;
    height: 120px;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    position: absolute;
    right: 44px;
    bottom: 80px;
    border: solid white 4px;
}

#sentence span {
    pointer-events:none;
    font-size: 46px;
}

img.point {
  right: -10px;
  position: absolute;
}
div.spinner {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    position: absolute;
    justify-content: center;
}

div.spinner img {
    position: relative;
}

p.login {
    background-color: rgba(0,0,0,0.6);
}