/* Import font */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap");

/* Base styles */
html {
    font-family: 'Open Sans', sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #2e3d49;
    background-color: #f0f4f8;
    transition: background-color 0.3s, color 0.3s;
}

/* Links */
a {
    color: #1e90ff;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

a::after {
    content: '';
    display: block;
    height: 2px;
    background: #1e90ff;
    transition: width 0.3s;
    width: 0;
    position: absolute;
    bottom: -2px;
    left: 0;
}

a:hover::after {
    width: 100%;
}

a:hover {
    color: #0b5ed7;
}

/* Buttons */
.btn {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.75rem 1.5rem;
    color: #fff;
    background: linear-gradient(120deg, #1e90ff, #0b5ed7);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
    transition: all 0.3s;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: linear-gradient(120deg, #0b5ed7, #1e3aa8);
    box-shadow: 0 6px 16px rgba(30, 144, 255, 0.4);
    transform: translateY(-2px);
}

/* Page header */
.page-header {
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    padding: 6rem 2rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.project-name {
    margin: 0 0 0.5rem 0;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.2);
}

.project-tagline {
    margin-bottom: 2rem;
    font-weight: 500;
    opacity: 0.85;
    font-size: 1.3rem;
}

/* Main content */
.main-content {
    max-width: 70rem;
    margin: -4rem auto 2rem auto;
    padding: 3rem;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.main-content:hover {
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.main-content h1, .main-content h2, .main-content h3,
.main-content h4, .main-content h5, .main-content h6 {
    color: #2575fc;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.main-content p {
    margin-bottom: 1.2rem;
    color: #495057;
}

.main-content code {
    padding: 3px 6px;
    background-color: #e9f2ff;
    border-radius: 0.4rem;
    color: #d63384;
    font-size: 0.95rem;
}

/* Blockquotes */
.main-content blockquote {
    padding: 1rem 1.5rem;
    margin-left: 0;
    color: #495057;
    border-left: 0.4rem solid #6a11cb;
    background: #f4f7fb;
    border-radius: 0.5rem;
}

/* Tables */
.main-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: #f9fafc;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.main-content table th, .main-content table td {
    padding: 0.8rem 1rem;
    border: 1px solid #e1e5ea;
}

.main-content table th {
    background-color: #f1f5f9;
    color: #2575fc;
    font-weight: 600;
}

/* Footer */
.site-footer {
    padding: 3rem 1rem;
    margin-top: 3rem;
    background-color: #1f2937;
    color: #d1d5db;
    text-align: center;
}

.site-footer-owner {
    font-weight: 700;
    color: #fff;
}

.site-footer-credits {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Responsive adjustments */
@media screen and (max-width: 42em) {
    .project-name { font-size: 2rem; }
    .project-tagline { font-size: 1rem; }
    .btn { width: 100%; padding: 0.8rem; }
    .main-content { padding: 2rem; margin: -3rem 1rem 2rem 1rem; }
}