body {
    font-family: 'Raleway', sans-serif; /* Use the fun font */
    background-image: url('Fractal.jpg');
	background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    /* CSS styles for screens up to 768px wide (common for tablets) */
}
@media (max-width: 480px) {
    /* CSS styles for screens up to 480px wide (common for mobile phones) */
}

header {
    font-family: 'Raleway', sans-serif;
    background-color: #bc876a;
    color: #fff;
    text-align: center;
    padding: 5px;
}

.profile-picture {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 10px;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem; }

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fbf7f4;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

.contact-info {
    font-family: 'Raleway', sans-serif; /* Use the fun font */
    margin-top: 20px;
    margin-bottom: 30px;
    display: flex;
}
.contact-item {
    display: flex;
    margin-bottom: 15px; /* Adjust the margin as needed for spacing between items */
}

/* Style the icon */
.contact-item svg {
    fill: grey; /* Change to your desired icon color */
    width: 18px;   /* Adjust the icon size as needed */
    height: 18px;
    margin-right: 10px; /* Add space between the icon and text */
}
.teaching {
    margin-top: 30px;
}
.teaching-item {
    display: flex;
    margin-bottom: 20px; /* Add spacing between teaching items */
}
body::-webkit-scrollbar {
    display: none;
  }
.talk {
    margin-top: 10px;
}
.talk-item {
    display: flex;
    margin-bottom: 10px; /* Add spacing between talk items */
}

/* Style the year */
.year {
    flex-shrink: 0; /* Prevent the year from shrinking */
    width: 60px; /* Adjust the width as needed */
    font-size: 1.2em; /* Adjust the font size */
    text-align: center; /* Center the year text */
    background-color: grey; /* Background color for the year */
    color: #fff; /* Text color for the year */
    padding: 5px; /* Add padding for better visual appearance */
    border-radius: 5px; /* Rounded corners for the year box */
    margin-right: 10px; /* Add space between the year and the information */
}

/* Style the year */
.day {
    flex-shrink: 0; /* Prevent the year from shrinking */
    width: 150px; /* Adjust the width as needed */
    font-size: 1em; /* Adjust the font size */
    text-align: center; /* Center the year text */
    background-color: #d1bea7; /* Background color for the year */
    color: #000; /* Text color for the year */
    padding: 5px; /* Add padding for better visual appearance */
    border-radius: 5px; /* Rounded corners for the year box */
    margin-right: 10px; /* Add space between the year and the information */
}

/* Style the teaching information */
.info {
    flex-grow: 1; /* Allow the information to grow and take available space */
}

/* Style the headers and text in the teaching information */
.info h3 {
    font-size: 1.5em; /* Adjust the font size for the course title */
    margin-top: 0; /* Remove default top margin for the course title */
}

.info h2 {
    font-size: 1.2em; /* Adjust the font size for the university and details */
    margin: 0; /* Remove default margins for consistency */
}

.info p {
    margin: 10px 0; /* Add spacing around the course description */
}
footer {
    background-color: #bc876a; /* Sage Green color */
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    bottom: 0; /* Stick to the bottom of the viewport */
    left: 0;
}
.nav-button {
    display: inline-flex;
    margin-right: 10px;
    
}

.nav-button button {
    background-color: #bc876a; /* Sage Green color */
    color: #fff;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    border: none;
    padding: 20px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    
}

.nav-button button:hover {
    background-color: #a46925; /* Darker Sage Green color on hover */
}
#logos {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.logo {
    display: inline-block;
    margin: 0 20px; /* Adjust the spacing between logos */
}
.logo.left {
    float: left;
}

.logo.right {
    float: right;
}
.logo1 img {
    width: 500px; /* Adjust the width to your desired size */
    height: auto; 
}
.logo2 img {
    width: 70px; /* Adjust the width to your desired size */
    height: auto; 
}
a {
    color: #8f3e138f;
    text-decoration: none; /* Remove underlines from links */
}
a:visited {
    color: #8f3e138f;;
}
a:hover {
    color: #d75915;
}

li {
    margin-bottom: 20px; /* Adjust the value to control the spacing */
}
