
/* .cv_right { float:right; _position:relative; } */
.cv_right {margin-left: 42px; position: absolute;}

.image.avatar {
      border-radius: 100%;
      overflow: hidden;
    }

      .image.avatar img {
        border-radius: 100%;
        display: block;
        width: 60%;
        /*position: absolute;
        left: 0px;*/


      }

h1 {
  font-family: 'TeXGyrePagella';
  font-weight: 600;
}

body {
  font-family: 'TeXGyrePagella';
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
}


h2, h3 {
    /*color: #a31f34;*/
    margin-top: 0.7em;
    margin-bottom: 0.3em;
    padding-bottom: 0.2em;
    line-height: 1.0;
    padding-top: 0.5em;
    border-bottom: 1px solid #aaaaaa;
}

h1 {
    font-size: 280%;
}

h2 {
    padding-top: 0.8em;
    font-size: 180%;
}

h2 + h3 {
    padding-top: 0.2em;
}

h3 {
    font-size: 125%;
    border-bottom: none;
}

/* Layout Width Adjustments */
.wrapper {
  width: 960px !important;
  max-width: 90%;
}

header {
  width: 240px !important;
  text-align: center; /* Center align header content */
  padding-right: 15px; /* Add spacing to prevent intersection */
}

/* Center the name and avatar */
header h1 {
  text-align: center !important;
  margin-bottom: 15px;
  width: 100%;
  display: block;
  font-size: 220% !important; /* Smaller than default 280% */
}

header .image.avatar {
  text-align: center;
  margin: 0 auto 20px auto;
  display: block;
  width: 100%;
}

header .image.avatar img {
  margin: 0 auto !important;
  display: block !important;
  width: 75% !important;
}

header p {
  text-align: center !important;
}

/* Center all header content */
header h4 {
  text-align: center;
}

header div {
  text-align: center;
}

section {
  width: 690px !important;
  margin-left: 15px; /* Add margin to prevent intersection */
}

/* Responsive adjustments */
@media print, screen and (max-width: 1024px) {
  .wrapper {
    width: auto !important;
    max-width: 95%;
  }

  header {
    width: auto !important;
    padding-right: 0;
    text-align: left; /* Reset alignment on mobile */
  }

  header h1 {
    text-align: left;
  }

  header .image.avatar {
    text-align: left;
  }

  header p {
    text-align: left;
  }

  section {
    width: auto !important;
    margin-left: 0;
  }
}

/* Footer */

  #footer {
    border-top: 0;
    color: #c0c0c0;
    overflow: hidden;
    padding: 2em 0 1em 0;
  }

    #footer .copyright {
      line-height: 1em;
      list-style: none;
      padding: 0;
    }

      #footer .copyright li {
        border-left: solid 1px #d4d4d4;
        display: inline-block;
        font-size: 0.8em;
        margin-left: 1em;
        padding-left: 1em;
      }

        #footer .copyright li:first-child {
          border-left: 0;
          margin-left: 0;
          padding-left: 0;
        }

        #footer .copyright li a {
          color: inherit;
        }