body {
  margin: 30px;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #f0f0f0;
  font-size: medium;
  letter-spacing: 1px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #0074a9;
}

a:hover .label {
  color: #0074a9;
}

.a_title {
  margin-left: 0; 
  font-size: 1.1em; 
  letter-spacing: 2px;
  font-weight: 500;
  display: inline;
}

.a_place {
  font-weight: 600;
  display: inline;
}

.big {
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 1.2em;
  text-transform: uppercase;
}

.contact img {
  top: 9px;
}

.d_title {
  margin-left: 0; 
  font-size: 1.1em; 
  letter-spacing: 2px;
  font-weight: 600;
}

.d_year {
  margin-left: 0;
  font-size: 1em;
  color: rgba(0, 0, 0, 0.549);
}

.degree li{
  margin-left: 10px;
  margin-bottom: -10px;
  margin-top: -10px;
}

.home-button {
  display: flex;
  position: fixed;
  top: 10px;
  right: 10px;
}

img {
  display: inline-flex;
  position: relative;
}


.page {
  display: flex;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar {
  width: 35%;
  background-color: #51a5cc69;
  color: rgba(0, 0, 0, 0.732);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.profile h2 {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
  letter-spacing: 4px;
  font-weight: normal;
}

.publication {
  margin-bottom: 20px;
}

.publication .label {
  color: #2b4450;
  font-weight: 500;
  font-size: 1.3em;
  display: inline-block;
  margin: 0;
}

.publication p {
  display: inline-block;
  margin-top: 0;
  margin-left: 10px;
}

.auth {
  display: inline-block;
  font-size: 0.9em;
  font-style: italic;
  margin: 10px;
}

.publication .year {
  width: 100px;
  font-weight: 400;
  color: #0074a9;
  margin-right: 10px;
  flex-shrink: 0;
}

.resume-canvas {
  width: 100%;
  aspect-ratio: 0.7/1;
}

.resumes {
  position: absolute;
  top: 25px;
  right: 20px;
  letter-spacing: 3px;
}

.sidebar h3 {
  border-top: 1px solid rgba(0, 0, 0, 0.732);
  border-bottom: 1px solid rgba(0, 0, 0, 0.732);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 3px;
  font-size: 1.3em;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.skills-li {
  text-transform: uppercase;
  list-style-type: none;
  list-style-position: outside;
  margin-left: 0;
  font-size: 1.1em; 
  letter-spacing: 2px;
  font-weight: 600;
}

.nested-li {
  margin-left: 25px;
  list-style-type: "\25D6";
  list-style-position: outside;
  padding-left: 3px;
}

.main {
  padding: 2rem;
  margin-left: 20px;
}

.intro {
  padding-bottom: 1rem;
}

.intro h1 {
  font-size: 2.5rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: 3px;
}

.subtitle {
  color:#0074a9;
  font-size: 1.2rem;
  display: inline;
}

.contact {
  display: flex;
  margin-top: 0px;
  flex-direction: row;
  justify-content: space-between;
}

.contact span {
  display: inline-block;
  margin-right: 1rem;
  font-size: 0.9rem;
}

.summary {
  background-color:#51a5cc42;
  padding: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  border-left: 3px solid #0074a9;
}

.summary p {
  margin-left: 20px;
}

.experience h2 {
  border-bottom: 2px solid #0074a9;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
}

.job {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.job .label {
  color: #2b4450;
  font-weight: 500;
  font-size: 1.3em;
  display: inline;
}

.job li {
  list-style-type: "\25D6";
  line-height: 25px;
}

.job li::marker {
  color: #2b4450;
}

.job .year {
  width: 100px;
  font-weight: 600;
  color: #0074a9;
  margin-right: 10px;
  flex-shrink: 0;
}

.projects-section {
  background-color: #00000008;
  border-radius: 8px;
  padding: 15px;
  padding-bottom: 30px;
  position: relative;
}

.projects-header {
  font-weight: 500;
  margin-top: 0.5em;
  margin-bottom: 0.1em;
}

.project-thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.projects .splide__slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.projects .splide__slide p {
  font-size: 0.95rem;
  color: #2b4450;
  margin: 0;
} 

.splide {
  margin-top: 20px;
  font-size: 1.2em;
  color: #2b4450;
}

.splide.projects {
  position: relative;
}

.splide__pagination { 
  bottom: -20px !important;
}

.title {
  font-size: 2.5rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: 3px;
}

.typed-cursor {
  display: none;
}

@media screen and (min-width: 768px) and (max-width: 1120px) {
  body {
    margin: 20px;
  }

  .page {
    flex-direction: column-reverse;
    box-shadow: none;
  }

  .sidebar {
    width: inherit;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .main {
    margin-left: 0;
    padding: 1.5rem;
  }

  .intro h1,
  .title {
    font-size: 2.2rem;
    letter-spacing: 2.5px;
  }

  .summary {
    font-size: 0.93rem;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
  }

  .job {
    flex-direction: column;
    gap: 0.5rem;
  }

  .job .year {
    width: auto;
    margin-bottom: 0.25rem;
  }

  .sidebar h3 {
    font-size: 1.2em;
  }

  .splide {
    font-size: 1.15em;
  }

  .contact span {
    display: inline-block;
    margin-bottom: 0.3rem;
  }

  .profile h2 {
    font-size: 1.3em;
  }

  .project-thumb {
    width: 90px;
    height: 90px;
  }
}

/* small/mobile screens */
@media screen and (max-width: 768px) {
  html, body {
    margin: 0 !important;
    font-size: 1.1em;
  }

  .page {
    flex-direction: column-reverse;
    box-shadow: none;
  }

  .sidebar {
    width: inherit;
    padding: 1rem;
    gap: 1rem;
  }

  .main {
    margin-left: 0;
    padding: 1rem;
  }

  .intro h1,
  .title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .summary {
    font-size: 0.9rem;
    margin-top: 0rem;
    margin-bottom: 1rem;
  }

  .job {
    flex-direction: column;
    gap: 0.5rem;
  }

  .job .year {
    width: auto;
    margin-bottom: 0.25rem;
  }

  .sidebar h3 {
    font-size: 1.1em;
  }

  .splide {
    font-size: 1.3em;
  }

  .contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 0.9em;
  }

  .contact span {
    display: block;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0.5rem;
  }

  .title {
    display: flex;
    width: 250px;
  }

  .typed-cursor {
    display: none !important;
  }
}

