body {
display: flex;
flex-direction: column;
align-items: center;
background: #f3f4f6;
font-family: 'Nunito', sans-serif;
min-height: 100vh;
margin: 0;
padding: 0;
color: #111827;
}
.tela-selecao {
position: relative;
z-index: 100;
text-align: center;
margin: 25px auto;
padding: 30px;
border-radius: 12px;
background: #ffffff;
max-width: 95vw;
box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.tela-selecao::before {
content: "";
position: fixed;
inset: 0;
background: rgba(255, 255, 255, 0.6);
z-index: -1;
}
.lista-imagens {
display: flex;
gap: 15px;
flex-wrap: wrap;
justify-content: center;
}
.modo {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 15px;
font-size: 0.9rem;
margin-bottom: 25px;
}
.modo > h2 {
width: 160px;
text-align: right;
margin: 0 30px 0 0;
font-size: 1.3rem;
color: #2563eb;
white-space: nowrap;
}
.opcao-img {
border: 3px solid rgba(0,0,0,0.1);
border-radius: 8px;
overflow: hidden;
cursor: pointer;
transition: 0.25s;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
background: #f9fafb;
}
.opcao-img img {
width: 160px;
height: 100px;
object-fit: cover;
}
.opcao-img:hover {
transform: scale(1.05);
border-color: #2563eb;
box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}
.opcao-img.selecionada {
border-color: #1d4ed8;
transform: scale(1.08);
box-shadow: 0 0 15px rgba(29, 78, 216, 0.5);
}
.btn {
padding: 10px 20px;
background-color: #2563eb;
color: white;
border: none;
border-radius: 8px;
font-size: 1em;
cursor: pointer;
transition: 0.25s;
font-weight: 600;
margin: 5px;
}
.btn:disabled {
background-color: gray;
cursor: not-allowed;
}
.btn:hover:not(:disabled) {
background-color: #1d4ed8;
transform: scale(1.04);
}
.voltar {
background-color: #2563eb;
position: absolute;
top: 20px;
left: 20px;
}
.voltar:hover {
background-color: #1d4ed8;
}
h2 {
text-align: center;
color: #111827;
font-size: 2.2em;
text-shadow: 0 0 4px rgba(0,0,0,0.1);
}
p {
color: #111827;
font-size: 1em;
text-shadow: 0 0 4px rgba(0,0,0,0.1);
}
.refe {
width: 300px;
height: 168px;
border-radius: 8px;
border: 3px solid #2563eb;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
margin: 15px auto;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
background: #f9fafb;
}
#img-referencia {
width: 100%;
height: 100%;
object-fit: cover;
}
#grade {
height: 168px;
width: 300px;
margin: 0 auto;
position: relative;
}
#grade div {
width: 50px;
height: 42px;
position: absolute;
background-size: 200px 3px;
transition: 0.25s ease-in-out;
cursor: pointer;
}
#grade div:hover {
z-index: 10;
opacity: 0.7;
transform: scale(1.1);
box-shadow: 0 0 8px #2563eb;
}
.popv {
display: none;
position: fixed;
inset: 0;
background-color: rgba(255,255,255,0.6);
justify-content: center;
align-items: center;
z-index: 1000;
}
.popv-conteudo {
background: #f9fafb;
padding: 30px;
border-radius: 10px;
text-align: center;
width: 300px;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
color: #111827;
}
@media (prefers-color-scheme: dark) {
body {
background: #111827;
color: #e6edf3;
}
.tela-selecao {
background: #1f2937;
box-shadow: 0 0 20px rgba(0,0,0,0.7);
}
.tela-selecao::before {
background: rgba(0, 0, 0, 0.6);
}
.modo > h2 {
color: #58a6ff;
}
.opcao-img {
background: #0f1724;
border-color: rgba(0,0,0,0.4);
box-shadow: 0 0 15px rgba(0,0,0,0.25);
}
.opcao-img:hover {
border-color: #0d5fa7;
box-shadow: 0 0 15px rgba(0,0,0,0.35);
}
.opcao-img.selecionada {
border-color: #137fd9;
box-shadow: 0 0 15px rgba(19,127,217,0.5);
}
.btn, .voltar {
background-color: #137fd9;
}
.btn:hover, .voltar:hover {
background-color: #0d5fa7;
}
.refe {
background: #0f1724;
border-color: #137fd9;
box-shadow: 0 0 15px rgba(0,0,0,0.25);
}
#grade div:hover {
box-shadow: 0 0 8px #137fd9;
}
.popv {
background-color: rgba(0,0,0,0.6);
}
.popv-conteudo {
background: #0f1724;
color: #e6edf3;
box-shadow: 0 0 15px rgba(0,0,0,0.4);
}
.popv-conteudo p {
color: #e6edf3;
}
.tela-selecao > h2 {
color: #e6edf3;
}
}
@media (max-width: 1440px) {
.tela-selecao {
padding: 25px;
}
.opcao-img img {
width: 150px;
height: 95px;
}
.refe {
width: 280px;
height: 158px;
}
#grade {
width: 280px;
height: 158px;
}
}
@media (max-width: 1024px) {
.tela-selecao {
padding: 20px;
}
.modo > h2 {
width: 140px;
font-size: 1.2rem;
}
.opcao-img img {
width: 140px;
height: 88px;
}
.refe {
width: 260px;
height: 145px;
}
#grade {
width: 260px;
height: 145px;
}
}
@media (max-width: 768px) {
.tela-selecao {
margin: 15px;
padding: 15px;
}
.modo > h2 {
width: 120px;
font-size: 1rem;
}
.opcao-img img {
width: 120px;
height: 75px;
}
.refe {
width: 220px;
height: 123px;
}
#grade {
width: 220px;
height: 123px;
}
}
@media (max-width: 480px) {
.tela-selecao {
margin: 10px;
padding: 10px;
}
.modo {
flex-direction: column;
align-items: center;
}
.modo > h2 {
width: auto;
text-align: center;
margin: 0 0 10px 0;
}
.opcao-img img {
width: 90px;
height: 60px;
}
.refe {
width: 180px;
height: 100px;
}
#grade {
width: 180px;
height: 100px;
}
}