/*=GENERAL*************************************************************************************/
    
	* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{

    --cl-fnt:#14213D;
    --cl-bg: #f9f9f9;
    --cl-org:#FCA311;
    --cl-gr:#e5e5e5;
}
    
    html, body {
      margin: 0;
      height: 100vh;
      font-family: Arial, sans-serif;
      background-color: var(--cl-bg);
      color:var(--cl-fnt);
    }

    body {
      display: flex;
      flex-direction: column;
    }

/*=GENERAL END*************************************************************************************/
/*=NAV ------------------------------------------------------------------------------------------------------*/
    nav {
     
      color: var(--cl-fnt);
      display: flex;
      justify-content: flex-end;
      padding: 1rem;
      gap: 1rem;
    }

    nav ul {
  display: flex;               /* horisontaalne paigutus */
  justify-content: flex-end;   /* viib paremasse serva */
  list-style: none;            /* eemaldab täpid */
  margin: 0;
  padding: 0;
  gap: 1rem;                   /* vahe linkide vahel (soovi korral) */
}

a{
      color: var(--cl-fnt);
      text-decoration: underline;
      text-decoration-style: dashed;
      font-weight: bold; 
      text-underline-offset: 3px;
}

a:visited{
   color: var(--cl-gr);
      text-decoration: underline;
}

nav ul li a, nav ul li a:visited {
   color: var(--cl-fnt);
      text-decoration: none;
      font-weight: bold;        /* või mõni muu värv */
}

nav a:hover, a:hover  {
      text-decoration: underline;
      text-decoration-color: var(--cl-org);
    }

nav ul li a.active {
  font-weight: bold;
  color: var(--cl-org);     /* või valitud esiletõstuvärv */
  text-decoration: underline;
}



    

/*=NAV end ------------------------------------------------------------------------------------------------------*/
 /*=HOME ------------------------------------------------------------------------------------------------------*/   
    .content, .content-pg{
        
     justify-content: center; /* horisontaalne keskjoondus */
    align-items: center;     /* vertikaalne keskjoondus (vajadusel) */
      background-color: var(--cl-bg);
      color: var(--cl-fnt);
      padding: 1rem;
    }

    .content{
        text-align: center;
       flex: 1;
       display:flex
 

    }

    .bld{
        font-weight:bold;
    }

    .cntr{
      text-align: center;
    }

    hr.y-ln{
       border: 2px solid var(--cl-org);
    }

    .blg > p, .blg > ol > li{
    font-size: 1.2rem;
    line-height: 2.1rem;
    }
/*=HOME END ------------------------------------------------------------------------------------------------------*/
/*=DICTIONARY ------------------------------------------------------------------------------------------------------*/
  .content-pg{
    width: 80%;
    margin:0 auto

  }

  .content-pg h1{
    text-align: center;
  }

  .m-b, h1, .blg p{
    margin-bottom: 20px;
  }

.alp-mnu {
    display: flex;
    flex:1;
    gap: 10px;
    position: sticky;
    top: 0;
    padding: 10px;
    background-color: var(--cl-gr);
    /*border-bottom: 1px solid var(--cl-org);*/
    z-index: 10;
  }
  #alphabetMenu button {
    background:var(--cl-org);
    border: 1px solid var(--cl-bg);
    padding: 5px 10px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  #alphabetMenu button:hover {
    background: var(--cl-fnt);
    color: var(--cl-org);
  }
  #alphabetMenu button.active {
    background: var(--cl-fnt);
    color: var(--cl-org);
  }
  
  section {
    margin-bottom: 3rem;
  }
  h2 {
    border-bottom: 2px solid var(--cl-org);
    padding-bottom: 0.3rem;
  }
  dl dt {
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 20px;
  }
  dl dd {
    margin-left: 1.5rem;
    margin-bottom: 3.5rem;
  }

  dd p {
    margin-bottom:20px;
    line-height: 2.1rem;
  }

  .dict-o-lst li, .dict-lst li{
    margin-bottom:0.8%;
    margin-left: 20px;
  }

  /*=DICTIONARY END ------------------------------------------------------------------------------------------------------*/
/*=FOOTER ------------------------------------------------------------------------------------------------------*/
    footer {
      height: 60px;
      text-align: center;
      line-height: 60px;
      font-size: 0.9rem;
    }

    footer a {
      color: var(--cl-fnt);
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }
/*=FOOTER END ------------------------------------------------------------------------------------------------------*/
