﻿/* RESET + BASE */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    background: #f4f6f8;
    color: #333;
}

/* HEADER */
header {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 20px;
}

/* NAV */
nav {
    position: sticky;
    top: 0;
    background: #374151;
    padding: 12px;
    text-align: center;
}

nav a {
    color: #e5e7eb;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #60a5fa;
}

/* MAIN LAYOUT */
main {
    padding: 40px 20px;
}

/* CARD STYLE CONTAINER */
article {
    background: white;
    max-width: 550px;
    margin: auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* FORM */
form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

/* BUTTON */
button {
    width: 100%;
    margin-top: 20px;
    background: #3b82f6;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #2563eb;
}

/* TABLE (THANK YOU PAGE) */
table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

th {
    background: #3b82f6;
    color: white;
}

td, th {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

/* LINK */
article a {
    display: inline-block;
    margin-top: 15px;
    color: #3b82f6;
    text-decoration: none;
}

article a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

footer a {
    color: #93c5fd;
    text-decoration: none;
}

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

/* EXACTLY ONE MEDIA QUERY */
@media (max-width: 600px) {
    article {
        padding: 15px;
    }

    main {
        padding: 20px 10px;
    }
}