body{
  margin: 0;
  padding: 0;
  background: url(bg.jpg) no-repeat;
  background-size: cover;

}

/* *****************************MAIN BOX ************************************************ */
.box{
  z-index: 0;
  position: relative;
  width: 25%;
  background-color: #A1A1A1;
  opacity: 0.85;
  filter: alpha(opacity=85); /* For IE8 and earlier */
  padding: 40px;
  text-align: center;
  margin: auto;
  margin-top: 5%;
  color: white;
  font-family:  Computer Modern, Roboto,'Century Gothic',sans-serif, Arial;
}
.box-img{
  border-radius: 50%;
  width: 160px;
  height: 235px;
  
}
.box h1{
  font-size: 40px;
  letter-spacing: 4px;
  font-weight: 100;
  position: relative;
  top: 5em;
}
.box h5{
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 100;
}
.box p{
  text-align: justify;
}
.box ul{
  margin: 0;
  padding: 0;
}
.box li{
  display: inline-block;
  margin: 6px;
  list-style: none;
}
.box li a{
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: all ease-in-out 350ms;
}
.box li a:hover{
  color: #00acee;
}

/***********************************Other Boxes***********************************************************************/
/*Calendar box***********************************************************/
      .iframe {
       width: 500px; /* It should not be 100% */
       height: 500px:
       margin-left: auto;   /* Automatic margin from left */
       margin-right: auto; /* Automatic margin from right */
      } 

/*other*/
.article-box{
  z-index: 0;
  position: relative;
  width: 35%;
  background-color: white;
  opacity: 0.95;
  filter: alpha(opacity=95); /* For IE8 and earlier */
  padding: 40px;
  text-align: left;
  margin: auto;
  margin-top: 5%;
  color: black;
  font-family:  Computer Modern,Roboto,'Century Gothic',sans-serif, Arial;
}

.book-box{
  z-index: 0;
  position: relative;
  width: 35%;
  background-color: white;
  opacity: 0.95;
  filter: alpha(opacity=95); /* For IE8 and earlier */
  padding: 40px;
  text-align: left;
  margin: auto;
  margin-top: 5%;
  color: black;
  font-family:  Computer Modern, Roboto,'Century Gothic',sans-serif, Arial;
}

.course-box{
  z-index: 0;
  position: relative;
  width: 35%;
  background-color: white;
  opacity: 0.95;
  filter: alpha(opacity=95); /* For IE8 and earlier */
  padding: 40px;
  text-align: left;
  margin: auto;
  margin-top: 5%;
  color: black;
  font-family:  Computer Modern, Roboto,'Century Gothic',sans-serif, Arial;
}
/*********************************Book links***************************************************************************/
.booklink{
  position: relative;
  z-index: 2;
}


/* *************************************NAVIGATION BAR************************************************************** */

.navbar{
  position: relative;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;	
  background-color: #A1A1A1;
  opacity: 0.85;
  filter: alpha(opacity=85); /* For IE8 and earlier */
  padding: 10px;
  text-align: center;
  margin-top: .5%;
  color: white;
  font-family:  Computer Modern, Roboto,'Century Gothic',sans-serif, Arial;
}

.navbar li a{
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: all ease-in-out 200ms;
}

/*
.navbar li a:hover{
  color: #00acee;
}
*/


.navbar li{
  display: inline-block;
  margin: 5px;
  list-style: none;
}

/**Change hover color for each item in list */
.navbar .homebutton:hover{
		color: green;
}

.navbar .gitbutton:hover {
		color: gray;
}
.navbar .twitterbutton:hover {
		color: #1DA1F2;
}
.navbar .calbutton:hover {
		color: black;
}


.navbar .cvbutton:hover {
		color:  #ff0000;
}

.navbar .researchbutton:hover {
		color:  #3a32b2;
}

.navbar .teachbutton:hover {
		color:  #b25a32;
} 

/*For the dropdowns */
.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  text-align: left;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 2;

}

.dropdown-content a {
  color: black;
  position:relative;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  z-index: 10;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #3e8e41;}



	
	
/**********************************FOOTER******************************************************************************/
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #A1A1A1;
  color: white;
  text-align: center;
}



/***********************************Email******************************************************************************/

.lock:hover .fa-envelope-square,
.lock .fa-envelope-open{
    display: none;
}
.lock:hover .fa-envelope-open {
    display: inline;
}

/********************************Gradient*****************************************************************************/
@keyframes gradient {
  0% {
    background-position: 0%;
  }
  50% {
    background-position: 100%;
  }
  100% {
    background-position: 0%;	  
  }
}

@keyframes gradient_two {
  0% {
    background-position: 0%;
  }
  50% {
    background-position: 50%;
  }
  100% {
    background-position: 0%;	  
  }
}


/* Email */

.box a:hover {
	background: radial-gradient(circle, red 0%,  blue 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 800%;
	animation: gradient 5s linear infinite;
	font-weight: 100;
}

/*
.navbar .twitterbutton:hover {
	background: radial-gradient(circle, #1DA1F2 0%, white 50%,  #1DA1F2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 800%;
	animation: gradient_two 1s linear;
}
*/



.test div:hover {
font-size: 2rem;
font-style: normal;
font-family: fontawesome;
background: -webkit-linear-gradient(225deg, rgb(251, 175, 21), rgb(251, 21, 242),             
rgb(21, 198, 251)) 0% 0% / 300% 300%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: 2s ease 0s infinite normal none running fontgradient;
-webkit-animation: fontgradient 2s ease infinite;
-moz-animation: fontgradient 2s ease infinite;
animation: fontgradient 2s ease infinite;  
}


.test div{
	color:green;
}
@-webkit-keyframes fontgradient {
0%{background-position:0% 92%}
50%{background-position:100% 9%}
100%{background-position:0% 92%}
}
@-moz-keyframes fontgradient {
0%{background-position:0% 92%}
50%{background-position:100% 9%}
100%{background-position:0% 92%}
}
@keyframes fontgradient { 
0%{background-position:0% 92%}
50%{background-position:100% 9%}
100%{background-position:0% 92%}
}  
}
/*courses*/
.courses ul{
  text-indent: 30%;
}






/* ---------- Blog: layout + typography ---------- */

.blog-post,
.blog-summary {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 22px 22px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.35);
  box-shadow: 0 4px 12px rgba(15,23,42,.04);
}

/* Full post title */
.blog-post h1 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.6rem;
}

/* Summary titles in the index */
.blog-summary h2 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.blog-summary h2 a {
  text-decoration: none;
  color: inherit;
}

.blog-summary h2 a:hover {
  text-decoration: underline;
}

/* Meta line under titles: date + category */
.blog-meta {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: #6b7280;
}

.blog-category {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(14,165,233,0.08); /* soft accent */
  color: #0369a1;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Excerpt text in summaries */
.blog-excerpt {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Pagination links at bottom */
.blog-pagination {
  max-width: 720px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.9rem;
}

.blog-pagination a {
  color: #0284c7;
  text-decoration: none;
}

.blog-pagination a:hover {
  text-decoration: underline;
}

/* ---------- Blog: body content (Markdown output) ---------- */

.blog-body {
  font-size: 0.96rem;
  color: #111827;
  line-height: 1.6;
}

.blog-body h2,
.blog-body h3 {
  margin-top: 1.4em;
  margin-bottom: 0.4em;
  font-weight: 600;
}

.blog-body h2 {
  font-size: 1.25rem;
}

.blog-body h3 {
  font-size: 1.05rem;
}

.blog-body p {
  margin: 0 0 0.8em;
}

.blog-body ul,
.blog-body ol {
  margin: 0 0 0.9em 1.4em;
}

.blog-body li {
  margin-bottom: 0.25em;
}

/* Code blocks from fenced Markdown */
.blog-body pre {
  margin: 1em 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0f172a;
  color: #e5e7eb;
  font-size: 0.85rem;
  overflow-x: auto;
}

.blog-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.87em;
}

/* Inline code (inside paragraphs) */
.blog-body p code {
  padding: 1px 4px;
  border-radius: 4px;
  background: #e5e7eb;
  color: #111827;
}

/* Links inside blog content */
.blog-body a {
  color: #0284c7;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.blog-body a:hover {
  text-decoration-thickness: 2px;
}

.blog-body pre {
  margin: 1em 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: #111827;          /* dark background */
  color: #e5e7eb;               /* light text */
  font-size: 0.9rem;
  overflow-x: auto;
}

.blog-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
               "Liberation Mono", "Courier New", monospace;
}

/* Inline code inside paragraphs/lists */
.blog-body p code,
.blog-body li code {
  padding: 1px 4px;
  border-radius: 4px;
  background: #e5e7eb;
  color: #111827;
}
