@font-face {
    font-family: "English Fallback";
    src: url("fonts/DejaVuSans.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family:Questrial;
    src:url("fonts/questrial-regular.ttf") format("truetype");
    font-display:swap;
}

@font-face {
    font-family:Glacial;
    src:url("fonts/glacial-indifference-regular.ttf") format("truetype");
    font-display:swap;
}

@font-face {
    font-family:GlacialBold;
    src:url("fonts/glacial-indifference-bold.ttf") format("truetype");
    font-display:swap;
}

* {
    box-sizing:border-box;
}

body {
    margin:0;
    background:#e9edf0;
    color:#3d3d3d;
    font-family:Glacial, "English Fallback", Arial,sans-serif;
}


.language-selector {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

.language-selector summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 15px;
    background: #ffffff;
    color: #243447;
    border: 1px solid #dce3e8;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.language-selector summary::-webkit-details-marker {
    display: none;
}

.language-selector summary:hover {
    background: #f3f7fa;
}
.language-selector details[open] summary {
    background: #edf4f8;
}

.language-menu {
    position: absolute;
    top: auto;
    bottom: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e8ee;
    border-radius: 12px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

.language-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #243447;
    text-decoration: none;
    font-size: 14px;
    border-radius: 7px;
}

.language-menu a:hover {
    background: #edf4f8;
}

.language-menu img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 2px;
}

.landscape {
    width: 100%;
    aspect-ratio: 345 / 419;
    background-image: url("../images/developpeur-csharp.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.cv {
    max-width:990px;
    margin:32px auto;
    background:#fff;
    display:grid;
    grid-template-columns:34.85% 65.15%;
    box-shadow:0 9px 40px #24334418;
    min-height:1400px;
}

.sidebar {
    background:#2d3b4c;
    color:#fff;
}

.landscape {
    width:100%;
    height:auto;
    display:block;
    border-bottom:8px solid #fff;
}

.sidecontent {
    padding:64px 42px 50px;
}

.sidecontent h2 {
    font-family:Questrial, "English Fallback", Arial,sans-serif;
    font-size:24px;
    font-weight:400;
    letter-spacing:8px;
    text-align:center;
    margin:0 0 25px;
}

.sidecontent h2:after {
    content:"";
    display:block;
    width:79px;
    height:7px;
    border-radius:4px;
    background:white;
    margin:20px auto 0;
}

.profile {
    font-size:18px;
    line-height:1.45;
    text-align:center;
    margin:0 0 52px;
}

.contact {
    list-style:none;
    padding:0;
    margin:0 0 55px;
    font-size:17px;
    line-height:1.4;
}

.contact li {
    display:flex;
    align-items:center;
    gap:16px;
    margin:14px 0;
}

.contact a {
    color:inherit;
    text-decoration:none;
    overflow-wrap:anywhere;
    text-wrap: nowrap;
}

.contact a:hover {
    text-decoration:underline;
}

.ico {
    width:30px;
    height:30px;
    flex:0 0 30px;
    fill:currentColor;
}

.interest {
    display:grid;
    grid-template-columns:30px 1fr;
    gap:16px;
    margin-top:23px;
    font-size:18px;
    line-height:1.45;
}

.interest .label {
    font-size:16px;
    margin-bottom:7px;
}

.main {
    padding:68px 42px 35px 54px;
}

.heading {
    margin-bottom:38px;
}

h1 {
    font-family:Questrial, "English Fallback", Arial,sans-serif;
    font-weight:400;
    font-size:60px;
    line-height:1.1;
    margin:0 0 12px;
    letter-spacing:1px;
}

.subtitle {
    font-family:Questrial, "English Fallback", Arial,sans-serif;
    font-size:29px;
    letter-spacing:9px;
    color:#2d3b4c;
    margin:0;
    white-space:nowrap;
}

.sectiontitle {
    font-family:Questrial, "English Fallback", Arial,sans-serif;
    letter-spacing:8px;
    font-size:24px;
    font-weight:400;
    margin:0 0 34px;
    line-height:1.3;
    color:#222;
}

.sectiontitle:after {
    content:"";
    display:block;
    background:#2d3b4c;
    width:79px;
    height:7px;
    border-radius:5px;
    margin:14px 0 0 3px;
}

.job {
    display:grid;
    grid-template-columns:114px 1fr;
    gap:15px;
    margin-bottom:17px;
}

.when {
    font-family:GlacialBold, "English Fallback", Arial;
    font-size:15px;
    color:#2d3b4c;
    line-height:1.4;
	font-weight: 700;
}

.company {
    display:block;
    color:#3d3d3d;
    margin-top:8px;
}

.job h3 {
    font-family:GlacialBold, "English Fallback", Arial;
    font-size:13px;
    letter-spacing:1.5px;
    margin:0 0 4px;
    line-height:1.4;
	font-weight: 800;
}

.job ul {
    padding-left:17px;
    margin:0;
    color:#506681;
    font-size:13px;
    line-height:1.8;
}

.formation .sectiontitle {
    margin:15px 0 10px;
}

.education {
    font-family:GlacialBold, "English Fallback", Arial;
    font-size:18px;
    line-height:1.65;
    margin:0;
}

.school {
    display:block;
    margin-left:48px;
}

.skills .sectiontitle {
    margin:0 0 16px;
}

.skills ul {
    font-family:GlacialBold, "English Fallback", Arial;
    color:#2d3b4c;
    font-size:18px;
    line-height:1.58;
    padding-left:30px;
    margin:0;
	font-weight: 600;
}

.bottom {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    margin:25px 0 0 12px;
}

.bottom h2 {
    font-family:GlacialBold, "English Fallback", Arial;
    color:#2d3b4c;
    font-size:15px;
    margin:0 0 12px;
}

.bottom p {
    font-size:18px;
    line-height:1.4;
    margin:0;
}

.language {
    display:grid;
    grid-template-columns:77px 12px 1fr;
    font-size:18px;
    line-height:1.4;
}

.tools {
    list-style:none;
    padding:0;
    margin:0;
    font-size:18px;
    line-height:1.4;
}

a:focus-visible {
    outline:2px solid #79c8ef;
    outline-offset:5px;
}

@media(max-width:1000px) and (min-width:721px) {
    .cv {
        margin:0;
        grid-template-columns:32% 68%;
        min-height:100vh;
    }
    .main {
        padding:48px 25px 35px 35px;
    }
    .sidecontent {
        padding:45px 23px;
    }
    .subtitle {
        font-size:23px;
        letter-spacing:7px;
    }
    h1 {
        font-size:52px;
    }
    .job {
        grid-template-columns:100px 1fr;
    }
    .skills ul,.education,.bottom p,.tools,.language {
        font-size:16px;
    }
    .sidecontent h2 {
        font-size:21px;
        letter-spacing:6px;
    }
    .profile,.contact,.interest {
        font-size:16px;
    }
    .bottom {
        gap:15px;
        margin-left:0;
    }
}

@media(max-width:720px) {
    body {
        background:#fff;
    }
    .cv {
        display:flex;
        flex-direction:column;
        margin:0;
        box-shadow:none;
        min-height:0;
    }
    .main {
        padding:35px 24px;
        order:0;
    }
    .sidebar {
        order:1;
    }
    .heading {
        margin-bottom:32px;
    }
    h1 {
        font-size:45px;
    }
    .subtitle {
        font-size:20px;
        letter-spacing:5px;
        white-space:normal;
    }
    .sectiontitle {
        font-size:21px;
        letter-spacing:5px;
    }
    .job {
        grid-template-columns:1fr;
        gap:9px;
        margin-bottom:25px;
    }
    .when {
        display:flex;
        gap:16px;
        flex-wrap:wrap;
    }
    .company {
        margin:0;
    }
    .job h3 {
        font-size:14px;
    }
    .job ul {
        font-size:15px;
        line-height:1.7;
    }
    .education {
        font-size:16px;
        margin-bottom:15px;
    }
    .school {
        margin-left:20px;
    }
    .skills ul {
        font-size:16px;
        line-height:1.7;
        padding-left:22px;
    }
    .skills .sectiontitle {
        margin-top:22px;
    }
    .bottom {
        grid-template-columns:1fr;
        gap:25px;
        margin:30px 0 0;
    }
    .landscape {
        max-height:230px;
        object-fit:cover;
        object-position:bottom;
    }
    .sidecontent {
        padding:35px 26px;
    }
    .profile {
        max-width:350px;
        margin:0 auto 35px;
    }
    .contact {
        max-width:340px;
        margin:0 auto 35px;
    }
    .interest {
        max-width:340px;
        margin-left:auto;
        margin-right:auto;
    }
    .sidecontent h2 {
        font-size:22px;
        letter-spacing:6px;
    }
    .bottom h2 {
        font-size:16px;
    }
}

@media print {
    @page {
        size:A4;
        margin:0;
    }
    body {
        background:#fff;
    }
    .cv {
        width:210mm;
        max-width:none;
        min-height:297mm;
        margin:0;
        box-shadow:none;
        grid-template-columns:34.85% 65.15%;
        zoom:.8;
        print-color-adjust:exact;
        -webkit-print-color-adjust:exact;
    }
    .sidebar {
        background:#2d3b4c!important;
    }
    .job {
        break-inside:avoid;
    }
}

.sitenav {
    margin:25px 34px 0;
    border:1px solid #7f91a650;
    border-radius:6px;
    overflow:hidden;
}

.sitenav a {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    color:#fff;
    text-decoration:none;
    padding:13px 18px;
    border-bottom:1px solid #7f91a650;
    font-family:GlacialBold, "English Fallback", Arial,sans-serif;
    font-size:16px;
    letter-spacing:.5px;
    border-left:4px solid transparent;
    transition:background .15s,border-color .15s;
}

.sitenav a:last-child {
    border-bottom:0;
}

.sitenav a:hover,.sitenav a:focus-visible {
    background:#3d5067;
    border-left-color:#c8e18a;
}

.sitenav .chevron {
    font-family:Arial,sans-serif;
    color:#c8e18a;
    font-size:19px;
}

.sidecontent {
    padding-top:42px;
}

@media(max-width:720px) {
    .sitenav {
        margin:25px 26px 0;
        display:grid;
        grid-template-columns:1fr 1fr;
    }
    .sitenav a {
        border-bottom:1px solid #7f91a650;
    }
    .sitenav a:last-child {
        grid-column:1/-1;
    }
}

/* English headings and longer navigation labels. */
.sidecontent h2 {
    font-size: 22px;
    letter-spacing: 5px;
}
.subtitle {
    font-size: 27px;
    letter-spacing: 8px;
}
@media (max-width: 1000px) {
    .subtitle {
        font-size: 22px;
        letter-spacing: 5px;
    }
}
@media (max-width: 720px) {
    .subtitle {
        font-size: 20px;
        letter-spacing: 4px;
    }
}

.home-footer {
    text-align: center;
    font-size: 14px;
}
