@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@400;700&display=swap');


/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: "Indie Flower", cursive;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


.navbar {
    background-color: #17d5d2; /* Navbar background color */
    color: #ffffff;
    padding: 15px 20px;
    box-shadow: 0px 0px 35px rgba(0, 217, 250, 0.2);
    padding: 35px;
    margin-bottom: 20px;
}

.nav_container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: "Cabin Sketch", sans-serif;
    font-size: 28px;
    font-weight: bold;
}

.nav-links {
    font-family: "Cabin Sketch", sans-serif;
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff1e00; /* Change color on hover */
}

.dropdown {
    position: relative;
    gap: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff; /* Dropdown background */
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #000000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1; /* Hover effect for dropdown links */
}

.dropdown:hover .dropdown-content {
    display: block; /* Show dropdown on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        background: #21dbd1;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px 0;
        z-index: 1000;
    }

    .dropdown-content {
        position: relative; /* Adjusted for mobile view */
        box-shadow: none; /* Remove shadow for mobile dropdown */
    }
}

.main_heading{
    font-family: "Cabin Sketch", sans-serif;
    padding: 15px;
    margin: 25px;
    border-bottom: 2px solid #3b5998;
    margin-bottom: 10px;
}

.centre_main_1{
    font-size: 70px;
    color: #3037b4; /* Main color */
    text-transform: uppercase; /* Uppercase letters */
    letter-spacing: 2px; /* Spacing between letters */
}

.centre_main_2{
    font-size: 45px;
    color: #1209c1; /* Dark gray color */
    font-style: italic; /* Italic style */
    margin-top: 0;
    align-items: center;
}


h1:hover {
    text-decoration: underline; /* Underline on hover */
}

.intro {
    max-width: 800px; /* Limit width for readability */
    margin: 20px auto; /* Center the intro section */
    padding: 20px; /* Add padding around the content */
    background-color: #f9f9f9; /* Light background for contrast */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.intro_logi {
    font-size: 1.1em; /* Slightly larger font */
    line-height: 1.6; /* Better line spacing */
    color: #333; /* Dark text color */
}

h3 {
    font-size: 1.5em; /* Heading size */
    color: #3b5998; /* Heading color */
    margin-top: 30px; /* Space above headings */
}

.note, .data_info {
    font-size: 1em; /* Standard paragraph size */
    line-height: 1.5; /* Spacing between lines */
    margin: 10px 0; /* Space above and below */
}

.visualization {
    margin: 20px 0; /* Space around visualization */
    text-align: center; /* Center the content */
}



/* Styling for data visualization */
.data-visual {
    width: 100%; /* Full width for visualization */
    height: 300px; /* Fixed height */
    border: 1px solid #3b5998; /* Border for visualization area */
    border-radius: 10px; /* Rounded corners */
    position: relative; /* For absolute positioning */
    background-color: #fff; /* White background */
}

/* Style for the data point */
.data-point {
    position: absolute; /* Position relative to the container */
    background-color: #ffcc00; /* Yellow point */
    border-radius: 50%; /* Circular shape */
    width: 10px; /* Width of the point */
    height: 10px; /* Height of the point */
}


.graph-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.graph-description {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
}

#graph-visualization {
    width: 600px;
    height: 400px;
    border: 1px solid #ddd;
    background-color: white;
    margin: 0 auto;
}

.annotation-info {
    margin-top: 20px;
    font-size: 1em;
    text-align: left;
    background-color: #f0f4f8;
    padding: 10px;
    border-left: 4px solid #3b5998;
}

.annotation-info h3 {
    color: #3b5998;
    margin-bottom: 10px;
}

.annotation-info p {
    margin-bottom: 10px;
    color: #333;
}


#graph-container2 {
    width: 80%;
    height: 400px;
    margin: 40px auto;
    position: relative;
}

#data-visual2 {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.data-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    transform: translate(-50%, 50%);
}

.x-axis-labels, .y-axis-labels {
    position: absolute;
    font-size: 12px;
    color: #000;
}

.x-axis-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    bottom: -30px;
    left: 0;
}

.y-axis-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    left: -40px;
    top: 0;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.grid-line {
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.x-axis, .y-axis {
    position: absolute;
    background-color: black;
}

.x-axis {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

.y-axis {
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
}

.axis-label {
    position: absolute;
    font-weight: bold;
}

.x-axis-label {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.y-axis-label {
    top: 50%;
    left: -60px;
    transform: translateY(-50%) rotate(-90deg);
}

.intro_to_sign_func{
    padding: 20px;
    margin: 15px;
}

.points{
    background-color: #3af034;
    /* Yellow for visibility */
    border: 2px solid #eccf11;
    /* Red border for emphasis */
    padding: 10px;
    font-weight: bold;
    margin-bottom: 20px;
}


.sigmoid-container {
    width: 300px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 10px;
    margin: 20px auto;
    text-align: center;
    position: relative;
    font-family: Arial, sans-serif;
    background-color: #3af034;
    font-size: 40px;
}

/* Style for the sigmoid text or image */
.sigmoid-representation {
    font-size: 18px;
    color: #333;
    font-family: "Cabin Sketch", sans-serif;
}

.why_need_sigm {
    width: 80%;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Note paragraphs styling */
.note, .important_note, .important {
    font-size: 18px;
    margin: 20px 0;
    line-height: 1.5;
}

.note {
    color: #333;
}

.important_note {
    color: #e74c3c;
    font-weight: bold;
}

.important {
    color: #27ae60;
    font-weight: bold;
}

/* Sigmoid container styling */
.sigmoid-container {
    width: 300px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin: 20px auto;
    text-align: center;
    position: relative;
}

/* Styling the Sigmoid function representation */
.sigmoid-representation {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
}

/* Image styling */
img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Optional: Add hover effects for images */
img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.img_cont{
    gap: 10px;
    padding: 25px;
    justify-content: center;
    align-items: center;
}

#plot {
    width: 80%;
    height: 80%;
}