html {
    scroll-behavior: smooth;
}

body{
    background-color:white;
    margin: 0;
}

.dark-grey{
    background-color: #505050;
    color: #ffffff;
}

.top-bar{
    width: 100%;
    position: fixed;
    z-index: 1030;
    top: 0;
    height: 100px;
}

@media (max-width: 849px) {
    .top-bar {
        height: 75px;
    }
}

.top-margin {
    margin-top: 100px;
}

@media (max-width: 849px) {
    .top-margin {
        margin-top: 75px;
    }
}

.top-bar ul{
    list-style-type: none;
    margin: 0;
    padding: 0 10px;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.nav-buttons{
    float: right;
    margin: 0 5px;
    font-size: 22px;
}

.site-link{
    float: left;
    font-size: 32px;
}

@media (max-width: 849px) {
    .site-link{
        font-size: 18px;
    }
}

.main-footer{
    width: 100%;
    font-size: 20px;
    padding: 15px 0;
}

.dropdown{
    background: #505050;
    padding: 0 0;
    margin: 1px;
    /* border-radius: 5%; */
    width: 200px;
    float: right;
    display: none;
}

.dropdown ul {
    padding: 0;
}

.vertical-center {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 849px) {
   .content-hidden-medium {
        display: none;
    }
}

@media (min-width: 850px) {
    .content-shown-medium {
        display: none;
    }

    .inline-div {
        display: inline;
    }
}

.btn-dropdown {
    color: #ffffff;
    padding: 15px 25px;
    display: block;
    barckground: 0 0;
    transition: all .3s ease-in-out;
    font-weight: bold;
    text-align: center;
}

.btn-dropdown:hover,
.btn-dropdown:focus,
.btn-dropdown:active,
.btn-dropdown:active {
    color: #00ccff;
    background: #5D5D5D;
    text-decoration: none;
    cursor: pointer;
    border-radius: 10%
}

.btn-nav{
    color: #ffffff;
    padding: 15px 25px;
    text-decoration: none;
    display: block;
    background: 0 0;
    transition: all .3s ease-in-out;
    border: solid 2px #505050;
    font-weight: bold;
}

.btn-nav:hover,
.btn-nav:focus,
.btn-nav:active,
.btn-nav.active{
    border: solid 2px #ffffff;
    color: #00ccff;
    background: #5D5D5D;
    text-decoration: none;
    cursor: pointer;
}

.btn-social{
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    text-align: center;
    line-height: 45px;
    margin-top: 15px;
    font-size: 20px;
    color: #ffffff;
}

.btn-outline{
    border: solid 2px #656565;
    background: 0 0;
    transition: all .3s ease-in-out;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active{
    border: solid 2px #ffffff;
    color: #00ccff;
    background: #5D5D5D;
    text-decoration: none;
}

.content-area-accent {
    color: black;
    word-wrap: normal;
    background: #00ccff;
}

.content-area-accent i{
    font-size: 32px;
    color: #505050;
}

.content-area-light {
    color: black;
    word-wrap: normal;
    background: ffffff;
}

.content-area-light i{
    color: #00ccff;
    font-size: 32px;
}

.content-area-image {
    background-image: url("/res/blur_code.png");
    background-color: #00ccff;
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    word-wrap: normal;
    height: 850px;
    color: #ffffff;
}

.content{
    box-align: center;
}

.content-intro {
    font-weight: bold;
    box-align: center;
}

.content-header {
    font-size: 40px;
    font-weight: bold;
    box-align: center;
    text-align: center;
}

.content-main {
    padding: 100px 0;
}

.content-about {
    column-count: 2;
    column-gap: 75px;
}

@media (max-width: 849px) {
    .content-main {
        padding: 75px 0;
    }

    .content-about {
        column-count: 1;
    }
}


/* Projects Grid */
.projects-cell {
    right: 0;
    text-decoration: none;
    display: block;
    position: relative;
    color: #ffffff;
}

.projects-cell:hover,
.projects-cell:focus,
.projects-cell:active{
    text-decoration: none;
    color: #00ccff;
}

.projects-link {
    display: block;
    position: relative;
    margin: 0 auto;
    /* max-width: 400px; */
    width: 100%\9;
}

.projects-img {
    overflow: hidden;
}

.projects-img img{
    width: 100%;
    height: 250px;
    filter: blur(2px);
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    z-index: -1;
    margin: -5px -10px -10px -5px;
}

.projects-link .open-indicator {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    background: rgba(0, 204, 255, 0.7);
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

.projects-link:hover .open-indicator{
    opacity: 1;
}

.projects-link .open-indicator .open-indicator-content {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
}

.projects-link .open-indicator .open-indicator-content i {
    margin-top: -12px;
    color: #505050;
}

.projects-link .caption {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 20;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    opacity: 1;
    color: #00ccff;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

.projects-link:hover .caption {
    opacity: 0;
}

.projects-cell {
    margin: 0 0 30px;
}

@media (min-width: 640px){
    .projects-flex-grid .projects-flex-row{
        display: flex;
        flex-flow: row wrap;
        align-items: stretch;
        justify-content: space-between;
    }

    .projects-flex-grid .projects-flex-row .projects-cell-flex {
        flex: 1 0 49%;
        max-width: 49%;
    }
}

@media (min-width: 849px){
    .projects-flex-grid .projects-flex-row .projects-cell-flex {
        flex: 1 0 49%;
        max-width: 49%;
    }
}

/* Modals */
.modal .close-button {
    width: 20px;
    right: 0;
    position: absolute;
    color: red;
    margin: 10px;
}

.modal .modal-title {
    margin-top: 15px;
    font-size: 35px;
}

.modal .modal-title i {
    color: #00ccff;
    font-size: 32px;
}

.modal .modal-description {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
}

.modal img.modal-img {
    width: 90%;
    height: 500px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.modal .btn-modal-github {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    text-align: center;
    line-height: 45px;
    margin-top: 15px;
    font-size: 20px;
    color: #656565;
}

.btn-modal-outline{
    border: solid 2px #656565;
    background: 0 0;
    transition: all .3s ease-in-out;
}

.btn-modal-outline:hover,
.btn-modal-outline:focus,
.btn-modal-outline:active,
.btn-modal-outline.active{
    /* border: solid 2px #ffffff; */
    color: #00ccff;
    background: #5D5D5D;
    text-decoration: none;
}

.modal .modal-info {
    margin-bottom: 15px;
}

.modal .modal-date {
    margin-top: 5px;
    float: center;
    color: 656565;
}
