img { pointer-events: none; }
img, html, body, div, a { 
    outline: none; 
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: transparent;
}

html,body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.chapel {
    width: 100%;
    height: 100%;
    position: relative;
}

.cover {
    width: 100%;
    height: 100%; 
    position: absolute;
    background-color: #9b460c;
    z-index: 1000;
}

.background {
    width: 100%;
    height: 100%; 
}

.floor {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: block;
}

.chandelier {
    width: 23%;
    position: absolute;
    top: 0;
    display: block;
    left: 0;
    z-index: 10;
}

.center_group {
    width: 30%;
    position: absolute;
    display: block;
    z-index: 10;  
    bottom:0;
}

.candle_table {
    width: 30%;
    position: absolute;
    left: 0;
    display: block;
    z-index: 10;  
    bottom:0;
}

.flowers {
    width: 35%;
    position: absolute;
    right: 15%;
    display: block;
    z-index: 12;
    bottom: 0;
}

/* ICON -----------------------------------------------------------*/

.icon_table {
    width: 46%;
    position: absolute;
    left: 30%;
    display: block;
    z-index: 11;  
    bottom:0;
}

.icon_control {
    height: 138px;
    width: 27.5%;
    left: 39.3%;
    z-index: 12;
    position: absolute;
    /*border: 1px solid red;*/
    cursor: pointer;
}

.icon_close {
    width: 32px;
    height: 32px;
    position: absolute;
    right: 15px;
    top: 15px;
    background-color: #fff;
    opacity: 0.7;
    color: #000;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}

.icon {
    width: auto;
    height: 80%; 
    position: absolute;
    z-index: 1001;
    display: none;
    top: 10%;
}

.icon img {
    width: auto;
    height: 100%; 
}

/* CANDELS -----------------------------------------------------------*/

.candlestick {
    width: 22%;
    position: absolute;
    right: 0;
    display: block;
    z-index: 10;  
    bottom:0;
}

.candlestick_control {
    height: 138px;
    width: 27.5%;
    right: 0;
    z-index: 12;
    position: absolute;
    /*border: 1px solid red;*/
    cursor: pointer;
}

.candles_behind, .candles_in_front {
    height: 138px;
    width: 27.5%;
    right: 0;
    z-index: 12;
    position: absolute;
    cursor: pointer;
}

.candles_behind {
    z-index: 8;
    /*border: 1px solid red;*/
}

.candles_in_front {
    z-index: 12;
    /*border: 1px solid red;*/
}

.candle_table_control {
    height: 138px;
    width: 27.5%;
    left: 1%;
    z-index: 12;
    position: absolute;
    /*border: 1px solid red;*/
    cursor: pointer;
}

.candle_in_hand {
    z-index: 1003;
    position: absolute; 
    display: none; 
    width: 27.05%;
    overflow:hidden;
    /*border: 1px solid red;*/
    height:140px;
}

.candle_in_hand .all {
    position: absolute;
    top: 10px;
    width: 100%;
    height: 150px;
    z-index: 10;
}

.candle_in_hand .fire {
    margin: auto;
    width: 8px;
    height: 18px;
}

.candle_in_hand .glow {
    top: 0;
    height: auto;
    opacity: 0.2;
    position: absolute;
    z-index: 9;
    width: 100%;
}

.candle_in_hand .body {
    margin: auto;
    height: 150px;
    display: block;
    width: 5px;
    background-size: cover;
    background-repeat: no-repeat;
}

.buttons {
    position: absolute;
    top: 30%;
    z-index: 10;
    top: 20px;
    left: 200px;
    display: flex;
    justify-content:space-around;
}

.yellow_button {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: .3em 2em;
    outline: none;
    border-width: 2px 0;
    border-style: solid none;
    border-color: #FDBE33 #000 #D77206;
    border-radius: 6px;
    background: linear-gradient(#F3AE0F, #E38916) #E38916;
    transition: 0.2s;
    font-size: 20px;
    text-shadow: 0 1px 1px #333;
    box-shadow: 0 0 0 60px rgba(0,0,0,0) inset, .1em .1em .2em #000;
    display: block;
    margin-left: 30px;
    margin-right: 30px;
} 
.yellow_button:hover { background: linear-gradient(#f5ae00, #f59500) #f5ae00; }
.yellow_button:active { background: linear-gradient(#f59500, #f5ae00) #f59500; }

@media (max-width: 700px) {
    .buttons {
        width: 90%;
    }
    .yellow_button {
        font-size: 15px;
        margin-left: 20px;
        margin-right: 20px;
    }
}

