.fa:not(.fa-bars) {
  font-size:33px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  border-radius: 0%;
  background: transparent;
  color: #e74646;
}

.fa:not(.fa-bars):hover {
  color: #ca2525;
}

.hamburger-nav .fa-bars {
  font-family: var(--fa-style-family, "Font Awesome 6 Free");
  font-weight: var(--fa-style, 900);
}

#header-nav,
#header-nav a,
#header-nav a:link,
#header-nav a:visited {
    color: #0E4749;
    z-index: 998;
}

#header-nav a:hover {
    color: #B7090A;
}

.hamburger-nav {
    color: #0E4749;
}

.language-toggle a {
  color: #002400;
}

.language-toggle a:hover {
  color: #B7090A;
}

.page {
  min-height: 20vh;
  padding: 40px 40px;
}

#about {
  padding: 60px;
  background-color: #E6DAC6;
}

#about p {
  color: #043e40;
}

#math {
  padding: 60px;
  background-color: #d8c8a8;
}

#math p, 
#math text {
  color: #125a5d;
}

#first-paper-1,
#first-paper-2,
#second-paper {
  font-size: 24px;
  margin: 0;
}

#math-intro a {
  color: #e93131; 
  text-decoration: none;
}

#math-intro a:hover {
  color: #ca2525;
}

.iframe-container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;    /* Centers vertically */
  height: 100%;           /* Set this to a specific height if necessary */
}

iframe {
  border: none; /* Optional: Removes the border for a cleaner look */
  border-radius: 10px;
}

.iframe-container-media {
  display: none;
  justify-content: center; /* Centers horizontally */
  align-items: center;    /* Centers vertically */
  height: 100%;           /* Set this to a specific height if necessary */
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #ffefd1;
}

::-webkit-scrollbar-thumb {
  background: #0E4749;
  border-radius: 10px;
}

@media (max-width: 700px) {
  #header-nav {   
    z-index: 1000;
  }

  .big-title {
    margin-top: 10px;
  }

  body {
    background-color: #c4b69c;
  }

  .iframe-container {
    display: none;
  }

  .iframe-container-media {
    display: flex;
  }

  #about,
  #math {
    padding: 30px;
  }

  p{
    font-size: 20px;
  }

  #first-paper-1,
  #first-paper-2,
  #second-paper {
    font-size: 18px;
  }
  #math text{
    font-size: 18px;
  }

  .fa:not(.fa-bars) {
    padding: 0px;
    font-size:21px;
    width: 25px;
  }
  
  #header-nav {
    background-color: #283033;   
}

  #header-nav,
  #header-nav a,
  #header-nav a:link,
  #header-nav a:visited {
      color: #1b8284;
  }
}