﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* Bootstrap overrides
-------------------------------------------------- */
.container {
    max-width: inherit;
}
/* Margin - JS dynamic in HTML
-------------------------------------------------- */

@media (min-width:768px){
    body{margin-top:0;}
    body{margin-left: 245px;}
}
@media (max-width:767px){
    body{margin-top:100px}
    body{margin-left:0px}
}
@media (max-width:576px){
    body{margin-top:100px}
    body{margin-left:0px}
}

/* Background
-------------------------------------------------- */
body {
    background-color: dimgrey;
}

/* Nav Brand (Myself)
-------------------------------------------------- */
.my-title{
    color: navajowhite;
    text-align: center;
}

@media (min-width:768px) {
    .navbar-brand {
        text-align: left;
    }

    .my-header {
        display: grid;
    }

    .my-face {
        width: auto;
        min-width: 50px;
        max-width: 200px !important;
        height: auto;
        min-height: 50px;
        max-height: 200px !important;
        margin-left: 11px;
        margin-bottom: 5px;
    }
}
@media (max-width:767px) {
    .navbar-brand {
        text-align: left;
    }

    .my-header {
        display: flex;
    }

    .my-title {
        margin-top: auto;
        margin-bottom: auto;
        margin-left: 1em;
        text-align: left;
    }

    .my-face {
        width: auto;
        min-width: 50px;
        max-width: 80px !important;
        height: auto;
        min-height: 50px;
        max-height: 80px !important;
    }
}

@media (max-width: 576px) {
    .my-face {
        width: auto;
        min-width: 50px;
        max-width: 60px !important;
        height: auto;
        min-height: 50px;
        max-height: 60px !important;
    }
    .my-title {
        margin-top: auto;
        margin-bottom: auto;
        margin-left: 1em;
        text-align: left;
    }
}

/* Navbar collapse
-------------------------------------------------- */
.navbar-toggler-icon {
    color: navajowhite;
}
@media (min-width:768px) {
    .navbar-collapse {
        flex-grow: 0;
        flex-direction: column;
        flex-direction: column;
        width: 100%;
        top: 0;
        right: auto;
        border-top: .3em solid transparent;
        border-left: .3em solid transparent;
        border-bottom: .3em solid transparent;
        border-right: none;
        vertical-align: baseline;
    }
}

/* Navbar
-------------------------------------------------- */
.navbar.fixed-left{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1030
}

/* Switch to horizontal menu for small windows */
@media (min-width:768px){
    .fixed-left-div {
        border-top: 2px solid;
        border-color: antiquewhite !important;
        margin-top: 1rem;
        margin-bottom: 0rem;
        height: 2px;
        width: 90%;
        }

    .navbar.fixed-left{
        bottom:0;
        width:245px;
        flex-flow:column nowrap;
        align-items:flex-start

    }
    .navbar .fixed-left .navbar-collapse{
        flex-grow:0;
        flex-direction:column;
        width:100%

    }
    .navbar.fixed-left .navbar-collapse .navbar-nav{
        flex-direction:column;
        width:100%

    }
    .navbar.fixed-left .navbar-collapse .navbar-nav{
        width:100%

    }
    .navbar.fixed-left .navbar-collapse .navbar-nav .dropdown-menu{top:0}
    .navbar.fixed-left{right:auto}
    .navbar.fixed-left .navbar-nav .dropdown-toggle:after{
        border-top:.3em solid transparent;
        border-left:.3em solid transparent;
        border-bottom:.3em solid transparent;
        border-right:none;
        vertical-align:baseline

    }
    .navbar.fixed-left .navbar-nav .dropdown-menu{left:100%}

    .navbar-expand-md .navbar-nav{
        padding-right: 0.5rem;
        padding-left: 0.5rem;
}
    .navbar-nav {
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }
}

/* Nav Items
-------------------------------------------------- */
nav .navbar-nav li a {
    color: navajowhite !important;
    transition: all 0.25s;
}

nav .navbar-nav li a:hover{
    color: whitesmoke !important;
}

.nav-item{
    width:100%;
    top:0;
    border-top:.3em solid transparent;
    border-bottom:.3em solid transparent;
    border-right:none;
    vertical-align:baseline;
    }

@media (min-width:768px) {
    .nav-item {
        font-size: 1.5em;
        padding-left: 0em;
        text-align: center;
    }

    nav .navbar-nav li a:hover {
        font-size: xx-large;
    }

}
@media (max-width:767px) {
    .nav-item {
        font-size: 1.25em;
        text-align: center;
    }

    nav .navbar-nav li a:hover {
        font-size: x-large;
    }
}


@media (max-width: 576px) {
    .nav-item {
        font-size: 1em;
        text-align: center;
    }
    nav .navbar-nav li a:hover {
        font-size: large;
    }
}

/* Container
-------------------------------------------------- */
.card {
    background-color: lightgrey;
    transition: all 0.25s;
}
.card-index-page > .card-rows{
    padding-right: 7px;
    padding-left: 7px;
}
.card-index-card {
    padding-right: 7px;
    padding-left: 7px;
}
.projects .card {
    min-height: 410px;
}
.projects > .container-fluid{
    padding-left: 0px;
    padding-right: 0px;
}
@media (max-width:1000px) {
    .card-about-me-main {
        padding-left: 1px;
        padding-right: 3px;
    }
    .card-about-me-sidebar {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
}
@media (max-width:490px) {
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }
}
    .card-about-me-body {
        width: auto;
        height: auto;
        min-width: 260px;
        text-align: left;
        padding-right: 3px;
    }

        .card-about-me-body > div {
            display: table;
            margin: 0 auto;
        }

    .card-about-me div {
        padding-left: 0px;
        padding-right: 0px;
    }

    .card-about-me {
        min-width: 200px;
        max-width: 300px;
    }

    .card-about-me-sidebar {
        padding-left: 1px;
        padding-right: 1px;
    }

    .card-body {
        width: auto;
        min-width: 150px;
    }

    .card-project-img {
        height: 200px;
        line-height: 150px;
        text-align: center;
    }

    .card-img {
        max-height: 200px;
        max-width: 100%;
        width: auto;
    }

    .project-card-body {
        height: 100px;
        padding: 5px;
    }

    .card-rows .card:hover .card-img {
        opacity: 1;
        -webkit-transform-style: preserve-3d;
    }

    .card-rows .card-title {
        font-family: 'Nunito', sans-serif;
        font-size: large;
        background-color: lightgrey;
    }

    .card-rows .card-img {
        vertical-align: bottom;
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover; /* Resize the background image to cover the entire container */
        opacity: .8;
    }

    .modal .card-img {
        vertical-align: bottom;
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover; /* Resize the background image to cover the entire container */
    }

    .card-rows .card:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(37,33,82,.12), 0 4px 8px rgba(37,33,82,.06);
    }

    .card-rows {
        display: flex;
        justify-content: center;
    }

    .card-footer {
        padding: .75rem 0rem;
        background-color: lightgrey;
    }

        .card-footer .btn-primary {
            border-color: grey;
            background-color: lightgrey;
            color: whitesmoke;
            min-width: 70px;
            max-width: 120px;
            margin-left: auto;
            margin-right: auto;
        }

            .card-footer .btn-primary a:hover {
                background-color: black !important;
                border-color: black;
                background-color: dimgrey;
            }

            .card-footer .btn-primary a:focus {
                background-color: black !important;
                border-color: black;
                background-color: dimgrey;
                box-shadow: none !important;
            }

    .btn {
        display: flex;
        justify-content: center;
    }

    .btn-primary {
        display: flex;
        justify-content: center;
    }

    /* Project Modal
-------------------------------------------------- */
    .modal-content {
        background-color: lightgrey;
    }

    .modal-body.card {
        background-color: whitesmoke;
    }

    /* Font Awesome styles
-------------------------------------------------- */
    .fa-linkedin {
        color: #0077b5;
    }

    .fa-gitlab {
        color: #fc6d26;
    }
    .fa-envelope{
        color:lightgrey;
    }
    envelope
    .fa-tasks:hover,
    .fa-envelope:hover,
    .fa-file-pdf:hover,
    .fa-linkedin:hover,
    .fa-tasks:hover,
    .fa-gitlab:hover {
        color: #000fff;
    }

    /* General Formatting
-------------------------------------------------- */
    .text-full-width {
        text-align: justify;
    }

    .center {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
        vertical-align: middle;
    }

    .hr-short {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }
    /* Sticky footer styles
-------------------------------------------------- */
    html {
        font-size: 14px;
    }

    @media (min-width: 768px) {
        html {
            font-size: 16px;
        }
    }

    .border-top {
        border-top: 1px solid #e5e5e5;
    }

    .border-bottom {
        border-bottom: 1px solid #e5e5e5;
    }

    .box-shadow {
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    }

    button.accept-policy {
        font-size: 1rem;
        line-height: inherit;
    }

    /* Sticky footer styles
-------------------------------------------------- */
    html {
        position: relative;
        min-height: 100%;
    }

    .footer {
        position: absolute;
        bottom: 0;
        width: auto;
        white-space: nowrap;
        line-height: 60px; /* Vertically center the text there */
        color: black;
    }
