/* 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: fixed;
   width: 100%;
   /* z-index: 100; */
   /* transition: top 0.3s; */
   height: 58.5px;
   /* padding-left: 80px; */
   margin-bottom: 80px;
   z-index: 100;
}

/* 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 */
}



.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;


    background-color: gray;
    opacity: 0.95;
    padding: 0;
    list-style: none;
    color: #000;
    border-bottom-left-radius: 3px; /* Rounded bottom-left corner */
  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;
}



.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: 120px;
   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;
   text-align: justify;
}



.pic-column {
  float: left;
  width: 50%;
  padding: 0px 0px;
  text-align: center;
  margin-top: 30px;

  }

.text-column {
  float: left;
  width: 50%;
  padding: 0px 0px;
  }

.row{
  padding-top: 50px;
}
.row:after {
  content: "";
  display: table;
  clear: both;
  }





/* Arrow back */

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}




.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;
}

.presention a {
  text-decoration: none;
  height: 25px;
}

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

}

.arrow:hover .left{
  border: solid black;
  height: 30px

}

/* General Information*/
.presentation{
  /* background-color: #1D2731; */
  color:gray;
  /* margin-top: -30px; */
  /* padding: 50px; */
  /* height: 85vh; */
}

.presentation-pic {
    width: 80%;
    padding: 0px;
    opacity: 0.9;
    margin-top: auto;
    margin-bottom: auto;
    padding: 40px;
    border: 3px solid #2a3439;
    border-radius: 5px;


    }


.pic-box{
background-color: white;
text-align: center;
border-radius: 20px;
/* margin-left: auto; */
/* margin-right: auto; */



}


.txt-format{
background-color: #B2BEB5;
box-sizing: border-box;
color: black;
height: 40px;
/* width: 70px; */
margin: 10px 10px 10px;
padding: 3px;
border-radius: 5px;
/* padding-left: 13px; */
/* padding-top: 5px; */
/* border: 2px solid #1D2731; */
text-decoration: none;

}


.txt-format:hover{
  /* transform: scale(1.1); */
/* text-decoration: underline; */
background-color: #2a3439;
color: white;
  /* border: -2px solid gray; */
/*  */
}



#data-blocks {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 400px;
  float: center;
  padding-right: 20px;
  margin-right: 20px;

}


#data-blocks td {
  border: 1px solid #ddd;
  padding: 0px;
  color: black;
}

#data-blocks th {
  border: 1px solid #ddd;
  padding: 8px;
  color: black;
}

#data-blocks tr:nth-child(even){background-color: #F5F5F5;}
#data-blocks tr:nth-child(odd){background-color: #D3D3D3;}
/*
#data-blocks tr:hover {background-color: darkgray;}
*/
#data-blocks th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: gray;
  color: white;
}

td {
height: 40px;
padding:0px;
margin:0px;

}
td a {
  padding-top:8px;

display: block;
margin-left: 00px;
padding-left:0px;
width: 100%;
height: 100%;
text-decoration: none;
color: black

}


td a:hover{
background-color: darkgray;
padding-top:8px;
margin-top: 0px;
border-radius: 5px;
text-decoration: none;


}


.first-col{

  padding:8px;
  /* width:200px; */
}



.download-cols{
padding-left: 0px;
margin-left: 0px;
text-align: center;

}

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

    main {
        padding-left: 60px ;
        padding-right: 60px;
    }
    nav {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}
}

.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: 370px; */
         text-align: center;
         padding-left: 30px;
         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; */

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

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

    /* Hide individual nav items */
    nav ul {
      display: none;
      /* padding-right: 0px; */
      /* margin-right: 0px; */
    }

    /* .row{
      padding-top: 50px;
    } */
    .text-column{width: 100%}
    .pic-column {
      /* content: ""; */
      display: none;
      /* clear: both; */
      }

      #data-blocks {
        width: 400px;
        margin-right: 20px;
        padding-right: 20px;

      }


    /* 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;
}
}
