body {
  margin: 0;
  font-family: Arial, sans-serif;
}

:root{
  --navcolour:radial-gradient(1224px at 10.6% 8.8%, rgb(255, 255, 255) 0%, rgb(153, 202, 251) 100.2%);
  
  --buttoncolour:radial-gradient(circle at 18.7% 37.8%, rgb(250, 250, 250) 0%, rgb(225, 234, 238) 90%);

}
.dark-theme{
  --navcolour:linear-gradient(315deg, #2d3436 0%, #000000 74%);
  
  --buttoncolour:linear-gradient(315deg, #2d3436 0%, #000000 74%);

}

.navbar { 
  display: flex;
  align-items: center;
  height: 10vh;
  padding: 0 1rem;
  background: var(--navcolour);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.menubutton {
  position: absolute;
  left: 1rem;
  display: flex;
  align-items: center;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menubutton i {
  font-size: 1.5rem;
  color: rgb(0, 0, 0);
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 8vh;
}

.logo img {
  height: 100%;
  width: auto;
}
.mode-buttons {
  position: absolute;
  right: 1rem;
  display: flex;
  align-items: center;
}

.mode-button ,.hightlight-button{
  height: 4.5vh;
  width: 4.5vh;
  margin-left: 0.5rem;
  background-color: transparent;
  color: rgb(0, 0, 0);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding: 0;
}

.mode-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.hightlight-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}



.menubar {
  width: 20vw;
  height: 90vh;
  background:var(--navcolour);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: left 0.3s ease;
  justify-content: center;
}

  .menubar:hover {
    width: 100vw;
  }

.menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.menu-links li {
  margin: 15px 0;
  width: 100%;
}

.menu-links a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000000;
  font-size: 16px;
  font-weight: bolder;
  padding: 10px 20px;
  transition: background-color 0.3s, color 0.3s;
  text-align: left;
}

.menu-links a img {
  width: 45px; /* Adjust the size as needed */
  /* height: 24px; */
  margin-right: 10px; /* Space between image and text */
}

.menu-links a:hover {
  border-left: 5px solid #007bff;
}

.menu-links a.active {
  background-color: #555;
  color: #eee;
}
.container {
  display: flex;
  height: 90vh;
}

.maincontainer {
  width: 100vw;
  height: 90vh;
}

.swiper-container {
  width: 100%;
  height: 90%;
  position: relative;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #333;
}

.swiper-pagination {
  position: absolute;
  bottom: 10px;
  text-align: center;
  /* width: 100vh; */
}

.swiper-pagination-bullet {
  background: #fff;
}



/* basic calculator */

#basiccalc {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
   background: linear-gradient(135.8deg, rgb(26, 26, 29) 27.1%, rgb(111, 34, 50) 77.5%);

}



/* Basic Calculator Box Styling */
#basiccalc .box {
  border: 1px solid #ddd;
  border-radius: 20px;
  width: 40%;
  max-height: 80%;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  background: linear-gradient(to bottom, #f9f9f9, #eaeaea);
}

/* Display Section */
#basiccalc .display {
  padding: 1vw;
  background-color: #1e1e2f; /* Darker display background */
  color: #00e0ff; /* Bright text color for contrast */
  display: flex;
  align-items: center;
  height: 12vh;
  border-radius: 20px 20px 0 0;
  border-bottom: 2px solid #00e0ff;
  gap: 10px;
}

#basiccalc #screen {
  padding: 1vw;
  font-size: 2.5vw;
  border: none;
  background-color: #fff;
  color: #333;
  text-align: right;
  height: 70%;
  border-radius: 10px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  width: calc(100% - 5vw);
  transition: background-color 0.3s, color 0.3s;
}

/* Clear Button */
#basiccalc #ce {
  background-color:#009688;
  color: white;
  height: 100%;
  padding: 1vw;
  border: none;
  cursor: pointer;
  
  border-radius: 10px;
  /* border-radius: 0 5px 5px 0; */
  flex-shrink: 0;
  transition: background-color 0.3s;
}

#basiccalc #ce:hover {
  background-color: #1dbeaedf;
  transform: scale(1.05);
}

#basiccalc #ce i {
  font-size: xx-large;
}

/* AC Button Styling */
#basiccalc #ac,
#advcalc #ac {
  color: white;
  background-color: #ff8000; /* Vibrant orange for the AC button */
  transition: background-color 0.3s;
}

#basiccalc #ac:hover,
#advcalc #ac:hover {
  background-color: #e66900;
}

/* Buttons Section */
.btns {
  padding: 1.5vw;
}

.row {
  display: flex;
  gap: 10px; /* More space between buttons */
  margin-bottom: 10px; /* Vertical spacing between rows */
}

.row button {
  border: 1px solid #ddd;
  background-color: #e6f7ff; /* Light blue button background */
  padding: 1vw;
  font-size: 1.5vw;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
  flex: 1;
  border-radius: 10px;
  color: #00334d; /* Darker text for contrast */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.row button:hover {
  background-color: #b3e0ff; /* Brighter blue on hover */
  transform: scale(1.05); /* Slight scaling effect */
}

/* Special Buttons */
button#eval {
  background-color: #00c853; /* Vibrant green for "Evaluate" */
  color: white;
  grid-column: span 2;
  transition: background-color 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

button#eval:hover {
  background-color: #009624; /* Darker green on hover */
}

button#zero {
  flex: 2;
  min-width: 40%;
  background-color: #e6f7ff; /* Matches the other buttons */
}


#advancecalc {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
  width: 100vw;
  background: linear-gradient(112.1deg, rgb(32, 38, 57) 11.4%, rgb(63, 76, 119) 70.2%);
}

/* Advanced Calculator Box Styling */
#advancecalc .box {
  border: 1px solid #ddd;
  border-radius: 20px;
  width: 40%;
  max-height: 80%;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  background: linear-gradient(to bottom, #f9f9f9, #eaeaea);
}

/* Display Section */
#advancecalc .display {
  padding: 1vw;
  background-color: #1e1e2f; /* Darker display background */
  color: #00e0ff; /* Bright text color for contrast */
  display: flex;
  align-items: center;
  height: 12vh;
  border-radius: 20px 20px 0 0;
  border-bottom: 2px solid #00e0ff;
  gap: 10px;
}

#advancecalc #screen {
  padding: 1vw;
  font-size: 2.5vw;
  border: none;
  background-color: #fff;
  color: #333;
  text-align: right;
  height: 70%;
  border-radius: 10px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  transition: background-color 0.3s, color 0.3s;
}

/* Clear Button */
#advancecalc #ce {
  background-color: #009688;
  color: white;
  height: 100%;
  padding: 1vw;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  flex-shrink: 0;
  transition: background-color 0.3s, transform 0.2s;
}

#advancecalc #ce:hover {
  background-color: #1dbeaedf;
  transform: scale(1.05);
}

#advancecalc #ce i {
  font-size: xx-large;
}

/* AC Button Styling */
#advancecalc #ac {
  color: white;
  background-color: #ff8000; /* Vibrant orange for the AC button */
  transition: background-color 0.3s;
}

#advancecalc #ac:hover {
  background-color: #e66900;
}

/* Buttons Section */
#advancecalc .btns {
  padding: 1.5vw;
}

#advancecalc .row {
  display: flex;
  gap: 10px; /* More space between buttons */
  margin-bottom: 10px; /* Vertical spacing between rows */
}

#advancecalc .row button {
  border: 1px solid #ddd;
  background-color: #e6f7ff; /* Light blue button background */
  padding: 1vw;
  font-size: 1.5vw;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
  flex: 1;
  border-radius: 10px;
  color: #00334d; /* Darker text for contrast */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

#advancecalc .row button:hover {
  background-color: #b3e0ff; /* Brighter blue on hover */
  transform: scale(1.05); /* Slight scaling effect */
}

/* Special Buttons */
#advancecalc button#eval {
  background-color: #00c853; /* Vibrant green for "Evaluate" */
  color: white;
  grid-column: span 2;
  transition: background-color 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#advancecalc button#eval:hover {
  background-color: #009624; /* Darker green on hover */
}

#advancecalc button#zero {
  flex: 2;
  min-width: 40%;
  background-color: #e6f7ff; /* Matches the other buttons */
}



/* bmi calculator */
/* General swiper-slide styling */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
  padding: 20px;
  box-sizing: border-box;
}

/* Styling for the BMI calculator box */


/* currency calculator */
#currencycalc::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./image/money\ backgorund.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

#currencycalc {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

#currencycalc .box {
  border: 1px solid #ccc;
  border-radius: 20px;
  width: 60vw;
  height: 70vh;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#currencycalc .box h1 {
  font-size: 5vh;
  color: rgb(252, 252, 252);
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#currencycalc .currency-converter {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60vw;
  height: 70vh;
}

#currencycalc .currency-converter label {
  margin: 10px 0 5px;
  color: white;
}

#currencycalc .currency-converter input,
#currencycalc .currency-converter select,
#currencycalc .currency-converter button {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;

}

#currencycalc .currency-converter #amount {
  width: 50%;
  background-color: #ffffff;
  padding: 1rem;
}

#currencycalc .inputbox {
  display: flex;
  gap: 15vw;
}

#currencycalc .inputbox .handlemoney {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#currencycalc .inputbox select {
  flex: 2;
  margin: 0 10px;
}

#currencycalc button {
  
  padding: 12px 20px;
  background-color: #101012;
  color: #f3f1f1;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1em;
  margin-top: 80px;
  width: 40%;
  display: flex;
  justify-content: center;
  margin-left: 19px;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#currencycalc button:hover {
  background-color: #303233;
  transform: scale(1.05);
}


#currencycalc #result {
  margin-top: 20px;
  font-size: 1.2em;
  color: white;
}

/* bmi calc  */
/* Background styling for BMI calculator */
#bmicalc::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./image/images (1).jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

/* Container box styling */
#bmicalc .box {
  border: 1px solid #ccc;
  border-radius: 20px;
  width: 60vw;
  height: 70vh;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Align items to start */
}

/* Heading styling */
#bmicalc .box h1 {
  font-size: 5vh;
  color: white;
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-bottom: 20px;
}

/* Form styling */
#bmi-form {
  width: 100%;
  margin-top: 60px; /* Add some margin to push the form down */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the form contents */
}

/* Form row styling */
#bmi-form .form-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10rem;
  width: 100%;
}

/* Label and input styling */
#bmi-form label {
  display: block;
  font-weight: bolder;
  margin-bottom: 5px;
  color: white;
}

#bmi-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #b4b1b1;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  color: #333;
  font-size: 1.5rem;
  box-sizing: border-box;
}

#bmi-form input::placeholder {
  color: black;
}


/* Button styling */
#bmi-form button {
  padding: 12px 20px;
  background-color: #101012;
  color: #f3f1f1;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1em;
  margin-top: 80px;
  width: 40%;
  display: flex;
  justify-content: center;
  margin-left: 19px;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#bmi-form button:hover {
  background-color: #303233;
  transform: scale(1.05);
}


/* Result styling */
#bmicalc #result {
  margin-top: 20px;
  text-align: center;
  color: white;
}

#bmicalc #bmi-value {
  font-size: 1.5em;
  font-weight: bold;
}

#bmicalc #bmi-category {
  font-size: 1.2em;
}


