@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700;900&display=swap');

:root {
	--white: #fff;
	--black: #111;
	--darkgrey: #333;
	--lightgrey: #eaeaea;
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Source Sans Pro",sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: var(--white);
}
img {
	display: block;
	width: 100%;
	height: auto;
    border-radius: 8px;
}
h1, .h1 {
	font-size: 36px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 15px;
	color: #111;
	color: var(--black);
}
h2, .h2 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 13px;
	color: #111;
	color: var(--black);
}
h3, .h3 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 10px;
	color: #111;
	color: var(--black);
}
h4, .h4 {
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 10px;
	color: #111;
	color: var(--black);
}
h5, .h5 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 10px;
	color: #111;
	color: var(--black);
}
h6, .h6 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 10px;
	color: #111;
	color: var(--black);
}
p, .p {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 5px;
	color: var(--darkgrey);
}
.p_large {
	font-size: 24px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 15px;
	color: var(--darkgrey);
}
.p_bold {
	font-weight: 600 !important;
}
a, .link {
    position: relative;
    color: #111;
    color: var(--black);
    text-decoration: none;
    cursor: pointer;
}
.link:after {
	content: "";
    position: absolute;
	width: 100%;
	background: var(--black);
    height: 1px;
    top: 100%;
    left: 0;
    bottom: -5px;
    transition: all .2s linear;
    visibility: visible;
    transform: scaleX(1);    
}
.link:hover:after {
    width: 100%;
    visibility: hidden;
    transform: scaleX(0);
}
.btn {
    display: block;
    text-align: center;
    background-color: black;
    color: white;
    padding: 15px 45px 17px;
    border-radius: 60px;
    font-weight: 900;
    font-size: 22px;
    line-height: 1;
}
section {
	display: block;
	width: 100%;
	margin: 0 0 50px;
}
figure {
    display: flex;
    flex-direction: column;
    margin: 15px auto 35px;
}
figcaption {
    display: flex;
    margin: 10px;
    font-weight: 600;
}
/* fade image in after load */
.lazyload,
.lazyloading {
    opacity: 0;
}
.lazyloaded {
    opacity: 1;
    transition: opacity 300ms;
}
.container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
}


header {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 25px 0;
}
header .container {
	flex-direction: row;
	justify-content: space-between;
}
.bd_logo {
    margin: auto 0;
    font-size: 32px;
    font-weight: 400;
    z-index: 2;
}
.bd_nav {
    display: flex;
    margin: auto 0;
}
.bd_nav_list {
    display: flex;
}
.bd_nav_list_item {
    display: flex;
    margin: 0 0 0 20px;
    padding: 0 10px;
    font-size: 18px;
    font-weight: 500;
}
.bd_hamburger {
    display: none;
    position: relative;
    margin: 0;
    padding: 0;
    width: 40px;
    height: 30px;
    font-size: 0;
    text-indent: -9999px;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    transition: background 0.35s;
    z-index: 2;
}

.bd_hamburger:focus {
    outline: none;
}

.bd_hamburger span {
    display: block;
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--black);
}

.bd_hamburger span::before,
.bd_hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--black);
    content: "";
}

.bd_hamburger span::before {
    top: -10px;
}

.bd_hamburger span::after {
    bottom: -10px;
}

.bd_hamburger--htx {
    background-color: var(--white);
}

.bd_hamburger--htx span {
    transition: background 0s 0.35s;
}

.bd_hamburger--htx span::before,
.bd_hamburger--htx span::after {
    transition-duration: 0.35s, 0.35s;
    transition-delay: 0.35s, 0s;
}

.bd_hamburger--htx span::before {
    transition-property: top, transform;
}

.bd_hamburger--htx span::after {
    transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.bd_hamburger--htx.is-active {
    background-color: var(--white);
}

.bd_hamburger--htx.is-active span {
    background: none;
}

.bd_hamburger--htx.is-active span::before {
    top: 0;
    transform: rotate(45deg);
}

.bd_hamburger--htx.is-active span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.bd_hamburger--htx.is-active span::before,
.bd_hamburger--htx.is-active span::after {
    transition-delay: 0s, 0.35s;
}
footer {
    margin: auto 0 0;
}
.bd_footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px 0;
}
.bd_footer_copyright {
    margin: 0 auto;
    font-size: 20px;
    font-weight: 400;
}
.bd_contacts_footer {
    display: flex;
    flex-direction: row;
    margin: 0 auto 35px;
}
.bd_contacts_footer a {
    font-size: 24px;
}
.bd_contacts_footer li:last-child {
    margin-left: 40px;
}

.bd_into {
    display: flex;
    flex-direction: column;
    width: 60%;
    margin: 100px auto;
}


.bd_section_title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 0 25px;
}

.bd_projects_list {
	position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}
.bd_project {
	position: relative;
    display: flex;
    width: 49%;
    margin: 0 0 2%;
    cursor: pointer;
}
.bd_project_image_block {
    position: relative;
    display: flex;
    width: 100%;
    height: 0;
    padding-bottom: calc(360/640 * 100%);
    overflow: hidden;
    border-radius: 8px;
}
.bd_project_image {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
}
.bd_project_text_block {
	position: absolute;
	display: flex;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}
.bd_project_text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 90%;
    margin: auto auto 5%;
}
.bd_project_text h3,
.bd_project_text p {
    color: var(--white);
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}
.bd_btn_block {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    margin: 25px 0;
}
.bd_mywork {
	margin-top: 50px;
}

.bd_project_template {
	margin-top: 50px;
}
.bd_project_banner .bd_article_container {
	margin-bottom: 30px;
}
.bd_article_container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.bd_article_container p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 15px;
    color: var(--darkgrey);
}
.bd_project_banner_image {
    border-radius: 8px;
}
p.bd_project_reading_time {
    font-size: 14px;
    background-color: #eee;
    align-self: flex-start;
    padding: 6px 12px 7px;
    border-radius: 30px;
    font-weight: 600;
}
.bd_article_container ul,
.bd_article_container ol {
    padding: 8px;
    margin-bottom: 15px;
}
.bd_article_container ul>li {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
    padding: 3px 0 3px 15px;
    color: var(--darkgrey);
    list-style-type: disc;
    list-style-position: inside;
}
.bd_article_container ol>li {
	font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
    padding: 3px 0 3px 15px;
    color: var(--darkgrey);
    list-style-type: decimal;
    list-style-position: inside;
}
.bd_article_container ul.bd_list-no_decoration>li,
.bd_article_container ol.bd_list-no_decoration>li {
    list-style-type: none;
}
.bd_article_container h5 {
    margin: 30px 0 10px;
}
.bd_article_container .link {
    display: flex;
    align-self: flex-start;
    margin: 0 0 40px;
    font-weight: 600;
}
.bd_project_large_img {
    width: 100%;
    max-width: 1000px;
    border-radius: 8px;
}
.bd_iframe_container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    margin: 15px 0 35px;
}
.bd_responsive_iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.slick-slide {

}
.slick-slide {
    width: 100%;
    max-width: 500px;
}
.bd_side_by_side_images {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 900px;
    margin: 20px auto 40px;
    justify-content: space-evenly;
}
.bd_side_by_side_image {
    width: 100%;
    max-width: 330px;
}
.bd_cv {
    max-width: 800px;
    margin: 50px auto;
}
.bd_cv_job {
    margin: 35px 0 0;
}
.bd_cv_job_desc {
    margin: 10px 0 0 25px;
}
.bd_cv_edu_items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}
.bd_cv_edu_item {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: 0 0 25px;
}
@media only screen and (max-width: 1024px) {
    .container {
        width: 96%;
        margin: 0 auto;
    }
    .bd_project_template {
        margin: 50px auto 0;
    }
}

@media only screen and (max-width: 800px) {
    .bd_project {
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    h1, .h1 {
        font-size: 30px;
        margin: 0 0 10px;
        
    }
    h2, .h2 {
        font-size: 26px;
        margin: 0 0 10px;
    }
    h3, .h3 {
        font-size: 22px;
        margin: 0 0 8px;
    }
    h4, .h4 {
        font-size: 20px;
        margin: 0 0 8px;
    }
    h5, .h5 {
        font-size: 18px;
        margin: 0 0 8px;
    }
    h6, .h6 {
        font-size: 16px;
        margin: 0 0 8px;
    }
    p, .p {
        font-size: 16px;
    }
    .btn {
        font-size: 18px;
    }
    .bd_hamburger {
        display: block;
    }
    .bd_nav {
        position: fixed;
        height: 100vh;
        top: 0;
        left: 100%;
        background-color: #fff;
        z-index: 1;
        transition: 0.3s;
        visibility: hidden;
        width: 100%;
        height: 100%;
    }
    .bd_nav_show {
        left: 0;
        visibility: visible;
    }
    .modal-open {
        overflow: hidden;
        position: fixed;
        left: 0;
        right: 0;
        z-index: -10;
    }
    .bd_nav_list {
        flex-direction: column;
        width: 100%;
        margin: auto;
    }
    .bd_nav_link {
        width: 96%;
        max-width: 345px;
        margin: 0 auto;
        padding: 15px 0;
        font-size: 24px;
        text-align: center;
    }
    .bd_nav_list_item {
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    .container {
        max-width: 345px;
    }
    .bd_project_template {
        margin: 15px auto 0;
    }
    .bd_project {
        margin: 0 0 15px;
    }
    .bd_article_container p {
        font-size: 18px;
        line-height: 1.5;
        margin: 0 0 20px;
    }
    p.bd_project_reading_time {
        font-size: 14px;
    }
    .bd_into {
        width: 90%;
        margin: 50px auto;
    }
}





