/* Basic Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poiret+One:wght@400;700&display=swap');

/* Global Styles */
body {
    font-family: 'Poiret One', sans-serif;
    background-color: #FAFAFA;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
}

/* Header */
header {
    width: 100%;
    background: linear-gradient(to bottom, #222, #999);
    padding: 20px 0;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    font-size: 1.8em;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

nav a {
    padding: 10px 20px;
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    background-color: #FFF;
    border: 1px solid #aaa; /* Lighter border */
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #333;
    color: #FFF;
}

/* Main Content */
main {
    width: 100%;
    padding: 40px;
    background: #FFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    text-align: center;
}

.t-text_md {
    text-align: left;
}

/* Forms */
form textarea {
    height: 150px; /* Increased height */
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #aaa; /* Lighter border */
    border-radius: 0; /* Strict angles */
    font-size: 1em;
}

form button {
    padding: 12px 24px;
    border: none;
    background: #333;
    color: #FFF;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
}

form button:hover {
    background: #FFF;
    color: #333;
    border: 1px solid #aaa; /* Lighter border */
}

form label {
    font-size: 1.2em;
    margin-bottom: 4px; /* Reduced space below the label */
    display: block;
    text-align: left;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 4px;  /* Reduced space above the input */
    margin-bottom: 30px; /* Space below the input */
    border: 1px solid #aaa; /* Lighter border */
    border-radius: 0; /* Strict angles */
    font-size: 1em;
}

/* Footer */
footer {
    margin-top: 40px;
    font-size: 0.8em;
    color: #888;
}

/* Media Queries */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    main {
        padding: 20px;
    }
}
