/* ==========================================================================
   Variables
   ========================================================================== */

/* Light mode variables */
:root,
:root[data-force-color-mode="light"] {
    /*color-scheme: light dark;*/
    --text-color: #000;
    --background-color: #fff;
    --input-color: #222;
    --main-h1-color: #0b2740;
    --main-h2-color: #0d2942;
    --main-h2-background-color: #f1f1f1;
    --project-title-color: #0b2740;
    --project-a-border: solid 3px #b6e1ff;
    --link-color: #0065ad;
    --vex-background-color: #fff;
    --vex-border-color: #289aff;
    --dialog-input-label-color: #000;
    --dialog-input-color: #000;
    --dialog-input-border-color: #f0f0f0;
    --dialog-input-background-color: #f0f0f0;
    --dialog-close-border-color: #f0f0f0;
    --dialog-close-background-color: #f0f0f0;
    --social-border-color: #979797;
    --webkit-autofill-border-color: #c5d8e5;
    --webkit-autofill-text-fill-color: #000;
    --webkit-autofill-background-color: #c5d8e5;
    --eyes-color-stop1: #02a7c8;
    --eyes-color-stop2: #0c7be2;
    --eyes-color-stop3: #00a6f1;
}

/* Styles for forced dark mode */
:root[data-force-color-mode='dark'] {
    --text-color: #fff;
    --background-color: #000;
    --input-color: #fff;
    --main-h1-color: #fff;
    --main-h2-color: #c9d3dc;
    --main-h2-background-color: #0e0e0e;
    --project-title-color: #74787e;
    --project-a-border: none;
    --link-color: #19b1f2;
    --vex-background-color: #1a1a1a;
    --dialog-input-label-color: #889097;
    --dialog-input-color: #fff;
    --dialog-input-border-color: #2a2b2c;
    --dialog-input-background-color: #121212;
    --dialog-close-border-color: #4b4b4b;
    --dialog-close-background-color: transparent;
    --social-border-color: #3f3f3f;
    --webkit-autofill-border-color: #222730;
    --webkit-autofill-text-fill-color: #fff;
    --webkit-autofill-background-color: #222730;
    --eyes-color-stop1: #02a7c8;
    --eyes-color-stop2: #0c7be2;
    --eyes-color-stop3: #00a6f1;
    }

/* ==========================================================================
   Base styles and resets
   ========================================================================== */

html {
    color: var(--text-color);
    background: var(--background-color);
}

    html.noscroll {
        overflow-x: hidden;
        overflow-y: hidden;
    }

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

/*html::-webkit-scrollbar {
    color: #676767;
}

html::-webkit-scrollbar-track {
    color: #424242;
}

html::-webkit-scrollbar-thumb {
    background: #fff;
}*/

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset, img {
    border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}

li {
    list-style: none;
}

caption, th {
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before, q:after {
    content: '';
}

abbr, acronym {
    border: 0;
    font-variant: normal;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

input, textarea, select {
    *font-size: 100%;
}

    F,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    textarea:-webkit-autofill,
    textarea:-webkit-autofill:hover,
    textarea:-webkit-autofill:focus,
    select:-webkit-autofill,
    select:-webkit-autofill:hover,
    select:-webkit-autofill:focus {
        border: 1px solid var(--webkit-autofill-border-color);
        -webkit-text-fill-color: var(--webkit-autofill-text-fill-color);
        -webkit-box-shadow: 0 0 0px 1000px var(--webkit-autofill-background-color) inset;
        transition: background-color 5000s ease-in-out 0s;
    }

legend {
    color: var(--text-color);
}

html {
    -webkit-text-size-adjust: none;
}

strong {
    font-weight: bold;
}

img {
    vertical-align: top;
}

.cl {
    clear: both;
    font-size: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, main {
    display: block;
}

audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

    audio:not([controls]) {
        display: none;
    }

[hidden] {
    display: none;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html, button, input, select, textarea {
    font-family: sans-serif;
    color: var(--input-color);
}

body {
    margin: 0;
    font-size: 1em;
    line-height: 1.4;
}

a {
    color: var(--link-color);
}

    a:focus {
        outline: thin dotted;
    }

    a:hover, a:active {
        outline: 0;
    }

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: bold;
}

blockquote {
    margin: 1em 40px;
}

dfn {
    font-style: italic;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

ins {
    background: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background: #ff0;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

pre, code, kbd, samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

q {
    quotes: none;
}

    q:before, q:after {
        content: "";
        content: none;
    }

small {
    font-size: 85%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

ul, ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
    margin: 0;
    padding: 0;
}

dd {
    margin: 0 0 0 40px;
}

nav ul, nav ol {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

form {
    margin: 0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

legend {
    border: 0;
    *margin-left: -7px;
    padding: 0;
    white-space: normal;
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

button, input {
    line-height: normal;
}

    button, input[type="button"], input[type="reset"], input[type="submit"] {
        cursor: pointer;
        -webkit-appearance: button;
        *overflow: visible;
    }

        button[disabled], input[disabled] {
            cursor: default;
        }

    input[type="checkbox"], input[type="radio"] {
        box-sizing: border-box;
        padding: 0;
        *width: 13px;
        *height: 13px;
    }

    input[type="search"] {
        -webkit-appearance: textfield;
        -moz-box-sizing: content-box;
        -webkit-box-sizing: content-box;
        box-sizing: content-box;
    }

        input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button {
            -webkit-appearance: none;
        }

    button::-moz-focus-inner, input::-moz-focus-inner {
        border: 0;
        padding: 0;
    }

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td {
    vertical-align: top;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: black;
    padding: 0.2em 0;
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   General styles
   ========================================================================== */
html {
    background: var(--background-color);
    overflow-y: scroll;
}

body {
    font-family: 'Droid Serif', Times, serif;
    color: var(--text-color);
}

.container {
    width: 850px;
    margin: 0 auto;
}

    .container:before, #container:after {
        content: "";
        display: table;
    }

    .container:after {
        clear: both;
    }

.container {
    *zoom: 1;
}

.row {
    position: relative;
    margin: 0 -10px;
}

    .row:before, .row:after {
        content: "";
        display: table;
    }

    .row:after {
        clear: both;
    }

.row {
    *zoom: 1;
}

.col4 {
    width: 33.3333%;
    float: left;
    padding: 0 10px;
}

a {
    text-decoration: none;
    outline: none !important;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { /* WebKit browsers */
    color: var(--text-color);
    opacity: 1;
    font-size: 11px;
}

input:-moz-placeholder, textarea:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: var(--text-color);
    opacity: 1;
    font-size: 11px;
}

input::-moz-placeholder, textarea::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: var(--text-color);
    opacity: 1;
    font-size: 11px;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: var(--text-color);
    opacity: 1;
    font-size: 11px;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* ==========================================================================
   Font face
   ========================================================================== */
@font-face {
    font-family: 'texgyreherosbold';
    src: url('../fonts/texgyreheros-bold-webfont.eot');
    src: url('../fonts/texgyreheros-bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/texgyreheros-bold-webfont.woff') format('woff'), url('../fonts/texgyreheros-bold-webfont.ttf') format('truetype'), url('../fonts/texgyreheros-bold-webfont.svg#texgyreherosbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Droid Serif';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/DroidSerif-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Roboto-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/Roboto-500-Italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Roboto-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Main
   ========================================================================== */
main {
    position: relative;
    text-align: center;
}

#face-svg {
    fill: #29abe2;
}

#face {
    width: 191px;
    height: 191px;
    margin: 60px auto 0;
    -webkit-border-radius: 200px;
    border-radius: 200px;
    border: 4px solid #29abe2;
    overflow: hidden;
    position: relative;
}

    #face div {
        -webkit-border-radius: 200px;
        border-radius: 200px;
        position: absolute;
        top: 2px;
        left: 0;
        bottom: 0;
        right: 0;
        overflow: hidden;
    }

.face-transition {
    transition: transform 600ms ease 0s;
}

#face-svg-right-eye,
#face-svg-left-eye {
    fill: url(#face-gradient) #29abe2;
}


@keyframes blink {
    0% {
        ry: 8.149;
    }

    50% {
        ry: 0;
    }

    100% {
        ry: 8.149;
    }
}

.blink {
    animation-name: blink;
    animation-duration: 250ms;
    animation-iteration-count: 1;
}

.reflection-container {
    display: inline-block;
    position: relative;
}

#reflection {
    content: "";
    position: absolute;
    background: #29abe2;
    top: 260px;
    left: 0;
    width: 100%;
    height: 50px;
    transform: perspective(1.1em) rotateX(45deg) scale(1,0.35);
    filter: blur(1.4em);
    opacity: 0.45;
}

.reflection-transition {
    transition: top 600ms ease 0s, left 600ms ease 0s;
}

main h1 {
    font-family: "texgyreherosbold";
    font-size: 72px;
    color: var(--main-h1-color);
    line-height: 1em;
    margin: 60px 0 30px;
}

.introduction-wrap {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

main h2 {
    font-size: 20px;
    /*color: #151618;*/
    color: var(--main-h2-color);
    background: var(--main-h2-background-color);
    /*padding: 0 15%;*/
    border-radius: 10px;
    max-width: 636px;
    line-height: 1.7em;
    margin: 0 auto;
    padding: 30px 20px;
}

.color-mode-btn {
    margin: 0 auto;
    top: -10px;
    margin-top: -10px;
    background: var(--main-h2-background-color);
    border: none;
    outline: none;
    color: var(--main-h2-color);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 5px 10px;
}

.h-captcha {
    overflow: hidden;
    width: 299px;
    height: 73px;
    border-radius: 5px;
    margin: 0 auto;
}

iframe {
    margin: -2px 0px 0px -2px;
}

/* ==========================================================================
   Content
   ========================================================================== */
#content {
    position: relative;
}

#main {
    position: relative;
    margin-bottom: 50px;
}

.main-col-headers {
    line-height: 50px;
    height: 50px;
    display: block;
    text-align: center;
    width: 100%;
    background: #29abe2;
    font-size: 28px;
    color: var(--text-color);
    font-family: 'Roboto';
    font-weight: bold;
    border-radius: 5px;
}

.cont {
    margin-top: 25px;
    padding: 0 12px;
}

#main h3 {
    font-size: 20px;
    color: #0f8abf;
    font-weight: normal;
    font-family: 'Roboto';
    line-height: 1em;
    margin-bottom: 10px;
}

#main p {
    font-size: 15px;
    color: #323232;
    line-height: 1.6em;
    font-family: 'Roboto';
    margin-bottom: 38px;
}

.main-bg {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    bottom: 0;
    background: #e9e9e9;
    z-index: -999;
    background: linear-gradient(0deg, #f1f1f1 0%, #ffffff 10%);
}

/* ==========================================================================
   Open Source projects
   ========================================================================== */

.open-source-projects {
    font-weight: normal;
    font-family: 'Roboto';
}

#projects-title {
    color: var(--project-title-color);
    font-size: 35px;
    text-align: center;
    font-weight: bolder;
}

.project {
    max-width: 450px;
    margin: 40px auto 0;
    padding: 30px 35px;
    border-radius: 10px;
    background: var(--background-color);
    position: relative;
}

    .project h1 {
        font-size: 25px;
        text-align: center;
        font-weight: bolder;
    }

    .project p {
        font-size: 16px;
        line-height: 1.5em;
        margin-top: 15px;
    }

    .project a {
        font-size: 16px;
        margin-top: 30px;
        display: inline-block;
        border-bottom: var(--project-a-border);
        line-height: 1.2em;
    }

    .project div {
        text-align: center;
    }

.project:not(:first-of-type) {
    margin-top: 80px;
}

.rgb::after {
    content: "";
    background: linear-gradient(45deg, #0072ff 0%, #00e7ff 10%, #214cde 20%, #4a9fdc 30%, #3fdad8 40%, #2fc9e2 50%, #1c7fee 60%, #5f15f2 70%, #ba0cf8 80%, #fb07d9 90%, #ff0000 100% ) repeat 0% 0% / 300% 100%;
    position: absolute;
    inset: -3px;
    border-radius: 70px;
    filter: blur(3px);
    /*transform: translateZ(-1px);*/
    z-index: -1;
}

#homoglyphicIcon {
    max-height: 100px;
    margin: 0 auto 20px;
    display: block;
}

/* ==========================================================================
Footer
========================================================================== */
footer {
    position: relative;
    padding-bottom: 20px;
}

footer .container {
    width: 540px;
}

#social {
    text-align: center;
    margin: 65px 0 75px;
    border-top: 1px solid var(--social-border-color);
    padding-top: 40px;
}

    #social p {
        font-size: 26px;
        color: var(--main-h1-color);
        margin-bottom: 35px;
    }

    .social-icon-wrapper {
        border: solid 1px #29abe2;
        padding: 10px 12px;
        border-radius: 5px;
        display: inline-block;
        margin: 0 8px;
    }

.social-icon {
    overflow: hidden;
    text-indent: -999999px;
    display: block;
}

.social-github {
    background: url(../images/icons.png);
    width: 21px;
    height: 21px;
}

.social-twitter {
    background: url(../images/icons.png) -29px 0;
    width: 21px;
    height: 21px;
}

.social-email {
    background: url(../images/icons.png) -59px 0;
    width: 22px;
    height: 21px;
    cursor: pointer;
}

.social-linkedin {
    background: url(../images/icons.png) -89px 0;
    width: 22px;
    height: 21px;
}

.copyright {
    font-size: 9px;
    color: #151618;
    font-family: "texgyreherosbold";
    text-align: center;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.flicker {
    animation: flicker 0.5s infinite alternate;
}

@keyframes flicker {
    0%, 18%, 22%, 35%, 53%, 75%, 100% {
        opacity: 0.45;
    }

    20%, 24%, 45%, 55% {
        opacity: 0.25;
    }
}

/* ==========================================================================
   Vex.js Dialog
   ========================================================================== */

.vex-overlay {
    -webkit-animation: none;
    animation: none;
}

    .vex-overlay.vex-closing {
        -webkit-animation: none;
        animation: none;
    }

.vex-content {
    -webkit-animation: none;
    animation: none;
}

.vex.vex-closing .vex-content {
    -webkit-animation: none;
    animation: none;
}

.vex.vex-theme-default {
    padding-top: 20%;
}

    .vex.vex-theme-default .vex-content {
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
        padding: 0;
        display: inline-block;
        position: absolute;
        animation: none;
        -webkit-animation: none;
        background: var(--vex-background-color);
        border: solid 1px var(--vex-border-color);
        box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.44);
    }

    .vex.vex-theme-default .vex-content::after {
        content: "";
        background: linear-gradient(45deg, #0072ff 0%, #00e7ff 10%, #214cde 20%, #4a9fdc 30%, #3fdad8 40%, #2fc9e2 50%, #1c7fee 100% ) repeat 0% 0% / 300% 100%;
        position: absolute;
        inset: -1px;
        filter: blur(3px);
        transform: translateZ(-1px);
        z-index: -1;
        border-radius: 5px;
    }

.vex.vex-theme-default.vex-closing .vex-content {
    -webkit-animation: none;
    animation: none;
}

.dialog-box {
    padding: 1em;
    border-radius: 5px;
}

    .dialog-box .footer {
        text-align: right;
        padding: 15px 0 0 0;
        margin: 10px 0 0 0;
        border-top: 1px solid #DFDFDF;
    }

.dialog-box-title {
    font-size: 28px;
    color: #fff;
    text-align: center;
    margin: 5px 0 10px;
}

.dialog-footer {
    margin-top: 17px;
    display: flex;
}

.dialog-footer-notice {
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
    line-height: 19px;
}

.dialog-button {
    color: #fff;
    height: 50px;
    width: 48%;
    font-size: 16px;
    border: 0;
    border-radius: 8px;
    padding: 16px 0;
    margin: 0 auto;
    justify-content: space-between;
}

.dialog-button-submit {
    color: #fff;
    background: #269bcd;
    text-shadow: 0px 0px 6px rgb(0 0 0 / 25%);
}

.dialog-button-close {
    color: var(--dialog-input-color);
    background-color: var(--dialog-close-background-color);
}

.dialog-input {
    font-size: 16px;
    color: var(--dialog-input-color);
    line-height: 1.2;
    width: 100%;
    background: var(--dialog-input-background-color);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    outline: none;
    border: solid 1px var(--dialog-input-border-color);
}

    .dialog-input:focus {
        border-color: transparent !important;
    }

    .dialog-input::-webkit-input-placeholder {
        color: #9f9f9f;
    }

    .dialog-input:-moz-placeholder {
        color: #9f9f9f;
    }

    .dialog-input::-moz-placeholder {
        color: #9f9f9f;
    }

    .dialog-input:-ms-input-placeholder {
        color: #9f9f9f;
    }

.dialog-input-label {
    color: var(--dialog-input-color);
    margin-bottom: 5px;
    display: inline-block;
}

    .dialog-input-label.input-invalid {
        color: red;
    }

#hcaptcha {
    text-align: center;
}

#hCaptchaErr {
    color: red;
    display: none;
    margin: 25px 0 10px;
    text-align: center;
}

.no-selection {
    background: #1a1a1a;
}

/* ==========================================================================
   Contact Dialog
   ========================================================================== */
#emailDialog {
    height: 100%;
}

#emailForm {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.message-wrap {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#YourMessage {
    height: 100%;
}

.email-confirm-body {
    text-align: center;
    margin: 40px 0;
}

/* ==========================================================================
   Color Scheme Media Queries
   ========================================================================== */
@media (prefers-color-scheme:dark) {
    :root {
        --text-color: #fff;
        --background-color: #000;
        --main-h1-color: #fff;
        --main-h2-color: #c9d3dc;
        --main-h2-background-color: #0e0e0e;
        --project-title-color: #74787e;
        --project-a-border: none;
        --link-color: #19b1f2;
        --vex-background-color: #1a1a1a;
        --dialog-input-label-color: #889097;
        --dialog-input-color: #fff;
        --dialog-input-border-color: #2a2b2c;
        --dialog-input-background-color: #121212;
        --dialog-close-border-color: #4b4b4b;
        --dialog-close-background-color: transparent;
        --social-border-color: #3f3f3f;
        --webkit-autofill-border-color: #222730;
        --webkit-autofill-text-fill-color: #fff;
        --webkit-autofill-background-color: #222730;
        --eyes-color-stop1: #00accf;
        --eyes-color-stop2: #0b66ba;
        --eyes-color-stop3: #0792d1;
    }

    html {
        color: var(--text-color);
        background: var(--background-color);
        transition: all linear .2s;
    }

/*        html::-webkit-scrollbar {
            color: #676767;
        }

        html::-webkit-scrollbar-track {
            color: #424242;
        }

        html::-webkit-scrollbar-thumb {
            background: #fff;
        }*/

    a {
        color: var(--link-color);
    }

    main h1 {
        color: var(--text-color);
    }

    main h2 {
        color: var(--main-h2-color);
        background: var(--main-h2-background-color);
    }

    .main-bg {
        background: linear-gradient(0deg, #0f1b21 0%, #000000 80%);
    }

    #reflection {
        background: #29abe2;
    }

    #main p {
        color: var(--text-color);
    }

    #main h3 {
        color: var(--link-color);
    }

    #projects-title {
        color: var(--project-title-color);
    }

    .project {
        color: var(--text-color);
        background: var(--background-color);
    }

    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    textarea:-webkit-autofill,
    textarea:-webkit-autofill:hover,
    textarea:-webkit-autofill:focus,
    select:-webkit-autofill,
    select:-webkit-autofill:hover,
    select:-webkit-autofill:focus {
        border: 1px solid var(--webkit-autofill-border-color);
        -webkit-text-fill-color: var(--webkit-autofill-text-fill-color);
        -webkit-box-shadow: 0 0 0px 1000px var(--webkit-autofill-background-color) inset;
        transition: background-color 5000s ease-in-out 0s;
    }

    #social {
        border-top: 1px solid var(--social-border-color);
    }

        #social p {
            color: var(--text-color);
        }

    .copyright {
        color: #5789a7;
    }


    /* ==========================================================================
       Vex.js Dialog
       ========================================================================== */
    .vex-overlay {
        background: rgb(0 0 0 / 85%);
    }

    .vex.vex-theme-default .vex-content {
        background: var(--vex-background-color);
        border: none;
    }

    .dialog-box, .confirmation-box {
        background: inherit;
    }

    .vex.vex-theme-default .vex-content h1, .vex.vex-theme-default .vex-content h2, .vex.vex-theme-default .vex-content h3, .vex.vex-theme-default .vex-content h4, .vex.vex-theme-default .vex-content h5, .vex.vex-theme-default .vex-content h6, .vex.vex-theme-default .vex-content p, .vex.vex-theme-default .vex-content ul, .vex.vex-theme-default .vex-content li {
        color: var(--text-color);
    }

    .dialog-box-title {
        color: var(--text-color);
    }

    .dialog-input {
        color: var(--text-color);
        background: var(--dialog-input-background-color);
        border: 1px solid var(--dialog-input-border-color);
    }

    .dialog-input-label {
        color: var(--dialog-input-label-color);
    }

    .dialog-button-close {
        color: var(--text-color);
        border: solid 1px var(--dialog-close-border-color);
        background-color: var(--dialog-close-background-color);
    }

    .dialog-footer-notice {
        color: #929292;
    }
}

/* ==========================================================================
   Width Sizing Media Queries
   ========================================================================== */
@media only screen and (max-width: 845px) {
    .container {
        width: 748px;
    }

    a.main-col-headers {
        font-size: 26px;
    }

    #reflection {
        top: 259px;
    }
}

@media only screen and (max-width: 768px) {
    .container {
        width: 100%;
    }

    footer .container {
        width: 540px;
    }

    .introduction-wrap {
        margin-left: 30px;
        margin-right: 30px;
    }

    .col4 {
        width: 100%;
        float: none;
        padding: 0 10px;
        position: relative;
        border-radius: 16px;
        overflow: hidden;
    }

        .col4:last-child .main-col-headers {
            margin-bottom: 0;
        }

    .container .row > div.col4:not(:first-child) {
        margin-top: 20px;
    }

    #face {
        margin: 40px auto 0;
    }

    #reflection {
        top: 230px;
    }

    main h1 {
        font-size: 52px;
    }

    main h2 {
        font-size: 20px;
    }

    #content {
        margin-bottom: 25px;
    }

    #main {
        padding-bottom: 25px;
        margin-bottom: 10px;
    }

    .main-col-headers {
        margin-bottom: 15px;
    }

    .cont {
        margin-top: 15px;
    }

        cont h3 {
            margin: 10px 0 7px;
        }

    #main p {
        margin-bottom: 25px;
    }

    #social {
        margin-bottom: 45px;
    }
}


@media only screen and (max-width: 600px) {
    .introduction-wrap {
        margin-left: 20px;
        margin-right: 20px;
    }

    main h2 {
        padding: 20px;
    }

    footer .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media only screen and (max-width: 510px) {
    .project {
        margin: 35px 20px 0;
    }
}

@media only screen and (max-width: 475px) {
    .vex.vex-theme-default .vex-content {
        border-radius: 0;
        height: 100%;
        width: 100%;
        box-shadow: none;
    }

        .vex.vex-theme-default .vex-content::after {
            display: none;
        }
}

/* ==========================================================================
   Height Sizing Media Queries
   ========================================================================== */
@media only screen and (max-height: 820px) {
    .vex.vex-theme-default {
        padding-top: 5%;
    }

        .vex.vex-theme-default .vex-content {

        }
}

@media only screen and (max-height: 705px) {
    .vex.vex-theme-default {
        padding: 0;
    }

        .vex.vex-theme-default .vex-content {
            max-width: 100%;
            border-radius: 0;
        }

            .vex.vex-theme-default .vex-content::after {
                content: none;
            }
}