.content p {
    text-align: justify;
}
body {
    line-height: 1.6;
    margin: 0;
    padding: 50px 0 50px 0;
    background-color: #fff;
    font-family: Georgia, serif;
    width: 100%;
}
.content {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}
h1 {
    color: #000000;
    max-width: 1400px;
    margin: 20px auto;
    text-align: left;
    font-family: 'Cormorant Garamond', Cochin;
    font-weight: 400;
    font-size: 30px;
}
h1 .title-highlight {
    font-size: 50px;
}
h2 {
    color: #000000;
    font-family: 'Crimson Pro';
    font-weight: 400;
    font-size: 26px;
    text-align: center;
}
h3 {
    color: #000000;
    font-family: 'Crimson Pro';
    font-weight: 400;
    font-size: 22px;
}
video {
    margin: 5px;
    padding: 5px;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    /* padding:20px 0 0 0; */
    width: 100%;
    margin: 0 auto;
}
.video-grid div {
    text-align: center;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); /* Drop shadow for active button */
}
.author-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    text-align: center;
    margin: 20px auto;
    max-width: 1400px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}
.author {
    font-size: 15px;
    text-align: left;
    color: #000;
    font-family: 'Crimson Pro', serif;
}
.author span {
    display: block;
    font-size: 14px;
    color: #000000;
}
.author a {
    text-decoration: none;
    color: #5e5e5e;
}
.author a:hover {
    text-decoration: underline;
}
.date {
    text-align: left;
    font-size: 15px;
    font-family: 'Crimson Pro', serif;
}
.links {
    text-align: left;
    font-size: 15px;
    font-family: 'Crimson Pro', serif;
}
.arxiv-link a {
    color: #ff0000;
    text-decoration: none;
}
.ieee-link a {
    color: #00629b;
    text-decoration: none;
}
.arxiv-link a:hover {
    text-decoration: underline;
}
.code-link a {
    color: #2600ff;
    text-decoration: none;
}
.code-link a:hover {
    text-decoration: underline;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    margin: 20px auto;
    max-width: 1400px;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px auto;
    max-width: 1400px;
    align-items: start;
}
.text-box-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.copy-bar {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    padding: 5px 10px;
    display: flex;
    justify-content: flex-end;
}
.copy-button {
    padding: 5px 10px;
    font-size: 12px;
    font-family: 'Crimson Pro', serif;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.copy-button:hover {
    background-color: #0056b3;
}
.text-box {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    padding: 10px 10px 0 10px;
    font-family: 'Crimson Pro', serif;
    font-size: 14px;
    background-color: #f9f9f9;
    overflow-y: auto;
    resize: none;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
    height: 150px;
}
.text-box-merge {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    padding: 10px 10px 0 10px;
    font-family: 'Crimson Pro', serif;
    font-size: 14px;
    background-color: #f9f9f9;
    overflow-y: auto;
    resize: none;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
    height: 150px;
}
html {
    scroll-behavior: smooth;
}
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(199, 199, 199, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    z-index: 1000;
    box-sizing: border-box;
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0 auto;
    padding: 0;
    max-width: 1400px;
}
nav li {
    margin-left: 20px;
}
nav a {
    text-decoration: none;
    color: #000;
}
nav a:hover {
    text-decoration: underline;
}
.tabs {
    max-width: 1400px;
    margin: 0 auto;
}
.tab-titles {
    display: flex;
    justify-content: center;
    /* margin-bottom: 20px; */
}
.tab-button {
    width: 50%;
    padding: 10px 20px;
    border: 0px solid #ccc;
    background-color: #f1f1f1;
    cursor: pointer;
    font-family: 'Crimson Pro', serif;
    font-size: 20px;
    border-radius: 8px 8px 0px 0px;
    text-align: center; /* Ensure text is centered within each button */
    box-sizing: border-box;
    position: relative; /* For z-index layering */
    z-index: 1;
    transition: background-color 0.3s ease; 
}
.tab-button.active {
    background-color: #ffffff;
    border-bottom: none;
    border-radius: 8px 8px 0px 0px ;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); /* Drop shadow for active button */
    z-index: 2;
    transition: background-color 0.3s ease; 
}
.tab-button:not(.active):hover {
    background-color: #ccc;
    transition: background-color 0.3s ease; 
}
.tab-content {
    display: none;
    border: 0px solid #ccc;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 0px 0px 8px 8px;
    position: relative; /* For z-index layering */
    z-index: 1;
    transition: background-color 0.3s ease; 
}
.tab-content.active {
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Drop shadow for active content */
    z-index: 2;
    transition: background-color 0.3s ease; 
}
.experiments-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.experiments-section h2, .experiments-section h3 {
    text-align: center;
    margin: 0px 0px 20px 0px;
}
figure {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
img:not(.modal img):not(.logo) {
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* box-shadow: 0 0px 8px rgba(0, 0, 0, 0.2); */
    border-radius: 8px;
    outline: 10px solid transparent;
    outline-offset: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
img:not(.modal img):not(.logo):hover {
    opacity: 0.8;
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.content img {
    max-width: 100%;
}
figcaption {
    font-family: 'Crimson Pro', serif;
    font-size: 18px;
    color: #000;
    margin-top: 8px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.modal figcaption {
    color: #fff;
    font-family: 'Crimson Pro', serif;
    font-size: 24px;
    margin-top: 8px;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.modal {
    position: relative;
    display: inline-block;
}
.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 24px;
    color: #000;
    background: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.lightbox-close:hover {
    background: #ccc;
}
.method-box{
    /* border: 1px solid #ccc; */
    background-color: #fff;
    border-radius: 8px;
    padding-inline-start: 20px;
    padding-inline-end: 20px;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.2);
}
.rounded-corners{
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 8px;
}
.video-grid p{
    padding: 5px 20px 20px 20px;
    text-align: center;
    margin-block-start: 0px;
    margin-block-end: 0px;
}
.content h3{
    text-align: center;
    margin: 0px 0px 20px 0px;
}
.submethod {
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 20px;
    text-align: justify;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); /* Drop shadow for active button */
}
.submethod-tabs {
    max-width: 1400px;
    margin: 0 auto;
}
.submethod-tab-titles {
    display: flex;
    justify-content: center;
    /* margin-bottom: 20px; */
}
.submethod-tab-button {
    width: 50%;
    padding: 10px 20px;
    border: 0px solid #ccc;
    background-color: #f1f1f1;
    cursor: pointer;
    font-family: 'Crimson Pro', serif;
    font-size: 20px;
    border-radius: 8px 8px 0px 0px;
    text-align: center; /* Ensure text is centered within each button */
    box-sizing: border-box;
    position: relative; /* For z-index layering */
    z-index: 1;
    transition: background-color 0.3s ease; 
}
.submethod-tab-button:not(.active):hover {
    background-color: #ccc;
    transition: background-color 0.3s ease; 
}
.submethod-tab-button.active {
    background-color: #ffffff;
    border-bottom: none;
    border-radius: 8px 8px 0px 0px ;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); /* Drop shadow for active button */
    z-index: 2;
    transition: background-color 0.3s ease; 
}
.submethod-tab-content {
    display: none;
    border: 0px solid #ccc;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 0px 0px 8px 8px;
    position: relative; /* For z-index layering */
    z-index: 1;
    transition: background-color 0.3s ease; 
}
.submethod-tab-content.active {
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Drop shadow for active content */
    z-index: 2;
    transition: background-color 0.3s ease; 
}
.title-table {
    width: 100%; /* Make the table take full width */
    border-collapse: collapse; /* Remove space between borders */
    margin: 20px auto; /* Center the table and add vertical margin */
    max-width: 1400px; /* Match the max-width of other content */
}

.title-table td {
    padding: 0; /* Remove default cell padding */
}

.title-icon-cell {
    width: 150px; /* This property sets the width of the cell */
    padding-right: 20px; /* Add space between icon and title */
    text-align: center; /* Center the image within the cell */
}

.title-icon-cell img {
    display: block; /* Remove extra space below the image */
    margin: 0 auto; /* Center the image if its width is less than cell width */
}

/* Adjust h1 margin to fit within the cell */
.title-text-cell h1 {
    margin: 0; /* Remove default h1 margin to fit within the cell */
    max-width: none; /* Allow h1 to take cell width */
    text-align: left; /* Keep text aligned left */
}
