/* styles.css */

/* Global Styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3 {
  margin: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Header Styles */
header {
  background-color: #333;
  color: #fff;
  padding: 10px;
  position: relative;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner h1 {
  font-size: 24px;
}

.banner img {
  max-width: 30px;
  max-height: 20px;
  border-radius: 50%;
  vertical-align: middle;
}

.language-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  display: flex;
  align-items: center;
}

.language-buttons a {
  display: inline-block;
  margin-left: 5px;
  flex-shrink: 0;
}

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

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 10px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* Main Content Styles */
main {
  padding: 20px;
  flex: 1;
  display: flex;
}

#about {
  display: flex;
  flex: 1;
}

.left-section {
  width: 100%;
  max-width: 400px;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Align to the top */
}

.left-section .picture img {
  width: 100%;
  height: auto;
}

.left-section .logos {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.left-section .logos a {
  display: inline-block;
  margin: 10px;
}

.left-section .logos img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s;
}

.left-section .logos img:hover {
  transform: scale(1.2);
}

.right-section {
  flex: 1;
  margin-left: 20px;
}

.interests-education {
  display: flex;
}

.interests {
  flex: 1;
}

.education {
  flex: 1;
}

/* Research Page Styles */
#research {
  display: flex;
}

.left-section-research {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.left-section-research .picture img {
  width: 100%;
  height: auto;
}

.left-section-research .logos {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.left-section-research .logos a {
  display: inline-block;
  margin: 10px;
}

.left-section-research .logos img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s;
}

.left-section-research .logos img:hover {
  transform: scale(1.2);
}

/* Footer Styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
}

/* Additional Styles for Content Sections */
section {
  margin-bottom: 20px;
}

/* Responsive Styles */
@media screen and (min-width: 768px) {
  .banner h1 {
    font-size: 36px;
  }
  
  .banner img {
    width: 75px;
    height: 75px;
  }
  
  .left-section, .left-section-research {
    width: 50%;
    max-width: none;
  }
  
  .right-section, .right-section-research {
    margin-left: 40px;
  }
  
  .interests-education {
    flex-direction: row;
  }
  
  .interests, .education {
    flex: 1;
  }
}
