/*
 *  Academicons 1.9.4 by James Walsh (https://github.com/jpswalsh) and Katja Bercic (https://github.com/katjabercic)
 *  Fonts generated using FontForge - https://fontforge.org
 *  Square icons designed to be used alongside Font Awesome square icons - https://fortawesome.github.io/Font-Awesome/
 *  Licenses - Font: SIL OFL 1.1, CSS: MIT License
 */
@font-face {
    font-family: 'Academicons';
    font-style: normal;
    font-weight: 300;
    font-display: block;
    src: url('../fonts/academicons.eot');
    src: url('../fonts/academicons.eot') format('embedded-opentype'),
         url('../fonts/academicons.ttf') format('truetype'),
         url('../fonts/academicons.woff') format('woff'),
         url('../fonts/academicons.svg') format('svg');
}

body {
  font-size: 14px; /* Global font size reduced slightly */
  line-height: 1.6; /* Improves readability */
}

.ai {
  font-family: 'Academicons';
  font-weight: 400;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-size: 0.9em; /* Slightly smaller font size for Academicons */
}

/* Adjusting icon sizes for consistency */
.ai-xs {
  font-size: 0.45em;
}
.ai-sm {
  font-size: 0.7em;
}
.ai-lg {
  font-size: 1.0em;
  line-height: 0.75em;
  vertical-align: -0.0667em;
}
.ai-1x {
  font-size: 0.7em;
}
.ai-2x {
  font-size: 1.4em;
}
.ai-3x {
  font-size: 1.8em;
}
.ai-4x {
  font-size: 2.7em;
}
.ai-5x {
  font-size: 3.6em;
}
.ai-6x {
  font-size: 4.5em;
}

/* Other existing rules remain unchanged */
.ai-fw {
  text-align: center;
  width: 1.25em;
}
.ai-ul {
  list-style-type: none;
  margin-left: 2.5em;
  padding-left: 0;
}
.ai-ul > li {
  position: relative;
}
.ai-li {
  left: -2em;
  position: absolute;
  text-align: center;
  width: 2em;
  line-height: inherit;
}
.ai-border {
  border: solid 0.08em #eee;
  border-radius: 0.1em;
  padding: 0.2em 0.25em 0.15em;
}
.ai-pull-left {
  float: left;
}
.ai-pull-right {
  float: right;
}
.ai.ai-pull-left {
  margin-right: 0.3em;
}
.ai.ai-pull-right {
  margin-left: 0.3em;
}
.ai-stack {
  display: inline-block;
  height: 2em;
  line-height: 2em;
  position: relative;
  vertical-align: middle;
  width: 2.5em;
}
.ai-stack-1x,
.ai-stack-2x {
  left: 0;
  position: absolute;
  text-align: center;
  width: 100%;
}
.ai-stack-1x {
  line-height: inherit;
}
.ai-stack-2x {
  font-size: 1.4em;
}
.ai-inverse {
  color: #fff;
}
