#logo img{
    height: 200px;
    width: auto;
}
*{
    text-decoration: none;
}
body{
    background-color: whitesmoke;
}
.navbar{
    background-color: white;
    font-family:'Segoe UI', Tahoma, Verdana, sans-serif;
    padding-right: 125px;
    padding-left: 125px;
    margin-top: -50px;
    padding-top: 0px;
}
.navdiv{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
li{
    list-style: none;
    display: inline-block;
}
li a{
    color: black;
    font-size: 24px;
    margin-right: 25px;
    position: relative;
    transition: color 0.3s;
}
li a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: black;
    transition: width 0.3s ease;
}
li a:hover::after{
    width: 100%;
}
.cards-section{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
}
.card{
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover{
    transform: translateY(-0.5rem);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.card img{
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.card h2{
    margin: 15px 20px 10px;
    color: teal;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.card p{
    margin: 0 20px 20px;
    color: #333;
    line-height: 1.4;
    font-size: 1rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.pastelPink{
    background-color: rgba(252, 193, 203, 0.844);
}
.pastelGreen{
    background-color: rgb(202, 254, 202);
}
.pastelBlue{
    background-color: rgb(199, 240, 255);
}
.cardHorizontal:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 1.5rem 2.5rem rgba(0,0,0,0.12);
}
.cards-section-horizontal {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 1.25rem;
  align-items: center;
}
.cardHorizontal {
  display: flex;
  align-items: stretch;
  background-color: white;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.08);
  overflow: hidden;
  width: 80rem;
  max-width: 90vw;
  margin: 2rem auto;
}
.cardHorizontal img {
  width: 40%;
  object-fit: contain;
  background: white;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 2.5rem;
  flex: 1;
}
.card-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.card-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}
.fly-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fly-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.footerLink{
    font-size: 18px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.footerLink{
    padding-right: 125px;
    padding-left: 125px;
    padding-top: 13px;
    padding-bottom: 13px;
}
footer{
    bottom: 0;
    width: 100%;
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}
#heroTitle{
    text-align: center;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 5rem;
}
.heading{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    padding-left: 19rem;
    font-weight: bold;
}
#isotopesIons{
    padding-left: 19rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-right: 19rem;
}
.head{
    padding-left: -19rem;
    font-size: 24px;
    font-weight: bold;
}
.cardHorizontal{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}