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



body
{
    font-family: Arial, sans-serif;
    background-color: lightyellow;
    color: #333;
}

.languages
{
  width: 100%;
    
}
.main-body {
    max-width: 800px;
    margin: 0 auto;
}

   .main-heading {
    text-align: center;
    margin-bottom: 20px;
}

.main-heading h1 {
    font-size: 32px;
}

.main-heading img
{
    margin: 0;
    padding: 0;
    height: 120px;
}


/* Form buttons styling */
.form-buttons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.form-buttons input[type="button"]
{
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
     color: #fff;
    cursor: pointer;
    font-size: 15px;
}

/* Styling for the "I am a male" button */
.form-buttons input[name="iMale"] {
    background-color: #007b37;
    margin-right: 10px; /* Add margin-right for spacing between buttons */
}

/* Styling for the "I am a female" button */
.form-buttons input[name="ifeMale"] {
    background-color: #fa0b83; /* Pink color */
}

/* Hover effect for both buttons */
.form-buttons input[type="button"]:hover {
    filter: brightness(1.2); /* Increase brightness on hover */
}

.form-buttons input[type="button"]:last-child {
    margin-right: 0; /* Remove margin-right for the last button */
}



.main-content{
    text-align: center;
}
   
.gender-forms
{
    margin: 0 auto;
    max-width: 800px;
}

.gender-forms .form-buttons input
{
    padding: 25px;
    background: orange;
    border: 0px;
    margin: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family:cursive;
    font-size: 20px;
}

.gender-forms .form-buttons input:active
{
    background: green;
}

/* Container styling */
.maleform , .femaleform, .gfForm{
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Form styling */
#mainMaleForm , #mainFemaleForm{
    margin-bottom: 20px;
}

/* Label styling */
.maleform  label , .femaleform label, .gfForm label{
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Input and select styling */
.maleform input[type="number"],
select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.femaleform input[type="number"],
select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}


/* Button styling */
.maleform button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.femaleform button {
    background-color: palevioletred;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


.maleform button:hover {
    background-color: #45a049;
}


.femaleform button:hover {
    background-color: plum;
}
/* Result container styling */
#maleResult , #femaleResult, #gfResult, #bfResult{
    border-top: 1px solid #ccc;
    padding-top: 20px;
    font-weight: bold;
    font-size: 25px;
}

/* Share text styling */
#maleResult , #femaleResult , #gfResult, #bfResult p {
    color: #333;
}


.gfForm input[type="number"],
select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}


.gfForm button {
    background-color: orangered;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.gfForm button:hover {
    background-color: #fa5e24;
}



#maleShareButtons, #femaleShareButtons {
    display: none;
}

.malesharebuttons, .femalesharebuttons
{
    margin-top: 10px;
}
.malesharebuttons button
{
    margin-top: 5px;
    padding: 10px;
}

.femalesharebuttons button
{
    margin-top: 5px;
    padding: 10px;
}

.malesharebuttons button:hover
{
   cursor: pointer;
    opacity: 0.7;
}
.femalesharebuttons button:hover
{
   cursor: pointer;
    opacity: 0.7;
}


/* Styles for other calculators section */
.other-calculators {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Styles for paragraph inside other calculators section */
.other-calculators p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

/* Styles for calculator links */
.other-calculators ul {
    list-style-type: none;
    padding: 0;
}

.other-calculators li {
    margin-bottom: 10px;
}

.other-calculators li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.other-calculators li a:hover {
    background-color: #f0f0f0;
}

.long-content h2:first-child
{
   padding-top: 20px;
    text-align: center;
}

.long-content p
{
    padding-top:5px;
    padding-bottom: 5px;
}

.footer {
    margin-top: 10px;
    text-align: center;
}

.footer a {
    padding: 10px;
}

#copyright
{
    
   padding-top: 15px;
    text-align: center;
}

.languages img
{
    height: 15px;
    width: 30px;
    margin-right: 10px;
}
.languages img:hover
{
    opacity: 0.7;
}

.femaleform
{
    display: none;
}

.space
{
    line-height: 1.5;
}


    @media screen and (max-width: 1280px)
    {
        .main-body
             {
                width: 100%;
            }
        
    }