Files

289 lines
4.6 KiB
CSS
Raw Permalink Normal View History

2025-01-09 14:46:44 +01:00
body {
2025-02-19 17:20:59 +01:00
font-family: 'Fira Sans', sans-serif;
margin: 0;
padding: 0;
background-color: #a81411;
background-image: url("/resources/background.png");
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
overflow: hidden;
/* Verhindert Scrollen */
-webkit-user-select: none;
/* Safari */
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
2025-01-23 10:09:32 +01:00
2025-02-19 17:20:59 +01:00
h1 {
font-size: 3rem;
margin-bottom: 70px;
padding-top: 1rem;
-webkit-user-select: none;
/* Safari */
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.content {
display: grid;
grid-template-columns: auto 1fr;
gap: 20px;
align-items: center;
margin-left: 12rem;
margin-right: 12rem;
}
.footer {
display: flex;
grid-template-columns: auto 3fr;
gap: 250px;
align-items: flex-start;
margin-top: 20px;
margin-left: 12rem;
margin-right: 12rem;
margin-bottom: -70px;
}
.rating-container {
display: flex;
align-items: center;
justify-content: center;
height: 150px;
/* Feste Höhe für die Zeilen */
}
.rating-container h3 {
font-size: 3rem;
}
.emojies {
display: flex;
gap: 20px;
}
button {
font-size: 6rem;
border: none;
border-radius: 10px;
background-color: #f0f0f0;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s;
font-family: 'Fira Sans', sans-serif;
}
button.selected {
background-color: #a8a8a8;
}
#submit {
margin-top: 20px;
padding: 10px 20px;
font-size: 2rem;
cursor: pointer;
}
#thank-you-message {
display: none;
2026-09-11 15:11:18 +02:00
position: fixed;
inset: 0;
z-index: 1000;
background: #000;
}
#thank-you-message img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
.on-vote-ad-button {
padding: 0;
border: 0;
border-radius: 0;
background: transparent;
box-shadow: none;
cursor: pointer;
animation: ad-press 4s ease-in-out infinite;
}
.on-vote-ad-button img {
display: block;
}
.on-vote-ad-button:active {
transform: scale(0.95);
}
.ad-attention-circle {
position: fixed;
left: 50%;
bottom: -44px;
width: 88px;
height: 88px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.45);
pointer-events: none;
z-index: 10;
animation: ad-circle-flight 4s ease-in-out infinite;
}
@keyframes ad-circle-flight {
0%, 12% {
transform: translateX(-50%) scale(0.3);
opacity: 0;
}
20% {
transform: translateX(-50%) scale(1);
opacity: 0.5;
2026-09-11 15:11:18 +02:00
}
55% {
transform: translate(calc(-50% - 39vw), -80px) scale(1);
opacity: 0.5;
2026-09-11 15:11:18 +02:00
}
75% {
transform: translate(calc(-50% - 39vw), -80px) scale(0.3);
opacity: 0.5;
2026-09-11 15:11:18 +02:00
}
100% {
transform: translate(calc(-50% - 39vw), -80px) scale(0.3);
2026-09-11 15:11:18 +02:00
opacity: 0;
}
}
@keyframes ad-press {
0%, 65%, 100% {
transform: scale(1);
}
75% {
transform: scale(0.84);
}
84% {
transform: scale(1.04);
}
}
.close-ad-button {
position: absolute;
top: 24px;
right: 24px;
width: 64px;
height: 64px;
padding: 0;
border-radius: 50%;
background: rgba(0, 0, 0, 0.7);
color: white;
font-size: 3rem;
line-height: 1;
cursor: pointer;
2025-02-19 17:20:59 +01:00
}
table {
width: 80%;
margin: 20px auto;
border-collapse: collapse;
}
th,
td {
border: 1px solid #ddd;
padding: 8px;
text-align: center;
}
th {
background-color: #4CAF50;
color: white;
2025-02-24 19:53:10 +01:00
}
.charts-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.chart-wrapper {
2025-02-24 22:53:54 +01:00
background: rgb(190, 190, 190);
2025-02-24 19:53:10 +01:00
border-radius: 20px;
color: black;
2025-02-24 22:53:54 +01:00
width: 450px;
height: 350px;
}
.chart-wrapper-double {
background: rgb(190, 190, 190);
border-radius: 20px;
color: black;
width: 920px;
height: 350px;
2025-02-24 19:53:10 +01:00
}
.value-wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
2025-02-24 22:53:54 +01:00
background: rgb(190, 190, 190);
2025-02-24 19:53:10 +01:00
border-radius: 20px;
color: black;
2025-02-24 22:53:54 +01:00
width: 450px;
height: 350px;
2025-02-24 19:53:10 +01:00
text-align: center;
position: relative;
}
.value-wrapper h2 {
2025-02-24 22:53:54 +01:00
position: relative;
top: 60px;
2025-02-24 19:53:10 +01:00
margin: 0;
}
2025-02-24 22:53:54 +01:00
.m2x2-wrapper {
border-radius: 20px;
color: black;
width: 450px; /* Feste Breite */
height: 350px; /* Feste Höhe */
}
2025-02-24 19:53:10 +01:00
.feedbackValue {
2025-02-24 22:53:54 +01:00
font-size: 8rem;
2025-02-24 19:53:10 +01:00
font-weight: bold;
2025-02-24 22:53:54 +01:00
margin-top: 125px; /* Abstand zur Überschrift */
}
.m2x2-grid {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
gap: 20px;
height: 100%;
}
.m2x2-element {
background: rgb(190, 190, 190);
border-radius: 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.m2x2-element h3 {
margin: 0;
font-size: 1rem;
margin-bottom: 10px;
}
.mini-value {
font-size: 2rem;
font-weight: bold;
margin: 0;
2026-09-11 15:11:18 +02:00
}