@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700&display=swap');

:root {
    --main-color: #b08968;
    --primary-color: #995435;
    --black: #141414;
    --white: #ffffff;
    --bg: #f2f2f2;
    --light-black: #666666;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --border: 0.1rem solid rgba(0, 0, 0, 0.1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2s linear;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;
}

body {
    background: var(--bg);
}

img {
    max-width: 100%;
    display: inline-block;
}

/* Scrollbar */
html::-webkit-scrollbar {
    width: 1rem;
}

html::-webkit-scrollbar-track {
    background: var(--white);
}

html::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

/* General */
section {
    padding: 4rem 9%;
}

.heading {
    font-size: 4rem;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.heading span {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    border-radius: 0.5rem;
    cursor: pointer;
    background: linear-gradient(
        to left top,
        var(--primary-color),
        var(--main-color)
    );
}

.btn:hover {
    opacity: 0.9;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
    background: linear-gradient(
        to left top,
        var(--primary-color),
        var(--main-color)
    );
    box-shadow: var(--box-shadow);
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo i {
    margin-right: 0.5rem;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--white);
    margin-left: 2rem;
}

.navbar a:hover {
    text-decoration: underline;
}

#menu,
#login-btn {
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
}

#menu {
    display: none;
}
.home {
    min-height: 100vh;
    margin-top: 7.5rem;
    display: flex;
    align-items: flex-start;      /* Keep text near the top */
    justify-content: center;      /* Keep content generally centered */
    padding-top: 8rem;            /* Space from top */
    background: url('images/home.png') no-repeat center center / cover;
}

.home .content {
    text-align: center;
    max-width: 60rem;
    transform: translateX(-8rem); /* Move slightly to the left */
}

.home .content h3 {
    font-size: 7rem;
    line-height: 1.2;
    color: #ffffff;
    font-family: 'Brush Script MT', cursive;
    text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}

/* Home Section 
.home {
    min-height: 100vh;
    margin-top: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/home.png') no-repeat center center / cover;
}
.home .content h3 {
    font-size: 6rem;
    line-height: 1.3;
    color: var(--white);
    text-align: center;
    font-family: 'Brush Script MT', cursive;
    text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}
*/

/* Placeholder Sections */
.section-placeholder {
    min-height: 100vh;
    padding-top: 12rem;
    text-align: center;
    background: var(--white);
}

.section-placeholder:nth-of-type(even) {
    background: #f9f5f0;
}

.section-placeholder p {
    font-size: 1.8rem;
    color: var(--light-black);
    max-width: 70rem;
    margin: 0 auto;
    line-height: 1.8;
}

/* Publish Section */
.publish {
    min-height: 100vh;
    padding-top: 12rem;
    background: #f4e4c8;
}

.publish .container {
    max-width: 90rem;
    margin: 0 auto;
}

.publish .heading {
    text-align: left;
}

.publish .heading img {
    width: 4rem;
    vertical-align: middle;
    margin-right: 1rem;
}

.create-btn img {
    width: 1.6rem;
    vertical-align: middle;
    margin-right: 0.5rem;
}





.notes-container {
    margin-top: 2rem;
    max-width: 100%;
}

.input-box {
    position: relative;
    min-height: 15rem;
    padding: 1.5rem;
    margin-top: 2rem;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    font-size: 1.6rem;
}

.input-box img {
    position: absolute;
    width: 2rem;
    bottom: 1rem;
    right: 1rem;
    cursor: pointer;
}



.login-form-container {
    position: fixed;
    top: -105%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.login-form-container.active {
    top: 0;
}

.login-form-container form {
    width: 40rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
}

.login-form-container form h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--black);
    text-align: center;
}

.login-form-container form span {
    display: block;
    margin: 0.8rem 0;
    font-size: 1.5rem;
    color: var(--black);
}

.login-form-container .box {
    width: 100%;
    padding: 1rem;
    border: var(--border);
    border-radius: 0.5rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 1.4rem;
}

.login-form-container form p {
    font-size: 1.4rem;
    margin-top: 1rem;
    color: var(--light-black);
}

.login-form-container form p a {
    color: var(--primary-color);
}

#close-login-btn {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 4rem;
    color: var(--white);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    html {
        font-size: 55%;
    }

    .home .content h3 {
        font-size: 4rem;
    }

    #menu {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        display: none;
        flex-direction: column;
        padding: 1rem 0;
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        margin: 1rem 2rem;
    }

}


