@font-face {
    font-family: "lmsans";
    src: url("fonts/lmsans10-regular.otf") format("opentype");
}

@font-face {
    font-family: "lmsans";
    src: url("fonts/lmsans10-bold.otf") format("opentype");
    font-weight: bold;
}

@font-face {
    font-family: "lmsans";
    src: url("fonts/lmsans10-oblique.otf") format("opentype");
    font-style: oblique;
}

@font-face {
    font-family: "lmsans";
    src: url("fonts/lmsans10-boldoblique.otf") format("opentype");
    font-weight: bold;
    font-style: oblique;
}

html, body {
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    font-weight: 300;
    font-family: Open Sans, Helvetica Neue, Arial, sans-serif;
}

body {
    font-size: 12pt;
}

a {
    color: #668198;
}

a:hover {
    color: #295880;
}

.main-container {
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.header {
    font-family: "lmsans";
    border-radius: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    background-color: #fdfdfd;
}

.header h1 {
    font-weight: bold;
    margin-top: 4px;
    margin-bottom: 10px;
    color: #a8c8ca;
}

.contact-info {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.contact-info > .fa {
    width: auto;
    height: auto;
    margin-right: 4px;
    font-size: 80%;
    color: #999;
}

.contact-info > .fa-circle {
    margin-right: 14px;
    margin-left: 14px;
    font-size: 35%;
}

.contact-info > a {
    padding-bottom: 2px;
    font-size: 80%;
}

.subtitle {
    color: #999;
    font-style: italic;
    font-size: 80%;
}

.tab-menu {
    width: 100%;
    min-height: 32px;
    max-height: 32px;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    margin: 0;
}

.tab-menu button {
    font-size: 10pt;
    flex-grow: 1;
    background-color: #ddd;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    transition: 0.3s;
    text-decoration: none;
    color: #999;
    text-transform: uppercase;
    border-bottom: 2px solid #ddd;
    border-radius: 20px 20px 0px 0px;
}

.tab-menu button:hover {
    background-color: #ddd;
    color: #f8775e;
}

.tab-menutab button.active {
    background-color: #ccc;
}

#tab-active {
    background-color: inherit;
    color: #f8775e;
}

.tab-page {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 1s; 
}
  
.tab-page.fade-in {
    opacity: 1;
    height: auto;
}

.contact-container {
    text-align: right;
    position: absolute;
    width: 100%;
    z-index: 2;
}

#page-div {
    margin-top: 25px;
    height: 85%;
    position: relative;
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(rgb(255, 255, 255), rgb(214, 214, 214));
}

#about-me-div {
    width: 90rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#about-me-div p {
    color: #777;
}

#about-me-div h1, h2, h3, h4 {
    font-family: "lmsans";
    font-weight: bold;
}

#about-me-img {
    border-radius: 50%;
    box-shadow: 0px 0px 5px #ccc;
    margin-right: 50px;
    width:  200px;
    height: 200px;
}

.left-image {
    border-radius: 50%;
    box-shadow: 0px 0px 5px #ccc;
    margin-right: 50px;
    width:  300px;
    height: 300px;
}

.right-image {
    border-radius: 50%;
    box-shadow: 0px 0px 5px #ccc;
    margin-left: 50px;
    width:  300px;
    height: 300px;
}

.side-by-side-div {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    margin-bottom: 30px;
    align-items: center;
}

.side-by-side-no-align-div {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    margin-bottom: 30px;
}

#content-container {
    padding-top: 50px;
    padding-bottom: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
}

#content-container > hr {
    width: 90rem;
    border-top-color: #bbb;
    margin-top: 50px;
}

#content-container > a {
    margin-bottom: 20px;
}

.project-container {
    width: 90rem;
    text-align: center;
}

.project-title {
    font-size: 175%;
    font-family: "lmsans";
    font-weight: bold;
    margin: 20px 0px 20px 0px;
}

.project-description {
    text-align: left;
    color: #777;
    margin-bottom: 25px;
}

.project-description > ul {
    margin-top: 8px;
    padding-left: 25px;
}

.carousel {
    transition: 0.3s;
    box-shadow: 0px 0px 5px #ccc;
    margin-left: auto;
    margin-right: auto;
}

.image-landscape {
    width:  90rem !important;
    height: calc(90rem * 9 / 16) !important;
}

.image-portrait {
    width:  calc(90rem * 9 / 16) !important;
    height: 90rem !important;
}

.carousel-control.left {
    background-image: none;
}

.carousel-control.right {
    background-image: none;
}

.carousel-inner > .item > img {
    object-fit: contain;
    background-color: black;
}