@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

:root {
    --white: #ffffff;
    --black: #212429;
    --pink: #DDD0D1;
    --purple: #B39E9F;
    --grey-1: #F8F9FA;
    --big-container-width: 1280px;
    --container-width: 800px;
}

html, body {
    height: 100vh;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.container {
    width: var(--big-container-width);
    margin: 0 auto;
    padding-left: 30px;
    display: flex;
}

.purple {
    padding-top: 50px;
    flex-basis: 400px;
    background-color: var(--purple);
}

.header {
    width: 100%;
    background-color: var(--pink);
    overflow: hidden;
}

.purple__header {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.avatar {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px solid var(--white);
    overflow: hidden;
}

.avatar__img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.header__container {
    width: var(--container-width);
    padding-left: 30px;
    padding-top: 60px;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    gap: 10px;
}

.header__title_name {
    margin: 0;
    font-weight: 500;
    font-size: 36px;
}

.header__title_position {
    font-family: "Lora", serif;
    font-weight: 300;
    font-style: italic;
    font-size: 24px;
    margin: 0px 0px 40px;
}

.tabs__nav {
    margin: 0;
}

.tabs__menu {
    list-style-type: none;
    display: flex;
    padding: 0px;
    gap: 40px;
    margin: 0px;
}

.tabs__list_elem {
    text-decoration: none;
    font-family: "Lora", serif;
    font-weight: 300;
    font-style: normal;
    line-height: 24px;
    font-size: 16px;
    color: var(--black);
}

.tabs__list_elem:after {
    content: '';
    display: block;
    position: relative;
    top: 8%;
    height: 4px;
    background-color: var(--black);
    transform: scaleX(0);
}

@keyframes go {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

.tabs__list_elem:hover:after {
    animation: go 250ms linear;
    animation-fill-mode: forwards;
}

.purple__title {
    padding-top: 30px;
    margin: 0px;
    color: var(--white);
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    padding-left: 40px;
}

.purple__list {
    list-style-type: none;
    color: var(--white);
    font-family: "Lora", serif;
    font-weight: 300;
    font-style: normal;
    line-height: 24px;
    font-size: 16px;
}

.purple__item {
    display: flex;
    align-items: center;
    min-height: 20px;
    gap: 10px;
}

.purple__text {
    padding-left: 40px;
    padding-right: 10px;
    margin: 20px 0px;
    font-family: "Lora", serif;
    font-weight: 300;
    font-style: normal;
    color: var(--white);
    line-height: 24px;
    text-align: left;
}

.main__container {
    width: var(--container-width);
    padding-top: 50px;
    padding-left: 50px;
    display: flex;
    flex-flow: column wrap;
    gap: 30px;
}

.block {
    display: flex;
    gap: 10px;
}

.block__title {
    color: var(--black);
    margin: 0;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
}

.list {
    color: var(--black);
    font-family: "Lora", serif;
    font-weight: 300;
    font-style: normal;
    line-height: 24px;
    font-size: 16px;
}

.code__title_description {
    font-family: "Lora", serif;
    font-weight: 300;
    font-style: normal;
    line-height: 24px;
}

.code__pre {
    background-color: var(--grey-1);
    margin: 0;
    width: 450px;
}

.footer__container {
    width: var(--container-width);
    padding-left: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.school-logo {
    width: 200px;
}

.work_list {
    display:  flex;
    flex-flow: column wrap;
    list-style-type: none;
    gap: 20px;
}

.work_list__item {
    display: flex;
    flex-flow: column wrap;
}

.work_header {
    display:  flex;
    justify-content:  space-between;
}

.work_title,
.work_year,
.work_name {
    margin: 0;
    font-family: "Lora", serif;
    font-weight: 300;
    font-style: oblique;
    line-height: 24px;
    font-size: 16px;
}

.skills_list {
    font-family: "Lora", serif;
    font-weight: 300;
    font-style: oblique;
    line-height: 24px;
    font-size: 16px;
}

.work_list__item > a {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    text-decoration: none;
    color: var(--black);
}

.work_list__item > a:hover {
    background-color:  var(--purple);
}
