/* INICIO */

.container,
.container-sinopse,
.container-manual {
    background-color: #000000;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 50px;
    margin-right: 50px;
    color: white;
    height: 900px;
    border-radius: 8px;
    border: white 2px solid;    
}


.container-sinopse {
    height: 1150px;
}

.container-manual {
    height: 2000px;
}

.textmanual {
    text-align: justify;
    margin-left: 350px;
    margin-right: 350px;
    padding: 10px;
    font-size: 18px;
    font-family: times;
}

body {
    background-color: rgb(255, 255, 255);
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    transition: background-color 0.6s ease;
}

.textboasvindas {
    padding: 50px; 
    text-align: center;
    font-size: 28px;
    font-family: cursive;
}
 
.inicio {
    text-align: center;
    font-size: 26px;
    font-family: impact;
    padding: 5px;
    border: solid white 2px;
    border-radius: 5px;
    margin-left: 550px;
    margin-right: 550px;
    transition: 0.6s;
}

.inicio:hover {
    background-color: white;
    color: black;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 450px;
    margin-right: 450px;

}

a {
    text-decoration: none;
    color: white;
}

a:hover {
    color: black;
}

h1 {
    padding: 20px;
    text-align: center;
    color: white;
    background-color: black;
    box-shadow: rgb(85, 85, 85) 5px 5px 5px 5px;
    margin-left: 350px;
    margin-right: 350px;
    font-family: cursive;
}

.textsinopse {
    text-align: justify;
    margin-left: 350px;
    margin-right: 350px;
    padding: 10px;
    font-size: 18px;
    font-family: times;
}

/* CREDITO */

.imgcredito {
    width: 30px;
}

/* TIMER */

#timer {
    color: white;
    font-size: 38px;
    font-family: cursive;
    border: 2px black solid;
    border-radius: 10px;
    padding-left: 15px;
    padding-right: 15px;
    position: absolute;
    top: 60px; 
    left: 280px;
    background-color: black;
}

/* RECURSOS */

.butaoObjetivo {
    color: white;
    background-color: black;
    text-align: center;
    position: absolute;
    top: 98px;
    font-family: cursive;
    border: 2px black solid;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-top: 15px;
    left: 160px;
    border-radius: 10px;
    transition: 0.6s;
    font-size: 17px;
}

.butaoObjetivo:hover {
    cursor: pointer;
    opacity: 1;
}

h2 {
    color: white;
    text-align: center;
    position: absolute;
    top: 150px;
    background-color: black;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-top: 15px;
    left: 120px;
    border-radius: 5px;
    border: black 4px solid;
}

/* FASE 01 */

#containerfase1 {
    background-color: #fdfdfd;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 50px;
    margin-right: 50px;
    color: white;
    height: 800px;
    border-radius: 8px;
    border: rgb(0, 0, 0) 2px solid;
    display: flex;
    justify-content: space-around;
    align-items: center;   
}

.arcondicionado,
.armario,
.cama,
.abajur,
.comoda {
    position: absolute;
}

.arcondicionado {
    top: 10px; 
    right: 120px;
    width: 300px;
}

.armario {
    bottom: 0;
    right: 150px;
    top: 300px;
}

.cama {
    width: 450px;
    top: 355px;
    bottom: 0;
    left: 200px;
}

.abajur {
    left: 660px;
    width: 200px;
    top: 455px;
}

.comoda {
    left: 660px;
    width: 200px;
    top: 620px;
}

.object {
    position: relative;
}
.ar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    display: none;
}

img {
    cursor: pointer;
}

/* FASE 02 */

#containerfase2 {
    background-color: #fdfdfd;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 50px;
    margin-right: 50px;
    color: white;
    height: 800px;
    border-radius: 8px;
    border: rgb(0, 0, 0) 2px solid;
    display: flex;
    justify-content: space-around;
    align-items: center;   
}

.cozinha-images {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 420px;
}
.cozinha-images img {
    width: 250px; 
    cursor: pointer; 
}

#geladeira-game {
    position: relative;
    width: 300px;
    height: 400px;
    background-image: url('img/puzzle 2/geladeira-quebrada.png');
    background-size: cover;
    margin-top: 20px;
    margin-bottom: 150px; 
    display: flex;
    justify-content: center;
    align-items: flex-end; 
}
.geladeira-piece {
    position: absolute;
    cursor: pointer;
}
#geladeira-peca1 {
    top: 50px;
    left: 20px;
    width: 80px;
}
#geladeira-peca2 {
    top: 60px;
    left: 120px;
    width: 80px;
}
#geladeira-peca3 {
    top: 220px;
    left: 220px;
    width: 80px;
}

/* FASE 03 */

#containerfase3 {
    background-color: #fdfdfd;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 50px;
    margin-right: 50px;
    color: white;
    height: 800px;
    border-radius: 8px;
    border: rgb(0, 0, 0) 2px solid;  
}

.estante1,
.estante2,
.pc,
.quadro-sala,
.sala-de-estar,
.janela,
.mesadesala {
    position: absolute;
    width: 300px;
}

.estante1 {
    top: 440px;
    width: 400px;
    left: 10px;
}

.pc {
    top: 550px;
    left: 350px;
}

.estante2 {
    top: 400px;
    left: 600px;
    width: 200px;
}

.quadro-sala {
    top: 300px;
    width: 200px;
    left: 350px;
}

.sala-de-estar {
    left: 900px;
    top: 410px;
    width: 450px;
}

.janela {
    top: 300px;
    left: 1400px;
    width: 400px;
}

.mesadesala {
    top: 600px;
    left: 1450px;
}

/* JOGO SENHAS */

#game-box {
    top: 150px;
    left: 700px;
    background: radial-gradient(circle, rgba(2, 0, 36, 1) 0%, rgba(4, 4, 85, 1) 28%, rgba(3, 3, 71, 1) 57%, rgba(7, 78, 152, 1) 100%, rgba(0, 212, 255, 1) 100%);
    padding: 30px;
    border: 2px solid #000000;
    border-radius: 10px;
    box-shadow: 5px 5px 10px 10px rgba(0, 0, 0, 0.877);
    text-align: center;
    width: 400px;
    position: relative;
}

#input-box {
    margin: 10px 0;
}

#hints-container {
    margin-top: 20px;
    text-align: left;
}

#message-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    color: #000000;
    display: none;
}

#message-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    color: #000000;
    display: none;
    z-index: 999;
}

#jogo-senhas {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background: rgb(2, 0, 36);
}

/* TELA DE SUCESSO */

#telasucesso {
    color: white;
    text-align: center;
    position: absolute;
    top: 200px;
    background-color: black;
    padding-left: 150px;
    padding-right: 150px;
    padding-bottom: 150px;
    padding-top: 150px;
    left: 680px;
    border-radius: 5px;
    border: black 4px solid;
}

#botaosucesso {
    display: flex;
    margin: auto;
    margin-top: 60px;
    background-color: white;
    border: rgb(14, 0, 207) 2px solid;
    padding: 15px;
    font-family: cursive;
    border-radius: 10px;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0.1;
    }
    100% {
        opacity: 1;
     }
}