Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@saviourdoro2-source
Copy link

  • {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
color: #333;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

header {
background: #4d148c;
color: white;
padding: 1rem 0;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
position: sticky;
top: 0;
z-index: 1000;
}

header .container {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo h1 {
font-size: 1.8rem;
font-weight: bold;
}

.logo .express {
color: #ff6600;
}

nav ul {
display: flex;
list-style: none;
gap: 2rem;
}

nav a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}

nav a:hover {
color: #ff6600;
}

.hero {
background: linear-gradient(135deg, #4d148c 0%, #6b2fb5 100%);
color: white;
padding: 4rem 0;
text-align: center;
}

.hero h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}

.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
}

.cta-button {
display: inline-block;
background: #ff6600;
color: white;
padding: 1rem 2rem;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: background 0.3s;
}

.cta-button:hover {
background: #e65c00;
}

.tracking-section,
.shipping-section,
.register-section {
padding: 4rem 0;
}

.tracking-section {
background: #f5f5f5;
}

.tracking-section h2,
.shipping-section h2,
.register-section h2 {
font-size: 2rem;
margin-bottom: 2rem;
text-align: center;
color: #4d148c;
}

.tracking-form {
max-width: 600px;
margin: 0 auto;
display: flex;
gap: 1rem;
margin-bottom: 2rem;
}

.tracking-form input {
flex: 1;
padding: 1rem;
border: 2px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}

.tracking-form button {
padding: 1rem 2rem;
background: #4d148c;
color: white;
border: none;
border-radius: 5px;
font-weight: bold;
cursor: pointer;
transition: background 0.3s;
}

.tracking-form button:hover {
background: #6b2fb5;
}

.tracking-results {
max-width: 600px;
margin: 2rem auto;
padding: 2rem;
background: white;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
display: none;
}

.tracking-results.show {
display: block;
}

.tracking-status {
margin-bottom: 1rem;
}

.status-item {
padding: 1rem;
border-left: 4px solid #4d148c;
margin-bottom: 1rem;
background: #f9f9f9;
}

.status-item h4 {
color: #4d148c;
margin-bottom: 0.5rem;
}

.status-item.current {
border-left-color: #ff6600;
background: #fff5ee;
}

.info-text {
text-align: center;
color: #666;
margin-bottom: 2rem;
}

.shipping-features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 2rem;
}

.register-section {
background: #f5f5f5;
}

.registration-fee {
text-align: center;
font-size: 1.2rem;
color: #4d148c;
margin-bottom: 2rem;
}

.registration-fee strong {
color: #ff6600;
}

.registration-form {
max-width: 700px;
margin: 0 auto;
background: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
color: #333;
font-weight: 500;
}

.form-group input {
width: 100%;
padding: 0.8rem;
border: 2px solid #ddd;
border-radius: 5px;
font-size: 1rem;
transition: border-color 0.3s;
}

.form-group input:focus {
outline: none;
border-color: #4d148c;
}

.payment-info {
margin-top: 2rem;
padding-top: 2rem;
border-top: 2px solid #eee;
}

.registration-form h3 {
color: #4d148c;
margin-bottom: 1rem;
}

.checkbox-group {
display: flex;
align-items: center;
gap: 0.5rem;
}

.checkbox-group input {
width: auto;
}

.submit-button {
width: 100%;
padding: 1rem;
background: #ff6600;
color: white;
border: none;
border-radius: 5px;
font-size: 1.1rem;
font-weight: bold;
cursor: pointer;
transition: background 0.3s;
}

.submit-button:hover {
background: #e65c00;
}

.submit-button:disabled {
background: #ccc;
cursor: not-allowed;
}

.message {
margin-top: 1rem;
padding: 1rem;
border-radius: 5px;
text-align: center;
display: none;
}

.message.show {
display: block;
}

.message.success {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}

.message.error {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}

footer {
background: #2d2d2d;
color: white;
padding: 3rem 0 1rem;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}

.footer-section h4 {
color: #ff6600;
margin-bottom: 1rem;
}

.footer-section ul {
list-style: none;
}

.footer-section a {
color: #ccc;
text-decoration: none;
transition: color 0.3s;
}

.footer-section a:hover {
color: white;
}

.footer-bottom {
text-align: center;
padding-top: 1rem;
border-top: 1px solid #444;
color: #999;
}

@media (max-width: 768px) {
header .container {
flex-direction: column;
gap: 1rem;
}

nav ul {
    gap: 1rem;
}

.hero h2 {
    font-size: 1.8rem;
}

.tracking-form {
    flex-direction: column;
}

.form-row {
    grid-template-columns: 1fr;
}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant