/* Style sheet for reumnann vally group which embraces their brand */
/* used in the series of web sites and articles                    */
/* (c) rvg 2024                                                    */
@font-face {
    font-family: 'brand';
    src: url('/library/style/fonts/DroidSerif-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'brand';
    src: url('/library/style/fonts/DroidSerif-Bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
  }

  @font-face {
    font-family: "yeoman";
    src: url("/library/style/fonts/Roboto-Regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'yeoman';
    src: url('/library/style/fonts/Roboto-Bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
  }
  
  /* apply border-box so that the border and padding is included */
   * {
    box-sizing:border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    height: 90vh;
    background-color: var(--body-bg-color);
    color: var(--body-text-color);
    line-height: 1.5;
    font-family: yeoman;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    min-width: 320px;
    max-width: 1024px;
    width: 100%;
  }

  h1 {
    font-family: brand;
    font-weight: bold;
    font-style: normal;
    font-size: 48px;
    color: var(--heading-text-color);
  }
  
  h2 {
    font-family: brand;
    font-weight: bold;
    font-style: normal;
    font-size: 40px;
    color: var(--heading-text-color);
  }
  
  h3 {
    font-family: brand;
    font-weight: bold;
    font-size: 32px;
    font-style: normal;
    color: var(--heading-text-color);
  }
  
  h4 {
    font-family: yeoman;
    font-weight: bold;
    font-size: 24px;
    font-style: normal;
    color: var(--heading-text-color);
  }
  
  h5 {
    font-family: yeoman;
    font-weight: bold;
    font-size: 20px;
    font-style: normal;
    color: var(--heading-text-color);
  }
  
  h6 {
    font-family: yeoman;
    font-weight: bold;
    font-style: normal;
    font-size: 16px;
    color: var(--heading-text-color);
  }
  
  header {
    background-color: var(--navbar-bg-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  hr {   
    background-color: var(--navbar-text-color);
    border: var(--navbar-text-color);
    height: 1px;
    opacity: 0.25;
    margin-bottom: 1rem;
  }

  nav {
    width: 100%;
    background-color: var(--navbar-bg-color);
    /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); */
    color: var(--navbar-text-color);
  }

  .header-main {
      width: 100%;
      height: 60px;
      color: white;
      background: #000;
  }
  
  .container {
    display: grid;
    max-width: 940px;
    margin: 0 auto;
    /* grid-template-columns: 200px 200px 200px; */
    /* grid-template-columns: 1fr 1fr 1fr; */
    grid-template-columns: 2fr 1fr 1fr;
    gap: 13px;
  }
  
  .wrapper {
    display:grid;
    max-width: 940px;
    margin: 0 auto;
  }

  .deadspace {
    display: none;
  }
  
  /****************************************************************/
  /*                        LOGO                                  */
  /****************************************************************/
  .logo {
    display: flex;
    flex-direction: row;
    margin-top: 5px;
    margin-right: 10px;
    padding-left: 10px;
    justify-content: flex-start;
  }

  .logo img {
    max-height: 24px;
  }

  .logo-caption {
    background-color: var(--navbar-bg-color);
    font: italic smaller sans-serif;
    padding-left: 0px;
    text-align: left;
  }

  /****************************************************************/
  /*                     TOGGLE BUTTON                            */
  /****************************************************************/
  .toggle-button{
    position: absolute;
    top: 16px;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
  }

  .toggle-button .bar{
    height: 3px;
    width: 100%;
    background-color: var(--navbar-text-color);
    border-radius: 10px;
  }

  /****************************************************************/
  /*                        DROPDOWN                              */
  /****************************************************************/
  .dropdown {
    float: left;
    overflow: hidden;
  }

  .dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: var(--navbar-text-color);
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }

  .dropdown-box {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    /* min-width: 160px; */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

  .dropdown-box a {
    float: none;
    color: black;
    padding: 6px 6px;
    text-decoration: none;
    display: block;
    text-align: left;
  }

  .dropdown-box a:hover {
    background-color: #ddd;
  }

  .dropdown:hover .dropdown-box {
    display: block
  }

  /****************************************************************/
  /*                        NAV BAR                               */
  /****************************************************************/
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar .icon{
    display:none;
  }
  
  .nav-links {
    display: flex;  
    list-style-type: none;
  }

  .nav-links li:hover{
    background-color: var(--page-navbar-hover);
    border-radius: 5px;
    /* color: white; */
  }

  .nav-item {
    padding: 10px;
    margin-left: 5px;
    color: var(--navbar-text-color);
  }

  /****************************************************************/
  /*                        @MEDIA                                */
  /****************************************************************/
  @media screen and (max-width: 640px) {

   header{
        flex-direction: column;
        align-items: flex-start;
    }

    .deadspace {
      display: flex;
    }

    .logo{
        margin-top: 10px;
    }

    .toggle-button{
        display:flex;
    }

    .nav-links{
        display: none;
        flex-direction: column;
    }

    .nav-item {
      padding: 1px;
      margin-left: 5px;
      color: var(--navbar-text-color);
    }

    .navbar{
        flex-direction: column;
        align-items: flex-start;
      }

    .nav-links.active{
        display: flex;
    }

}