/* navbar.css */

/* General style settings */
*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
  }
  body{
    font-family: montserrat;
  }


/* Navbar style settings */
nav {
    background-color: #333;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
}

#logo {
    width: 20px;
    height: auto;
    margin-top: 10px;
    margin-left: 30%;
}

/* Logo style settings */
.logo {
    color: white; /* Logo text color */
    margin-top: 10px;
}

.nav ul{
    float: right;
    margin-right: 20px;
}
  
  .nav ul li {
    display: inline-block;
    line-height: 42.5px;
    margin: 0px 5px;
}
  .nav ul li a{
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
  }

  .nav ul li a:hover{
    color: orangered;
    list-style: none;
    text-decoration: none;
  }

  a.active,a:hover{
    background: #0000005b;
    transition: .5s;
  }

  .checkbtn {
    display: none;
}
  #check{
    display: none;
  } 


  @media (max-width: 769px){

    .checkbtn {
        display: block;
    }

    nav{
        height: 45px;
    }


    #logo {
        width: 20px;
        height: auto;
        margin-top: -15px;
        margin-left: 5%;
    }

 nav p {
        display: none;
    }

    .checkbtn {
        margin-top: -35px;
        font-size: 30px;
        color: white;
        float: right;
        line-height: 0px;
        margin-right: 0px;
        margin-left: 90%;
        cursor: pointer;
    }

    ul{
      position: fixed;
      width: 100%;
      height: 100vh;
      background: #474747;
      top: 80px;
      left: -100%;
      text-align: center;
      transition: all .5s;
    }

    .nav ul {
        top: 45px;
        height: 200px;
    }
    .nav ul li{
        display: block;
        margin: 25px 0;
        line-height: 30px;
    }

    ol, ul {
        padding-left: 0rem;
    }

    .nav ul li a{
      text-align: center;
      font-size: 20px;
    }
    
    a:hover,a.active{
      background: none;
      color: #0082e6;
    }
    #check:checked ~ ul{
      left: 0;
    }
  }


  @media (min-width: 768px) and (max-width: 1200px){

    .checkbtn {
        display: block;
    }
    
    nav p{
        display: none;
    }

    nav{
        height: 45px;
    }


    #logo {
        width: 20px;
        height: auto;
        margin-top: -15px;
        margin-left: 5%;
    }

    .checkbtn {
        margin-top: 0px;
        font-size: 30px;
        color: white;
        float: right;
        line-height: 0px;
        margin-right: 0px;
        margin-left: 90%;
        cursor: pointer;
    }

    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #474747;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
      }
  
      .nav ul {
          top: 45px;
          height: 200px;
      }
      .nav ul li{
          display: block;
          margin: 25px 0;
          line-height: 30px;
      }
  
      ol, ul {
          padding-left: 0rem;
      }
    
      .nav ul li a{
        font-size: 20px;
      }
      a:hover,a.active{
        background: none;
        color: #0082e6;
      }
      #check:checked ~ ul{
        left: 0;
      }

}