html {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

html, body {
  background: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #444;
  line-height: 1.6em;
}

body {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
}

h1,h2,h3 {
  font-family: serif;
}

h4 {
  font-size: 16pt;
  text-transform: uppercase;
  color: gray;
  font-weight: 400;
  letter-spacing: 1.5px;
  /*font-family: Raleway;*/
  font-family: serif;
  margin-bottom: .75em;
}

.bordered {
 padding: 1.5em;
 border: 2px solid grey;
}

p {
}

b, strong {
  font-weight: 600;
}

a {
  text-decoration: none;
  font-weight: 400;
}



.header {
  background: #fafafa; 
  background: #f8f8f8;
  /* border: 2px solid #eeeeee; */
  padding-top: 1em;
  padding-bottom: 1em;
}

.body h4 {
  margin-top: 2em;
}

h4.eugene {
  letter-spacing: 2.5px;
  text-justify: distribute;
  font-weight: 600;
  font-family: serif;

}

.tagbtn {
  margin-bottom: 5px;
  margin-top: 5px;
}

.applyheading {
    /* font-weight: bold; */
    /* color: rgb(201, 27, 77); */
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 18pt;
    /*font-style: italic;*/
    letter-spacing: 1px;
    font-family: serif;
    display: block;
}
.applylist{
    font-size: larger;
}

ul, ol {
  list-style-position: outside;
  list-style-type: none;
  padding: 0px;
}
li {
  margin-bottom: 1em;
}
.tight li {
  margin-bottom: 0px;
}

#cudbg {
  position:absolute; top:0px; left:0px; padding:0px; border: none; box-shadow: none; width: 100px;
}


small#pubs-toggle {
  font-size: 70%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
small#pubs-toggle span{
  background: none;
  font-size: smaller;
  border: none;
  border-bottom: 1px solid white;
}
small#pubs-toggle span:hover {
  border-bottom: 1px solid grey;
  cursor: pointer;
}

.title {
  font-weight: 600;
}

.scrolldot {
  fill: grey;
}







#goCrayBtn {
  position:fixed;  
  font-family: courier; 
  top: 5px; 
  left: 5px;
  cursor: pointer;
}
.toggle-container {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 2em;   /* Made proportional to height */
  height: 1em;  /* As requested */
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 1em;
}

.slider:before {
  position: absolute;
  content: "";
  height: .8em;     /* Proportional to container */
  width: .8em;      /* Keep circle perfect */
  left: 0.1em;       /* Small gap from edge */
  bottom: 0.1em;     /* Small gap from edge */
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  transform: translateX(1em);  /* Adjusted for new size */
}





















#signature {
  background-image:url(../images/signature.png);
  width:30px;
  height: 30px;
  background-repeat: no-repeat;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
  background-position-x: center;  
}

.gallery div.image {
  width:200px;
  height: 200px;
  background-size:contain;
  background-repeat: no-repeat;
  float:left;
  display: inline;
  margin: 5px;
  padding: 15px;
  border: 1px solid rgba(239, 239, 239, 0.86);
  box-shadow: 0 1px 3px rgba(160, 202, 219, 0.24); 
}
.gallery div.image:hover {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);    
}



#coverimage {
  background-image:url('../images/gregory-large.jpg');
  /*background-image:url('../images/mebig.jpg');*/
  background-position: 50 0;
  /*background-position: 0 0;*/
  background-size: cover;
  display: block;
  width: 100%;
  height: 250px;
  clear: both;
}

#coverimageme {
  background-image:url('../images/mebig.jpg');
  background-position: 0 0;
  background-size: cover;
  display: block;
  width: 100%;
  height: 250px;
  clear: both;
}

#gregory {
    width: 100px;
    height: 100px;
    background-size:cover;
    background-position: -10 0;
    background-image:url(../images/gregory.jpg);
}
#banana {
    width: 150px;
    height: 150px;
    background-size:cover;
    background-position: 5 -10;
    background-image:url(../images/banana_hi.png);
}
#banana:hover {
  background-image:url(../images/banana_bye.png);
}


.image-container {
  width: 100%; 
  max-width: 225px;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: opacity 0.3s ease; /* Optional: Smooth transition */
}


#mypic {
  width: 100%;
  height: auto;
  min-height: 225px;
  max-width: 225px;
  margin-left: auto;
  margin-right: auto;
  background-image:url(../images/me_headshot.png);
  background-size: cover; /* Ensure the image covers the entire area */
  background-repeat: no-repeat;
  /*background-position: 0;*/
  display: inline-block;
  background-position: center; /* Center the image */
}

#mypic:hover {
  background-image:url(../images/eugene.png);
  background-image:url(../images/wulab_small.png);
  background-size: 155px;
  background-position: 35; 
  /*
  background-image:url(../images/me_faculty2.png);
  background-size: 175px;
  background-repeat: no-repeat;
  background-position: 0;
  */

}

@media  (max-width:900px) {
  . {
    font-size: larger;
  }
}



@media  (max-width:576px) {
  html,body {
    font-size: 20pt;
  }
  h1 {
    font-size: 22pt;
  }
  h4 {
    margin-top: 2em;
    font-size: 22pt;
    margin-bottom: 1em;
  }
  .stitle {
    font-size: 22pt;
  }
  .header div {
  }
}









