/* ===== Site baseline ===== */
:root {
    --bg: #f7f8ff;
    --text: #222;
    --muted: #666;
    --primary: #3b63ff;
    --surface: #ffffff;
    --radius: 12px;
    --gap: 16px;
    --maxw: 1000px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto  Sans", sans-serif;

}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font: 18px/1.6 var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 150%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout blocks */
.container {
    width: min(92%, var(--maxw));
    margin: 0 auto;
}

.card {
    /* background: var(--surface); */
    background: lightcyan;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 10px 6px 20px rgba(0, 0, 0, .2);
}

/* Header & Footer */
header {
    background: lightcyan;
    border-bottom: 2px solid #e5e7eb;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.brand {
    font-weight: 700;
}

nav a {
    text-decoration: none;
    color: var(--muted);
    padding: 6px 10px;
    border-radius: 8px;
    margin-left: 8px;
    transition: background .2s, color .2s;
}

nav a:hover {
    background: #eff2ff;
    color: #111;
}

nav a[aria-current="page"] {
    background: #e7ecff;
    color: #111;
    font-weight: 600;
}

#myBtn {
    position: fixed;
    bottom: 10%;
    float: right;
    right: 10%;
    /* left: 77.25%; */
    max-width: 50px;
    width: 100%;
    font-size: 20px;
    border-color: rgba(85, 85, 85, 0.2);
    background-color: lightcyan;
    padding: 5px;
    border-radius: 10px;

}

#myBtn:hover {
    background-color: #7dbbf1;
}

footer {
    margin-top: 32px;
    padding: 16px 0;
    color: var(--muted);
    border-top: 1px solid #e5e7eb;
}

/* Homepage: Hero + features */
.hero {
    padding: 24px 0 8px;
}

.hero h1 {
    margin: 6px 0 8px;
}

.lead {
    color: var(--muted);
    max-width: 48ch;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: transform .15s, opacity .15s;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: .95;
    background: lightgreen;
    color: black;
}

.btn:focus {
    outline: 2px solid #a7b8ff;
    border-color: #a7b8ff;
}

.features {
    display: flex;
    gap: var(--gap);
    margin-top: 16px;
}

.feature {
    flex: 1 1 0;
}

/* About: table & lists */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

th,
td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

thead th {
    background: #f1f3ff;
}

tbody tr:hover {
    background: #fafbff;
}

/* Contact: form */
form {
    display: grid;
    gap: 12px;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

label {
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

input:focus,
textarea:focus {
    outline: 2px solid #a7b8ff;
    border-color: #a7b8ff;
}

/* Responsive (small screens) */
@media (max-width: 600px) {
    .features {
        flex-direction: column;
        /* padding: 0; */
    }

    nav a {
        margin-left: 4px;
    }
}