@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Roboto:wght@400;500;700&display=swap');

:root {
	--grey-lightest: #f7f7f7;
    --grey-light: #e6e6e6;
    --grey-medium: #aaa;
    --grey-dark: #222;
    --grey-border: #ccc;
    --grey-border-dark: #aaa;
    --primary: #222;
    --primary-hover: #284b56;
    --secondary: #333;
}

body {
	font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--grey-dark);
    line-height: 27px;
    background: var(--grey-lightest);
}
a {
    color: var(--primary);
}
a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bree Serif', serif;
  font-weight: 400;
  color: var(--grey-dark);
  line-height: 1.4;
}
h1 {
    margin-bottom: 1rem;
    font-size: 54px;
}
h2 {
    font-size: 36px;
}
h3 {
  font-size: 22px;
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 16px;
}
h6 {
  font-size: 14px;
}
main {
    margin-top: 125px;
    margin-bottom: 0;
}
hr {
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--grey-border);
    opacity: 1;
}
li {
    margin-bottom: 10px;
}

.nav {
	margin: 15px;
	padding-left: 10px;
	padding-right: 10px;
	border: 1px solid var(--grey-border);
	border-radius: 6px;
	background: #fff;
	-webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.12);
	-moz-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.12);
	box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.12);
}
.nav .logo {
	padding-top: 20px;
}
.nav .logo img {
	height: 32px;
	
}

.main-menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	float: right;
}
.main-menu li {
	float: left;
	margin: 0;
	padding: 0;	
}
.main-menu li a {
	display: block;
	font-size: 16px;
	font-weight: 500;
	color: var(--grey-dark);
	padding: 0 30px;
	line-height: 65px;
	text-decoration: none;
	border-bottom: 5px solid transparent;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.main-menu li a:hover {
	background: var(--grey-lightest);
}


.footer {
    margin-top: 60px;
    border-top: 1px solid var(--grey-border);
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    line-height: 29px;
	background: #fff;
}
.footer a {
    color: var(--grey-dark);
    text-decoration: none;
}
.footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}
.footer-left h6 {
    margin-bottom: 2px;
}
.footer-right {
    text-align: right;
}
.footer-right a:last-child {
    margin-left: 15px;
}

.lead {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.7;
}
.primary-color-text {
    /*color: var(--primary);*/
}
.border-image {
	border: 1px solid var(--grey-border-dark);
}
#btn-back-to-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: none;
}
#btn-back-to-top img {
    width: 64px;
    height: 64px;
}
#btn-back-to-top img:hover {
    filter: brightness(85%);
}

/* ------------------- Home ------------------- */
.home-wrapper {
    /*position: absolute;
    top: 40%;*/
    text-align: center;
    width: 100%;
	
	height: 100%;
	align-content: center;
}
.home {
    text-align: center;
}
.home h1 {
    margin-bottom: 30px;
    font-size: 58px;
    line-height: 1.3;
}

/* ------------------- About ------------------- */
.about-connect {
    line-height: 2;
}
.about-photo {
    text-align: center;
}
.about-photo img {
    margin: 0 auto;
    width: 75%;
}
.about-row-odd {
    padding-top: 30px;
    padding-bottom: 30px;
    background: transparent;
	
	padding: 30px;
}
.about-row-odd h4 {
    margin-bottom: 15px;
}
.about-row-even {
    padding-top: 30px;
    padding-bottom: 30px;
    background: #fff;
    border-radius: 6px;
	border: 1px solid #ddd;
	
	padding: 30px;
	border: 1px solid var(--grey-border);
	-webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.12);
	-moz-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.12);
	box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.12);
}
.about-skills {
	margin-top: 60px;
	padding-top: 60px;
	padding-bottom: 60px;
	color: #fff;
    line-height: 30px;
    background: var(--secondary);
}
.about-skills h2 {
    font-size: 30px;
	color: #fff;
}

/* ------------------- Work ------------------- */
.card {
    background: #fff;
    border: 1px solid var(--grey-border);
    border-radius: 6px;
	-webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.12);
	-moz-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.12);
	box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.12);
}
.card img {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom: 1px solid var(--grey-light);
}
.card-body {    
    padding: 0 25px;
}
.card-body h3 {
    margin-top: 15px;
}
.card-footer {
    border: none;
    padding: 0 25px 25px 25px;
    background: none;
}
.back-button {
    padding-top: 20px;
}
.work-container {
    margin-bottom: 60px;
}
.work-project img {
	width: 100%;
}
.work-project .container-fluid {
	margin-top: 60px;
	margin-bottom: 60px;
}
.work-project .spacer-top {
	margin-top: 60px;
}
.work-project .spacer-bottom {
	margin-bottom: 60px;
}
/*.work-project-wrapper-full {
	margin-top: 60px;
	margin-bottom: 60px;
	padding: 24px 12px 8px 12px;
	background: #fff;
}*/
/*.work-project-wrapper-full img {
	border: 1px solid var(--grey-border-dark);
}
.work-project-image {
	border: 1px solid var(--grey-border-dark);
}*/
.work-project-details div {
    margin-right: 45px;
}

@media (max-width: 1600px) {
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1140px;
}
}

@media (max-width: 1140px) {
.about-row-even {
    border-radius: 0;
}
}

@media (max-width: 991px) {
/*.work-project-wrapper-full {
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 12px 0 0 0;
}*/
.work-project .container-fluid {
	margin-top: 0px;
	margin-bottom: 0px;
}
.work-project .spacer-top {
	margin-top: 15px;
}
.work-project .spacer-bottom {
	margin-bottom: 15px;
}
}

@media (max-width: 767px) {
.about-photo img {
    width: 100%;
}
}

@media screen and (max-width: 575px) {
h1 {
  font-size: 36px;
}
h2 {
  font-size: 28px;
}
main {
    margin-top: 85px;
    margin-bottom: 0;
}
.btn {
    width: 100%;
}

.nav {
	margin: 0;
	border-top: 0px;
	border-right: 0px;
	border-left: 0px;
	border-radius: 0;
}	
.nav .logo {
	padding-top: 13px;
}
.nav .logo img {
	height: 34px;
}
.main-menu li a {
	padding: 0 15px;
	line-height: 55px;
}
.footer {
    padding-bottom: 25px;
}
.footer-right a:last-child {
    margin-left: 10px;
}
#btn-back-to-top {
  bottom: 5px;
}
.lead {
    font-size: 16px;
    line-height: 25px;
}
.home-wrapper {
    top: 25%;
}
.home h1 {
    font-size: 40px;
}
.home .btn {
    margin-bottom: 15px;
}
.about-row-odd {
    padding-top: 15px;
    padding-bottom: 15px;
	
	padding: 15px;
}
.about-row-even {
    padding-top: 15px;
    padding-bottom: 15px;
	
	padding: 15px;
}
.about-skills {
	margin-top: 30px;
	padding-top: 30px;
	padding-bottom: 30px;
}
.back-button {
    padding-top: 10px;
}
.back-button .btn {
    width: 90px;
    min-width: 90px;
    line-height: 38px;
}
.work-project-details div {
    margin-right: 30px;
}
}
