/* Google Fonts Link */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}


nav {
  background: #325991;
  height: 60px;
  width: 100%;
  
}

label.logo {
  color: white;
  font-size: 25px;
  line-height: 80px;
  padding: 0 100px;
  font-weight: bold;
}

nav ul {
  float: right;
  margin-right: 20px;
}

nav ul li {
  display: inline-block;
  line-height: 60px;
  margin: 0 5px;
}

nav ul li a {
  color: white;
  font-size: 13px;
  font-weight: bold;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
}

a.active{
  background: #1b9bff;
  transition: .5s;
}

a:hover {
  background: #1b9bff;
  transition: .5s;
  color:#eee;
}

.checkbtn {
  font-size: 22px;
  color: white;
  /* float: right;
  line-height: 60px;
  margin-right: 30px; */
  cursor: pointer;
  display: none;
  position: absolute;
  right:20px;
  top:15px;
  z-index: 99999;
}

#check {
  display: none;
}

@media (max-width: 1050px) {
  label.logo {
    padding-left: 30px;
  }

  nav ul li a {
    font-size: 16px;
  }
}

/* Responsive media query code for small screen */
@media (max-width: 890px) {
  .checkbtn {
    display: block;
  }

  nav{
    height: 0;
  }

  label.logo {
    font-size: 22px;
  }


  @media only screen and (min-width : 320px) {

    ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    top: 200px;
    left: -100%;
    text-align: left;
    transition: all .5s;
    z-index: 9999;
    overflow-y: auto;
  }

  nav ul li {
    display: block;
    margin: 20px 0;
    line-height: 20px;
  }

  nav ul li a {
    font-size: 14px;
  }
        
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (min-width : 480px) {

      ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    top: 200px;
    left: -100%;
    text-align: left;
    transition: all .5s;
    z-index: 9999;
    overflow-y: auto;
  }

  nav ul li {
    display: block;
    margin: 20px 0;
    line-height: 20px;
  }

  nav ul li a {
    font-size: 14px;
  }

    }

    /* Small Devices, Tablets */
    @media only screen and (min-width : 768px) {

      ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    top: 200px;
    left: -100%;
    text-align: center;
    transition: all .5s;
    z-index: 9999;
  }

  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }

  nav ul li a {
    font-size: 20px;
  }

    }

    /* Medium Devices, Desktops */
    @media only screen and (min-width : 992px) {

      ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    top: 200px;
    left: -100%;
    text-align: center;
    transition: all .5s;
    z-index: 9999;
  }

  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }

  nav ul li a {
    font-size: 20px;
  }

    }

    /* Large Devices, Wide Screens */
    @media only screen and (min-width : 1200px) {

    ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    top: 200px;
    left: -100%;
    text-align: center;
    transition: all .5s;
    z-index: 9999;
  }

  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }

  nav ul li a {
    font-size: 20px;
  }

    }

  

  a:hover,
  a.active {
    background: none;
    color: #0082e6;
  }

  #check:checked~ul {
    left: 0;
  }
}
