Rahul-Samedavar's picture
fixed css
6604d57
body {
font-family: 'Poppins', sans-serif;
background-color: #121212;
color: #ffffff;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.main-container {
display: grid;
grid-template-columns: 1fr 1.5fr;
gap: 30px;
width: 80%;
max-width: 1000px;
background: rgba(255, 255, 255, 0.1);
padding: 20px;
border-radius: 15px;
box-shadow: 0 8px 16px rgba(0, 255, 255, 0.2);
backdrop-filter: blur(10px);
}
.left-section {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
canvas {
border-radius: 15px;
border: 3px solid rgba(0, 255, 255, 0.4);
background-color: white;
box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
transition: transform 0.3s ease-in-out;
}
canvas:hover {
transform: scale(1.02);
box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}
h1 {
font-size: 24px;
text-transform: uppercase;
letter-spacing: 2px;
color: #0ff;
text-shadow: 0 0 10px #0ff;
text-align: center;
}
table {
width: 100%;
margin-top: 15px;
border-collapse: collapse;
}
th, td {
padding: 10px;
text-align: left;
border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
th {
font-size: 16px;
text-transform: uppercase;
letter-spacing: 1px;
color: #0ff;
}
tr:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.probability-bar {
height: 12px;
background-color: rgba(255, 255, 255, 0.2);
border-radius: 5px;
overflow: hidden;
position: relative;
}
.probability-fill {
height: 100%;
background: linear-gradient(90deg, #ff00ff, #0ff);
transition: width 0.4s ease-in-out;
}
button, .references img {
display: block;
margin: 20px auto 0;
padding: 12px 20px;
font-size: 16px;
font-weight: bold;
text-transform: uppercase;
color: #fff;
background: linear-gradient(90deg, #ff00ff, #0ff);
border: none;
border-radius: 25px;
cursor: pointer;
transition: 0.3s ease-in-out;
box-shadow: 0 4px 10px rgba(255, 0, 255, 0.5);
}
button:hover {
transform: scale(1.05);
box-shadow: 0 6px 15px rgba(255, 0, 255, 0.8);
}
button:active {
transform: scale(0.95);
}
@media (max-width: 768px) {
.main-container {
grid-template-columns: 1fr;
}
}
.references {
width: 100%;
position: relative;
}
.references div{
position: absolute;
right: 20px;
display: flex;
gap: 15px;
}
.references img{
padding: 0;
width: 40px;
}