/* Master Styles */
body {
    font-family: "Lato", sans-serif; /* Choose Lato(the font we obtained from the google API) else choose sans serif */
    margin: 0px;
}

.container {
    display: grid;  /*CSS grid*/
    grid-template-columns: 1fr; /* fr = fractional unit */
}

/* Nav Styles */
.nav-wrapper { /* FLEXBOX used to aligns text*/
    display: flex;
    justify-content: space-between;
    padding: 38px;
}

.left-side {
    display: flex;
}

.nav-wrapper > .left-side > div {  /* Change size of links on left side */ 
    margin-right: 20px;
    font-size: 0.9em;
    text-transform: uppercase;
}

.nav-link-wrapper {  /* Make transparent border around nav links */
    height: 22px;
    border-bottom: 1px solid transparent;
    transition:border-bottom 0.5s;
} 

.nav-link-wrapper a { /* Make text color of div <a> class to grey*/
    color: #8a8a8a;
    text-decoration: none;
    transition: color 0.5s;
}

.nav-link-wrapper:hover { /* Change color of bototm border to create underline border when hover over */
    border-bottom: 1px solid black;
}

.nav-link-wrapper a:hover { /* Change color of text to black when hover over */
    color: black;
}

.active-nav-link {
    border-bottom: 1px solid black;
}

.active-nav-link a {
    color: black !important;
}

/* Portfolio Styles */

.portfolio-items-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.portfolio-item-wrapper {
    position: relative;
}

.portfolio-img-background {
    height: 350px;
    width:100%;
    background-size: cover; /*Crop images to looks uniform*/
    background-position: center;
    background-repeat: no-repeat;
}

.img-text-wrapper {
    position: absolute;
    top: 0;  /* Position top*/
    display: flex;      /* Use Flexbox */
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    height: 100%;
    text-align: center;
    padding-left: 100px;
    padding-right: 100px;
}

.logo-wrapper_0 img {
    width:40%;
    margin-bottom:20px;
}

.logo-wrapper img {
    width:50%;
    margin-bottom:20px;
}

.logo-wrapper_1 img {
    width:60%;
    margin-bottom:20px;
}

.logo-wrapper_2 img {
    width:65%;
    margin-bottom:20px;
}

.logo-wrapper_3 img {
    width:70%;
    margin-bottom:20px;
}

.logo-wrapper_4 img {
    width:75%;
    margin-bottom:20px;
}

.logo-wrapper_5 img {
    width:80%;
    margin-bottom:20px;
}

.logo-wrapper_6 img {
    width:85%;
    margin-bottom:20px;
}


/* Needs to be more Specific with selector */

.img-text-wrapper .subtitle {
    font-weight: 600;
    transition: 1s;
    color: transparent;
}

.img-text-wrapper:hover .subtitle {
    font-weight: 600;
    color: teal;
}

.img-darken {
    transition:1s;
    filter: brightness(10%);
}

.item-nav-link-wrapper {
    height: 22px;
    border-bottom: 1px solid transparent;
    transition:border-bottom 0.5s;
}

.item-nav-link-wrapper a { /* Make text color of div <a> class to grey*/
    color: #8a8a8a;
    text-decoration: none;
    transition: color 0.5s;
}

.item-nav-link-wrapper:hover { /* Change color of bototm border to create underline border when hover over */
    border-bottom: 1px solid white;
}

.item-nav-link-wrapper a:hover { /* Change color of text to black when hover over */
    color: white;
}

/* About Page */
.two-column-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.profile-image-wrapper_LOW img {
    padding-top:100px;
    width:100%;
}

.profile-image-wrapper_MID img {
    padding-top:60px;
    width:100%;
}

.profile-image-wrapper img {
    width:100%;
}

.profile-content-wrapper {
    padding:30px;
    padding-left: 50px;
}

.profile-content-wrapper h1 {
    color:teal;
}

.profile-video-wrapper video {
    position: relative;
    top: 0;  /* Position top*/
    display: flex;      /* Use Flexbox */
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    height: 100%;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    width:100%;
}