#slider {
	height: 400px;
}

#slider .title {
	text-align: center;
	line-height: 400px;
	font-weight: bolder;
}

#slider .content {
	width: 100%;
	margin: auto;
	padding: 0;
}

.title h2 {
    text-align: center;
    font-weight: 1000;
    margin-bottom: 15px;
}

#work-select {
    padding: 30px 0;
}

#work-select form {
    width: 355px;
    margin: 0 auto;
}

#work-select select {
    width: calc(100% - 10px);
    height: 40px;
    padding-left: 10px;
    font-family: "Roboto", "sans-serif";
    font-size: 16px;
    font-weight: 300;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}

#work-select select:focus {
    outline: none;
}

#projects {
    height: auto;
    width: calc((500px + 20px) * 2);
    padding: 30px 0;
}

.project {
    width: 500px;
    font-family: "Roboto", "sans-serif";
    color: #333;
    padding: 10px;
    float: left;
}

.project:hover {
    background-color: #f5f5f5;
}

.project p {
    font-family: "Roboto", "sans-serif";
}

.project .title h2 {
    font-family: "Roboto", "sans-serif";
    font-size: 26px;
    text-align: center;
    color: #333;
    line-height: 36px;
}

.project .project-img {
    margin-bottom: 10px;
}

.project .project-img img {
    width: 500px;
    height: 300px;
    border-radius: 12px;
    background-color: #e8e8e8;
    object-fit: contain;
}

.project .progress-bar, .project .proj-lang {
    margin-bottom: 10px;
}

.project .progress-bar, .project .proj-lang, .progress-bar .proj-progress {
    height: 20px;
    background-color: #e8e8e8;
    border-radius: 10px;
}

.progress-bar .proj-progress {
    width: 0;
    background-color: #38B93C;
    
}

.proj-lang {
    cursor: pointer;
}

.progress-bar .proj-progress p, .proj-lang .lang p {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    color: white;
}

.proj-lang .lang {
    float: left;
    width: 0;
    height: 100%;
    background-color: #B32F31;
}

.proj-lang .lang:first-child {
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

.proj-lang .lang:last-child {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

.project .desc {
    margin-bottom: 10px;
}

.project .desc p {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #333;
}

.project .proj-footer > div, .project .proj-footer > a button {
    float: left;
    font-family: "Roboto", "sans-serif";
    font-weight: 100;
    font-size: 14px;
    margin-right: 5px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    padding: 0;
    border-radius: 4px;
    color: white;
    appearance: none;
    -webkit-appearance: none;
    border: none;
}

.project .proj-footer .proj-type {
    width: 120px;
    background-color: #333;
}

.project .proj-footer .github {
    width: 50px;
    background-color: #23282D;
}

.project .proj-footer .download {
    width: 120px;
    background-color: #1D6E33;
}

.project .proj-footer .access {
    width: 90px;
    background-color: #196696;
}

.project .proj-footer .views {
    width: 100px;
    background-color: #333;
    margin-right: 0;
}

.project .proj-footer .github,
.project .proj-footer .download,
.project .proj-footer .access {
    cursor: pointer;
}

.project .proj-footer .disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.project .proj-footer .github:focus,
.project .proj-footer .download:focus,
.project .proj-footer .access:focus {
    outline: none;
}

#papers {
	padding: 30px 0;
}

#papers tr {
    font-family: "Roboto", "sans-serif";
    font-weight: 100;
}

#papers .desc {
    font-family: "Roboto", "sans-serif";
    font-weight: 100;
    font-size: 14px;
    text-align: left;
	color: #96A0AA;
}

#papers .desc:first-of-type {
	margin-top: 20px;
	margin-bottom: 10px;	
}

#papers .desc:last-of-type {
	margin-bottom: 20px;
}

#papers .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media only screen and (max-width: 1040px) {
    
    .hidden-mobile {
        display: none;
    }
    
    #projects {
        width: 100%;
    }
    
    .project {
        width: 355px;
        float: none;
        padding: 0;
        margin: 15px auto;
    }
    
    .project .project-img img {
        width: 355px;
        height: 213px;
    }
    
    .project .proj-footer .access {
        width: 80px;
    }
    
    .project .proj-footer .views {
        width: 90px;
    }
}

@media only screen and (max-width: 768px) {
    /** For mobile phones: **/
    #slider {
        height: auto;
    }
    
    #slider .content {
        padding: 50px 0;
    }
    
}
