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

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    position: relative;
}

.header {
    background-color: #fff;
    border-bottom: 1px solid #e6e6e6;
    padding: 20px 0;
    text-align: center;
}

.main-wrapper {
    position: absolute;
    top: 80px;
    bottom: 140px;
    left: 0;
    right: 0;
}

.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
}

.content-box {
    background-color: #fff;
    padding: 50px 40px;
    border: 1px solid #ddd;
    text-align: center;
}

h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: normal;
}

.error {
    background-color: #f7f7f7;
    border: 1px solid #d9d9d9;
    border-left: 4px solid #999;
    padding: 25px;
    margin: 25px 0;
    line-height: 1.8;
}

.error a {
    color: #0066cc;
    text-decoration: none;
}

.error a:hover {
    text-decoration: underline;
}

.action-button {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.action-button:hover {
    background-color: #0052a3;
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    font-size: 14px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .content-box {
        padding: 30px 20px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .error {
        padding: 20px;
    }
    
    .footer a {
        display: block;
        margin: 10px 0;
    }
}

