html, body {
  height: 100%;
  
  margin: 0;
  padding: 0;

   
  
}
body {
  margin: 0;
  padding: 0;
  //margin-top: 70px; /* Add space for the navigation bar */
  background-color: rgb(1,9,16);//rgb(19,19,31);//rgb(20, 26, 40);
  /*background-image:url('Components/bk1.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top left;*/
  font-family: 'Michroma', sans-serif;
  color:white;
 
   }

.containerbar {
    max-width: 1400px;
    min-width:1400px;
    width: 80%;
    margin: 0 auto;
    min-height:30%;
   // background-color:rgb(200,20,200);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    //padding: 10px 0;
    //background-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .containerbar {
    max-width: 1400px;
    width: 80%;
    display: flex;
    align-items: center;
    position: relative;
}

.logo {
   max-width: 130px;
    width: 120%;
    flex-grow: 1;
}


nav {
    flex-shrink: 1;
    margin-left: auto;
}

nav ul {
    
   display: flex;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    
}

nav li {
    margin-left: 20px;
}

nav li:last-child {
  //margin-left: auto;
  margin-right: 5%; /* Adjust this value as needed */
}

nav a {
    color: #fff;
    text-decoration: none;
    font-family: 'Michroma', sans-serif;
    font-size: 100%;
}

nav a:hover {
    color: rgb(9, 190, 139);
    text-decoration: none;
}

nav a.active {
    color: rgb(9, 190, 139);
}

nav .sign-in {
    margin-right: 20px;
    white-space: nowrap;
}

ul, li {
        margin: 0;
    padding: 0;
    list-style-type: none;
}

.navbar {
    display: flex;
    justify-content: flex-start;
    // background-color: rgba(0, 0, 0, 0.4);
}

.navbar > li {
    position: relative;
}

.navbar > li > a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
}

.navbar > li > a:hover {
    //background-color: #111;
    color:rgb(9,190,139);
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
     background-color: rgba(0, 0, 0, 0.9);
    min-width: 250px;
}

.submenu > li > a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
}

.submenu > li > a:hover {
    //background-color: #111;
    color:rgb(9,190,139);
}

/* Show submenu when hovering */
.navbar > li:hover .submenu {
    display: block;
}



#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

#dialog-box {
  position: fixed;
  width:400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(20, 26, 40);
  padding: 20px;
  display: none;
  z-index: 1000;
  color:rgb(9,190,139);
  border-radius: 10px;
}

#message {
  margin-top: 10px;
  color: red;
}

#dialog-box h2 {
  margin-top: 0;
}

#dialog-box input {
  margin-bottom: 10px;
  width: 340px;
}


////////////////////////////////////////////////////////////////////////////////

main{
display: flex; 
flex-direction: column;
justify-content: center; 
align-items: center;
}


.PageX {
  max-width: 1400px;
  min-width: 1400px;
  margin-top: 70px;
  //min-height: 400px;
  //background-color: rgb(19,19,31);//rgba(30,39,56,1);
  display: flex;
  color: white;
  //justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); /* Add shadow */
  border-radius: 5px; /* Add rounded corners */
  
  display: flex;
  flex-direction: column; /* make main axis vertical */
  min-height: 66vh; /* full height of the viewport */
}

.PageM {
  width: 100%;
  
  margin-top: 70px;
  //min-height: 400px;
  //background-color: rgb(19,19,31);//rgba(30,39,56,1);
  display: flex;
  color: white;
  //justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); /* Add shadow */
  border-radius: 5px; /* Add rounded corners */
  
  display: flex;
  flex-direction: column; /* make main axis vertical */
  min-height: 66vh; /* full height of the viewport */
  
  overflow: hidden;
}


#page p {
  font-size: 18px;
  line-height: 1.5;
  margin: 20px;
}


#overlayx {
 position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 999;
    display: none;
}

#overlayx-rect {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  display: none;
  width:400px;
  height:150px;
  background-color:rgba(30,39,56,1);
  padding:20px;
  border-radius: 5px;
}



#loadingx {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  display: none;
  width:100px;
  height:100px;
}

#loadingx img {
  width: 100%;
  height: 100%;
}