.container {
    margin: 0 auto;

    max-width: 700px;
    padding: 3% 7% 7%;
    font-family: "Iowan Old Style", Charter, "Palatino Linotype", Palatino, Georgia, serif;
    color: #2b3036;
    line-height: 1.5;
}

hr {
    border: none;
    border-top: 1px solid #d8dde2;
    margin: 10px 0 14px;
}


p{
    margin:0;
    padding: 0;
}

.my_name {
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

p.location {
    flex: 1 1 auto;
    font-family: "Iowan Old Style", Charter, "Palatino Linotype", Palatino, Georgia, serif;
    color: #737373;
    font-size: 14px;
}

p.name {
    font-size: 27px;
    letter-spacing: -0.01em;
    flex: 0 0 auto;
    text-align: right;
    font-family: "Iowan Old Style", Charter, "Palatino Linotype", Palatino, Georgia, serif;
    color: #aeb6bd;
    font-weight: 600;
}

p.surname {
    flex: 0 0 auto;
    font-size: 27px;
    letter-spacing: -0.01em;
    font-weight: 600;
    font-family: "Iowan Old Style", Charter, "Palatino Linotype", Palatino, Georgia, serif;
    color: #22272c;
    margin-left: 1%;
}

.my_direction{

    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.skills__description{

    font-size: 1.2rem;
}

.direction {
    font-size: 25px;
    text-align: right;
    font-family: "Iowan Old Style", Charter, "Palatino Linotype", Palatino, Georgia, serif;
    color: #b9b9b9;
    font-weight: 500;
    font-style: italic;
    flex: 0 0 auto;
    margin-left: auto;
}


.contacts{
    flex: 1 1 auto;
    font-family: "Iowan Old Style", Charter, "Palatino Linotype", Palatino, Georgia, serif;
    color: #737373;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
}
.contacts img{

    width: 15px;
}
.skills {
    display: flex;
    margin: 6% 0;
   
}

.skills__description {
    font-family: "Iowan Old Style", Charter, "Palatino Linotype", Palatino, Georgia, serif;
}

.about__me__info {
    margin-top: 30px;
}

.block {
    display: flex;
    flex-direction: column;
    margin-top: 3%;
}

.head {
    display: flex;
}

.tabulation {
    flex: 0 0 20%; 
    height: 8px;
    background-color: #3873b2;
    width: 100px;
    display: flex;
    margin-right: 2%;
    align-self: center;
}

.title {
    color: #3873b2;
    font-size: 20px;
    flex: 0 0 75%;
}

/*.title::before{

    content: " ";
    height: 40%;
    background-color: #3873b2;
    width: 100px;
    display: inline-block;
   margin-right: 5px;
}*/

.section__body {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

.block__item {
    display: flex;
    margin-top: 10px;
}

.left__side {
    display: flex;
    flex: 0 0 20%;
    justify-content: flex-end;
    /* align-items: center; */
    display: flex;
    margin-right: 2%;
}

.left__side p {

    text-align: right;
}

.right__side {
    flex: 0 0 75%;
    align-self: center;
}

.right__side ul {
    margin: 8px 0 0;
    padding-left: 17px;
}

.right__side li {
    margin-bottom: 4px;
}



/* ---------------- detail ---------------- */

.skills__description {
    line-height: 1.55;
    color: #3a4147;
}

/* section rule: thinner, less blunt */
.tabulation {
    height: 5px;
}

.title {
    letter-spacing: 0.005em;
    font-weight: 600;
}

/* labels recede so values lead */
.left__side p {
    font-size: 0.86em;
    color: #7c858d;
    letter-spacing: 0.02em;
}

/* company names carry the accent instead of flat black */
.experience .right__side b {
    color: #2f6699;
    font-weight: 600;
    letter-spacing: 0.005em;
}

.job-note,
.right__side i {
    color: #6c757d;
}

/* bullets pick up the accent */
.right__side li::marker {
    color: #9db6cd;
}

.right__side li b {
    color: #22272c;
}

/* inline svg icons scale with the text and print cleanly */
.contacts svg {
    width: 0.95em;
    height: 0.95em;
    fill: currentColor;
    vertical-align: -0.11em;
    margin-right: 0.45em;
    opacity: 0.75;
}

/* ---------------- print / PDF ---------------- */

@page {
    size: A4;
    margin: 13mm 15mm;
}

@media print {

    body {
        background: #fff;
        font-size: 8.9pt;
        line-height: 1.25;
    }

    .container {
        max-width: none;
        margin: 0;
        padding: 0;
        line-height: 1.24;
    }

    .skills__description {
        line-height: 1.32;
    }

    p.name,
    p.surname {
        font-size: 20pt;
    }

    p.location,
    .contacts {
        font-size: 8.6pt;
    }

    .contacts {
        gap: 3px;
    }

    .direction {
        font-size: 13pt;
    }

    .title {
        font-size: 12pt;
    }

    .skills {
        margin: 8px 0;
    }

    .skills__description {
        font-size: 9.1pt;
    }

    .about__me__info {
        margin-top: 12px;
    }

    .block {
        margin-top: 9px;
        break-inside: auto;
    }

    .section__body {
        margin-top: 8px;
    }

    .block__item {
        margin-top: 5px;
    }

    .right__side ul {
        margin-top: 5px;
    }

    .right__side li {
        margin-bottom: 2px;
    }

    .tabulation {
        height: 6px;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* keep an entry from being split across two pages */
    .block__item,
    .head {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .head {
        break-after: avoid;
        page-break-after: avoid;
    }

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