@font-face {
    font-family: 'Lato', sans-serif;
    src: url('https://fonts.googleapis.com/css2?family=Lato&display=swap')format('woff2');;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #020c1b;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    margin: 0;
    letter-spacing: normal;
}

h1 {
    font-size: 5em; 
    color: #fff;
}

h2 {
    font-size: 3.33em; 
}

h3 {
    font-size: 1.17em; 
    color: #90BAD4;
}

h4 {
    font-size: 2em;
    color: #ccd6f6;
    font-weight: bold;
}

p {
    font-size: 1.1em; 
    color: #8892b0;
    font-weight: lighter;
    line-height: 1.5;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: justify;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2; 
    margin-bottom: 5px;
}
ul {
    list-style-type: none;
    color: #CAB5A7;
} 
li {
    font-size: 1em;
    padding: 20px;
    color: #8892b0;
}
a {
    color:#8892b0;
    text-decoration:none;
}

a :hover {
    color: #38C7A8;
}

i {
    color:#ccd6f6;
}
.close-menu {
    display: none;
}
.image-container {
    position: relative;
    display: inline-block;
    padding: 40px;
    margin: auto;
}
.additional-overlay {
    position: relative;
    width: 300px;
    height: 300px; 
    border: 2px solid #38C7A8;
}
.additional-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: 8; 
}
.image-container:hover .image {
    transform: scale(1) translate(-3%, -3%);
}
.overlay {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    background-color: #38C7A8; /* Red overlay with 50% opacity */
    opacity: 0.3;
    z-index: 10;
}
.image-container:hover .overlay {
    opacity: 0;
}
.home {
    position: sticky;
    top: 0;
    /* z-index: 1000; */
    background-color: #020c1b;
}
.home li {
    float: right;
    margin-right: 20px;
    position: relative;
}

.column {
    float: left;
}

.left, .right {
    width: 5%;
    position: fixed;
}

.left {
    left: 0;
    bottom: 0;

}
.right {
    right: 0;
    bottom: 280px;
    align-items: center;
}

.two-parts {
    width: 100%;
    float: left;
}

.thirty-parts {
    width: 100%;
    float: left;
}
.sixty-parts {
    width: 100%;
    float: left;
}
.forty-parts {
    width: 100%;
    float: left;
}
.seventy-parts {
    width: 100%;
    float: left;
}

.middle {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    overflow-y: scroll;  /* Enable vertical scrolling */
    overflow-x: hidden;
    max-height: 100vh;   /* Set a maximum height for scrolling */
}
.middle::-webkit-scrollbar {
    width: 0.5em; /* Adjust scrollbar width if needed */
}

.middle::-webkit-scrollbar-thumb {
    background-color: transparent; /* Make scrollbar thumb transparent */
}

.middle::-webkit-scrollbar-track {
    background-color: transparent; /* Make scrollbar track transparent */
}

.row:after {
    display: flex;
    content: "";
    clear: both;
}

.grid-container {
    margin: 40px;
    border-radius: 15px; 
    padding: 40px;
}

.about-container {
    margin:40px;
    border-radius: 15px; 
    padding: 40px;
    z-index: 70;
}

.transparent-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    color: #38C7A8;
    border: 2px solid #38C7A8; /* White outline */
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}
.content {
    display: none;
    padding: 0px 0px 0px 20px;
}

#oyoContent {
    display: block;
}

.active {
    display: oyoContent;
}
.active-link {
    color: #38C7A8;
}
.active-list-item {
    border-left: 0px solid #38C7A8;
    border-bottom: 2px solid #38C7A8;
    /* Add any other styling for the active list item */
}
.experience .thirty-parts ul {
    margin: 15px 0px;
}
.experience li:hover {
    background-color: #112240;
}
.experience h4 {

    margin: 25px;
}

.experience-container {
    padding: 10px;
}
.transparent-button:hover {
    background: #112240; /* Adjust the hover background transparency */
    /* color: #CAB5A7;  */
}

.rotate-text {
    letter-spacing: 4px;
    font-size: 1em;
    transform: rotate(90deg);
    transform-origin: left bottom;
    font-weight: lighter;
    white-space: nowrap; /* Prevents the text from wrapping */
}

.home ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #38C7A8; /* Color of the underline */
    transition: width 0.3s ease-in-out;
}

.experience {
    clear: both;
    margin: 40px;
    border-radius: 15px; 
}
.experience .thirty-parts li {
    float: left;
}
.experience .seventy-parts li {
    line-height: 1.5;
    padding: 3px;
    text-align: justify;
    font-size: 1em; 
    letter-spacing: 2px;
    color: #8892b0;
    font-weight: lighter;
}
.experience .seventy-parts ul {
    list-style: square;
}

.home ul li.active a::after,
.home ul li a:hover::after {
    width: 100%; /* Expand the underline on hover or for the active state */
}

.timeline {
    max-width: 800px;
    /* margin: 50px auto; */
    position: relative;
}

.timeline-item {
    position: relative;
    margin: 20px 0px;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -8px;
    width: 11px;
    height: 11px;
    background-color: #38C7A8;
}

.timeline-date {
    display: block;
    font-size: 1em;
    color: #8892b0;
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 1.1em;
    font-weight: lighter;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #38C7A8;
    letter-spacing: 1px;
}

.timeline-content {
    color: #8892b0;
}

.timeline-content p {
    padding: 1px;
}

.education {
    clear: both;
    margin: 40px;
    padding: 40px;
    
}

.projects {
    clear: both;
    margin: 40px;
    padding: 40px;
}

.cards {
    display: flex;
    flex-direction: column;
    /* flex-wrap: wrap; */
    justify-content: space-between;
} 
.card {
    background-color: #0a192f;
    padding: 10px;
    width: 500px; /* 50% width for two cards, subtracting margin */
    height: auto;
    margin: 10px auto;
    border-radius: 10px;
}
.card p {
    letter-spacing: normal;
    padding: 1px;
}
.card-title {
    color:#38C7A8;
    font-size: 1.1em;
    font-weight: lighter;
    padding: 1px;

}

.timeline-content p:hover {
    background-color: #112240;
}

.resume-section {
    position: relative;
    text-align: center;
    padding: 20px;
    clear: both; /* Clear float */
    margin: 20px; /* Adjust as needed */
}

#download-btn {
    max-width: 250px;
    margin: 20px;
}

#resume-container {
    /* width: 80vw; */
    z-index: 99;
    height: auto;
    background-color: #fff;
    margin: 40px;
    padding: 40px;
    line-height: normal;
    letter-spacing: normal;
    
}

#resume-container h1 { color: black; font-family:Arial, sans-serif; font-style: normal; font-weight: bold; text-decoration: none; font-size: 14pt; }
#resume-container a { color: #1154CC; font-family:Arial, sans-serif; font-style: normal; font-weight: normal; text-decoration: underline; font-size: 10pt; }
#resume-container .s2 { color: #1154CC; font-family:Arial, sans-serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 10pt; }
#resume-container h3 { color: black; font-family:Arial, sans-serif; font-style: normal; font-weight: bold; text-decoration: none; font-size: 9pt; }
#resume-container .p, #resume-container p { color: black; font-family:Arial, sans-serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 9pt; margin:0pt; }
#resume-container .s3 { color: black; font-family:Arial, sans-serif; font-style: italic; font-weight: normal; text-decoration: none; font-size: 9pt; }
#resume-container li {
    display: block; 
    padding-left: 25pt;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 25px;
}
#resume-container ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none; /* Remove default list style (bullet point) */
}
#resume-container #l1 {padding-left: 0pt; }
#resume-container #l1> li>*:first-child:before {content: "● "; color: black; font-family:Arial, sans-serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 9pt; }

.tags
{
  display: block;
  justify-content: center;
  text-align: center;
}

.experience .tags {
    justify-content: left;
    text-align: left;
}
.timeline-content .tags {
    justify-content: center;
    text-align: justify;
}

.education .broker-tag {
    font-size: 1em;
    /* font-weight: 600; */
    padding: 10px 10px;
    margin: 3px 0;
}

.education .tags {
    justify-content: left;
    text-align: left;
}
.broker-tag
{
  background: rgba(100, 255, 218, 0.1);
  font-size: 0.8em;
  font-weight: normal;
  line-height: 20px;
  padding: 5px 10px;
  margin: 3px 0;
  border: 1px solid #38C7A8;
  border-radius: 6px;
  display: inline-block;
  color: #8892b0;
}

.menu-toggle {
    display: none;
}