@font-face {
  font-family: 'League Mono';
  src: url('../font/LeagueMono-Light.eot'); /* IE9 Compat Modes */
  src: url('../font/LeagueMono-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../font/LeagueMono-Light.woff2') format('woff2'), /* Super Modern Browsers */
       url('../font/LeagueMono-Light.woff') format('woff'), /* Pretty Modern Browsers */
       url('../font/LeagueMono-Light.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../font/LeagueMono-Light.svg#svgFontName') format('svg'); /* Legacy iOS */
}

body {
  z-index: -1;
  margin:0;
  padding-top: 0%;
  padding-bottom: 0%;
  padding-left: 0%;
  padding-right: 0%;
  --dark-blue: #1D6479;
  --light-blue: rgba(219, 240, 240, 0.5);
  font-family: League Mono;
}

.description-column {
    font-size: 90%;
}

.paper-title {
    font-size: 1.15rem;
}

#icons1 {
    /* color:#2e3436;
    font-size: 1.3em; */
    color:#2e3436;
}

.node {
  cursor: pointer;
  stroke-width: 0.8px;
}

.node:hover {
  stroke: black;
  stroke-width: 2.5px;
}

.node--leaf {
  fill: white;
}

.label {
  font-family: League Mono;
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  text-anchor: middle;
  text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff, 0 -1px 0 #fff;
}

.label,
.node--root,
.node--leaf {
  pointer-events: none;
}

.clearfix {
    clear: both;
}

/* Note: SVG container and content positioning moved back to orientation-specific files */

main .major-section:nth-child(even) {
    background-color: var(--light-blue);
}

.small {
    font-size: 85%;
}

a,
a:focus,
a:hover,
.btn-link {
    color: #1d6479;
}

.section-title {
    font-variant: small-caps;
    font-weight: 100;
}

summary {
    outline: none;
}

.more-details {
    padding-top: 7px;
    padding-left: 20px;
    font-style: italic;
    font-weight: lighter;
}

.more-details-lead {
    font-weight: normal;
}

.img-thumbnail {
  border: 1px #969696 solid;
}

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

summary:hover {
    text-decoration: underline;
}

.arrow{
    display: none;
}

.arrow a {
  position: relative;
  pointer-events: all;
  transition: opacity .3s;
}
.arrow a:hover {
  opacity: .5;
}

.arrow a {
  padding-top: 0px;
}

.arrow a span {
  position: absolute;
  border-left: 1.5px solid #000000;
  border-bottom: 1.5px solid #000000;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}

#blurrystuff_t, #blurrystuff_b {
   display: none;
   position: absolute;
   pointer-events: none;
}

.collapsing {
    transition: height 1.5s;
}

code {
    font-family: monospace;
	background-color: #d9d9d9;
    display: inline-block; 
	color: #252525;
}

.row {
  margin: 15px 0px;
}

.row_resume {
  margin-bottom: 0px;
}

#codebox {
	border: 0.5px dotted black;
	background-color: #d9d9d9;
	margin-left: 0%;
	margin-right: 5%;
}

.jumbotron {
  padding-left: 6%;
  padding-right: 6%;
  padding-bottom: 4%;
  padding-top: 5%;
  text-align: center;
}

.jumbotron-header {
  padding-left: 6%;
  padding-right: 6%;
  padding-bottom: 3%;
  padding-top: 5%;
  background-color: transparent;
  position: relative;
  text-align: center;
}

/* Add border around the header content */
.container-header {
  position: relative;
  padding: 20px;
  margin: 10px;
}

/* Corner accents using pseudo-elements */
.container-header::before,
.container-header::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid #1d6479;
}

/* Top-left corner */
.container-header::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

/* Bottom-right corner */
.container-header::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.button {
  background-color: transparent;
  border: 1px solid #1d6479;
  color: #1d6479;
  padding: 5px 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 15px 0px;
  transition-duration: 0.4s;
  cursor: pointer;
  z-index: 5000;
}

.button:hover {
  background-color: #1d6479;
  color: #d9d9d9;
}

.button2 {
  background-color: transparent; 
  color: #1d6479; 
  border: 1px solid #1d6479;
}

.button2:hover {
  background-color: #1d6479;
  color: #d9d9d9;
}

.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.jumbotron h1.moltgran,
.jumbotron-header h1.moltgran {
    color: #134858;
    font-weight: bold;
} 

h2.gran {
    color: #13414e;
} 

p.gran:not(a) {
    color: #13414e;
} 

p.gran-normal:not(a) {
    /* Inherits font-size from .gran but uses default text color */
    color: inherit;
}

/* Collapsible sections styling */
.experience-details,
.education-details {
    margin-top: 10px;
}

.see-all-btn {
    cursor: pointer;
    padding: 8px 0;
    margin: 5px 0;
    border: none;
    background: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.see-all-btn:hover {
    border-bottom: 1px solid #1d6479;
}

.see-all-text {
    font-family: League Mono;
    font-size: 0.85rem;
    color: #42646f;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

.see-all-icon {
    font-family: League Mono;
    font-size: 1rem;
    color: #1d6479;
    font-weight: bold;
    transition: transform 0.3s ease;
}

details[open] .see-all-icon {
    transform: rotate(45deg);
}

/* Hide default details marker */
details > summary::-webkit-details-marker {
    display: none;
}

details > summary::marker {
    display: none;
}

/* Skills Tab Panel Styles */
.skills-tab-panel {
    /*background-color: #fbf8f8;
    border: 1px solid rgba(237, 235, 238, 0.8);
    border-radius: 5px;*/
    overflow: hidden;
    margin-bottom: 20px;
}

.skill-tab {
    padding: 8px 12px;
    cursor: pointer;
    border: 1px solid rgba(237, 235, 238, 0.8);
    transition: all 0.3s ease;
    background-color: #fbf8f8;
    opacity: 1;
}

/*.skill-tab:last-child {
    border-bottom: none;
}*/

.skill-tab:hover {
    background-color: #F0F1F2;
    opacity: 1;
}

.skill-tab.active {
    background-color: #E7EBEC;
    color: #1d6479;
    border: 1px solid #1d6479;
    opacity: 1;
}

.skill-tab.active .skill-tab-text {
    font-weight: bold;
}

.skill-tab-text {
    font-family: League Mono;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.skills-content-panel {
    background-color: transparent;
    padding: 0px 20px 20px 20px;
    min-height: 120px;
    display: flex;
    align-items: flex-start;
}

.skill-content {
    display: none;
    width: 100%;
}

.skill-content.active {
    display: block;
}

/* Academic Service Tab Panel Styles */
.academic-tab-panel {
    /*background-color: #fbf8f8;
    border: 1px solid rgba(237, 235, 238, 0.8);
    border-radius: 5px;*/
    overflow: hidden;
    margin-bottom: 20px;
}

.academic-tab {
    padding: 8px 12px;
    cursor: pointer;
    border: 1px solid rgba(237, 235, 238, 0.8);
    transition: all 0.3s ease;
    background-color: #fbf8f8;
    opacity: 1;
}

/*.academic-tab:last-child {
    border-bottom: none;
}*/

.academic-tab:hover {
    background-color: #F0F1F2;
    opacity: 1;
}

.academic-tab.active {
    background-color: #E7EBEC;
    color: #1d6479;
    border: 1px solid #1d6479;
    opacity: 1;
}

.academic-tab.active .academic-tab-text {
    font-weight: bold;
}

.academic-tab-text {
    font-family: League Mono;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.academic-content-panel {
    background-color: transparent;
    padding: 0px 20px 20px 20px;
    min-height: 120px;
    display: flex;
    align-items: flex-start;
}

.academic-content {
    display: none;
    width: 100%;
}

.academic-content.active {
    display: block;
}