/* ------------------------------------------------- General -------------------------------------------------*/

body {
    background-color: #0b0c10;
    color: #c5c6c7;
    font-family: "Montserrat", sans-serif;

    margin: 0;
    padding: 0;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

h1,h2,h3,h4,h5,h6 {
	font-family: "Montserrat", sans-serif;    
	padding: 0 20px;
}

h1 {
    text-align: center;
}

h3, h4 {
	margin-bottom: 0;
    text-align: justify;
    color: #45a29e;
    font-weight: bolder;
}

p {
    text-align: justify;
    padding-left: 20px;
}

.color { color: #45a29e}

ul { 
	list-style-type: none; 
	margin-top: 5px;
}

.padding40 {
	padding-left: 40px;
}




/* ------------------------------------------------- Pages -----------------------------------------------------*/
/* .content {
    width: 100%;
    flex-grow: 1;
    padding: 0;
    margin: 0;
} */

.homepage, .academic, .employment, .seminars, .projects, .skills, .contact {
    width: 100%;
    flex-grow: 1;
    padding-top: 100px;
    padding-bottom: 20px;
    margin: 0;
}





/* ------------------------------------------------- HOMEPAGE -----------------------------------------------------*/

.homepage {
    background: #0b0c10 url("../img/home0.jpg") no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(11, 12, 16, 0.8);
    background-size: cover;
}

.aboutme {
    padding-top: 5vh;
    text-align: center;
}

.homepage h4 {
    text-align: center;	
}




/* ------------------------------------------------- ACADEMIC -----------------------------------------------------*/


.academic {
    background: #0b0c10 url("../img/grad.jpg") no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(11, 12, 16, 0.8);
    background-size: cover;
}

.academic p {
	margin-top: 5px;	
}

/* ------------------------------------------------- EMPLOYMENT -----------------------------------------------------*/

.employment {
    background: #0b0c10 url("../img/news.jpg") no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(11, 12, 16, 0.8);
    background-size: cover;
}

.company {
    padding-left: 20px;
	color: #45a29e;
}


/* ------------------------------------------------- SEMINARS -----------------------------------------------------*/

.seminars {
    background: #0b0c10 url("../img/up.jpg") no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(11, 12, 16, 0.8);
    background-size: cover;
}

.seminars p {
	margin-top: 5px;	
}

/* ------------------------------------------------- PROJECTS -----------------------------------------------------*/

.projects {
    background: #0b0c10 url("../img/binary3.jpg") no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(11, 12, 16, 0.8);
    background-size: cover;
}

.projects p {
	margin-top: 5px;	
}

.proj {
	max-width: 80vw;
}



/* ------------------------------------------------- SKILLS -----------------------------------------------------*/

.skills {
    background: #0b0c10 url("../img/chess.jpg") no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(11, 12, 16, 0.8);
    background-size: cover;
}

.skills p {
	margin-top: 5px;	
}

.fa-star { color: #c5c6c7; }
.checked { color: #45a29e; }

.stars {
    max-width: 400px;
    display: grid;
    grid-template-columns: 3fr 3fr;
    grid-template-areas: "img content";
    margin-bottom: 0;
}

.stars .icons {
    padding: 0;
    margin:0;
}

.media .text {
    grid-area: content;
    padding-left: 30px;
    margin:0;
}

.date {
    font-family: Calibri, "sans-serif";
    color: #45a29e;
}






/* ------------------------------------------------- Navigation -------------------------------------------------*/

#nav {
    width:100%;
    height:88px;
    background-color:#1f2833;
    position: fixed;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    top: 0;
}

#nav p {
    text-align: center;
    padding: 0;
}

#nav a {
    color: #c5c6c7;
    padding: 14px 16px 0;
    text-decoration: none;
    font-size: 17px;
    text-align: center;
    width: 100%;
}


#navigation-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100%;
}

#navigation-list li {
    display: flex;
    align-items: center; 
    height: 100%; 
    padding: 0 10px;
    width: 88px;
    
}



/* #nav a.icon {
    color: #c5c6c7;
    display: none;
    position: absolute;
    margin-top: 10px;
    right: 0;
    top: 0;
    vertical-align: center;
} */




#navigation-list li:hover, #navigation-list li:active {
    background-color: #0b0c10;
    cursor:pointer;
    height: 100%;
}

.clicked { background-color: #0b0c10; }

#nav li a {
    display: block;
    float: left;
    padding: 0;
    font-weight: 500;
    font-size: 12px;
}

#mob_nav_btn {
    padding:5px;
}



/*------------------------------------------------- Mobile Navigation -------------------------------------------------*/

#mob_nav_btn {
    color: #c5c6c7;
    background-color: #1f2833;
}


#mob_nav a:hover, #mob_nav a:focus, #mob_nav_btn:hover, #mob_nav_btn:focus {
    color: #45a29e;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgba(31, 40, 51, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #c5c6c7;
    display: block;
    transition: 0.3s;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}






/*------------------------------------------------- FOOTER -------------------------------------------------*/
footer {
    background-color:#1f2833;
    padding-top: 10px;
    margin: 0;
	bottom: 0;
	width: 100%;
}

footer p {
    padding-left: 10px;	
	margin: 0;
}

.link {
    color: #45a29e;
}
.link:hover{
    color: #66fcf1;
}




/*------------------------------------------------- Screens -------------------------------------------------*/

@media only screen and (max-width: 830px) {
    #nav {display: none;}
    #mob_nav_btn {display: block;}
    /* #navigation-list li span {display:none;} */
}

@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}