@font-face {
    font-family: 'Titillium Web Regular';
    src: url('TitilliumWeb-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

body, html {
    font-family: 'Titillium Web Regular', sans-serif;
    background-color: #FAFAFA;
    color: #2C2C2C;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 72%;
    margin-left: 14%;
}


.content {
    display: flex;
}

.container h2{
    font-size: 36px;
    margin-top: 20px;
    margin-bottom: 20px;
}

@font-face {
    font-family: 'Titillium Web Light';
    src: url('TitilliumWeb-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    
  }
.intro h4{
    font-family: 'Titillium Web Light', sans-serif;
    margin-top: 0px;
    margin-bottom: 9px;
}
.intro{
    margin-bottom: 20px;
}

.resume-block {
    margin-bottom: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
    padding-right: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-out;
}

.resume-block:hover {
    border: 2px solid #888;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: none;
}

.resume-block:hover .skills li {
    background-color: rgb(0, 104, 204); /* Light gray background */
    color: rgb(245, 245, 245); /* Dark gray text */
    /*transition: all 0.2s ease;*/
  }

.company-right {
    padding-left: 1%;
    margin-left: auto; /* This ensures the date is pushed to the right */
    text-align: right;
}

.socials{
    margin-bottom: 20px;
}

.resume {
    margin-top: 5px;
}

.resume-block h3 {
    display: flex;
    justify-content: space-between;
    margin: 0;
    font-size: 1.2em;
}

.resume-block h4 {
    margin-top: 6px ;
    margin-bottom: 0px;
    font-size: 0.9em;
    color: #2C2C2C;
    display: none;
}
.resume-block ul {
    margin: 0px;
}

.skills {
    list-style: none;
    padding-left: 0;
    transition: opacity 0.5s ease; /* Add transition for opacity */
    display: none;
}
.skills li {
    margin-top: 10px;
    display: inline-block;
    margin-right: 10px;
    padding: 3px 6px;
    border: 2px solid #ddd;
    border-radius: 10px;
}

.resume-block ul:not(.skills) li {
    display: none;
    padding-left: 20px;
    opacity: 1;
    transition: opacity 1s ease; /* Smooth transition over 3 seconds */

}
.spacer{
    height: 20vh;
}

.break{
    height: 300px;
}

a:visited,
a:hover,
a:active,
a {
    text-decoration: underline;
    color: #2C2C2C !important;
}

.skills-container {
    width: 100%;
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
    font-weight: bold;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}

.controller-container {
    display: flex;
    justify-content: left;
    gap: 20px;
    margin-top: 30px;
}
.controller {
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.controller.active {
    border: 2px solid #888;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.content-wrapper {
    display: none;
    width: 100%; /* Ensure it takes full width when visible */
}
.content-wrapper.active {
    display: block;
}

.content-wrapper h3{
    margin-top: 15px;
    margin-bottom: 10px;
}

.content-block {
    margin-bottom: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
    padding-right: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-out;
}

.content-block .content-description,
.content-block .content-text {
    display: block; /* Ensure all content is visible by default */
}

/* Styles for toggleable content blocks */
.content-block.toggleable {
    cursor: pointer;
}
.content-block.toggleable .content-text {
    display: none; /* Initially hide text in toggleable blocks */
}

.content-block:hover {
    border: 2px solid #888;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: none;
}

.content-block h3 {
    display: flex;
    justify-content: space-between;
    margin: 0px;
    font-size: 1.2em;
}

.content-block h4 {
    margin-top: 6px ;
    margin-bottom: 0px;
    font-size: 0.9em;
    color: #2C2C2C;
    display: none;
}

.content-description p {
    margin-top: 10px;
    margin-bottom: 0px;
}

.content-description {
    display: block; /* Visible by default */
}
.content-text {
    display: none; /* Hidden by default */
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pdf-container {
    width: 90%;
    margin-left: 5%;
    height: 1000px;
}