/* Main stylesheet for Coby's Home Page */

html{
  font-size: 15px;
}
body{
	font-family: Arial;
}
h1, h2 {
	display: inline-block;
  	margin-top: 0em ;
  	margin-bottom: 0em ;
}
h3 {
	display: inline-block;
  	margin-top: 0.3em ;
  	margin-bottom: 0.4em ;
  	font-size: 1.2rem;
}
h4 {
	display: inline-block;
  	margin-top: 0.55em ;
  	margin-bottom: -0.5em ;
  	font-weight: lighter;
}
hr {
	margin-top: 1.6em ;
  	margin-bottom: 1.2em ;
}

a{
  color: #00539B; /* Duke Royal Blue */
  text-decoration: none;
}

ul, li {
	padding-left: 0rem;
	padding-bottom: -0.5rem;
	color: #4d4d4d;
	max-width: 95%;
}

.frame {
    margin-top: 1.2rem;
    overflow-y: visible; 
    height: auto;
    margin-bottom: 2.5rem;
    max-width: 98%; 
    background-color: #ffffff;
}

.frame::-webkit-scrollbar {
    -webkit-appearance: none;
}

.frame::-webkit-scrollbar:vertical {
    width: 11px;
}

.frame::-webkit-scrollbar:horizontal {
    height: 11px;
}

.frame::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid #ffffff;
    background-color: rgba(0, 0, 0, .5);
}

.wrapper {
	max-width: 576px;
  	margin: auto;
}

.intro {
	margin-top: 2em;
}

.intro .name {
	font-size: 1.9rem;
	font-weight: bold;
}

.intro .position, .address {
	font-size: 1.05rem;
}

.intro p {
	display: inline-block;
  	margin-top: 0em ;
  	margin-bottom: 0em ;
}

.bio {
	padding-top: 0.4rem;
	padding-bottom: 0.4rem;
}

.bio ul {
	margin-left: 2rem;
	list-style-type: square;
}

.profile_image img{
	float: left; 
	width: 16.5%; 
	border-radius: 50%; 
	margin-right: 1rem;
}

.research a{
	font-size: 0.7rem;
}

summary {
    list-style: none;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.05rem;
    margin: .5rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: "+";
    font-size: 1.2rem;
    font-weight: normal;
    margin-right: 0.5rem;
}

details[open] summary::before {
    content: "−";
}

details {
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    overflow: auto;
    margin: auto;
}

.publication p {
	text-decoration: none;
	display: inline;
}

.publication_author, .publication_booktitle, .publication_booktitle_abbr, .publication_month, .publication_year {
	font-size: 0.9rem;
	color: #4d4d4d;
}

.publication ol{
	list-style-type: disc;
  	padding-left: 0;
}

.publication li {
    margin-bottom: 1.3rem;
}

.publication_note, .publication_doi, .publication_isbn {
	font-size: 0.70rem;
	color: #4d4d4d;
}

.section-background {
    background-color: #f9f9f9;
    margin-top: 1rem;
}

.publications-section {
    margin-left: 1.9rem;
}

.service-section {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.teaching-section {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Force Academicons to load correctly */
.ai {
    font-family: 'Academicons' !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.ai:before {
    font-family: 'Academicons' !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

/* Specific fix for Google Scholar icon */
.ai-google-scholar:before {
    content: "\e9d4" !important;
    font-family: 'Academicons' !important;
}

/* Prevent Font Awesome interference with Academicons */
.ai {
    --fa: unset !important;
}

.fa, .fas, .far, .fab {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands' !important;
}

/* Responsive Design */
@media only screen and (min-width:0px) and (max-width:640px) {
    html { 
        font-size: 80%; 
    }
    
    .profile_image img{
		width: 26%; 
    }

	.wrapper {
		width: 90%;
    }
}