﻿* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Lato', sans-serif;
    }

    /* Overlay wrapper */
    .wrapper {
      position: fixed;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
     /* background: #000; */
      background: linear-gradient(rgba(244, 237, 143, 0.99), rgba(0, 39, 76, 0.8)),url(../IMAGES/HomeSlider/1.jpg);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
     /* clip-path: circle(25px at calc(100% - 45px) 45px); */
      clip-path: circle(25px at calc(100% - 54px) 43px);
      transition: all 0.4s ease-in-out;
      z-index: 999;
      overflow-y: auto; /* scrollable overlay */
    }

    #active:checked ~ .wrapper {
      clip-path: circle(75%);
    }

    /* Menu button */
    .menu-btn {
      position: fixed;
      z-index: 1000;
      right: 29px;
      top: 20px;
      height: 50px;
      width: 50px;
      text-align: center;
      line-height: 50px;
      border-radius: 50%;
      font-size: 25px;
      color: #fff;
      cursor: pointer;
      background: #000;
      transition: all 0.3s ease-in-out;
    }

    #active:checked ~ .menu-btn i:before {
      content: "\f00d"; /* X icon */
    }

    input[type="checkbox"] {
      display: none;
    }

    /* Navigation menu */
    .wrapper ul.nav-links {
      list-style: none;
      text-align: center;
      margin-top: 100px;
      padding-bottom: 50px;
    }

    .wrapper ul.nav-links li {
      margin: 15px 0;
      position: relative;
    }

    .wrapper ul.nav-links li a {
      text-decoration: none;
      font-size: 21px;
      font-weight: 500;
      padding: 10px 30px;
      color: #fff;
      border-radius: 50px;
      position: relative;
      display: inline-block;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    /* Neon hover */
    .wrapper ul.nav-links li a:after {
      position: absolute;
      content: "";
      /*background: linear-gradient(90deg, #14ffe900, #ffeb3b00, #ff00e0); */
      width: 104%;
      height: 110%;
      left: -2%;
      top: -5%;
      border-radius: 50px;
      transform: scaleY(0);
      z-index: -1;
      animation: rotate 2s linear infinite;
      transition: transform 0.3s ease;
    }

    .wrapper ul.nav-links li a:hover:after {
      transform: scaleY(1);
    }

    /* Dropdown container */
    .sub_menu-1 {
      display: none;
      flex-direction: column;
      background: #111;
      margin-top: 10px;
      border-radius: 15px;
      padding: 0px 0;
      max-height: 250px;
      overflow-y: auto;
      width: 425px;
      margin: 10px auto;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    }

    .sub_menu-1 li {
      margin: 5px 0;
    }

    .sub_menu-1 a {
      font-size: 20px;
      padding: 8px 25px;
      color: #fff;
      display: block;
      border-radius: 50px;
    }

    .sub_menu-1 a:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #00bcd4;
    }

    /* When dropdown is open */
    .sub_menu-1.show {
      display: flex !important;
    }

    /* Content */
    .content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: -1;
      text-align: center;
      width: 100%;
    }

    .content .title {
      font-size: 35px;
      font-weight: 700;
    }

    @keyframes rotate {
      0% {
        filter: hue-rotate(0deg);
      }

      100% {
        filter: hue-rotate(360deg);
      }
    }
    
    @media(max-width:768px)
    {
        .sub_menu-1 
        {
            width:325px !important;
        }
        .wrapper ul.nav-links li a 
        {
            font-size:14px !important;
        }
    }
  