html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    overflow-y: scroll;
    color: white;
    background: #151513;
    /*font-size: 16px;*/
}

div.intro p {
    color: #9b9292;
    font-size: 1.6em;
    font-weight: lighter;
    text-align: center;
    padding: 0.5em 20vw 0.5em 20vw;
}

div.info-section {
    /*margin-bottom: 4em;*/
}

div.info-section p {
    color: #9b9292;
    font-size: 1.3em;
    font-weight: lighter;
    text-align: center;
    padding: 0.25em 10vw 0.25em 10vw;
}

div.text-right p {
    padding-left: 1em;
    text-align: left;
    font-size: 100%;
}

div.text-left p {
    padding-right: 1em;
    text-align: right;
    font-size: 100%;
}

a {
    color: #154277;
}

html, body, div.main-page {
    height: auto;
    min-height: 100vh;
}

div.main-page {
    padding-top: 3em;
    padding-bottom: 2em;
}

#main-nav {
    background: rgba(35, 34, 34, 1);
    transition: background-color 350ms linear;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

#main-nav img {
    margin: 0.5em 2em 0.5em 0.5em;
    width: 12em;
}

#main-nav a {
    box-sizing: border-box;
    color: #aaaaaa;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    line-height: 24px;
    list-style: none;
    padding: 0 1em;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    visibility: visible;
    vertical-align: top;
    margin-top: 2.2em;
}

@media only screen and (max-width: 40em) {
    #main-nav a {
        background: rgba(35, 34, 34, 1);
        display: block;
        padding: 0;
        position: relative;
    }
}


#main-nav a.active-page {
    color: #e37005;
}

#main-nav a:hover {
    color: #154277;
}

div.banner {
    width: 100%;
    color: #aaaaaa;
    font-size: 2em;
    font-weight: bold;  
    text-align: center;
    text-transform: uppercase;
}

h2 {
    font-size: 2.0em;
    padding-top: 1em;
    text-align: center;
    color: #64717c;
    text-transform: uppercase;
}

#home-page h2 {
    font-size: 2.5em;
    padding-top: 1.5em;
    vertical-align: center;
    text-transform: uppercase;
    color: white;
}

#home-page {
    /*background: url('science-lab-2-dark.jpg');*/
    width: 100%; height: 100%;background-size: cover;
}

#intro-page {
    background-color: #2f3a44;
}

#about-page {
    background-color: #48433f;
    /*background-color: #393532;*/
}

#portfolio-page {
    /*background-color: #31322d;*/
    background-color: #282828;
}

#contact-page {
    background-color: #2f3a44;
}

div.portfolio-window {
    background: #181818;
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
    height: 600px;
}

/* Designing for scroll-bar */
::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #181818;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #154277;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #25528c;
}

div.portfolio-item p {
    background: #181818;
    text-align: center;
}

div.portfolio-item p {
    font-style: italic;
    color: rgba(170, 170, 136, 0);
}

div.portfolio-item:hover p {
    color: rgba(170, 170, 136, 100);
    transition: color 0.3s;
}

div.portfolio-item:hover img {
    filter: brightness(1.0);
    transition: filter 0.3s;
}

div.portfolio-item img {
    filter: brightness(0.55);
}

project-selector input {
    background: #282828;
    color: white;
    border: none;
    font-family: sans-serif;
    font-size: larger;
}


.col-md-4 {
    /*background: #333333;*/
    /*box-sizing: border-box;*/
    /*color: white;*/
    /*float: left;*/
    /*font-size: 15px;*/
    /*line-height: 24px;*/
    /*min-height: 1px;*/
    /*padding-left: 15px;*/
    /*padding-right: 15px;*/
    /*position: relative;*/
    /*width: 33%;*/
}
.contact-info {
    /*border: solid red 1px;*/
    color: #bbbbbb;
    margin-bottom: 61px;
    padding-top: 10px;
    width: 100%;
}
.contact-info-box {
    margin-bottom: 30px;
    position: relative;
    text-align: center;
}
.contact-icon img{
    vertical-align: bottom;
    height: 2.2em;
}
.contact-icon{
    text-align: center;

    box-sizing: border-box;
    color: #bbbbbb;
    font-size: 16px;
    margin-bottom: 24px;
    width: 4em;
    height: 4em;
    line-height: 50px;
    background: #154277;
    display: inline-block;
    border-radius: 50%;
    position: absolute;
    left: 0;
}
.contact-desc {
    margin-left: 80px;
    text-align: left;
}
.contact-info-box h5 {
    font-size: 120%;
    position: relative;
    padding-bottom: 0;
    margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0px;
    font-weight: 600;
}
h5 {
    display: block;
    font-size: 0.83em;
    margin-block-start: 1.67em;
    margin-block-end: 1.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}
p {
    margin: 0 0 10px;
}

.contact-form {
    /*border: solid red 1px;*/
    padding-top: 4em;
    box-sizing: border-box;
    float: left;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 30px;
    width: 100%;
}
.form-group-full {
    line-height: 24px;
    font-size: 15px;
    box-sizing: border-box;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    float: left;
    width: 100%;
}
.form-group-half {
    line-height: 24px;
    font-size: 15px;
    box-sizing: border-box;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    float: left;
    width: 50%;
}
.form-group {
    float: left;
    width: 100%;
    margin-bottom: 30px;
}
.form-control {
    background-color: transparent;
    background-image: none;
    border-radius: 0;
    border: 1px solid gray;
    box-shadow: none;
    box-sizing: border-box;
    color: #9b9292;
    display: block;
    /*height: 47px;*/
    /*line-height: 2em;*/
    margin: 0;
    padding: 6px 12px;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    width: 100%;
    font-size: 120%;
}
.default-button:hover {
    background: #e37005;
}
.default-button {
    background: #154277;
    border-radius: 40px;
    border: none;
    box-sizing: border-box;
    color: #bbbbbb;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    line-height: 1.42857143;
    margin: 0;
    opacity: 75%;
    padding: 11px 32px;
    text-align: center;
    text-transform: uppercase;
    touch-action: manipulation;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}
