@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root{
    --bright-primary-color: #C3B09A;
    --dark-primary-color: #927054;

    --bright-secondary-color: #B4B4B1;
    --dark-secondary-color: #868380;

    --accent-color: #AD794F;
    --title: #865934;
}

a:link{
  cursor: pointer;

  color: black;
  text-decoration: underline;
}
a:link:hover{
  cursor: pointer;

  color: var(--accent-color);
  text-decoration: underline dotted;
}
a:link:visited{
  cursor: pointer;

  color:black;
  text-decoration: underline;
}
a:link:active{
  cursor: pointer;

  color:grey;
  text-decoration: underline;
}

  .resume{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 0px;

    height: 100%;
    width: 100%;

    background-color: white;
  }

  .resume .photo{
    grid-column: 1;
    grid-row: 1;


  }
    .resume .photo img{
      height: 100%;
      width: 100%;

      object-fit: cover;
    }

  .resume .topbar {
    grid-column: 2 / 5;

    padding: 5%;

    background-color: var(--bright-primary-color);

    align-content: center;
  }

    .resume .topbar .note ul{
      font-size: large;
      list-style-position: inside;

      padding-left: 7%;
    }

  .resume .sidebar {
    grid-column: 1;

    padding: 6%;

    height: fit-content;

    display: flex;
    flex-direction: column;

    background-color: var(--dark-secondary-color);
    border-bottom-right-radius: 60px;

    .data-block{
      margin-bottom: 30px;

      ul{
        list-style-position: inside;
        padding-left: 7%;
      }
    }
  }
    .resume .sidebar .data-block .contacts{
      display: flex;
      gap: 10px;
      flex-direction: column;
      
    }
      .resume .sidebar .data-block .contacts .contact{
        display: flex;
        gap: 10px;
        align-items: center;
        vertical-align: text-top;

        img{
          width: 24px;
        }
        
      }


.resume .sidebar .data-block .formations {
    padding-left: 0;
    margin-top: 10px;
}


.resume .sidebar .data-block .formation {
    position: relative;
    padding-left: 20px;
    margin-left: 5px; 
    border-left: 2px solid white;
    padding-bottom: 20px;
}


.resume .sidebar .data-block .formation::before {
    content: "";
    position: absolute;
    left: -6px; 
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    z-index: 2;
}


.resume .sidebar .data-block .formation:first-of-type {
    border-left: 2px solid transparent;
}


.resume .sidebar .data-block .formation:first-of-type::after {
    content: "";
    position: absolute;
    left: -2px;
    top: 10px;
    bottom: 0;
    width: 2px;
    background-color: white;
}


.resume .sidebar .data-block .formation:last-child {
    border-left: 2px solid white;
    padding-bottom: 20px;
}




  .resume .content {
    grid-column: 2 / 5;

    padding: 5%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    
    gap: 30px;

    background-color: white;

    height: fit-content;
  }

  .resume .content .data-block{
    /* background-color: white; */

    width: 47%;
  }

  .resume .content .data-block .data-block-header {
    display: flex;
    flex-direction: row;

    align-items: center;

    gap: 10px;
  }

    .resume .content .data-block .data-block-header h2 {
      color: var(--accent-color);
    }


  .resume .content .data-block .data-block-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

      .resume .content .data-block .data-block-content h3 {
        color: var(--accent-color);
      }

  .resume .content .data-block .data-block-content span:not(:last-child)::after {
    content: "•";
    margin-left: 5px;
    margin-right: 5px;
}


footer{
  padding: 10px;

  /* position: absolute; */
  left: 0;
  bottom: 0;
  width: 100%;

  img{
    width: 20px;

    vertical-align: bottom;
  }
}

@media screen and (max-width: 900px) {
  .resume {
    display: flex;
    flex-direction: column;
  }
  .resume .photo {
    width: 100vw;
    aspect-ratio: 1.5/1;
    position: relative;
    background-size: 175%;
  }
  .resume .topbar {
    padding: 10%;
  }
  .resume .topbar h1 {
    font-size: 48px;
  }
  .resume .topbar span {
    width: 100%;
  }
  .resume .sidebar {
    border-radius: 0;
  }
  .resume .content {
    flex-direction: column;
  }
  .resume .content .data-block {
    width: 100%;
  }
  .resume .content .data-block .data-header h1 {
    font-size: 16px;
  }
  .resume .content .data-block .data-header svg {
    height: 24px;
  }
}

@media screen and (min-width: 1500px) {

  body {
    margin-left: 15%;
    margin-right: 15%;

    background-image: url(/static/assets/bckg.png);
    background-size: 500px;
  }

  .topbar h2 {
    margin-bottom: 20px;
  }
}



@page {
  size: a4;
  margin: 0;
}

@media print {

  

  .printable {
    display: block;
    print-color-adjust: exact;
  }
  .not-printable {
    display: none !important;
  }

  a {
    text-decoration: none;
  }

  h1 {
    font-size: 18px;
  }
  h2 {
    font-size: 16px;
  }
  h3 {
    font-size: 14px;
  }
  span, a, p, h4 {
    font-size: 12px;
  }
  h5 {
    font-size: 10px;
  }

  .resume {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 33.3333333vw;
  }

  .resume .photo img {
    width: 6cm;
  }
  .topbar h1 {
    font-size: 22px;
  }
  .topbar h2 {
    margin-bottom: 10px;
    font-size: 18px;
  }
  .topbar span {
    width: 100%;
  }
  .sidebar {
    padding: 2%;

    width: 6cm;
  }
  .sidebar .contacts .contact svg {
    height: 20px;
  }
  .content {

    width: 15cm;

    padding-bottom: 0;
    flex-direction: column;
  }

  .resume .content {
    gap: 2mm;
    padding: 3mm;
  }

  .content .data-block .data-block-header h1 {
    font-size: 16px;
  }
  .resume .content .data-block .data-block-header img {
    height: 24px;
  }

    .resume .content .data-block .data-block-content h3 {
    font-size: 12px;
  }

      .resume .content .data-block .data-block-content .comp {
    line-height: 4mm;
  }
}