
/****************************************************
 * GENERAL
 ***************************************************/

*{
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

body{
    background: #383b46;
}

body.dark{
    color: #c9c9c9;
}

body.light{
    color: #4e4e4e;
}

p{
    margin: 16px 0;
    line-height: 1.6;
}

h2{
    font-size: 32px;
    padding-bottom: 2px;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}

.container{
    display: flex;
    flex-flow: row wrap;
    margin-left: 80px;
}
.dark .container{
    background: #21252b;
}
.light .container{
    background: #f5f5f5;
}

aside{
    max-width: 80px;
    height: 100%;
    position: fixed;
    background: #383b46;
    z-index: 10;
}

#logo{
    padding: 30px 16px 20px;
}


/*nav a:after{*/
/*    content: ""; !* This is necessary for the pseudo element to work. *!*/
/*    display: block; !* This will put the pseudo element on its own line. *!*/
/*    margin: 0 auto; !* This will center the border. *!*/
/*    width: 60%; !* Change this to whatever width you want. *!*/
/*    border-bottom: 1px solid #585a5c; !* This creates the border. Replace black with whatever color you want. *!*/
/*}*/


main{
    width: 100%;
    max-width: 800px;
}

#sticky-header{
    position: fixed;
    padding: 23px 40px;
    width: 100%;
    z-index: 9;
    color: #fa6356 !important;
}
.dark #sticky-header{
    background: #21252b;
    box-shadow: 0px 0px 10px -4px #000000;
}
.light #sticky-header{
    background: #f5f5f5;
    box-shadow: 0px 0px 10px -2px #747474;
}

#sticky-header h1{
    margin: 0;
}


#agado{
    position: relative;
}

#agado h2{
    color: #fa6356 !important;
}



section{
    min-height:calc( 100vh - 40px );
    padding: 40px 40px 40px;
}


.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    height: 0;
    max-width: 100%;
    margin: 20px 0;
    z-index: 0;
}
.video-wrapper iframe,
.video-wrapper video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.links{
    /*position: absolute;*/
    /*bottom: 40px;*/
    text-align: left;
    /*line-height: 1.4;*/
}
.links a{
    padding: 6px 12px;
    display: inline-block;
    font-size: 12px;
    text-decoration: none;
    line-height: 1.4;
    margin: 12px 12px 12px 0;
    color: #a9b5c5;
    background: #383b46;
    border-radius: 6px;
}


/****************************************************
 * MENU
 ***************************************************/
nav{

}
nav img{
    display: block;
}
nav a.active img.active{
    display: block;
}
nav img.active,
nav a.active img{
    display: none;
}
nav a{
    display: block;
    padding: 4px 4px;
    /*border-bottom: 1px solid #a9b5c5;*/
}
nav .sep{
    content: '';
    display: block;
    width: 60%;
    margin: 0 auto 0;
    border-bottom: 1px solid #5a5a5a;
}

nav .sep.active{
    border-bottom: 1px solid #383b46;
}
a.tasks.active{
    background: #fc6357;
}
a.contacts.active{
    background: #3ab0c9;
}
a.projects.active{
    background: #6439b8;
}
a.tags.active{
    background: #ffa754;
}
a.journal.active{
    background: #4879de;
}
a.pinned.active{
    background: #83889f;
}




/****************************************************
 * RESPONSIVE
 ***************************************************/
@media only screen and ( max-device-width: 1024px){

    aside{
        max-width: 90px;
    }

    .container{
        margin-left: 90px;
    }
    #sticky-header{
        padding: 28px 40px;
    }
    section {
        padding: 40px 40px 40px;
    }
    nav a{
        padding: 4px 4px;
    }
    /*h2{*/
    /*    font-size: 24px;*/
    /*}*/
    /*p{*/
    /*    font-size: 14px;*/
    /*}*/
    /*.links a{*/
    /*    font-size: 10px;*/
    /*}*/
    /*#agado-text{*/
    /*    padding: 23px 20px;*/
    /*}*/
    /*#agado-text h1{*/
    /*    font-size: 24px;*/
    /*}*/

}
@media only screen and ( max-device-width: 767px){

    aside{
        max-width: 70px;
    }
    nav a{
        padding: 4px 2px;
    }
    .container{
        margin-left: 70px;
    }
    #sticky-header{
        padding: 19px 20px;
    }
    section {
        padding: 40px 20px 40px;
    }
    h2{
        font-size: 24px;
    }
    p{
        font-size: 14px;
    }
    .links a{
        font-size: 10px;
    }
    #agado-text{
        padding: 23px 20px;
    }
    #agado-text h1{
        font-size: 24px;
    }
}


/* Hide the links if in landscape on mobile as they do not fix in screen with fixed menu */
@media only screen and ( max-device-width: 768px ) and (orientation: landscape){
    /*.links {*/
    /*    display: none;*/
    /*}*/
}