:root {
  --main-color: #0568f4;
  --second-color: #f09228;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'),
    url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2)
      format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'),
    url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2)
      format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'),
    url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2)
      format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'),
    url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2)
      format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'),
    url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2)
      format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'),
    url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2)
      format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'),
    url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2)
      format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'),
    url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2)
      format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

html,
body {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 1em;
  background: #FFFFFF;
  color: #000000;
}

a {
  color: var(--main-color);
  text-decoration: none;
}

a:focus,
a:hover {
  color: var(--second-color);
  text-decoration: none;
}

h1 {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 2em;
  margin: 0;
  text-align: center;
}

h2 {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 1.5em;
  margin: 0;
}

.main {
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  margin-top: 2.5em;
}

.intro {
  display: flex;
}

.intro__skills {
  text-align: center;
}

.intro__info {
  width: 60%;
  margin-right: 2%;
}

.intro__about-me {
  text-align: justify;
}

.intro__image {
  width: 38%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .portfolio-image {
  width: 100%;
  border-radius: 2%;
} */

.portfolio-image {
  width: 80%; /* Reduce this value to make the image smaller */
  max-width: 300px; /* Add this to set a maximum width */
  border-radius: 2%;
  display: block; /* Add this to center the image */
  margin: 0 auto; /* Add this to center the image */
}

.socials {
  list-style: none;
  padding-left: 0;
  margin: 15px 0 0 0;
  text-align: center;
  white-space: nowrap;
}

.socials__item {
  display: inline-block;
  margin: 0 8px;
}

.socials__item::after {
  content: '';
  margin-left: 0.5em;
}

.socials__item:last-child:after {
  content: none;
}

/* .news-list {
  line-height: 1.5em;
} */

.news-section {
  background-color: #f8f9fa;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-section h2 {
  color: #333;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--main-color);
}

.news-list {
  list-style-type: none;
  padding: 0;
}

.news-item {
  margin-bottom: 1.5em;
  padding: 1em;
  border-radius: 4px;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.news-item:hover {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.news-date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 0.5em;
}

.news-title {
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5em;
}

.news-content {
  color: #555;
  line-height: 1.6;
}

.news-link {
  display: inline-block;
  margin-top: 0.5em;
  color: var(--main-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.news-link:hover {
  color: var(--second-color);
}

.research {
  display: flex;
  margin-bottom: 1em;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  border: 1px solid #b4abab;
  border-radius: 4px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.research__img {
  width: 50%;
  height: 100%;
  background: #fefefe;
}

.research__text {
  padding: 1em;
  width: 50%;
  text-align: justify;
}

.footer {
  text-align: center;
  margin-top: 5em;
}

@media only screen and (max-width: 768px) {
  .main {
    padding: 5px;
  }

  .intro {
    display: flex;
    flex-direction: column;
  }

  .intro__info,
  .intro__image {
    width: 100%;
    margin: 0;
  }

  .socials {
    flex-direction: column;
  }

  .socials__item {
    margin: 0.4em;
  }

  .socials__item::after {
    content: none;
    margin-left: 0;
  }

  .research {
    flex-direction: column;
    padding: 0.7em;
  }

  .research__img,
  .research__text {
    width: 100%;
    padding: 0;
  }

  .research__text p:last-child {
    margin-bottom: 0;
  }

  .footer {
    margin-top: 2em;
  }
}

.equal-contribution {
  margin-top: 5px;
  font-size: 0.9em;
  color: #666;
}
