/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Header */
header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 15px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 1px #eee;
}

.sunny-header-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sunny-logo img {
    height: 50px;
    margin-left: 20px;
}

.sunny-nav-menu {
    display: flex;
    gap: 20px;
}

.sunny-nav-menu a {
    text-decoration: none;
    color: black;
}

/* Hamburger Menu Icon */
.sunny-hamburger {
    display: none;
    cursor: pointer;
    margin-right: 10px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .sunny-header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .sunny-logo {
        order: 1;
    }

    .sunny-hamburger {
        display: block;
        order: 2;
        font-size: 30px;
        cursor: pointer;
    }

    .sunny-nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 0; /* Right align the menu */
        width: 70%; /* Set the width to 70% of the screen */
        background-color: white;
        padding: 10px 0;
        flex-direction: column;
        align-items: center;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    }

    .sunny-nav-menu a {
        padding: 10px 0;
        text-align: center;
        width: 100%;
    }

    .sunny-nav-menu.show {
        display: flex;
    }
}

/* Body */
.sunny-section {
    width: 100%;
    padding: 20px 0;
    font-family: verdana, sans-serif;
    font-size: 16px;
    line-height: 1.7em;
}

.sunny-section-light-grey {
    background-color: #F2F2F2;
}

.sunny-section-white {
    background-color: white;
}
.sunny-section-white p {
  line-height: 1.7em;   /* within paragraph */
  margin-bottom: 25px; /* between paragraphs */
  }
.sunny-section-white h2 {
	font-family: Arial, sans-serif;
	font-size: 26px;
	margin: 40px auto -15px; /* between paragraphs */
  }

.sunny-section-white h3 {
	font-family: Arial, sans-serif;
	font-size: 22px;
	margin: 30px auto -10px; /* between paragraphs */
  }

.sunny-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}


/* First Section */
.sunny-two-columns {
    display: flex;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sunny-two-columns > div {
    flex: 1;
    padding: 20px;
}


/* Second Section */
.sunny-three-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.sunny-three-columns > div {
    flex: 1;
    padding: 20px;
}

.sunny-three-columns img{
    width: 100%;
    height: auto;
}

/* Footer */
.sunny-footer {
    background-color: #f7eee2;
    color: #000;
    text-align: center;
    padding: 20px 0;
}

/* Calculator Styling */

 .cal-container {
            background: white;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            width: 90%;
            max-width: 400px;
            margin: 5px auto;
        }
        h1 {
            text-align: center;
            color: #FF7F7F;
	    font-family: Arial, sans-serif;
        }
        input[type="number"], button {
            width: 95%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        button {
            background-color: #FF7F7F;
            color: white;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        button:hover {
            background-color: #FF6767;
            font-weight: bold;
        }
        .cal-clear-button {
            background-color: #D9D9D9;
            color: #333;
            font-size: 0.9em;
        }
        .cal-clear-button:hover {
            background-color: #d0d0d0;
        }
        .cal-radio-group {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .cal-radio-label {
            margin-right: 10px;
        }
        #result {
            margin-top: 30px;
            font-family: Arial, sans-serif;
            font-size: 1.5em;
            text-align: center;
            line-height: 150%;
        }
        canvas {
            margin-top: 20px;
            max-width: 100%;
            height: auto;
        }
