
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f7e9e9;
    color: #563d43;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    padding: 25px;
}

/* Header */

header {
    max-width: 1100px;
    margin: 0 auto 25px;
    padding: 20px 25px;
    background: #fffaf5;
    border: 1px solid #ead2d2;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-family: 'Playfair Display', serif;
    color: #a65369;
}

nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #694b53;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: #c45e7b;
    text-decoration: underline;
}

/* Notebook paper */

.paper {
    max-width: 850px;
    min-height: 530px;
    margin: 35px auto;
    padding: 70px 65px;
    background-color: #fffdf8;

    background-image:
        linear-gradient(
            to right,
            transparent 55px,
            #e9bfc5 56px,
            transparent 57px
        ),
        repeating-linear-gradient(
            transparent 0px,
            transparent 35px,
            #e7dfe0 36px,
            transparent 37px
        );

    border: 1px solid #ead7d7;
    border-radius: 5px;
    box-shadow: 5px 8px 20px #9b6c6c20;
}

/* Headings */

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 45px;
    color: #704954;
    margin: 18px 0;
}

h1 span {
    color: #c45e7b;
}

h2 {
    font-family: 'Playfair Display', serif;
    color: #98556a;
}

.small-title {
    color: #bd7485;
    letter-spacing: 3px;
    font-size: 11px;
    font-weight: 600;
}

.intro {
    max-width: 580px;
    line-height: 2;
    margin: 25px 0;
    font-size: 15px;
}

/* Button */

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #bd7185;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 15px;
    transition: 0.3s;
}

.btn:hover {
    background: #914b60;
    transform: translateY(-3px);
}

/* Notes and cards */

.note {
    background: #fff8f3;
    border: 1px dashed #d6a0a9;
    border-left: 4px solid #c8798d;
    padding: 22px;
    margin: 22px 0;
    border-radius: 8px;
    line-height: 1.9;
}

.note h2 {
    margin-bottom: 8px;
}

.note p {
    font-size: 14px;
}

.note a {
    color: #a34d69;
    text-decoration: none;
}

.note a:hover {
    text-decoration: underline;
}

.tag {
    display: inline-block;
    background: #f2dce0;
    color: #854b5c;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin: 10px 5px 0 0;
}

.decoration {
    text-align: center;
    color: #bd7185;
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    margin-top: 40px;
}

/* Footer */

footer {
    text-align: center;
    padding: 20px;
    color: #936b73;
    font-size: 13px;
}

/* Mobile responsive */

@media (max-width: 700px) {
    body {
        padding: 10px;
    }

    header {
        justify-content: center;
        text-align: center;
    }

    nav {
        justify-content: center;
        gap: 12px;
    }

    nav a {
        font-size: 12px;
    }

    .paper {
        padding: 55px 35px;
    }

    h1 {
        font-size: 32px;
    }
}
