/* ############################ HOME PAGE CODE ########################### */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: scroll;
}

.abt-cont {
  padding: 0px 60px;
  font-size: 25px;
}

#typing {
  font-size: clamp(40px, 2vw, 24px);
  font-size: 55px;
  margin-top: 0px;
  padding: 30px;
  padding-bottom: 5px;
  color: green;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: 500;
  text-align: center;
  max-height: 65px;
  font-weight: bold;
}

#sub-h {
  text-align: center;
  font-size: 26px;
  max-height: 30px;
}

.breadcrumbs {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
  padding-left: 2rem;
  padding-bottom: 2rem;

}

.breadcrumbs-h {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
  padding-left: 2rem;
  padding-bottom: 1rem;

}

.background {
  position: fixed;
  background: rgb(243, 240, 240);
  background-size: cover;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  filter: blur(4px);
  z-index: -1;
}

.background- {
  position: fixed;
  background:  rgb(243, 240, 240);
  background-size: cover;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  filter: blur(4px);
  z-index: -1;
  transition: background 0.7s;
}

header {
  background: #fff;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  margin: 0;
  box-shadow: 0px 5px 7px 0px rgb(150, 190, 150);
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 25px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2e7d32;
  border-bottom: 2px solid #2e7d32;
}

.container {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 40px 10px;
  flex-wrap: wrap;
}


/* Cards fit-fin */

.fit-card,
.fin-card {
  background: white;
  color: green;
  border-radius: 15px;
  padding: 20px 20px 20px 20px;
  text-align: center;
  width: 600px;
  box-shadow: 2px 5px 10px 2px gray;
  transition: 0.5s;
}

.fit-card h2,
.fin-card h2 {
  font-size: 40px;
  font-weight: bold;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.fit-image-box,
.fin-image-box {
  border: 3px solid green;
  border-radius: 15px;
  margin-top: 50px;
  padding: 60px;
  height: 60px;
  background-size: cover;
  opacity: 0.9;
}

.fit-image-box {
  background-image: url(thumbnails/fit-logo.png);
}

.fin-image-box {
  background-image: url(thumbnails/fin-logo.png);
  background-position: bottom;
}

/* Hover and Activating Effects */


.fit-card:active,
.fin-card:active {
  background: green;
  color: white;
  transition: 0.2s;
}

.logo-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.logo-title {
  font-family:"DynaPuff";
  color: #2e7d32;
  font-size: 45px;
  cursor: pointer;
  letter-spacing: 3px;
  font-weight: lighter;
}

.logo-title-p {
  font-family:monospace;
  color: black;
  font-weight: lighter;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  width: fit-content;
  letter-spacing: 0px;
  padding-left: 8px;
}

.logo-title-m {
  display: none;
}

.fit-clk,
.fin-clk {
  background: transparent;
  border: white;
  cursor: pointer;
}

.body-a {
  font-family: "Courier New", monospace;
  background-color: #f9f9f9;
  padding: 30px;
  color: #333;
  line-height: 1.6;
  white-space: pre-wrap;
}


/* ########################### FITNESS & FINANCE CALCULATOR TOOLS LIST PAGE ########################### */

.fit-tool-title {
  
  width: 400px;
  height: 50px;
  color: brown;
  background-color: transparent;
  font-size: 35px;
  text-align: center;
  margin: 0 auto 0 auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  border-radius: 3px;
  padding: 5px;
  font-weight: bolder;
}

.each-tool,
.each-tool-01 {
  display: block;
  font-weight: bold;
  font-size: 25px;
  color: green;
  text-align: center;
  height: 60px;
  width: 1010px;
  background-color: white;
  padding-top: 5px;
  margin: 40px auto;
  border-radius: 14px;
  border: 2px solid green;
  transition: 0.5s;
}

.each-tool:hover,
.each-tool-01:hover {
  box-shadow: 10px 10px 10px rgb(37, 57, 53);
}

.each-tool:active,
.each-tool-01:active {
  background-color: green;
  color: white;
  transition: 0.2s;
}

.fit-tool-subtitle,
.fit-tool-subtitle-01 {
  background: transparent;
  border: transparent;
  font-weight: bold;
  color:darkslategrey;
  font-size: 30px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-left: 250px;
  margin-top: 60px;
}

.add {
  margin: 0 auto;
}

.add1 {
    display: flex;
    height: 250px;
    width: 700px;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;

  }

footer {
  text-align: center;
  padding: 30px 20px;
  color: #888;
  font-size: 15px;
}

.abt-m {
  display: none;
}

/* ########################### RESPONSIVE MEDIA QUERIES ########################### */

@media (max-width: 1024px) {
  .fit-card,
  .fin-card,
  .fit-card:active,
  .fin-card:active {
    width: 85%;
    padding: 3%;
    margin: 0 auto;
  }

  .each-tool,
  .each-tool-01 {
    font-size: 16px;
    width: 77%;
    max-height: 3rem;
    border-radius: 0.5rem;
  }

  .fit-tool-title {
    max-height: 2rem;
    max-width: 80%;
    margin-top: 6%;
    border-width: 2px;
  }

  .fit-tool-subtitle,
  .fit-tool-subtitle-01 {
    font-size: 25px;
    max-width: 100% ;
    text-align: center;
    margin: 0 auto;
    padding-top: 5%;
  }

  .add {
    display: flex;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    flex-direction: row;

  }

  .add1 {
    display: flex;
    width: 250px;
    height: 700px;
    margin: 0 auto;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  #typing {
    font-size: 1.5rem;
    padding: 20px;
    height: 40px;
    padding-bottom: 0px;
  }

  #sub-h {
    text-align: center;
    font-size: 1rem;
    height: 30px;
    padding: 10px;
  }

  .abt-cont {
    padding: 0px 15px;
    font-size: 15px;
  }

  header {
    margin: 0;
  }

  .container {
    gap: 30px;
    margin: 20px 5px;
  }

  .fit-card,
  .fin-card {
    max-width: 350px ;
  }

  .fit-image-box,
  .fin-image-box {
    padding: 20px;
    height: 120px;
    max-width: 250px;
  }

  .fit-tool-title {
    max-width: 80%;
    font-size: 1.5rem;
    padding: 0px;
  }

  .add1 {
    display: flex;
    width: 250px;
    height: 600px;
    margin: 0 auto;
    flex-direction: column;
    gap: 1rem;
  }

  .fit-tool-subtitle,
  .fit-tool-subtitle-01 {
    width: 80%;
    margin: 0 auto;
    font-size: 18px;
    text-align: left;
  }

  .logo-title {
    font-size: 1.2rem;
    justify-content: center;
  }

  .logo-title-p {
    display: none;
  }

  .logo-title-m {
    display: block;
    font-family:monospace;
    color: black;
    font-weight: lighter;
    font-size: 8px;
    text-align: right;
    cursor: pointer;
    width: fit-content;
  }

  .nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 510;
    font-size: 0.8rem;
  }

  .abt-m {
    display: contents;
  }

  .abt-p {
    display: none;
  }

  .nav-links a {
    font-size: 10px;
  }

  .breadcrumbs {
    display: none;
  }

  .breadcrumbs-h {
    display: none;
  }
}

@media (min-width:600px) and (max-width:893px) {
  #typing {
    font-size: 45px;
  }

  .fit-tool-title {
    max-height: max-content;
    font-weight: bold;
  }

  .each-tool,
  .each-tool-01 {
    font-size: 20px;
  }
}

@media (min-width:895px) and (max-width:1025px) {
  .fit-tool-title {
    max-height: max-content;
  }
}