#bgEnigma, #enigma, #marmaxel {
    position : absolute ;
    top : 0;
    right : 0;
}

#bgEnigma {
    z-index : 1000;
}

#enigma, #marmaxel {
    width : 50px;
    height : 50px;
    top: 80px;
    -webkit-transition : 1s;
    -o-transition : 1s;
    transition : 1s;
    z-index : 1001;
    color: black;
}

#bgEnigma.active {
    width : 100vw;
    height : 100vh;
}

#enigma.active {
    position : fixed;
    top : 50%;
    left : 50%;
    display : -webkit-box;
    display : -ms-flexbox;
    display : flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width : 80vw;
    max-width: 300px;
    height : 400px;
    padding : 10px 10px 20px;
    text-align: center;
    color: var(--text-color);
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.header-enigma {
    margin : 0;
    border-radius: 10px 10px 0 0 ;
}

figure.header-enigma {
    position : relative;
    margin : 0;
    height : 60vh;
    max-height: 200px;
}

.header-enigma img{
    position : absolute;
    top : 50%;
    left : 50%;
    width : auto;
    height: 100%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.header-enigma span {
    display : block;
    margin-top : 15px;
    margin : 5px;
    text-align : center;
    font-size : 5rem;
}

#enigmaError {
    display: block;
    min-height : 3rem;
    font-size : 1.2rem;
    color : red;
}

#enigma ul {
    list-style: none;
    width : 80%;
    height : 80%;
    margin : auto;
    padding : 0;
}

#enigma li:not(.noCapacity) {
    width : 100%;
    margin-bottom : 10%;
}

#enigma input{
    width : 100%;
    padding : 4px 7px;
    border : none;
    border-radius : 20px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

#enigma input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.3);
}

@media (min-width: 992px) {
    #bgEnigma, #enigma, #marmaxel {
        left : 0;
    }
}