body {
    margin: 0px;
    overflow: hidden;
    color: black;
    text-align: center;
    font-family: 'Amatic SC', cursive;
}

div {
    box-sizing: border-box;
    /* border: 1px solid red;*/
}

h1 {
    /*position: absolute;
    width: 100%;
    z-index: 1;
    font-size: 1.5rem;*/
    padding-bottom: 10px;
    font-size: 60px;
}

#scene-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

#sizing-lines, #sizing-lines-V {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sizing-line.horizontal {
    border-top: 1px solid black;
    position: fixed;
}

.sizing-line.vertical {
    border-left: 1px solid black;
    position: fixed;
}

#sizing-lines-V .sizing-line.vertical {
    border-left: 1px solid black;
    position: fixed;
}

#sizing-lines-V .sizing-line.horizontal {
    border-left: 1px solid black;
    position: fixed;
}

.sizing-line:after, .sizing-line:before {
    content: "";
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    width: 11px;
    height: 11px;
    position: absolute;
}

.sizing-line.horizontal:before {
    transform: rotate(45deg);
    top: -6px;
    left: 0;
}

#sizing-lines .sizing-line.horizontal:after {
    transform: rotate(225deg);
    top: -6px;
    right: 0;
}

.sizing-line.vertical:before, #sizing-lines-V .sizing-line:before {
    transform: rotate(-225deg);
    top: 0;
    left: -6px;
}

.sizing-line.vertical:after {
    transform: rotate(-45deg);
    bottom: 0;
    left: -6px;
}

#sizing-lines-V .sizing-line:after {
    transform: rotate(-45deg);
    bottom: 0 !important;
    left: -6px;
}

.sizing-line .size-label {
    position: absolute;
    padding: 0 7px;
    background-color: white;
    white-space: nowrap;
}

.sizing-line .size-label:after {
    content: " cm";
}

.sizing-line.horizontal .size-label {
    left: 50%;
    transform: translate(-50%, -50%);
    top: 0;
}

.sizing-line.vertical .size-label {
    left: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
    top: 50%;
}

#sizing-lines-V .sizing-line .size-label {
    left: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
    top: 50%;
}

.sizing-line .input-size {
    width: 100px !important;
    position: absolute;
    transform: translate(-50%, -50%);
    display: none;
}

.sizing-line.horizontal .input-size {
    left: 50%;
}

.sizing-line.vertical .input-size, #sizing-lines-V .sizing-line .input-size {
    top: 50%;
}

.wrapper {
    background-color: #252934;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    font-weight: bold;
}

.wrapper#tools {
    right: 0;
    left: unset;
    display: none;
}

.wrapper#tools > p {
    font-size: 20px;
    padding-top: 10px;
}

.button {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 130px;
    width: 100px;
    padding: 0 10px 10px;
    transition: 0.2s;
}

.button i {
    font-size: 3em;
    padding: 5px;
}

.first-layer .button:hover {
    background-color: #1f8ae4;
}

.wrapper .first-layer {
    position: relative;
    z-index: 397;
}

.wrapper .second-layer {
    display: none;

}

.wrapper .second-layer {
    top: 0;
    left: 99%;
}

.second-layer .button:hover {
    background-color: #1f8ae4
}

canvas {
    visibility: hidden;
    opacity: 0.0
}

#sizing-lines {
    visibility: hidden;
    opacity: 0.0
}

#tools-tip {
    display: none;
    position: absolute;
    z-index: 999;
    border-radius: 25px;
    border: 1px solid #252934;
    background-color: white;
    width: 400px;
    height: 400px;
}

.input {
    width: Calc(50% - 25px);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 25px;
    padding: 10px;
}

.input > p {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
}

.input > div {
    text-align: right;
    font-weight: bold;
    font-size: 13px;
    padding: 1px 0 5px 0;
}

.img-container {
    padding: 10px;
    width: Calc(50% - 20px);
    height: Calc(50% - 30px);
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.bg-img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.tile-types {
    position: absolute;
    right: 50px;
    bottom: 50%;
    transform: translateY(50%);
    width: 100px;
    display: none;
    font-size: 20px;
}

.tile-spacing {
    position: absolute;
    left: 50px;
    bottom: 50%;
    transform: translateY(50%);
    width: 100px;
    display: none;
    font-size: 20px;
}

.tile-laibung {
    background-color: #252934;
    color: #7cca8a;
    position: absolute;
    left: 50px;
    bottom: 50%;
    transform: translateY(50%);
    width: 100px;
    display: none;
    font-size: 20px;
    border-radius: 15px;
}

.tile-laibung .tile-type{

    height: 100px;
}

.tile-type, .tile-group {
     width: 100px;
     height: 70px;
     background-color: #252934;
     color: #7cca8a;
     display: flex;
     justify-content: center;
     align-items: center;
     float: left;
     border: 1px solid transparent;
     cursor: pointer;
     border-radius: 15px;
     margin-bottom: 5px;
     padding: 5px
 }
.tile-group .tile-type{
    color: black;
}

.tile-type:last-child, .tile-group:last-child {

    margin-bottom: 0px;
}

.tile-type {
    display: none
}

#price {
    display: none;
    width: 100px;
    height: 70px;
    background-color: #252934;
    color: #7cca8a;
    justify-content: center;
    align-items: center;
    float: left;
    border: 1px solid transparent;
    border-radius: 15px;
    padding: 5px;
    position: absolute;
    right: 50px;
    bottom: 30px;
    font-size: 20px;
    text-align: center;
}

#second-screen {
    display: none;
}

#first-screen {
    position: relative;
    /* width: 1200px; */
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-around;
    align-items: center;
    font-size: 30px;
}

#first-screen .button {
    height: 300px;
    width: 300px;
    color: #7cca8a;
    background-color: #252934;
    cursor: pointer;
    border-radius: 20px;
    margin: 10px;
    font-size: 40px;
}

#send{
    display: none;
}

.order-overview{
    font-size: 30px;
}

.input-group{
    margin: auto;
}
.input-group .form-control{
    width: 400px;
}

.btn {
    font-size: 24px;
}

/*
#first-screen .button:nth-child(odd){
transform: translateX(-150%);
}

#first-screen .button:nth-child(even){
    transform: translateX(50%);
}

#first-screen .button:nth-child(2n){
    color: red;
}*/

#second-screen p, .extra-tools p {
    font-size: 20px;
}

.helper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%);
    visibility: hidden;
    opacity: 0.0;
    background-color: #555555c2;
    border-radius: 10px;
    color: white;
    padding: 15px;

}

.helpers {
    width: 100%;
    height: 100%;
    position: absolute;
    /* color: black; */
    background-color: rgba(255, 255, 255, 0.20);
    z-index: 1;
}

.helper i, .info i {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
}

.ok {
    cursor: pointer;
    font-size: 20px;
    background-color: #252934;
    width: 100px;
    display: inline-block;
    border-radius: 10px;
    color: #7cca8a;
}

#next-step {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 35px;
    background-color: #252934;
    color: #7cca8a;
    padding: 0 20px;
    cursor: pointer;
    border-radius: 30px;
}

#next, #prv {
    position: absolute;
    display: none;
    bottom: 30px;
    left: 50%;
    font-size: 35px;
    background-color: #252934;
    color: #7cca8a;
    padding: 0 20px;
    cursor: pointer;
    border-radius: 30px;
}

#next {
    transform: translateX(50%);
}

#prv {
    transform: translateX(-150%);
}

#choose-tile-type, #tile-del {
    display: none;
}

.info {
    position: absolute;
    top: 50px;
    right: 200px;
}

.info i {
    font-size: 50px;
    color: #7cca8a;
}

#save-house {
    position: absolute;
    left: 50px;
    bottom: 30px;
    background-color: #252934;
    color: #7cca8a;
    padding: 10px 20px 0;
    cursor: pointer;
    border-radius: 30px;
}

.saving {
    width: 100%;
    height: 100%;
    position: absolute;
    /* color: black; */
    background-color: rgba(255, 255, 255, 0.20);
    z-index: 1;
    display: none;
    color: black;
    justify-content: center;
    align-items: center;
}

#sizing-options{
    display: none;
    position: absolute;
    color: #252934;
    font-weight: bold;
    font-size: 15px;
    left: 50px;
    top: 20px;
    text-align: left;
}

#orbit{
    display: none;
    position: absolute;
    background-color: #252934;
    color: #7cca8a;
    border-color: #252934;
    top: 20px;
    left: 50%;
    transform: translateX(-110%);
    border-radius: 15px;
}
#slide{
    display: none;
    position: absolute;
    background-color: #252934;
    color: #7cca8a;
    border-color: #252934;
    top: 20px;
    left: 50%;
    transform: translateX(10%);
    border-radius: 15px;
}