@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Exo 2", sans-serif;
}

body {
    min-height: 100vh;
    min-width: 400px;
    background-color: #030b13;
    overflow: hidden;
}

.writing {
    min-height: 100vh;
    min-width: 400px;
    background-color: #030b13;
    overflow-y: auto;
}

header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 80px;
    padding: 0 5%;
    color: #fff;
    font-size: 18px;
}

header .logo {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: auto;
}

header nav {
    display: flex;
    align-items: center;
    z-index: 1000;
}

header nav .menu {
    display: flex;
    align-items: center;
}

header nav .menu li a {
    position: relative;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 40px;
    border-radius: 0.4rem;
    transition: color 0.4s ease;
}

header nav .menu li a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

header nav #toggle {
    font-size: 1.3rem;
    margin-left: 80px;
    cursor: pointer;
}

.home {
    padding: 0 5%;
    color: #fff;
    text-align: center;
}

.home h1 {
    color: #fff;
    text-transform: uppercase;
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 10px;
}

.home h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: -25px;

}

.home .substack-link {
    color: #0066cc;
    /* Standard link color */
    text-decoration: none;
    /* Removes underline by default */
    transition: color 0.3s ease;
    /* Smooth transition for color change */
    cursor: pointer;
    text-align: center;
}

.home .substack-link:hover,
.substack-link:focus {
    color: #fff;
    cursor: pointer;
    padding: 10px;
    font-weight: 400;
    /* Color changes when hovered or focused */
    text-decoration: underline;
    /* Underline on hover to emphasize it’s clickable */
}


.home .images .img1,
.home .images .img2,
.home .images .img3 {
    width: 100%;
    height: 100vh;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -10;
}


.home .images .img1 {
    background: url(images/img1.png);
    background-position: center;
    background-size: cover;
}


.home .images .img2 {
    background: url(images/img2.png);
    background-position: center;
    background-size: cover;
}


.home .images .img3 {
    background: url(images/img3.png);
    background-position: center;
    background-size: cover;
}

.home .images .img4 {
    width: 80vw;
    /* Set your desired dimensions */
    height: 80vh;
    /* Set your desired dimensions */
    background-image: url(images/img4.png);
    background-size: cover;
    background-position: center;
    position: absolute;
    right: 0;
    /* Aligns it to the right */
    top: 50%;
    /* Adjust as necessary */
    transform: translateY(-50%);
    /* Center vertically */
    margin-right: 5vw;
    width: calc(50vw - 20px);
    /* Responsive width, minus some margin */
}

.home-content-container {
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    min-height: 125vh;
    /* Optional: Ensure the container is full-screen */
    overflow: hidden;
}


.home-contact {
    display: flex;
    /* Ensures flexbox layout */
    justify-content: center;
    /* Centers items horizontally if needed */
    align-items: center;
    /* Align items vertically */
    gap: 10px;
    /* Adds space between the input and button */
}

.home-contact button {
    display: flex;
    padding: 15px 30px;
    font-size: 16px;
    color: #fff;
    background-color: #000;
    gap: 10px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}


.about-page .home .home-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Centers items vertically */
    height: 100vh;
    /* Adjust height as needed */
}

.about-page .home .about-paragraph {
    font-size: calc(1.5rem + 0.5vw);
    /* Adjust base size and scale it with the viewport width */
    font-weight: 700;
    text-align: left;
    width: 50%;
    /* Confines the paragraph to the left half of the container */
    padding: 20px;
    /* Add some padding for better readability */
    box-sizing: border-box;
    /* Includes padding in width calculation */
}

.writing-title {
    padding: 20px 2%;
    text-align: left;
}

.writing-para {
    padding: 20px 2%;
    text-align: left;
}

.writing-content {
    padding: 10px 2%;
    /* Slightly lighter than the body for contrast */
    color: #fff;
    min-height: 100vh;
}

.posts-container ol {
    list-style: none;
    padding-left: 0;
    /* Removes default padding */
    margin-left: 0;
    /* Adjusts default margin to better align with your design */
    counter-reset: post-counter;
}

.posts-container ol li * {
    margin-top: 0;
    margin-bottom: 0;
    /* Ensures no extra spacing from child elements */
}

.post {
    counter-increment: post-counter;
    display: flex;
    align-items: center;
    /* Ensures vertical center alignment */
    background-color: #030b13;
    /* Dark background for each post */
    border-radius: 8px;
    text-align: left;
    line-height: 1.4;
    padding: 0;
    /* Ensures no internal padding adds space */
}

.post::before {
    content: counter(post-counter) ".";
    margin-right: 10px;
    color: #fff;
    font-size: 1.2rem;
}

.post h2,
.post p {
    margin: 0;
    line-height: 1.5;
    padding: 10px;
    /* Ensures consistent line height */
}

.post h2 {
    margin: 0;
    color: #00a6ff;
    /* Light blue for clickable titles */
    font-size: 1.2rem;
}

.post h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.post h2 a:hover,
.post h2 a:focus {
    text-decoration: underline;
    color: #ffffff;
}

.post p {
    font-size: 1rem;
    color: #ccc;
    margin-top: 10px;
}


.content-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.contact-left-title h2 {
    font-weight: 600;
    color: #fff;
    font-size: 40px;
    margin-bottom: 5px;
}

.contact-inputs {
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: #666;
    border-radius: 10px;
}

.contact-left textarea {
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
}

.contact-inputs:focus {
    border: 2px solid #fff;
}

/*.contact-inputs:placeholder {
}*/

.contact-left button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: #000;
    gap: 10px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}


@media (max-width:800px) {
    .home {
        min-width: 390px;
    }

    .home h1 {
        margin-top: 5px;
        font-size: 4rem;
        font-weight: 700;
    }

    .home h2 {
        margin-top: 10px;
    }

    header nav .menu {
        flex-direction: column;
        row-gap: 2rem;
        position: absolute;
        left: -100%;
        top: 80px;
        width: 100%;
        padding-top: 110px;
        background: #000;
        height: calc(100vh - 80px);
        z-index: 10;
        transition: left 0.4s ease;
    }

    header nav .menu.active {
        left: 0;
    }

    header nav .menu li a {
        margin-left: unset;
        font-size: 2rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #fff;
        width: 250px;
        height: 60px;
        line-height: 60px;
        display: block;
        text-align: center;
        border-radius: 5px;
        transition: 0.25s ease;
    }

    header nav .menu li a:hover {
        background: #fff;
        color: #000;
    }

    .home-contact {
        flex-direction: column;
        /* Stacks the input and button vertically */
    }

    .about-page .home .img4 {
        display: none;
        /* Hides the image on screens narrower than 800px */
    }

    /* Additional adjustments for smaller screens can be added here */
    .about-page .home .home-content {
        flex-direction: column;
        text-align: center;
    }

    .about-page .home .about-paragraph {
        width: 100%;
        /* Adjust paragraph width if necessary */
    }

    .about-page .home h1,
    .about-page .home h2 {
        font-size: 3rem;
        /* Adjust font sizes for readability on smaller screens */
    }

    .about-page .home .about-paragraph {
        padding: 10px;
        /* Reduce padding to use space more efficiently */
    }

    .post {
        padding: 15px;
    }

    .post h2 {
        font-size: 1.5rem;
    }

    .post p {
        font-size: 0.9rem;
    }

    .post {
        padding: 15px;
    }

    .post h2 {
        font-size: 1.5rem;
    }

    .post p {
        font-size: 0.9rem;
    }

    .contact-inputs {
        width: 80vw;
    }
}