@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');


:root {
    --color-contrast: #7c5c93;
    --color-text: #333333;
    --color-second-background: oklab(0.91 0.04 -0.05 / 0.2);
    --color-main-background: #F5F5F5;
    --color-links: hsla(274, 23%, 47%, 1);
    ;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    font-family: 'Roboto Mono', monospace;
    font-style: normal;
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-second-background);
    min-height: 100vh;
    min-height: 100dvh;
}

.flex {
    display: flex;
}

.space_between {
    justify-content: space-between;
}

.column {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-direction: column;
}

.wrap {
    flex-wrap: wrap;
}

a {
    text-decoration: none;
    color: var(--color-links);
}

p {
    font-size: 0.9rem;
}

li {
    list-style: none;
}

h1 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 8px;
    text-transform: capitalize;
}

h2 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 8px;
    text-transform: uppercase;
}


h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
    text-transform: uppercase;
}

h4 {
    font-size: 1.0rem;
    font-weight: 500;
}

h5 {
    font-size: 1.1rem;
    font-weight: 300;
}

h6 {
    font-size: 1.0rem;
    font-weight: 300;
}

.menu {
    width: 100%;
    justify-content: space-between;
}

.language_links a:hover {
    text-decoration: underline;
    color: white;
}

.img__container {
    width: auto;
    max-height: 190px;
    margin-inline: auto;
    background-color: hsla(274, 23%, 47%, 1);
    border-radius: 50%;
    position: relative;
    box-shadow: 1px 1px 15px hsla(0, 0%, 13%, 0.8) inset;
    /* box-shadow: rgba(0, 0, 0, 0.6) 2px 3px 8px 0px inset; */
}

aside img {
    border-radius: 50%;
    max-height: 205px;
    width: auto;
    margin-inline: auto;
    -webkit-filter: drop-shadow(5px 8px 8px hsla(0, 0%, 13%, 0.8));
    filter: drop-shadow(5px 8px 8px hsla(0, 0%, 13%, 0.8));
    margin-top: -13px;
}

aside .img__container:hover {
    background-image: url("../img/human_torch.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

aside img:hover {
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

hr {
    width: 80%;
}

.content {
    display: flex;
    justify-content: start;

}

aside {
    background-color: #333333;
    padding-inline: 24px;
    padding-block: 32px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    min-width: 370px;
    max-width: 370px;
    color: var(--color-text-white, white);
    box-shadow: 1px 1px 10px hsla(0, 0%, 13%, 0.6);
}

aside p {
    font-size: 0.9rem;
    ;
}

.space__top {
    margin-top: 32px;
}

.space__bottom {
    margin-bottom: 32px;
}

.social__profile {
    display: inline;
    z-index: 2;
}

.social__profile i {
    font-size: 1.5rem;
}

i {
    margin: 8px 16px 0 0;
    color: var(--color-contrast);
    cursor: pointer;
    transition: all 0.3s;
}

i:hover {
    scale: 1.1;
    color: hsla(274, 23%, 47%, 0.8);
}

.additional__details i:hover::before {
    content: "\f07c";
}

.additional__details i:active::before {
    content: "\f07c";
}

.additional__details a {
    color: white;
    font-size: 0.9rem;
}

/* MAIN */

.case img {
    width: 100%;
}

.custom_border {
    border-bottom: dotted 1px var(--color-contrast);
    padding-top: 5px;
}

i {
    font-size: 1.2rem;
    margin-right: 15px;
}

main {
    display: flex;
    padding-top: 8px;
}

section.head {
    color: var(--color-text-black, black);
    padding: 24px;
}

.contact {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    gap: 0.1rem;
    font-size: 0.8rem;
    font-weight: 400;
}

.contact__link {
    margin-bottom: 16px;
}

section.cv__body {
    justify-content: flex-start;
    padding-inline: 24px;
    font-size: 0.9rem;
    max-width: 960px;
}

.cv__container:first-of-type {
    margin-top: 24px;
}

.description {
    list-style: none;
}

.description li::before {
    content: '»';
    color: var(--color-contrast);
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    margin-left: -1em;
}

.stations {
    flex: 1;
    max-width: 100%;
    min-width: 350px;
    padding-bottom: 32px;
    list-style: none;
}

.stations .company {
    font-weight: 400;
    color: var(--color-contrast);
}

.stations .datum,
.company,
.location {
    font-size: 0.9rem;
}

.line {
    display: flex;
    justify-content: center;
    position: relative;
    border: solid 1px oklab(0.91 0.04 -0.05 / 0.8);
    margin-inline: 25px 50px;
    border-radius: 10px;
    /* height: calc(100% + 16px); */
    top: 8px;
}

.line .dot {
    border: solid 5px var(--color-contrast);
    position: absolute;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    width: 5px;
    height: 5px;
    top: -1px;
}

.description {
    flex: 3;
    min-width: 200px;
    padding-bottom: 32px;
}

.font__size__64px {
    font-size: 64px;
}

.qualifications__list>ul {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 80%;
}

.qualifications__list>ul>li>p {
    font-weight: 400;
}

.projects {
    display: none;
}

footer {
    padding: 50px;
    text-align: center;
    margin-left: -24px;
}

.display__none {
    display: none;
}

.left_black {
    background-color: #333333;
    position: relative;
    inset: 0;
    width: 80%;
    min-height: 100vh;
    min-height: 100dvh;
    margin-top: -8px;
    color: white;
}

.left_black .cv__header {
    font-size: 15rem;
    font-weight: bold;
    position: absolute;
    inset: 25px 0 0 150px;
}

.button { 
    margin-top: 25px;
}

.button button {
    background-color:var(--color-contrast);
    color: white;
    padding-inline: 15px;
    padding-block: 10px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
}

.button button:hover {
    background-color:var(--color-contrast);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.fc_consultant {
    margin-left: -5px;
}

.kt_consultant {
    max-height: 50px;
}

.consultant {
    display: flex;
    align-items: center;
}

@media (max-width:1040px){ 
    .content {
        flex-wrap: wrap;
    }

    aside {
        max-width: 100%;
    }
}

@media (max-width:695px){ 

    .line {
        display: none;
    }
    
    .flex {
        flex-direction: column;
    }
}

@media (max-width:420px){ 
    
    .consultant {
        flex-direction: column;
    }

}