@font-face {
  font-family: Pacifico;
  src: url(./fonts/Pacifico.ttf);
}

body {
  font: 1rem sans-serif;
  margin: 0;
  padding: 0;
}

.paper {
  display: flex;
  color: #000;
}

aside {
  background: #142954;
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.left {
  float: left;
}

.right {
  float: right;
}

aside div {
  overflow: auto;
  margin: auto;
}

aside img {
  display: block;
  margin: auto;
}

.signature {
  padding-top: 15px;
}

a {
  color: #142954
}

a::after {
  content: attr(data-cv);
  font-size: 1em;
  font-weight: normal;
}

p::after {
  content: attr(data-cv);
  font-size: 1em;
  font-weight: normal;
}

.mobile-only {
  display: none;
}

h1 {
  font-family: Pacifico;
  text-align: center;
  color: #fff;
}

h2,
h3 {
  text-transform: uppercase;
}

h2 {
  background-color: #142954;
  color: white;
}

article {
  margin: 191px;
  margin-top: 0px;
  margin-bottom: 0px;
  line-height: 26px;
  height: 100vh;
  display: none;
}

article.fadeIn {
  display: block;
}

.fadeOutUp,
.fadeOutLeft,
.fadeOutRight {
  display: none;
}

article h2 {
  background-color: unset;
  color: #142954;
  font-family: Pacifico;
  text-transform: unset;
}

article p {
  margin-top: 20px;
  margin-bottom: 20px;
}

aside h3 {
  color: white;
  text-align: center;
}

aside {
  overflow: hidden;
}

main {
  flex: 3;
  padding: 35px;
  overflow: hidden;
}

.signaturehead {
  padding-top: 5px;
}

header>* {
  margin: 0;
}

header {
  border: solid 2px #142954;
  text-align: center;
  padding-bottom: 10px;
}

h3:before {
  content: '\02014\00a0';
}

h3:after {
  content: '\00a0\02014';
}

h1 {}

h4 {
  color: #142954;
}

p {
  margin: 0;
}

.col {
  flex: 1;
  width: 400px;
  margin-top: 25px;
}

.col:last-of-type {
  float: right;
}

section {
  overflow: hidden;
}

h2 {
  margin-bottom: 0.05em;
  margin-top: 0.05em;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

li {
  overflow: hidden;
}

.soft ul {
  margin: 0;
}

.soft ul:first-of-type {
  margin-top: 1em;
}

.soft ul:last-of-type {
  margin-bottom: 1em;
}

.place-desc {
  margin-top: 0px;
}

.edu .place-desc {
  margin-top: -19px;
}

.edu ul.place-year:first-of-type {
  padding-bottom: 1em;
}

ul.place-year span+span {
  float: right;
  padding-left: 0.33em;
}

.place-desc {
  margin-bottom: 20px;
}

.place-desc span,
.autor {
  font-style: italic;
}

.darkmode {
  transition: all 2s;
  filter: drop-shadow(0 0 10px #fff);
}

#light,
#logo {
  transition: all 2s;
}

.intro {
  animation-name: example;
  animation-duration: 4s;
}

@keyframes example {
  0% {
    filter: drop-shadow(0 0 0px #fff);
  }
  50% {
    filter: drop-shadow(0 0 10px #fff);
  }
  100% {
    filter: drop-shadow(0 0 0px #fff);
  }
}

#fpc_effect-back {
  background-color: #eeeef4;
  /* some background color to match corner inside's */
  width: 100%;
  /* trivial */
  font: 12pt arial, sans-serif, helvetica, verdana;
  /* trivial */
  color: #666; //trivial
}

#fpc_effect-back * {
  box-sizing: border-box;
}

#fpc_box {
  position: relative;
}

#fpc_content {}

#fpc_content:before {
  content: "";
  width: 80px;
  height: 80px;
  /*    float: right;*/
}

#fpc_page-tip:before,
#fpc_page-tip:after {
  background-color: #FFF;
  position: absolute;
  display: block;
  z-index: 2;
  border-top-right-radius: 60%;
  width: 50%;
  height: 50%;
  content: "";
}

#fpc_page-tip:before {
  right: 100%;
  top: 0%;
  background: -webkit-radial-gradient(-180% 200%, circle, rgba(255, 255, 255, 0) 85%, rgba(0, 0, 0, .1) 93%);
}

#fpc_box:hover #fpc_page-tip:before {
  border-right: solid 1px #fff;
}

#fpc_box div#fpc_corner-box:hover #fpc_page-tip:before {
  border-right: solid 2px #fff;
}

#fpc_page-tip:after {
  top: 100%;
  right: 0%;
  background: -webkit-radial-gradient(-250% 320%, circle, rgba(255, 255, 255, 0) 85%, rgba(0, 0, 0, .10) 93%);
}

#fpc_box:hover #fpc_page-tip:after {
  border-top: solid 1px #fff;
}

#fpc_box div#fpc_corner-box:hover #fpc_page-tip:after {
  border-top: solid 2px #fff;
}

#fpc_corner-box {
  /* edit these sizes for the default revealing corner size */
  height: 20px;
  width: 20px;
  right: 0;
  top: 0;
  position: absolute;
  overflow: visible;
}

#fpc_box:hover #fpc_corner-box {
  /* edit corner size (First animation, when the whole page is rollovered) */
  height: 50px;
  width: 50px;
}

#fpc_box div#fpc_corner-box:hover {
  /* edit corner size (Second animation, when the corner itself is rollovered) */
  height: 100px;
  width: 100px;
}

#fpc_corner-box:before {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  display: block;
  width: 133%;
  height: 133%;
}

#fpc_corner-contents:after {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  background: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0) 37%, #DDD 62%, rgba(230, 230, 230, 0.1) 64%, rgba(255, 255, 255, 0) 67%), -webkit-radial-gradient(-50% 150%, circle, transparent 74%, rgba(0, 0, 0, 0.2) 74%, transparent 81%);
  display: block;
  width: 133%;
  height: 133%;
}

#fpc_page-tip {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  background: -webkit-linear-gradient(45deg, #ddd 17%, #dfdfdf 18%, #f5f5f5 30%, #f8f8f8 34%, #eee 39%, rgba(200, 200, 200, 0) 41%);
  display: block;
  width: 100%;
  height: 100%;
}

#fpc_corner-button {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background-color: #142954;
  color: #fff;
  font-family: Verdana, Geneva, sans-serif;
  text-align: center;
  padding: 8px 5px;
  display: inline-block;
  font-size: 11px;
}

#fpc_corner-contents {
  width: 125%;
  position: absolute;
  display: block;
  overflow: hidden;
  -webkit-mask: -webkit-linear-gradient(45deg, transparent 49%, #000 53%);
  top: 0;
  right: 0;
  height: 125%;
}

#fpc_corner-contents:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #eeeef4;
  /* Match this background color to #fpc_effect-back */
}

#fpc_corner-box,
#fpc_corner-contents,
#fpc_page-tip {
  -webkit-transition-property: all;
  -webkit-transition-duration: .3s;
  -webkit-transition-timing-function: cubic-bezier(0, 0.35, .5, 1.7);
}

#fpc_corner-button strong {
  font-size: 13px;
  font-weight: bold;
  display: block;
}

#fpc_corner-text {
  position: fixed;
  top: 7px;
  right: 1px;
  overflow: hidden;
  transform: rotate(45deg);
}

.lol {
  position: fixed;
  top: 150px;
  right: -40px;
  height: 50px;
  transform: rotate(-90deg);
}

ul.place-year {
  max-width: 44em;
  padding: 0;
  overflow-x: hidden;
  list-style: none;
  margin-bottom: 0px;
}

ul.place-year li:before {
  float: left;
  width: 0;
  white-space: nowrap;
  content: ;
}

ul.place-year span:first-child {
  padding-right: 0.33em;
  font-weight: bold;
}

.place-year ul li span:last-child {
  float: right;
  padding-left: 0.33em;
  font-weight: bold;
}

article {
  margin: 0;
}

article h2 {
  margin-bottom: 57px;
}

@media only print {
  @page {
    size: landscape;
    margin: 0;
    padding: 0;
  }
  .col {
    width: 45%;
  }
  main {
    padding: 5vh;
    height: 100vh;
  }
  .noprint {
    display: none;
  }
}

@media only screen and (min-device-width: 2559px) {
  body {
    /*background-color: red;*/
  }
}

@media only screen and (max-device-width: 2559px) and (min-device-width: 1439px) {
  body {
    /*background-color: yellow;*/
  }
}

@media only screen and (max-device-width: 1439px) and (min-device-width: 1023px) {
  body {
    /*background-color: green;*/
  }
  .col {
    width: 318px;
  }
}

@media only screen and (max-device-width: 1023px) and (min-device-width: 767px) {
  body {
    /*background-color: lime;*/
  }
  main {
    padding: 15px;
  }
  .col {
    width: 312px;
  }
}

@media only screen and (max-device-width: 767px) and (min-device-width: 0px) {
  body {
    /*background-color: cyan;*/
  }
  .paper {
    flex-direction: column;
    display: flex;
  }
  header .signature {
    display: none;
  }
  h2 {
    font-size: 55px;
  }
  h3 {
    font-size: 45px;
  }
  aside {
    flex: 1;
    text-align: center;
  }
  aside div {
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  aside img {
    width: 40%;
    padding: 30px;
  }
  main {
    padding: 66px;
    flex: 1;
  }
  .col {
    width: 100%;
    text-align: center;
    margin-top: 0px;
  }
  section {
    margin-top: 70px;
  }
  .place-year {
    text-align: left;
    max-width: 100% !important;
    word-break: break-all;
  }
  .place-year span {
    font-size: 30px;
  }
  ul {
    display: flex;
    flex-direction: row;
  }
  li {
    flex: 1;
  }
  p {
    font-size: 30px;
  }
  a::after {
    display: none;
  }
  .soft ul {
    margin: unset;
    margin-top: 65px;
  }
  .soft li {
    width: 30%
  }
  .mobile-only {
    display: block;
    margin: auto;
    width: .875em;
  }
  .desk-only {
    display: none;
  }
  .soft .mobile-only {
    width: 4em;
  }
  .soft p::after {
    content: attr(data-cv);
  }
  #fpc_corner-button {
    background-color: #fff;
    color: #000
  }
}

@media only screen and (max-device-width: 424px) and (min-device-width: 374px) {
  body {
    /*background-color: blue;*/
  }
}

@media only screen and (max-device-width: 374px) and (min-device-width: 319px) {
  body {
    /*background-color: purple;*/
  }
}

@media only screen and (max-device-width: 319px) and (min-device-width: 0px) {
  body {
    /*background-color: magenta;*/
  }
}