/* Import icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");

/* Color Palette Split Complementary
    Primary: #002065
    Complementary A1: #B35B12
    Complementary A2: #663105
    Complementary B1: #B3A212
    Complementary B2: #665C05
 */


.wrapper {
    display: flex;
    width: 100%;
}

/*a, a:hover, a:focus {*/
/*    color: inherit;*/
/*    text-decoration: none;*/
/*    transition: all 0.3s;*/
/*}*/

/*Sidebar styling*/

#sidebar {
    width: 250px;
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 999;
    background: #002065;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.hidden {
    margin-left: -250px;
}

#sidebar .sidebar-name {
    padding-top: 40px;
    padding-left: 20px;
}

#sidebar .sidebar-social{
    margin-top:auto;
    margin-bottom: 10px;
}

#sidebar .sidebar-social a{
    font-size: 2em;
    color: #ffffff;
}

#sidebar .sidebar-social a:hover{
    color: #665C05;
}

#sidebar .sidebar-link-list .sidebar-icon {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1.5em;
}

#sidebar .sidebar-link-list a {
    padding: 10px;
    font-size: 1.2em;
    display: block;
    text-decoration: none;
    color: inherit;
}

#sidebar .sidebar-link-list a:hover {
    color: #fff;
    background: #665C05;
}

#sidebar .sidebar-link-list a.active, a[aria-expanded="true"] {
    color: #fff;
    background: #B3A212;
}

/*Content styling*/

#content {
    width: calc(100% - 250px);
    /*padding: 40px;*/
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

#content.wide {
    width: 100%;
}

/* Home Jumbotron styling */
.jumbotron {
    padding: 0px;
    min-height: 100vh;
    color: #ffffff;
    background-image: url(/images/background_home.jpg);
	background-size: cover;
	/*background-attachment: fixed;*/
    display: flex;
    flex-flow: column;
}

.jumbotron h1 {
    padding-top: 10vh;
    padding-left: 5vw;
    font-size: 5em;
}

.jumbotron p {
    /*padding-top: 1vh;*/
    padding-left: 5vw;
    font-size: 2.5em;
    font-weight: 200;
}

.jumbotron .scroll-nudge {
    font-size: 4.5em;
}

.jumbotron .bottombar {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;
    /*padding-bottom: 10vh;*/
}
/* todo fix padding bottom */

.headerbar {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* filtering system */
.filtering-selector {
    justify-content: center;
}

.filtering-selector input[type="radio"] {
    display: none;
}

.filtering-selector label {
    padding: 0.5rem 1rem;
    margin: 10px;
    color: #ffffff;
    background-color: #B35B12;
    border-radius: 1rem;
    cursor: pointer;
}

.filtering-selector label:hover, .filtering-selector input[type="radio"]:checked + label {
    background-color: #663105;
    color: #ffffff;
}

.project-item{
    padding-top: 20px;
}

.hide-project{
    display: none;
}

/* https://stackoverflow.com/a/47698201 */
.project-item .card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
}

@media (min-width: 768px) and (max-width: 992px) {
    .project-item .card-img-top {
        height: 30vw;
    }
}

@media (max-width: 768px) {
    .project-item .card-img-top {
        height: 50vw;
    }
}

/* sidebar toggle */
.sidebar-toggle{
    display: flex;
    justify-content: space-around;
    z-index: 9999;
    height: 50px;
    width: 50px;
    border-radius: 25px;
    border: none;
    background-color: #002065;
    color: #ffffff;
    position: fixed;
    right:0px;
    margin-top: 5vh;
    margin-right: 5vw;
    line-height: 50px;
    font-size: 25px;
    transition: all 0.3s;
}

.sidebar-toggle:hover {
    background-color: #B3A212;
    color: #ffffff;
}

.sidebar-toggle.active{
    background-color: #665C05;
    color: #ffffff;
}

@media (min-width: 769px) {
    .sidebar-toggle{
        display: none;
    }
}

/*Media queries to invert the behaviour on mobile*/
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.show {
        margin-left: 0;
    }
    #content {
        width: 100%;
    }
}

/* Content blocks */
.content_block{
    padding-top: 30px;
    padding-bottom: 30px;
}

#projects, #education {
    background-color: #ebe9e4;
}