html, body {overflow-x: hidden;}
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html{
    scroll-behavior: smooth;
}

#myBtn {
    display: none;
    position: fixed; 
    bottom: 2%; 
    right: 3%; 
    z-index: 99; 
    border: none;
    outline: none; 
    background-color: rgb(250, 87, 87); 
    color: white; 
    cursor: pointer; 
    padding: 2%; 
    border-radius: 6px; 
    font-size: 18px;
    font-weight: 600;
  }
  
.nav_menu{
    display: none;
}

  #myBtn:hover {
    background-color: #555;
    transition: 0.2s;
  }
  a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    color: black;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image:linear-gradient(rgba(30, 4, 4, 0.7),rgba(4,9,30,0.7)),url(../bg//DSCN1761.JPG);
    background-position: center;
    background-size: cover;
    position: relative;
}

.logo{
    position:relative;
    width: 10%;
}
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1%;
}

nav{
    display: flex;
    padding: 1% 5%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 15%;
}
.nav-links{
    flex: 1;
    text-align: right;
}


.nav-links ul li{
    display: inline-block;
    padding: 8px 10px;
    position: relative;
}

.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
}

.nav-links ul li::after {
  content: '';
  width: 0%;
  height: 2px;
  background: #f44336;
  display: block;
  margin: auto;
  transition: 0.4s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    padding-top: 5px;
    text-align: left;
    display: none;
    position: absolute;
    background-color: transparent;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 18px;
    z-index: 1;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown2 {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content2 {
    padding-top: 5px;
    display: none;
    position: absolute;
    background-color: transparent;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
  }

  .dropdown2:hover .dropdown-content2 {
    display: block;
  }


.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 52%; 
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; 
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: white;
    padding-top: 0px;
    text-align: center;
}
.text-box a{
    color: white;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 15px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    color: #f44336;
    transition: 0.3s;
}

nav .fa{
    display: none;
}
nav .fa-solid
{
    display: none;
}

.bmbg{
background-color: rgb(163, 162, 162);
}

@media(max-width) {
    .logo{
        width: 15%;
    }
}


@media(max-width: 1000px)
{
    html, body {overflow-x: hidden;}
    #myBtn {
        display: none !important;
    }
    .text-box h1{
        font-size: 20px}
    .nav-links{
        position: absolute;
        background: #f44336;
        height: 100vh; 
        width: 200px;
        top: 0;
        right: -300px;
        text-align: left;
        z-index: 2; 
        transition: 0.7s;
    }
    nav .fa{
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    nav .fa-solid{
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links{
        padding: 30px;
    }
    .logo{  
        width: 20%;
    }
    #navLinks {
        display: none;
        right: 0;
    }
}

@media (max-width: 768px) {
    #navLinks {
        display: none;
        right: 0;
    }
}
