* {box-sizing: border-box;}

/* Jovan Nedic, September 2019*/
/* Jovan Nedic, May 2025*/

/* ================================== BODY ================================== */
/* want the body text to be grey, but the headers to be black */
body {
  font-family: 'Didact Gothic', sans-serif;
  color: #404040;
  padding: 0;
  margin: 0;
}

h1 {
    font-size: 30px;
    color: black;
    margin:0;
}

h2 {
    font-size: 26px;
    color: black;
    margin:0;
}

h3 {
    font-size: 22px;
    color: black;
    margin:0;
}

h4 {
    font-size: 16px;
    color: black;
    margin:0;
}


/* ================================= HEADER ================================= */
.header {
  padding:100px;
  margin: 0px;
  text-align: center;
  background-image: url("Images/BannerImage.jpg");
  
  /* Set a specific height */
  min-height: 350px; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.header h1{
    color: white;
    font-size: 36pt; /* 5vw responsive text size 5% of width */
    text-align: center;
    text-shadow: 1px 1px grey;
    padding-top:20pt;
    letter-spacing: 1px;

}

.header p{
    font-size: 12pt; /* responsive text size 1.5% of width */
    color: red;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: capitalize;
    text-shadow: .1px .1px grey;
}

/* =============================== NAVIGATION =============================== */
/* More information can be found here for the navigation: https://www.youtube.com/watch?v=gXkqy0b4M5g */

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 45px;
    background-color: white;
    opacity:1;
    position: fixed;
    width:100%;
    border-bottom: 1px solid lightgrey;
    z-index:100;
}
  /* Put a box around the active tab*/
  .active {
  border: 1px solid #555;
  padding: 8px;
  
}
 
 nav a:hover {
    color: grey;
}
    
 
.logo{
    color: black;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 15px;
}

/* Main navigation style*/

.mainnav {z-index:100;
}
.nav-links{
    display: flex;
    justify-content: space-around;
    width: 60%;
}

.nav-links li{
    list-style:none;
}

.nav-links a{
    color:black;
    text-decoration:none;
    letter-spacing: 0px;
    font-weight: bold;
    font-size: 15px;
}

.nav-links >ul > li{
    list-style: none;
    display:inline-block;
    padding: 5px 25px;
    position: relative;
}

/* Dropdown navigation style*/
ul.dropdown {
    list-style: none;
    position:absolute;
    background-color: white;
    text-decoration:none;
    width:120px;
    padding-left:0px;
    padding-top:5px;
    margin-top:10px;
    opacity:0;
    border:1px solid black;
}

ul.dropdown li{
    padding-left:7px;
    padding-bottom:5px;
    padding-right:5px;
}

.nav-links li:hover .dropdown{
    opacity:1;
}

ul.dropdown a{
    color:black;
    text-decoration:none;
    letter-spacing: 0px;
    font-weight: normal;
    font-size: 15px;
}


/* Burger style*/
.burger{
    display:none;
    cursor: pointer;
}

.burger div{
    width: 25px;
    height: 3px;
    background-color:grey;
    margin: 5px;
    transition: all 0.5s ease;
}

/* Use JavaScript to do so some fade (might not work if Java is not activated)*/
@keyframes navLinkFade{
    from{opacity: 0.4;transform: translateX(100%);}
      to{opacity: 1;transform: translateX(0%);}
}
 .toggle .line1{
     transform: rotate(-45deg) translate(-5px,6px);
 }
 .toggle .line2{
     opacity:0;
 }
 .toggle .line3{
     transform: rotate(45deg) translate(-5px,-6px);
 }



/* Resposive layout for various aspects of the website*/
/* First for when the website is shrunk (might change later)*/
@media screen and (max-width:1024px){
    .nav-links{
        display: flex;
        justify-content: space-around;
        width:70%;
    }
}

/* Now for the website version*/
@media screen and (max-width:875px){
    body{
        overflow-x: hidden;
    }
    .nav-links{
        position: absolute;
        right: 0px;
        height: 300px;
        top: 27px;
        background-color: #FAFAFA;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 42%;
        transform: translateX(100%);
        transition: transform 0.6s ease-in;
        padding:10px;
    }
    .burger{display: block;}
}

/* This moves the nav off the page*/
.nav-active{transform: translateX(0%);}


/* ============================== COLUMN SET UP ============================= */
/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  width: 60%;
  padding-right: 5px;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 40%;
}

/* Left column for two columns*/
.leftcolumn2 {   
  float: left;
  width: 50%;
  padding-right: 5px;
}

.leftcolumn_twothird {   
  float: left;
  width: 60%;
}

/* Right column for two columns */
.rightcolumn2 {
  float: left;
  width: 50%;
  padding-left: 5px;
}

.rightcolumn_third {
  float: left;
  width: 35%;
}

/* Left column for three columns*/
.column3 {   
  float: left;
  width: 33%;
  padding-left: 20px;
}

.column4 {   
  float: left;
  width: 25%;
  padding-left: 20px;
}

.customIndent {
  margin-left: -20px;
}


/* Logo image */
.logoimg {
  width: 20vh;
  padding: 15px;
}

/* Add a card effect for articles */
.card {
    max-width: 80%;
    margin: auto;
    display:block;
    padding: 20px;
    margin-top: 0px;
    margin-left:10%;
    margin-right:10%;
    width:80%;}
/*.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 40%;
}
*/

.container {
  padding: 2px 16px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Horizontal spacer */
.hspacer {
    height: 20px;
}

/* ========================  ANNOUNCEMENT STYLE ========================== */
.announce {
  border: 5px #bbb;
  width: 80%;
  border-radius: 30px;
  margin: 0 auto;
  max-width: 600px;
}

.container_an {
  padding: 2px 16px;
  background-color: #f1f1f1;
}

.startdate {
  background: #ccc;
  padding: 3px;
}

.enddate {
  color: red;
}


/* =============================  TABLE STYLE =============================== */

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

td, th {
  border: 1px solid white;
  text-align: left;
  padding: 8px;

}

th {background-color:#F5F5F5;
    vertical-align:middle;
}

* {box-sizing: border-box}

/* ==============================  ID CARDS =============================== */

/* Left column PhD*/
.leftcolumn_PhD {   
  float: left;
  width: 35%;
  padding-left: 10%;
  padding-right: 1%;
  margin-top:0px;
}

/* Right column PhD*/
.rightcolumn_PhD {
  float: left;
  display: inline-block;
  width: 65%;
  padding-right: 10%;
  margin-top:0px;
}

.master_ID {
  float: left;
  width: 33%; /* divide by the number of students*/
  height:375px;
  margin-top:0px;
  padding-left:8px;
  padding-right:8px;
}

.master_ID h3{margin:0;font-size:1.5vw;}
.master_ID p{padding-top:10px;font-size:1.3vw;}

div#imageContainer {
    height: 25px;
    vertical-align: bottom;
    display: table-cell;
}

#imageContainer img{
    vertical-align: bottom;
}

uni{font-family: 'Didact Gothic', sans-serif;
  color: #404040;
  font-size: 9pt;
  text-align:center;
  padding: 0;
  margin: 0;
}


.faceimg{
  width:100%;
  padding: 15px;
}

.IDcard {
  padding: 0px;
  margin-top: 0px;
}

/* ============================== Research Box ============================== */
.research {
  float: left;
  width: 33%; /* divide by the number of students*/
  margin-top:0px;
  padding-left:10px;
  padding-right:10px;
}


/* =============================== ACCORDIAN ================================ */
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 10px;
  width: 95%;
  text-align: left;
  border: 1pt solid white;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: '\002B';/* display + sign*/
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.acc-active:after {
  content: "\2212";/* display - sign*/
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  margin-right: 10px;
  
}

/*specific wrap style for paragraph text in panel*/
.panel  p{
  word-break: normal;
  word-wrap: break-word;
  margin-right: 10px;
}

/* =============================== SLIDESHOW ================================ */

.mySlides {display: none;}
img {vertical-align: middle; z-index: -1;}

/* Slideshow container */
.slideshow-container {
  max-width: 80%;
  margin: auto;
}
/* Slideshow container FULL*/
.slideshow-container-full {
  max-width: 95%;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.slide-active {
  background-color: black;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color:white;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 0.5s;
  animation-name: fade;
  animation-duration: 0.5s;
}

@-webkit-keyframes fade {
  from {opacity: .9} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .9} 
  to {opacity: 1}
}


/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

/* ================================= FOOTER ================================= */
.footer {
  padding: 10px;
  margin-top: 20px;
  background-color: #20232E;
  }
  
  .footer p{
      font-size:10px;
      color: white;
      margin:0;
  }
  
  .footer h4{
      font-size:14px;
      color: white;
  }
  
  .footer h3{
      font-size:18px;
      color: white;
  }
  
  .footer_col1{
      float: left;
      width: 30%;
      height:90px;
      padding: 5px;
  }
  
  .footer_col2{
      float: left;
      width: 40%;
      height:90px;
      padding: 5px;
  }
  
  .footer_col3{      
      float: left;
      width: 30%;
      height:90px;
      padding: 5px;
      text-align: right;
  }
  
  .subfooter{padding: 10px;width:80%;background-color: #20232E;}

/* =============================== RESPONSIVE =============================== */
  /* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 875px) {
  .leftcolumn, .rightcolumn,.leftcolumn2, .rightcolumn2, .leftcolumn_twothird {   
    width: 100%;
    float: left;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .footer_col1, .footer_col2, .footer_col3{
      width: 100%;
      text-align:center;
      padding: 5px;
  }
  
  .column3 {   
    width: 50%;
    float: left;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .column4 {   
    width: 50%;
    float: left;
    padding-left: 20px;
    padding-right: 20px;
  }
  
    .rightcolumn_PhD p{margin:0;font-size:10pt;}
    .rightcolumn_PhD i{margin:0;font-size:10pt;}
    .rightcolumn_PhD h3{margin:0;font-size:14pt;}
    .rightcolumn_PhD h4{padding:0;margin:0;font-size:12pt;}
    
    .master_ID {
        width: 50%;
        height: 320px;
        float: center;
        padding: 20px;
  }
    .master_ID p{margin:0;font-size:10pt;}
    .master_ID i{margin:0;font-size:10pt;}
    .master_ID h3{margin:0;font-size:14pt;}
    .master_ID h4{padding:0;margin:0;font-size:12pt;}
    
    
    .card p{margin:0;font-size:10pt;}
    .card i{margin:0;font-size:10pt;}
    .card ul{margin:0;font-size:10pt;}
    .card h3{margin:0;font-size:12pt;}
    .card h4{padding:0;margin:0;font-size:10pt;}
    }
    
@media screen and (max-width: 600px) {
  .research {   
    width: 100%;
    float: center;
    padding: 20px;
  }
  
  .column3 {   
    width: 100%;
    float: center;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .column4 {   
    width: 100%;
    float: center;
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* ========================== END OF STYLE SECTION ========================== */