/* Reset some default browser styles for body, h1, and p */
body, h1, p {
   margin: 0;
   padding: 0;
}

/* Style the header image */
header {
   height: 300px; /* Adjust the height as needed */
   background-size: cover;
   display: flex;
   justify-content: flex-start; /* Align content to the left */
   align-items: left;
   flex-direction: column;
   text-align: left; /* Align text to the left */
   overflow: hidden;
}

/* Style the header content */
.header-content {
   color: #fff;
   text-align: left; /* Align text to the left */
   padding-top:200px;
   padding-left: 100px; /* Add 100px left padding for spacing */
   display: flex; /* Add flex to align items to the left */
   flex-direction: column; /* Stack items vertically */
   align-items: flex-start; /* Align items to the left */
}

/* Style your name */
#name {
   font-size: 36px;
   margin-bottom: 10px;
   color: #fff; /* Set name color to white */
   text-align: left; /* Align text to the left */
   transition: font-size 0.1s ease,opacity 0.5s, bottom 0.3s; /* Add transition for font size */

}

/* Style your title */
#title {
   font-size: 18px;
   opacity: 1; /* Initial opacity */
   transition: font-size 0.3s, opacity 0.3s;
   color: #fff; /* Set title color to white */
   text-align: left; /* Align text to the left */
}

/* Style the "BAB" text */
#nameText {
   font-size: 24px; /* Set the font size */
   color: white; /* Text color */
   position: absolute;
   top: -10px; /* Position it above the navbar */
   left: 100px; /* Adjust the left position as needed */
   opacity: 1; /* Initially hidden */
   transition: opacity 0.3s, top 0.3s; /* Add transition for opacity and top position */

}


    #nameText a {
        /* color: white; */
        height: 20px;
        /* top: 20px; */
        /* margin-top: 20px; */
        margin-right: 20px;
        border-top-right-radius: 3px;
        border-top-left-radius: 3px;
        /* background-color: transparent; */
    }

    #nameText a:hover {
        color: darkgray;
        background-color: transparent;

    }


    .home-icon {
      width: auto; /* Adjust the size of the icon as needed */
      height: 22px; /* Maintain aspect ratio */
      vertical-align: middle; /* Vertically align the icon with text */
      margin-right: -50px; /* Adjust spacing between the icon and text */
      margin-left: -5px; /* Adjust spacing between the icon and text */
      margin-top: -8px;
      /* background-color: green; */
      background-color: #333;

    }



    nav a.no-bg:hover {
      background-color: #333;
      /* background-color: lightgray; */
    }

    #homeHoverImage {
      display: none;
    }

    /* Show the homeHoverImage on hover */
.no-bg:hover #homeHoverImage {
  display: inline-block;
  background-color: #333;

}

.no-bg:hover #homeImage {
  display: none;
  background-color: #333;

}

/* Style the navigation bar */
nav {
   background-color: #333;
   color: #fff;
   position: relative;
   z-index: 100;
   transition: top 0.3s;
   height: 58.5px;
   /* padding-left: 80px; */
}

/* Style the navigation links */
nav ul {
   list-style: none;
   margin: 0;
   margin-right: 50px; /* Adjust spacing between links */
   padding: 0;
   display: flex; /* Use flexbox to align items horizontally */
   justify-content: flex-end; /* Push items to the right */
}

nav li {
  position: relative; /* Position for the dropdown */
   display: inline-block;
   margin-right: 10px; /* Adjust spacing between links */
   width: 120px;
}



nav a {
   color: #fff;
   text-decoration: none;
   padding: 20px 0px; /* Adjust padding as needed */
   display: inline-block;
   width: 100%; /* Set the width to 100% to fill the container */
   text-align: center;
}


nav a:hover {
  background-color: lightgray; /* Change background color to light gray on hover */
  /* background-color: blue; /* Change background color to light gray on hover */ */

    /* border-top-right-radius: 3px; */
    /* border-top-left-radius: 3px; */
    color: #000; /* Change font color to black on hover */
}

/* Default styles for submenus */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: gray;
    /* background-color: green; */
    opacity: 0.95;
    padding: 0;
    list-style: none;
    color: #000;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

/* Style submenu items with a black font color */
.submenu li {
    margin-right: 5px;
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 5px;
    color: black; /* Font color for submenu items */
    height: 58px;
    width: 110px;
    border-radius: 0px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    /* background-color: green; */

}

/* Style the submenu links */
.submenu li a {
    /* text-decoration: none; */
    /* color: black; */
}

.submenu li:hover {
    background-color: lightgray; /* Change background color to light gray on hover */
    color: #000; /* Change font color to black on hover */
    border-radius: 3px; /* Increase border-radius on hover for a rounded effect */

}

.submenu li a:hover {
    background-color: lightgray; /* Change background color to light gray on hover */
    color: #000; /* Change font color to black on hover */
    border-radius: 3px; /* Increase border-radius on hover for a rounded effect */

}
/* Style the fixed navigation bar when scrolling */
nav.fixed {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   box-shadow: 0 0px 0px rgba(0, 0, 0);
   margin-bottom: 0px; /* Adjust margin-top as needed */
   background-color: #333;
}

/* Adjust header content on scroll */
nav.fixed .header-content {
   font-size: 24px; /* Shrink font size on scroll */
}

/* Hide the title on scroll */
nav.fixed #title {
   font-size: 0; /* Shrink font size to 0 */
   opacity: 0; /* Hide the title */
}

/* Style the main content area */
main {
   margin-top: 0px; /* Adjust margin-top as needed */
   padding: 120px;
   padding-top: 60px;
   font-size: 16px;
}

main.main-with-margin {
   margin-top: 60px; /* Adjust this value to your preference */
}

/* Style the h1 heading */
h1 {
   font-size: 36px;
   color: #333; /* Text color */
   margin-bottom: 20px;
   text-align: center;
}

/* Style paragraphs */
p {
   font-size: 18px;
   line-height: 1.5;
   color: #666; /* Text color */
   margin-bottom: 20px;
}


/* classes */
ul.classes{
padding: 0px 50px;
list-style-type: square;
font-size: 18px;
color: #666;
line-height: 1.5;
  }


  table td {
    border: none;
    padding: 0px; /* Adjust padding as needed */
    font-size: 18px; /* Adjust font size as needed */
    color: #666; /* Change font color as needed */
    line-height: 1.5; /* Adjust line height as needed */
  }

  table {
     width: 100%;
     border-collapse: collapse;
   }

   table td {
     border: none;
     padding: 4px 0px; /* Adjust padding as needed */
     font-size: 18px; /* Adjust font size as needed */
     color: #666; /* Change font color as needed */
     line-height: 1.3; /* Adjust line height as needed */
   }

  tr.year-divider {
  background-color: transparent; /* Change background color as needed */
}

.references {
  display: inline-block; /* Place divs side by side */

  font-size: 18px;
  color: #666;
  line-height: 1.5;
  margin-right: 50px;
  margin-left: 50px; /* Reduce the margin between paragraphs */
/* Reduce the margin between paragraphs */
 padding: 0; /
}

.references  a {
  color: #666;
margin-bottom:40px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  display: inline-block;
  transition: border-color 0.3s, font-size 0.3s;
}

.references  a:hover {
  color: #666;
  border-bottom-color: #000; /* Change this to the color you want */
  font-size: 18px; /* Increase font size on hover */
}

.paper{
  font-size: 18px;
  color: #666;
}

.download-no-style{
  padding-left: 0px;
  text-decoration: none;
  font-size: 18px;
  color: #666;
}

.download-no-style:hover{
  text-decoration: underline;
  cursor: pointer;
}

.more-info {
  padding-left: 0px;
}


.more-info:hover {
  text-decoration: underline;
  cursor: pointer;
}


.add-info-content{
padding-left: 60px;
padding-right: 60px;
}




#paper_1 {display: none;}
#paper_2 {display: none;}
#paper_3 {display: none;}
#paper_4 {display: none;}
#paper_5 {display: none;}
#paper_6 {display: none;}
#paper_7 {display: none;}
#paper_8 {display: none;}



/* Data*/

/* first section */



.boxes-prod{
text-align: center;

}
.boxes-prod ul{
text-align: center;
margin:0px auto 0 auto;
float: center;
position: center

}



.boxes-prod ul li{
  box-sizing: border-box;
  display: block;

}

.a{
  /* display: inline-flex; */
  float: center;
  list-style: none;
}

.sub-box-prod{
  /* background-color: #4F4F4F; */
  width: 250px;
  height:250px;
  border-radius: 5px;
  margin: 15px;
  margin-right: 15px;
  float: center;
  font-size: 18px;
  color: white;
}

.upper-sub-box-prod{
  background-color: #353535;

  padding-top: 15px;
  height:35px;
  width: 250px;
  float:center;
  color:white;
  background-color:  #353535;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;

}

.lower-sub-box-prod{
  text-align: left;
  padding: 10% 5%;
  box-sizing: border-box;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #E8E8E8 ;
  /* background-color: #F0F8FF; */
  height: 200px;
  width: 250px;
  color: black;

}

.lower-sub-box-prod ul li{

  display: block;

}



.data-links{
  text-decoration: none;
  color: black
}

.data-links:hover{
  text-decoration: underline;

}

/* Motivation */

.boxes ul{
text-align: center;
}

.boxes ul li{
  box-sizing: border-box;
  display: inline-block;

}

.sub-box{
  background-color: gray;
  background-color: #2a3439;

  width: 250px;
  height:250px;
  border-radius: 5px;
  margin: 15px;
  margin-right: 15px;
  font-size: 18px;
}

.upper-sub-box{
  padding-top: 15px;
  height:35px;
  width: 250px;
  float:center;
  color: white;

}

.lower-sub-box{
  text-align: left;
  padding: 10% 0%;
  box-sizing: border-box;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #2a3439;
  background-color: #B2BEB5;
  height: 200px;
  width: 250px;
  color: black;

}


.value-box{
  float: center;
  text-align: center;
  /* margin-left: 70px; */
  }

.value-logo{
  height: 50px;
  float:center;
  padding-bottom: 10px
}



.data{
  /* background-color: #AAABBB; */
  /* color:white; */
  /* padding: 50px; */
  /* height: 500px; */
  }

.data-menu{
  margin: 0px 5%;
  text-align: center;

  }

.data-menu ul li{
  box-sizing: border-box;
  border: 2px solid #AAABBB;
  border: 2px solid #E5E4E2;
     border: 2px solid#2a3439;
  height: 150px;
  width:150px;
  text-align: center;
  display: inline-block;
  margin: 5px 20px;
  overflow: hidden;
  background-color: white;
  border-radius: 5px;
  margin-bottom: 20px;

  }

.data-menu ul li:hover {
  display: inline-block;
  box-sizing: border-box;
  border: 3px solid #2a3439;
  background-color: white;
  transform: scale(1.05);
  transition: transform .2s ease;

  overflow: hidden;
  height: 150px;
  width:150px;
  margin-bottom: auto;
  margin-bottom: 19px;

  }

.data-menu ul li a{
  text-decoration: none;
  display: block;
  text-align: center;

  }


.crypto-box{
  height:125px;
  }

.crypto-logo{
  margin-top: 10px;
  padding-top: 20px;
  height: 80px;
  float:center;
}


.crypto-text{
  font-size: 12px;
  width: 150px;
  height: 25px;
  color: white;
  background-color: #464866;
  background-color:#2a3439;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border: 3px solid #2a3439;
  box-sizing: border-box;
  text-align: center;
  }





  table.center {
    margin-left:auto;
    margin-right:auto;
  }

  #customers {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 80%;
    float: center;

  }


  #customers td, #customers th {
    border: 1px solid #ddd;
    padding: 8px;
    color: black;
  }

  #customers tr:nth-child(even){background-color: #F5F5F5;}
  #customers tr:nth-child(odd){background-color: #D3D3D3;}

  #customers tr:hover {background-color: darkgray;}

  #customers th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: gray;
    color: white;
  }




  .back-button{
  background-color: gray;
  box-sizing: border-box;
  border-color: red;
  color:white;
  width: 130px;
  height: 25px;
  border-radius: 5px;
  padding-left: 10px;
  padding-top: 2px;
  text-decoration: none;
  }

  .back-button:hover{
  background-color: lightgray;
  text-decoration: none;
  color: black;
  margin-bottom: auto;
  padding-bottom: auto;

  }

  /* Default styles for the nameText */
  #nameText {
      display: block;
  }
  h1{margin-bottom: -40px;}

  /* Media query for tablets in vertical mode (portrait) */
  @media (max-width: 834px)  {
      #nameText {
          display: none; /* Hide the nameText in this mode */
      }

      main {
          padding-left:40px ;
          padding-right: 40px;
      }

      nav {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}
  }

  .center{margin-top: 50px;}

.mobile-menu{
  display: none;
}

.mobile-menu .submenu {
  display: none;
}
  /* Media query for screens with a max-width of 834px (tablets in portrait mode) */
  @media (max-width: 507px) {


    .mobile-menu {
       display: block;
       width: 100%;
      text-align: center;
       padding-left: 70px;
       /* margin-left: 10px; */
     }
     .mobile-menu nav-item {
       /* width: 370px; */
       padding-left: 10px;
       margin-left: 10px;
       text-align: center;
     }
     .mobile-menu li{
       width: 270px;
       text-align: center;
     }

     .mobile-menu li ul{
       width: 270px;
       /* margin-right: 10px; */
       /* padding-right: -10px; */

     }

     .mobile-menu li ul:hover{
       width: 270px;
       /* margin-right: 10px; */
       /* padding-right: 10px; */
     }


     .mobile-menu li ul a{
       width: 250px;
       margin-right: 10px;
       /* padding-right: 10px; */

     }

     .mobile-menu li ul a:hover{
       width: 200px;
       /* margin-right: -10px; */
       /* background-color: red; */
       /* padding-right: 10px; */

     }

     .submenu li {
         /* margin-right: 30px; */
         /* margin-top: 5px; */
         /* margin-left: 5px; */
         /* margin-bottom: 5px; */
         /* color: black; /* Font color for submenu items */
         /* height: 58px; */
         width: 260px;
         /* border-radius: 0px; */
         /* border-top-right-radius: 3px; */
         /* border-top-left-radius: 3px; */
         /* background-color: green; */

     }

     nav{
       padding-right: 0px;
       margin-right: 0px;
     }

     /* Hide individual nav items */
     nav ul {
       display: none;
       /* padding-right: 0px; */
       /* margin-right: 0px; */
     }
      main {
          padding-left: 20px ;
          padding-right: 20px;
      }
      .add-info-content{
        margin-right: 0px;
        padding-right: 10px;
        margin-left: 0px;
        padding-left: 10px;
      }



      .boxes{margin-left: -40px;}

      /* Hide submenu items for both academic and research sections */
.nav-item:nth-child(2) .submenu,
.nav-item:nth-child(3) .submenu,
.nav-item:nth-child(4) .submenu,
.nav-item:nth-child(5) .submenu {
  display: none !important;
}
  }
