* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
background-color: #d3d3d3;
font-family: Montserrat;
}
.menu-bar {
width: 100%;
background-color: #333;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
padding: 0 10px;
}
.menu-items {
display: flex;
flex-wrap: wrap;
}
.menu-bar a {
display: block;
color: white;
text-align: center;
padding: 15px 12px;
text-decoration: none;
transition: 0.3s;
}
.menu-bar a:hover,
.menu-bar a.active {
background-color: rgb(47, 124, 255);
color: white;
}
.menu-toggle {
display: none;
background: #333;
color: white;
padding: 14px 20px;
cursor: pointer;
}
.menu-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.7);
backdrop-filter: blur(4px);
z-index: 900;
}
.menu-overlay.show {
display: block;
}
.hero {
background-color: #0b154a;
color: white;
text-align: center;
padding: 1px;
}
.hero h1 {
font-size: 2.3rem;
font-weight: bold;
margin-bottom: 20px;
text-align: center;
font-family: Montserrat;
padding-right: 10px;
padding-left: 10px;
}
.hero p {
font-size: 1.1rem;
max-width: 800px;
margin: 0 auto 30px;
padding-right: 10px;
padding-left: 10px;
}
.hero-buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
font-family: Montserrat;
}
.hero-buttons a {
text-decoration: none;
color: white;
background-color: #007bff;
padding: 12px 20px;
font-weight: bold;
transition: background 0.3s;
margin: 1px;
}
.hero-buttons a:hover {
background-color: #0056b3;
}
.features {
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 25px;
background-color: #f1f1f1;
border: 1px solid #aaa;
}
.feature {
background: white;
padding: 10px 20px;
max-width: 365px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
text-align: center;
position: relative;
border: 1px solid #d3d3d3;
}
.feature-icon {
position: absolute;
top: -30px;
left: 50%;
transform: translateX(-50%);
background: #007bff;
color: white;
padding: 15px;
font-size: 1.5rem;
}
.feature h3 {
margin-top: 30px;
font-size: 1.3rem;
font-weight: 600;
color: #333;
}
.feature p {
margin-top: 10px;
font-size: 1rem;
color: #555;
}
.main-container {
background-color: white;
padding: 0px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 1160px;
margin: 30px auto 10px;
border-top: 30px solid #2f7cff;
}
h1 {
text-align: left;
margin-bottom: 30px;
font-size: 25px;
width: fit-content;
}
.info-box {
width: 100%;
border: 1px solid #aaa;
padding: 20px;
background-color: white;
line-height: 1.5;
}
.info-box ol {
padding-left: 20px;
}
.info-box .note {
margin-top: 20px;
font-weight: bold;
font-style: italic;
}
.draw-box {
border: 1px solid #ccc;
padding: 20px;
margin-bottom: 30px;
background-color: #f9f9f9;
}
.draw-box h2 {
margin: 0 0 10px;
}
.draw-box p {
font-weight: bold;
margin-bottom: 10px;
}
.winner-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
padding-left: 0;
list-style: none;
}
.winner-grid li {
padding: 8px 10px;
border: 1px solid #2196F3;
background-color: #2f7cff;
border-radius: 4px;
color: white;
margin: 5px;
}
.step-row {
display: flex;
align-items: center;
margin-bottom: 40px;
}
.step-row:nth-child(even) {
flex-direction: row-reverse;
}
.step-image {
flex: 1;
}
.step-image img {
width: 100%;
border-radius: 8px;
display: block;
}
.step-text {
flex: 1;
background: #f8f8f8;
padding: 20px;
box-shadow: 0px 19px 38px rgba(0, 0, 0, 0.16);
border: 1px solid #d3d3d3;
}
.step-text h2 {
margin-top: 0;
color: black;
}
form {
display: flex;
flex-direction: column;
}
label {
font-weight: bold;
margin-bottom: 5px;
}
input, select {
width: 100%;
padding: 12px;
margin-bottom: 10px;
border-radius: 4px;
border: 1px solid #ccc;
}
input[type="submit"] {
background-color: #2f7cff;
color: white;
border: none;
cursor: pointer;
font-weight: bold;
font-family: 'Montserrat';
}
.refresh-btn {
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
width: 100%;
background-color: black;
color: white;
font-weight: bold;
text-align: center;
text-decoration: none;
display: block;
margin-top: 10px;
}
.message {
background-color: #dff0d8;
color: #3c763d;
padding: 12px;
margin-bottom: 20px;
border-radius: 4px;
text-align: center;
font-weight: bold;
}
table {
width: 100%;
border-collapse: collapse;
}
table th, table td {
padding: 12px;
text-align: left;
border: 1px solid #ddd;
}
table th {
background-color: #f5f5f5;
}
@media screen and (max-width: 768px) {
.main-container {
margin-top: 30px;
}
.menu-bar {
flex-wrap: wrap;
}
.menu-toggle {
display: block;
}
.menu-items {
display: none;
flex-direction: column;
width: 100%;
}
.menu-items.show {
display: flex;
}
.menu-bar a {
border-bottom: 1px solid #444;
text-align: left;
}
.hero h1 {
font-size: 2rem;
}
.winner-grid {
grid-template-columns: 1fr;
}
.step-row {
flex-direction: column !important;
}
table {
border: 0;
}
thead {
display: none;
}
tr {
display: block;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #f9f9f9;
padding: 10px;
}
td {
display: block;
text-align: left;
padding: 8px 0;
border: none;
position: relative;
}
td::before {
content: attr(data-label);
font-weight: bold;
display: inline-block;
width: 120px;
}
}