/* General Reset */
@font-face {
    font-family: 'Manga Temple';
    src: url('/assets/fonts/manga_temple/mangat.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'Manga Temple', sans-serif;
    background-image: url('/assets/gojo.jpg'); /* Background image */
    background-size: cover; /* Scales the image */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* No repetition */
    background-attachment: fixed; /* Fixed on scroll */
    color: #333; /* Default text color */
    line-height: 1.6; /* Improves text readability */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body spans full viewport height */
}

/* Basic Styles */
header {
    width: 100%;
    background-color: inherit;
    color: #000;
    position: fixed;
    top: 0;
    z-index: 1000;
    text-align: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.navbar .logo {
    font-size: 2rem;
    color: #000000;

    border: none;
}

.navbar .logo-container{
    flex: 0;
}

.navbar .logo-container a{
    
    color: rgb(0, 0, 0);
    background-color: inherit;
}

/* Header Section */
header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin: 0 auto; /* Centers paragraph content */
}

/* Header Navigation Links */
header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

header nav a {
    text-decoration: none;
    color: #000;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid black;
    border-radius: 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

header nav a:hover {
    background-color: #000;
    color: white;
    transform: scale(1.1);
}

/* Header Section */
header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Style for the active navigation link */
header nav a.active {
    background-color: #000000;  /* Highlight color */
    color: #922929;  /* Text color when active */
    transform: scale(1.1);

}

/* If you want the active link to have a box-shadow as well, you can add it here */
header nav a.active:hover {
    transform: scale(1.1);  /* Optional: Keep the scale effect for active link on hover */
}

header p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin: 0 auto; /* Centers paragraph content */
}

/* Header Navigation Links */
header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

header nav a {
    text-decoration: none;
    color: #000;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid black;
    border-radius: 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

header nav a:hover {
    background-color: #000;
    color: white;
    transform: scale(1.1);
}


/* Manga Borders */
.shorter-manga-border {
    width: 50%;
    height: 150px;
    margin: 30%;
    margin-top: 25%;
    position: relative;
    padding: 0;
    font-size: 18px;
    line-height: 1.4;

    /* Irregular border */
    border: 3px solid #000;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;

    background-color: transparent;
    box-shadow: 
      inset 0 -3px 0 0 #000,
      inset 3px 0 0 0 #000,
      inset 0 3px 0 0 #000,
      inset -3px 0 0 0 #000;

    transform: rotate(-1deg);
}

.shorter-manga-border::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid #000;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    pointer-events: none;
}

.manga-border {
    margin: 5%;
    padding: 10%;
}

.nothing-border {
   margin: 0%;
   margin-top: 23%;
}

/* About Section */
.about {
    padding: 2rem;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
    display: inline-block;
}
/* Contact Section */
.contact {
    padding: 0%;
    margin-top: 5%;
    text-align: center;
    background: inherit;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact form input,
.contact form textarea {
    width: 80%;
    margin: 1rem auto;
    padding: 0.8rem;
    border: 4px solid black;
    border-radius: 5px;
    display: block;
    font-size: 1rem;
}

.contact form button {
    padding: 0.8rem 2rem;
    background: black;
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.contact form button:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: #000000;
    color: white;
    font-size: 0.9rem;
    margin-top: auto; /* Pushes footer to the bottom of the page */
}