

@import url('https://fonts.googleapis.com/css2?family=Marck+Script&family=Sorts+Mill+Goudy&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5e8d0; /* Sepia background */
    font-family: 'Sorts Mill Goudy', serif;
    color: #4a3f35;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #d3c4a8;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #4a3f35;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, transparent 30%, #8c6f58 30%, #8c6f58 70%, transparent 70%);
    background-size: 20px 20px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #4a3f35;
    font-family: 'Marck Script', cursive;
    font-size: 24px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #8c6f58;
    transition: width 0.3s ease;
}

header nav ul li a:hover {
    color: #8c6f58;
}

header nav ul li a:hover::after {
    width: 100%;
}

main {
    flex-grow: 1;
    padding: 40px 20px;
    background-color: #f5e8d0;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 20px;
    border: 1px solid #d3c4a8;
}

/* Torn paper edges effect */
main::before, main::after {
    content: '';
    position: absolute;
    top: -5px;
    bottom: -5px;
    width: 10px;
    background: #f5e8d0;
    border: 1px solid #d3c4a8;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

main::before {
    left: -5px;
    transform: rotate(-1deg);
}

main::after {
    right: -5px;
    transform: rotate(1deg);
}

article {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 18px;
}

h1, h2 {
    font-family: 'Marck Script', cursive;
    color: #4a3f35;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #8c6f58;
}

h2 {
    font-size: 36px;
    margin-top: 40px;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
    text-align: justify;
}

a {
    color: #8c6f58;
    text-decoration: none;
    border-bottom: 1px dotted #8c6f58;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

a:hover {
    color: #4a3f35;
    border-bottom-color: #4a3f35;
}

section {
    margin-bottom: 30px;
}

/* Form styling */
form {
    background-color: #f0e6d2;
    padding: 30px;
    border: 1px solid #d3c4a8;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #4a3f35;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #d3c4a8;
    border-radius: 3px;
    background-color: #f5e8d0;
    font-family: 'Sorts Mill Goudy', serif;
    font-size: 16px;
    color: #4a3f35;
    box-sizing: border-box;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    outline: none;
    border-color: #8c6f58;
    box-shadow: 0 0 5px rgba(140, 111, 88, 0.3);
}

form button {
    background-color: #8c6f58;
    color: #f5e8d0;
    padding: 12px 30px;
    border: none;
    border-radius: 3px;
    font-family: 'Marck Script', cursive;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

form button:hover {
    background-color: #4a3f35;
    transform: translateY(-2px);
}

footer {
    background-color: #d3c4a8;
    text-align: center;
    padding: 20px;
    border-top: 2px solid #4a3f35;
    margin-top: auto;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, transparent 30%, #8c6f58 30%, #8c6f58 70%, transparent 70%);
    background-size: 20px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
    }

    header nav ul li {
        margin: 10px 0;
    }

    header nav ul li a {
        font-size: 20px;
    }

    main {
        margin: 10px;
        padding: 20px 15px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    article {
        font-size: 16px;
    }

    form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    header nav ul li a {
        font-size: 18px;
    }

    main {
        margin: 5px;
        padding: 15px 10px;
    }
}


