@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Times New Roman', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 25px auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header {
    text-align: center;
}

.header img {
    width: 100px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.header img:hover {
    transform: rotate(20deg);
}

.header a {
    font-size: 1.2em;
    color: #007bff;
    text-decoration: none;
    position: relative;
}

.header a::after {
    content: '';
    width: 0;
    height: 2px;
    display: block;
    background: #007bff;
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: -5px;
}

.header a:hover::after {
    width: 100%;
}

h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 1em;
}

.profile {
    float: left;
    margin-right: 20px;
}

.profile-pic {
    border: 3px solid #007bff;
    border-radius: 50%;
    margin: 10px;
    width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.info {
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

th,
td {
    padding: 10px;
    text-align: left;
}

th {
    color: #007bff;
    font-weight: bold;
}

td {
    color: #555;
}

.logo {
    float: left;
    margin-right: 20px;
}

.logo img {
    border: none;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

.research-log h3 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-top: 20px;
    font-size: 1.5em;
    color: #333;
}

p {
    line-height: 1.6;
    margin: 10px 0;
}

hr {
    border: 0;
    height: 1px;
    background: #ddd;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav a:hover {
    background-color: #ddd;
    color: black;
}

button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.container::after,
.info::after,
.logo::after,
.profile::after {
    content: "";
    display: table;
    clear: both;
}

/* Tables */
/* table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
} */


dt {
    font-weight: bold;
}

dd {
    margin: 10px;
}

th {
    text-align: right;
}


/* Blockquotes */
blockquote {
    margin: 1em 0;
    padding-left: 1em;
    border-left: 4px solid #3498db;
    color: #6c757d;
}


/* Custom callouts  */
.definition, .theorem, .lemma, .note {
    margin: 1.5em 0;
    padding: 1em 1em 1em 2em;
    border-radius: 1px;
    position: relative;
}

.definition::before, .theorem::before, .lemma::before, .note::before {
    position: absolute;
    /* left: 1em; */
    top: 0.3em;
    font-weight: bold;
}

/* Definition style */
.definition {
    background-color: #e8f3fc;
    border-left: 4px solid #2196f3;
}
.definition::before {
    content: "📚 Definition";
}

/* Theorem style */
.theorem {
    background-color: #eee3f0;
    border-left: 4px solid #9c27b0;
}
.theorem::before {
    content: "💡 Theorem";
}

/* Lemma style */
.lemma {
    background-color: #effff1;
    border-left: 4px solid #4caf50;
}
.lemma::before {
    content: "🔍 Lemma";
}

/* Note style */
.note {
    background-color: #fff6e8;
    border-left: 4px solid #ff9800;
}
.note::before {
    content: "📝 Note";
}

/* Code block styling */
code {
    background-color: #f1f3f5;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

pre {
    background-color: #f8f9fa;
    padding: 1.2em;
    border-radius: 6px;
    overflow-x: auto;
    border: 1px solid #e9ecef;
    margin: 1.5em 0;
}

pre code {
    color: #2c3e50;
    background: none;
    padding: 0;
}

/* Buttons */
.notes-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #e8f4f8;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #3498db;
}

.notes-button:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3);
}

.notes-button .icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.notes-button:hover .icon {
    transform: translateX(2px);
}