* {
    font-family: 'Raleway', sans-serif;
    text-rendering: optimizeLegibility;
}

body::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb {
    background-color: #1f282e;
}

ul {
    list-style-type: square;
}

body {
    background-color: #fcfffd;
    display: none;
}

strong {
    font-weight: 600;
}

hr {
    /* width: 80%; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #27323a;
}

.alert {
    font-family: 'Open Sans', sans-serif;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.section-dark {
    background-color: #27323a;
}

.main-section {
    /* min-height: 500px; */
    color: #27323a;
}

.page-top {
    position: relative;
    display: flex;
    justify-content: center;
}

.page-top-text h1,
.page-top-text h3 {
    color: white;
}

.page-top .page-top-text {
    position: absolute;
    top: 30%;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

div.page-top-text h1 {
    font-size: 50pt;
}

div.page-top-text h3 {
    margin-top: 30px;
    font-size: 30pt;
}

.lime-color {
    color: #159957;
}

.btn.btn-outline {
    border: 2px solid white;
    color: white;
    transition: 0.2s ease;
    height: 45px;
    font-size: 14pt;
}

.btn.btn-outline:hover {
    opacity: 1;
    background-color: #159957;
    border-color: #159957;
    color: white;
}

.btn.btn-outline-dark {
    border: 2px solid #27323a;
    color: #27323a;
    transition: 0.2s ease;
    height: 45px;
    font-size: 16pt;
}

.btn.btn-outline-dark:hover {
    opacity: 1;
    background-color: #27323a;
    color: white;
}

.arrow {
    background: white;
    height: 2px;
    width: 10px;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    transition: 0.2s ease;
    margin-left: 4px;
    margin-bottom: 2px;
}

.arrow:before {
    position: absolute;
    content: "";
    width: 8px;
    height: 2px;
    background-color: white;
    top: -2px;
    display: inline-block;
    transform: rotate(30deg);
}

.arrow:after {
    position: absolute;
    content: "";
    width: 8px;
    height: 2px;
    background-color: white;
    top: 2px;
    display: inline-block;
    transform: rotate(150deg);
}

.btn.btn-outline:hover .arrow {
    transform: rotate(90deg);
}

.btn.btn-outline:hover .arrow,
.btn.btn-outline:hover .arrow:before,
.btn.btn-outline:hover .arrow:after {
    opacity: 1;
    background-color: white;
}

nav.navbar {
    background-color: #1f282e;
    color: white;
}

nav.navbar .navbar-toggler {
    color: white !important;
}

footer.footer {
    line-height: 100px;
    color: white !important;
    font-size: 14pt;
    padding-left: 20px;
    position: relative;
}

footer.footer .alert {
    font-size: 12pt;
    line-height: 24px;
    font-weight: 400;
}

div.copyright {
    font-size: 16pt;
    font-weight: normal;
}

div.section-social {
    display: inline-block;
    width: 100%;
    text-align: center;
}

div.section-social i {
    color: white;
    font-size: 33px;
    border: 3px solid white;
    border-radius: 50%;
    padding: 7px;
    width: 60px;
    height: 55px;
    text-align: center;
    cursor: pointer;
    margin-right: 10px;
}

div.section-social i:hover {
    color: #27323a;
    background-color: white;
    border-color: #27323a;
}

div.about-section {
    background-color: white;
}

div.section-top {
    margin-top: 30px;
}

div.section-header {
    color: #27323a;
    text-align: center;
    font-size: 26pt;
    position: relative;
    text-transform: uppercase;
    margin: 0 auto;
}

div.section-header-underline {
    width: 120px;
    height: 4px;
    background-color: #27323a;
    margin: 0 auto;
    margin-top: 6px;
    margin-bottom: 50px;
}

div.section-header-underline-light {
    width: 120px;
    height: 4px;
    background-color: #159957;
    margin: 0 auto;
    margin-top: 6px;
    margin-bottom: 50px;
}

div.about-left {
    border-right: 1px solid #27323a;
    padding-top: 20px;
    padding-bottom: 20px;
}

div.about-left>img {
    width: 96%;
    height: 260px;
}

div.about-right {
    font-size: 14pt;
    padding-left: 30px;
    text-align: justify;
    padding-top: 20px;
}

div.tile-title-overlay-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.8));
    height: 50%;
    width: 100%;
    position: absolute;
    z-index: 1;
    bottom: 0;
}

div.project-tile-featured {
    height: 300px;
}

div.project-tile {
    height: 300px;
    text-align: center;
    transition: 0.2s ease;
    position: relative;
}

div.project-tile:hover .project-image {
    opacity: 0.02;
    z-index: -1;
}

div.project-image {
    overflow: hidden;
    height: 300px;
    opacity: 1;
    transition: opacity .20s;
    position: relative;
    z-index: -1;
}

div.project-title-overlay {
    position: absolute;
    z-index: 1;
    color: white;
    font-size: 32pt;
    bottom: 0;
    right: 10px;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(50px);
    }
}

@keyframes slideUp {
    0% {
        opacity: 1;
        transform: translateY(50px);
    }
    30% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

@keyframes slideUpFromBottom {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(-50px);
    }
}

@keyframes slideDownToBottom {
    0% {
        opacity: 1;
        transform: translateY(-50px);
    }
    30% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

div.project-tile:hover>.project-title {
    opacity: 1;
    animation: slideDown .40s forwards;
}

div.project-tile:hover>.project-learn-more {
    opacity: 1;
    animation: slideUpFromBottom .40s forwards;
    z-index: 5;
    display: inline-block;
}

div.project-tile:hover .tile-title-overlay-bg {
    display: none;
}

div.project-title {
    position: absolute;
    text-align: center;
    width: 100%;
    font-weight: bolder;
    opacity: 0;
    top: 0;
    left: 0;
    font-size: 20pt;
    animation: slideUp .70s forwards;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
}

div.project-title>div.blurb {
    font-size: 12pt;
    margin-top: 20px;
    position: relative;
    font-weight: 100;
}

div.project-learn-more {
    position: absolute;
    text-align: center;
    width: 100%;
    font-weight: bolder;
    opacity: 0;
    bottom: 0;
    left: 0;
    margin: 0 auto;
    animation: slideDownToBottom .70s forwards;
    z-index: 5;
    display: none;
}


/* Writing section */

div.writing-tile {
    height: 300px;
    text-align: center;
    transition: 0.2s ease;
    position: relative;
}

div.writing-tile:hover .writing-image {
    opacity: 0.02;
    z-index: -1;
}

div.writing-image {
    overflow: hidden;
    height: 300px;
    opacity: 1;
    transition: opacity .20s;
    position: relative;
    z-index: -1;
    width: auto;
}

div.writing-tile:hover>.writing-title {
    opacity: 1;
    animation: slideDown .40s forwards;
}

div.writing-tile:hover>.writing-read-post {
    opacity: 1;
    animation: slideUpFromBottom .40s forwards;
    z-index: 5;
}

div.writing-tile:hover .tile-title-overlay-bg {
    display: none;
}

div.writing-title {
    position: absolute;
    text-align: center;
    width: 100%;
    font-weight: bolder;
    opacity: 0;
    top: 0;
    left: 0;
    font-size: 20pt;
    animation: slideUp .70s forwards;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
}

div.writing-title>div.blurb {
    font-size: 12pt;
    margin-top: 20px;
    position: relative;
    font-weight: 100;
}

div.writing-read-post {
    position: absolute;
    text-align: center;
    width: 100%;
    font-weight: bolder;
    opacity: 0;
    bottom: 0;
    left: 0;
    margin: 0 auto;
    animation: slideDownToBottom .70s forwards;
    z-index: 5;
}

div.tile-title-overlay {
    position: absolute;
    z-index: 1;
    color: white;
    font-size: 32pt;
    bottom: 0;
    right: 10px;
}

div.tile-title-overlay-full-width {
    position: absolute;
    z-index: 1;
    color: black;
    font-size: 32pt;
    top: 0;
    right: 30px;
    width: 50%;
    text-align: right;
    font-size: 26pt;
}


/* Publication section */

div.publication-tile {
    height: 300px;
    text-align: center;
    transition: 0.2s ease;
    position: relative;
}

div.publication-tile:hover .publication-image {
    opacity: 0.02;
    z-index: -1;
}

div.publication-image {
    overflow: hidden;
    height: 300px;
    opacity: 1;
    transition: opacity .20s;
    position: relative;
    z-index: -1;
}

div.publication-tile:hover>.publication-title {
    opacity: 1;
    animation: slideDown .40s forwards;
}

div.publication-tile:hover>.publication-read-post {
    opacity: 1;
    animation: slideUpFromBottom .40s forwards;
    z-index: 5;
}

div.publication-title {
    position: absolute;
    text-align: center;
    width: 100%;
    font-weight: bolder;
    opacity: 0;
    top: 0;
    left: 0;
    font-size: 20pt;
    animation: slideUp .70s forwards;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
}

div.publication-title>div.blurb {
    font-size: 12pt;
    margin-top: 20px;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 100;
}

div.publication-read-post {
    position: absolute;
    text-align: center;
    width: 100%;
    font-weight: bolder;
    opacity: 0;
    bottom: 0;
    left: 0;
    margin: 0 auto;
    animation: slideDownToBottom .70s forwards;
    z-index: 5;
}


/* Contact section */

div.contact-blurb {
    font-size: 16pt;
    text-align: center;
    color: white;
    line-height: 24px;
    margin-bottom: 24px;
}

div.contact-section div.section-header {
    color: white;
}

div.contact-section form {
    width: 60%;
    margin: 0 auto;
}

div.contact-section form input,
div.contact-section form textarea,
div.contact-section form input:focus,
div.contact-section form textarea:focus {
    background-color: #1E242C;
    color: white;
}

div.contact-section form input::placeholder,
div.contact-section form textarea::placeholder {
    color: #8c918c;
}

div.contact-section button[type=submit] {
    margin-top: -46px;
}

div.contact-section form input,
div.contact-section form textarea {
    border: none;
}

button .fa-spin {
    margin-right: 2px;
    margin-bottom: 2px;
    font-size: 12pt;
}


/* Page section*/

div.page-section {
    padding: 10px 30px;
}

div.page-section h2 {
    color: #159957;
    margin-bottom: 20px;
}

div.page-section h3 {
    color: #159957;
    font-size: 15pt;
    margin-top: 40px;
    font-weight: bold;
}


/* Ironmon stuff */

ul#commandsList {
    margin: 0;
    padding: 0;
}

ul#commandsList hr {
    width: 100%;
}

ul#commandsList>li {
    list-style-type: none;
    width: 100%;
    padding: 12px;
    line-height: 30px;
}

.biggerCode {
    font-size: 16pt;
}

.botResponse {
    font-size: 10pt;
}

code {
    color: #159957;
}

div.available-options {
    margin-top: 20px;
    font-size: 10pt;
    margin-bottom: 0;
    width: 50%;
}

@media only screen and (max-width: 1200px) {
    div.about-right {
        text-align: left;
    }
    div.about-left {
        border: none;
    }
    div.about-left>img {
        height: 360px;
    }
}

@media only screen and (max-width: 991px) {
    div.about-right {
        text-align: left;
        display: block;
    }
    div.about-left {
        display: block;
    }
    div.about-left>img {
        height: 300px;
    }
    div.contact-blurb {
        font-size: 14pt;
    }
    div.projects-section div.col-xl,
    div.writing-section div.col-xl,
    div.publications-section div.col-xl {
        width: 540px !important;
        margin: 0 auto !important;
    }
    div.publication-title .blurb {
        display: none;
    }
    div.publication-tile div.tile-title-overlay,
    div.publication-tile div.tile-title-overlay-full-width {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    nav.navbar {
        position: relative;
    }
    img#logo {
        /* position: absolute;
        left: 16px;
        top: 5px;
        width: 46px; */
    }
    div.page-top-text h1 {
        font-size: 40pt;
    }
    div.page-top-text h3 {
        margin-top: 30px;
        font-size: 20pt;
    }
    div.about-left {
        border: none;
        /* padding-left: 30px; */
    }
    div.about-left>img {
        width: 100%;
        height: 100%;
    }
    div.about-right {
        padding-left: 16px;
        width: 100%;
    }
    div.contact-blurb {
        font-size: 12pt;
        padding-left: 10px;
        padding-right: 10px;
    }
    div.projects-section div.col-xl,
    div.writing-section div.col-xl,
    div.publications-section div.col-xl {
        width: 100% !important;
        margin: 0 auto !important;
    }
    div.project-image img {
        /* height: 360px; */
        width: 100%;
    }
    div.project-image {
        /* height: 360px; */
        width: 100%;
    }
    div.project-tile {
        /* height: 360px; */
        width: 100%;
    }
    div.writing-image img {
        /* max-width: 650px !important;
        height: 360px; */
        width: 100%;
    }
    div.writing-image {
        /* height: 360px; */
        width: 100%;
    }
    div.writing-tile {
        /* height: 360px; */
        width: 100%;
    }
    div.writing-tile div.tile-title-overlay {
        /* font-size: 36px !important; */
    }
    div.publication-title .blurb {
        display: none;
    }
    div.publication-tile div.tile-title-overlay,
    div.publication-tile div.tile-title-overlay-full-width {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    div#divLogo {
        position: absolute;
        left: 10px;
        top: 4px;
    }
    div.navbar-collapse {
        padding-top: 20px;
    }
    .tile-title-overlay {
        font-size: 18px;
    }
    div.project-image {
        height: 200px !important;
    }
    div.project-tile-featured.project-tile {
        height: 200px !important;
    }
    div.project-tile {
        height: auto !important;
    }
    div.writing-image {
        height: 200px !important;
    }
    div.writing-tile {
        height: auto !important;
    }
    div.tile-title-overlay {
        font-size: 19pt !important;
    }
    div.project-title {
        top: -40px;
    }
    div.project-learn-more {
        position: relative;
        bottom: 10px;
    }
    div.project-title .blurb {
        margin-top: 0 !important;
    }
    div.writing-title {
        top: -40px;
    }
    div.writing-read-post {
        position: relative;
    }
    div.writing-title .blurb {
        margin-top: 0 !important;
    }
}