Spaces:
Sleeping
Sleeping
File size: 2,752 Bytes
0f4962a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
.colorful-semantics {
max-width: 1100px;
margin: 0 0 0 auto;
padding: 2rem;
text-align: center;
font-family: 'Arial', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
}
.loading {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-size: 1.5rem;
font-weight: bold;
}
.media-container {
position: relative;
width: 100%;
max-width: 900px;
height: 55vh;
max-height: 500px;
margin: 0 auto 3rem;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
border-radius: 12px;
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
background-color: #f0f0f0;
}
.game-media {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.semantic-boxes {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: nowrap;
margin-bottom: 2rem;
}
.semantic-box {
/* Let width grow/shrink based on content so long phrases stay on one line */
width: auto;
min-width: 140px;
padding: 1.4rem 1.6rem;
border-radius: 10px;
border: 3px solid #000;
font-size: 1.6rem;
font-weight: bold;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
display: flex;
justify-content: center;
align-items: center;
min-height: 90px;
text-align: center;
white-space: nowrap; /* prevent text from wrapping to a new line */
}
.options-container {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
margin-top: 2rem;
}
.option {
background-color: #d3d3d3;
border: 3px solid #000;
border-radius: 8px;
padding: 1rem 1.5rem;
font-size: 1.3rem;
cursor: pointer;
transition: transform 0.15s, box-shadow 0.15s;
min-width: 140px;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.option:hover {
transform: scale(1.05);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.flying-option {
padding: 0.8rem 1.2rem;
border: 2px solid #000;
border-radius: 6px;
font-size: 1.1rem;
pointer-events: none;
z-index: 100;
min-width: 120px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
white-space: nowrap;
display: flex;
justify-content: center;
align-items: center;
}
.feedback-message {
color: #ff3c3c;
font-size: 1.2rem;
font-weight: bold;
margin-top: 1.5rem;
min-height: 28px;
}
.big-question {
position: fixed;
right: 220px;
top: 30%;
font-size: 6rem;
font-weight: bold;
color: #FF69B4;
text-align: left;
text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
z-index: 10;
}
@media (max-width: 768px) {
.semantic-boxes {
flex-wrap: wrap;
align-items: center;
}
.semantic-box {
width: 80%;
}
.options-container {
flex-direction: column;
align-items: center;
}
.option {
width: 80%;
}
}
|