body,
html {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@media only screen and (max-width: 640px) {

  body,
  html {
    max-width: 640px;
    max-height: 1136px;
  }
}

@media only screen and (min-width: 640px) {

  body,
  html {
    max-width: 950px;
    max-height: 713px;
  }
}


.container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.scene {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  background-color: yellow;
}

@media only screen and (max-width: 640px) {
  .scene {
    height: 100%;
  }
}

.mainCanvas {
  position: absolute;
  width: 100%;
  margin: auto;
  display: block;
  background-color: black;
  object-fit: cover;
}

@media only screen and (max-width: 640px) {
  .mainCanvas {
    height: 100%;
  }
}

@media only screen and (min-width: 640px) {
  .mainCanvas {
    /* width: 100%; */
    /* height: 100%; */
  }
}


#ceresit-logo {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 7;
}

@media only screen and (max-width: 640px) {
  #ceresit-logo {
    width: 25%;
    height: auto;
  }
}

#language-dropdown {
    position: absolute;
    top: 65px;
    right:0px;
    z-index: 7;
    background-color: black;
    color: white;
}

@media only screen and (max-width: 640px) {
  #language-dropdown{
    top: 6.5%;
  }
}

.language
{
    color: white;
}

.menu {
  position: absolute;
  z-index: 7;
}

@media only screen and (max-width: 640px) {
  .menu {
    border: none;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: center;
    font-size: 0;
    transition: margin-bottom .5s;
  }
}

@media only screen and (min-width: 640px) {
  .menu {
    position: absolute;
    left: 0;
    width: 80px;
    height: 100%;
    left: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: margin-left .5s;
  }
}

.menu input[type='image'] {
  width: 80px;
  height: 80px;
  cursor: pointer;
  outline: none;
}

@media only screen and (max-width: 640px) {
  .menu input[type='image'] {
    width: 60px;
    height: 60px;
    display: inline-block;
    vertical-align: middle;
  }
}

@media only screen and (max-width: 640px) {
.menu-buttons{
        position: relative;
        display: inline-block;
        width: 60px;
        height: 60px;
    }

.image-text{
    display: inline-block;
    position: absolute;
    width: 60px;
    height: 22.5px;
    bottom: 0px;
    text-align: center;
    color: white;
    word-wrap: break-word;
    font-size: 8px;
}
}

@media only screen and (min-width: 640px) {
.menu-buttons{
        position: relative;
        display: inline-block;
        width: 80px;
        height: 80px;
    }

.image-text{
        display: inline-block;
        position: absolute;
        width: 80px;
        height: 30px;
        bottom: 0px;
        text-align: center;
        color: white;
        word-wrap: break-word;
        font-size: 11px;
    }
}

.sub-menu {
  position: absolute;
  background-color: #111;
  transition: 0.5s;
  z-index: 7;
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 640px) {
  .sub-menu {
    bottom: 0;
    left: 0;
    height: 0;
    width: 100%;
  }

  .menu-header {
  position: relative;
  width: 200px;
  height: 15px;
  left: 10px;
  top: 0px;
  display: block;
}

  .menu-header nav {
    position: absolute;
    height: 20px;
    margin: 0;
    padding: 5px 0px;
    font-size: 11px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans';
    color: white;
    font-weight: 100;
    vertical-align: middle;
    word-wrap: break-word;

  }
}

@media only screen and (min-width: 640px) {
  .sub-menu {
    height: 100%;
    width: 0;
    bottom: 0;
    left: 0;
    padding-top: 60px;
    overflow-x: auto;
    overflow-y: hidden;
  }

.menu-header {
      position: absolute;
      width: 200px;
      height: 50px;
      left: 10px;
      top: 0px;
      display: block;
    }

.menu-header nav {
      position: absolute;
      height: 50px;
      margin: 0;
      padding: 15px 0px;
      font-size: 20px;
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans';
      color: white;
      font-weight: 100;
      vertical-align: middle;
      word-wrap: break-word;
      display: inline;
    }
}

.sub-menu a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sub-menu .closebtn {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 36px;
  margin-left: 50px;
}

@media only screen and (max-width: 640px) {
  .menu-header h3 {
    color: transparent;
  }
}

.close-button {
  position: absolute;
  left: 480px;
  top: 70px;
  z-index: 7;
  display: none;
}

.close-button input {
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 7;
}

.icon-bar {
  position: absolute;
  width: 40px;
  /* background-color: black; */
  z-index: 7;
  right: 0;
}

@media only screen and (max-width: 640px) {
  .icon-bar {
    margin: 0;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

@media only screen and (min-width: 640px) {
  .icon-bar {
    height: 100%;
    right: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


.icon-bar button {
  display: block;
  text-align: center;
  padding: 12px;
  transition: all 0.3s ease;
  background-color: black;
  color: white;
  font-size: 18px;
  border: none;
  outline: none;
}

.icon-bar button:hover {
  background-color: white;
  color: black;
}


.img-magnifier-glass {
  position: absolute;
  /* border: 1px solid #000; */
  border-radius: 50%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  margin: 0 auto;
  width: 200px;
  height: 200px;
  z-index: 15;
  visibility: hidden;
  -webkit-box-shadow: 0px 0px 50px -1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 50px -1px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 50px -1px rgba(0, 0, 0, 0.75);
  transition: transform .2s;
  -webkit-transform: scale(0.1);
  transform: scale(0.1);
}

.email-bar {
  width: 350px;
  height: 150px;
  background-color: white;

  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  margin: auto;
  z-index: 7;

  text-align: center;
}

.email-bar input[type="submit"] {

  border: none;
  color: white;
  background-color: black;
  outline: none;
}

.email-bar input[type="email"] {
  size: 35px;
}

/* .email-bar input[type="submit"]:hover {
  color: black;
  background-color: white;
} */

@media only screen and (min-width: 640px) {
.floor-grout-btn {
    border-radius: 0;
    width: 70px;
    height: 70px;
    /* margin-right: 5px;
    margin-bottom: 5px; */
    text-indent: -999999px;
    outline: none;
    border: 1px solid white;
    }
}

@media only screen and (max-width: 640px) {
  .floor-grout-btn {
    border-radius: 0;

    width: 60px;
    height: 60px;
    margin: 10px;
    text-indent: -999999px;
    flex: 0 0 70px;
    outline: none;
  }
}

.wall-grout-btn {
  border-radius: 0;
  width: 70px;
  height: 70px;
  /* margin-right: 5px;
  margin-bottom: 5px; */
  text-indent: -999999px;
  outline: none;
  border: 1px solid white;
}

@media only screen and (max-width: 640px) {
  .wall-grout-btn {
    border-radius: 0;
    margin: 10px;
    text-indent: -999999px;
    flex: 0 0 70px;
    outline: none;
  }
}

.wall-tile-btn {
  border-radius: 0;
  width: 70px;
  height: 70px;
  /* margin-right: 5px;
  margin-bottom: 5px; */
  text-indent: -999999px;
  outline: none;
  border: 1px solid white;
}

@media only screen and (max-width: 640px) {
  .wall-tile-btn {
    border-radius: 0;
    margin: 10px;
    text-indent: -999999px;
    flex: 0 0 70px;
    outline: none;
  }
}


.floor-tile-btn {
  border-radius: 0;
  width: 70px;
  height: 70px;
  /* margin-right: 5px;
  margin-bottom: 5px; */
  text-indent: -999999px;
  outline: none;
  border: 1px solid white;
}

@media only screen and (max-width: 640px) {
  .floor-tile-btn {
    border-radius: 0;
    margin: 10px;
    text-indent: -999999px;
    flex: 0 0 70px;
    outline: none;
  }
}

.btn-group {
  /* background-color: yellow; */
  /* overflow: hidden; */
}

@media only screen and (max-width: 640px) {
  .btn-group {
    display: flex;
    padding-top: 5px;
    padding-bottom: 0px;
    padding-left: 8px;
    height: 100px;
    overflow-y: auto;
    /* overflow-y: scroll; */
  }
}

@media only screen and (min-width: 640px) {
  .btn-group {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-row-gap: 5px;
    padding-top: 0px;
    padding-left: 10px;
    /* padding-bottom: 10px; */
    overflow-y: auto;
  }
}

.btn-group .active {
  border: 4px solid white;
}

@media only screen and (min-width: 640px) {
    .button-description {
      display: block;
      position: absolute;
      background-color: black;
      text-indent: 0%;
      color: white;
      width: 100%;
      height: 15px;
      left: 0px;
      bottom: 0px;
      text-align: center;
      font-size: 12px;
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans';
    }
}

@media only screen and (max-width: 640px) {
    .button-description {
      display: block;
      position: absolute;
      background-color: black;
      text-indent: 0%;
      color: white;
      width: 100%;
      height: 15px;
      left: 0px;
      bottom: 0px;
      text-align: center;
      font-size: 12px;
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans';
    }
}

.room-btn {
  /* border: 1px solid white; */
  border-radius: 0%;
  width: 70px;
  height: 70px;
  /* margin: 5px; */
  text-indent: -999999px;
  outline: none;
  background-size: 100%;
  background-repeat: no-repeat;
  overflow: hidden;
}

@media only screen and (max-width: 640px) {
  .room-btn {
    /* border: 1px solid white; */
    width: 60px;
    height: 60px;
    border-radius: 0%;
    margin: 10px;
    /* margin: 0 auto; */
    flex: 0 0 60px;
  }
}