/* :: Maria Cardador :: */

/****************************
 Global CSS Reset
*****************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
    font-weight: normal;
}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}

/* remember to define focus styles! */
:focus {outline: 0;}

/* remember to highlight inserts somehow! */
ins {text-decoration: none;}
del {text-decoration: line-through;}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}


/****************************
 Webfonts
*****************************/

@font-face {
    font-family: 'silkabold';
    src: url('../webfonts/silka-bold-webfont.eot');
    src: url('../webfonts/silka-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfonts/silka-bold-webfont.woff2') format('woff2'),
         url('../webfonts/silka-bold-webfont.woff') format('woff'),
         url('../webfonts/silka-bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'silkalight';
    src: url('../webfonts/silka-light-webfont.eot');
    src: url('../webfonts/silka-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfonts/silka-light-webfont.woff2') format('woff2'),
         url('../webfonts/silka-light-webfont.woff') format('woff'),
         url('../webfonts/silka-light-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'silkamedium';
    src: url('../webfonts/silka-medium-webfont.eot');
    src: url('../webfonts/silka-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfonts/silka-medium-webfont.woff2') format('woff2'),
         url('../webfonts/silka-medium-webfont.woff') format('woff'),
         url('../webfonts/silka-medium-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

/****************************
 Global elements & styles
*****************************/
html {
    font-size:62.5%;
}

body {
    background: #fff;
    color: #000000;
    font-family: 'silkalight', sans-serif;
    font-size: 18px;
    font-size: 1.8rem;
    font-weight: normal;
    position: relative;
    width: 100%;
}
a {
    color: #3B454F;
    text-decoration:none;
}

p {
    padding-bottom: 18px;
}

#wrapper {
    margin: 0 auto;
    max-width: 1420px;
    padding: 0px 20px;
    position: relative;
}

strong {
    font-family: 'silkabold';
}

/****************************
 Header
*****************************/
header div.floatLeft {
    float: left;
}

.logo {
    font-size: 18px;
    font-size: 1.8rem;
    font-family: 'silkabold';
    padding-top: 73px;
    text-transform: lowercase;
}

header p {
    max-width: 220px;
    line-height: 21px;
    line-height: 2.1rem;
    padding-top: 25px;
}

header hr {
    background-color: #3B454F;
    border: 0;
    height: 3px;
    left: 14px;
    position: absolute;
    width: 20px;
}

header ul {
    list-style-type: none;
    float: right;
    padding-top: 63px;
}

header li {
    color: #3B454F;
    float: left;
    font-size: 16px;
    font-size: 1.6rem;
    font-family: 'silkamedium';
    padding: 10px 0;
    text-transform: lowercase;
}

header li.active {
    padding: 10px 32px;
}

header li a {
    color: #3B454F;
    font-family: 'silkamedium';
    padding: 10px 32px;
}

header li:last-of-type a {
    padding-right: 0;
}

header li a:hover {
    text-decoration: underline;
}

header li a.contact {
    border: 1px solid #3B454F;
    margin-left: 5px;
    padding-left: 28px;
    padding-right: 28px;
}

header li a.contact:hover {
    background-color: #3B454F;
    color: #fff;
    font-family: 'Texta-Book';
    transition: background-color 0.75s, color 0.75s;
}


/****************************
 Home
*****************************/
#homeMessage {
    clear: both;
    max-width: 820px;
    padding: 77px 0 88px 0;
}

#homeMessage h1 {
    font-family: 'silkabold';
    font-size: 90px;
    font-size: 9rem;
    line-height: 90px;
    line-height: 9rem;
}

#homeMessage p {
    font-family: 'silkalight';
    font-size: 24px;
    font-size: 2.4rem;
    line-height: 37px;
    line-height: 3.7rem;
    max-width: 670px;
}

#homeGrid {
    font-size: 0;
    overflow: hidden;
    width: 100%;
}
.project {
    display: inline-block;
    margin: 0 20px 20px 0;
    position: relative;
    vertical-align: top;
    width: calc(50% - 10px);
}

.project a {
    display: block;
}

.project img {
    border-radius: 16px;
    width: 100%;
}

.project:nth-of-type(2n) {
      margin-right: 0;
    }

.hoverState {
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 16px;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    text-align: center;
    transition: opacity 0.75s;
    vertical-align: middle;
    width: 100%;
    z-index: 100;
}

.hoverState:hover {
    opacity: 1;
    transition: opacity 0.75s;
}

.hoverState span {
    left: 0;
    position: absolute;
    top: calc(50% - 27px);
    width: 100%;
}

.hoverState hr {
    background-color: #787878;
    border: 0;
    height: 2px;
    width: 92px;
}

.hoverState h3, .hoverState h4 {
    color: #fff;
    font-size: 16px;
    font-size: 1.6rem;
}

.hoverState h3 {
    font-family: 'silkamedium';
    padding-bottom: 11px;
}

.hoverState h4 {
    font-family: 'silkalight';
    padding-top: 10px;
	padding-bottom: 11px;
}

/****************************
 Footer
*****************************/
footer {
    padding: 30px 0 50px;
    text-align: center;
}

footer a {
    display: block;
    opacity: 1;
}

footer a:hover {
    opacity: 0.5;
    transition: opacity 0.75s;
}


/****************************
 No-Access Page
*****************************/

#hero.noAccess {
    margin: 0 auto;
    max-width: 1420px;
    padding: 120px 16px 0;
}

.noAccess h1 {
    font-size: 24px;
    font-size: 2.4rem;
    font-family: 'silkalight';
    line-height: 37px;
    line-height: 3.7rem;
    padding-bottom: 20px;
    max-width: 960px;
}

.noAccess a {
    text-decoration: underline;
}

.noAccess p {
    padding-bottom: 16px;
}

#hero.noAccess + footer {
    display: none;
}

/****************************
 Project Page
*****************************/
#projectInfo {
    clear: both;
    padding-top: 130px;
}

#projectInfo h1 {
    font-size: 60px;
    font-size: 6rem;
    font-family: 'silkabold';
    padding-bottom: 98px;
}

#projectInfo a {
    text-decoration: underline;
}

#projectInfo a:hover {
    text-decoration: none;
}

#projIntro {
    display: flex;
    justify-content: space-between;
}

#leftSide {
    padding-bottom: 30px;
    margin-left: 60px;
    min-width: fit-content;
}

ul {
    list-style-type: disc;
    padding-left: 26px;
}

ul li {
    line-height: 30px;
    line-height: 3rem;
    padding-bottom: 15px;
}

.roleAndClient {
    font-size: 18px;
    font-size: 1.8rem;
    font-family: 'silkalight';
    padding-bottom: 15px;
}

h3.roleAndClient {
    font-size: 24px;
    font-size: 2.4rem;
    font-family: 'silkabold';
}

#projectInfo p, .projectText p {
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 30px;
    line-height: 3rem;
    max-width: 700px;
}

#projectImgs {
    padding: 40px 0 0 0;
    max-width: 1420px;
}

#projectImgs img {
    border-radius: 16px;
    width: 100%;
}

#projectImgs div.oneCol, #projectImgs div.twoCol, #projectImgs div.threeCol {
    margin-bottom: 56px;
    overflow: hidden;
}

#projectImgs div.twoCol div.left {
    float: left;
    width: calc(50% - 10px);
}

#projectImgs div.twoCol div.right {
    float: right;
    width: calc(50% - 10px);
}

#projectImgs div.threeCol div.imgCol {
    float: left;
    margin-right: 20px;
    width: calc(33.3333333333% - 13.3333333333px);
}

#projectImgs div.threeCol div.imgCol:nth-of-type(3n) {
    margin-right: 0;
}

#projectImgs div.oneCol, #projectImgs div.twoCol div.left, #projectImgs div.twoCol div.right {
    position: relative;
}

.textOverlay {
    position: absolute;
    padding: 45px;
    padding: 3.1vw;
    top: 0;
    width: 30%;
    z-index: 2000;
}

.twoCol .textOverlay {
    width: 70%;
}

.textOverlay h2.hero {
    font-size: 2.8vw;
    padding-bottom: 6px;
}

div.textOverlay h2 {
    font-family: 'silkamedium';
    font-size: 2.75vw;
}

div.textOverlay h3 {
    font-family: 'silkamedium';
    font-size: 20px;
    font-size: 2rem;
    padding-bottom: 15px;
}

.textOverlay p.hero {
    
}

div.textOverlay p {
    font-size: 16px;
    font-size: 1.6rem;
    font-family: 'silkalight';
}

.projectText {
    clear: both;
    /*padding-bottom: 20px;*/
    padding-top: 30px;
}

.projectText h2, #projIntro h2, #bio h2 {
    font-family: 'silkabold';
    font-size: 30px;
    font-size: 3rem;
    line-height: 38px;
    line-height: 3.8rem;
    padding-bottom: 20px;
}

#projIntro h2 {
    max-width: 700px;
}

.projectText h3 {
    font-family: 'silkamedium';
    font-size: 22px;
    font-size: 2.2rem;
    padding-bottom: 11px;
}


/****************************
Project login
*****************************/
fieldset {
    display: flex;
    /*padding-top: 10px;*/
}

input {
    background-color: #fff;
    border: 1px solid #3B454F;
    margin-right: 10px;
    padding: 14px 8px;
}

#submit {
    font-family: 'silkamedium';
    font-size: 16px;
    font-size: 1.6rem;
    padding: 12.25px 28px;
    /*text-transform: uppercase;*/
}

#submit:hover {
    background-color: #3B454F;
    color: #fff;
    font-family: 'silkamedium';
    transition: background-color 0.75s, color 0.75s;
}

p.pageLogin {
    padding: 30px 0 30px 0 !important;
}

p.pageLogin a {
    text-decoration: underline;
}

p.pageLogin a:hover {
    text-decoration: none;
}

p.errorMsg {
    padding: 0 0 30px 0 !important;
}

/****************************
 About Page
*****************************/
#bio, #avatar {
    clear: both;
    padding-top: 52px;
}

#avatar img {
    border-radius: 1000px;
    width: 200px;
}

#bio p {
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 30px;
    line-height: 3rem;
    max-width: 668px;
    margin-bottom: 24px;
}

#bio ul {
    display: flex;
    list-style-type: none;
    padding-left: 0;
}

#bio a {
    font-size: 14px;
    font-size: 1.4rem;
    font-family: 'silkamedium';
    text-decoration: underline;
}

#bio a:hover {
    text-decoration: none;
}

#bio li{
    padding-right: 20px;
}

#bio li:last-of-type {
    padding-right: 0;
}

#links {
    clear: both;
    padding: 20px 0 80px 0;
    overflow: hidden;
}

#links li {
    float: left;
    padding-right: 50px;
    padding-bottom: 20px;
}

#links a {
    color: #3B454F;
    text-transform: uppercase;
}

#links a:hover {
    font-family: 'Texta-Bold';
}

#experience {
    overflow: hidden;
}

div.expItem {
    margin-bottom: 70px;
    overflow: hidden;
}

div.expItem div.leftSide, div.expItem div.rightSide {
    float: left;
}

div.expItem div.leftSide {
    padding-right: 20px;
    width: calc(34% - 20px);
}

div.expItem div.rightSide {
    width: 66%;
}

.company, .dates, .rightSide h2 {
    font-size: 30px;
    font-size: 3rem;
    line-height: 40px;
    line-height: 4rem;
}

.rightSide h2 {
    font-family: 'Texta-Heavy';
}

.rightSide p {
    font-size: 22px;
    font-size: 2.2rem;
    line-height: 32px;
    line-height: 3.2rem;
}

/***** Media Queries *****/

@media screen and (min-width: 1460px) {
    .textOverlay {
        padding: 45px;
    }

    .textOverlay h2.hero {
        font-size: 48px;
        font-size: 4.8rem;
    }

   div.textOverlay h2 {
        font-size: 40px;
        font-size: 4rem;
    }

    .textOverlay p.hero {
        #font-size: 24px;
        #font-size: 2.4rem;
    }

    div.textOverlay p {
        #font-size: 20px;
        #font-size: 2rem;
    }
}

@media screen and (max-width: 1100px) {
    .textOverlay {
        padding: 32px;
    }

    .textOverlay h2 {
        font-size: 28px;
        font-size: 2.8rem;
    }

    .textOverlay p {
        font-size: 18px;
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 768px) {
    .project {
        margin-bottom: 30px;
        width: calc(50% - 10px);
    }

    .project:nth-of-type(2n) {
      margin-right: 0;
    }

    header p {
        max-width: 200px;
        line-height: 16px;
        line-height: 1.6rem;
        font-size: 14px;
        font-size: 1.4rem;
        padding-top: 25px;
    }

    #homeMessage p {
        line-height: 36px;
        line-height: 3.6rem;
    }

    .hoverState {
        background-color: #fff;
        opacity: 1;
        margin-top: 15px;
        position: relative;
    }

    .hoverState span {
        position: relative
    }

    .hoverState h3, .hoverState h4 {
        color: #4A4A4A;
        display: inline;
        padding: 0 5px;
    }

    .hoverState hr {
        display: none;
    }
    
    .textOverlay {
        margin-top: 30px;
    }

    .twoCol .textOverlay {
        padding: 0 0 2px 0;
        position: relative;
        width: 100%;
    }

    .twoCol .textOverlay h2 {
        font-size: 18px;
        font-size: 1.8rem;
        font-family: 'Texta-Medium';
        padding-bottom: 2px;
    }

    .twoCol .textOverlay p {
        font-size: 16px;
        font-size: 1.6rem;
    }

    footer {
        padding: 14px 0 30px;
    }

    footer img {
        width:20px;
    }

    .textOverlay {
        padding: 2px 0;
        position: relative;
        text-align: center;
        width: 100%;
    }

    .textOverlay h2.hero, div.textOverlay h2 {
        font-size: 18px;
        font-size: 1.8rem;
        font-family: 'Texta-Medium';
        padding-bottom: 2px;
    }

    .textOverlay p.hero, div.textOverlay p {
        font-size: 16px;
        font-size: 1.6rem;
    }

}

@media screen and (max-width: 600px) {

    #homeMessage {
        padding-bottom: 68px;
    }
    
    #homeMessage h1 {
        font-size: 60px;
        font-size: 6rem;
        line-height: 60px;
        line-height: 6rem;
    }

    #homeMessage p {
        font-size: 20px;
        font-size: 2rem;
        line-height: 30px;
        line-height: 3rem;
    }

    header hr {
        left: inherit;
        position: relative;
    }

    header div.floatLeft {
        float: none;
    }

    .logo {
        padding-top: 30px;
        padding-bottom: 30px;
        width: 100%;
    }

    header ul {
        float: none;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    header li:first-of-type {
        padding-left: 0;
    }
    
    header li:first-of-type a {
        padding-left: 0;
    }

    header li {
        font-size: 14px;
        font-size: 1.4rem;
        float: none;
        display: inline;
    }

    header li a.contact {
        border: 0;
        margin-left: inherit;
        padding-left: 17px;
        padding-right: 17px;
    }

    header li a.contact:hover {
        background-color: #3B454F;
        color: #fff;
        font-family: 'Texta-Book';
    }

    #leftSide {
        float: none;
        margin-left: 0;
        padding-bottom: 0;
        padding-top: 30px;
    }

    fieldset {
        text-align: center;
    }

    input {
        display: block;
        margin: auto;
        width: 282px;
    }

    input.btn {
        margin-top: 15px;
        width: 300px;
    }

    header li:last-of-type a {
        padding-right: 20px;
    }

    #bio {
        padding-top: 30px;
    }

    #bio p {
        font-size: 22px;
        font-size: 2.2rem;
        line-height: 32px;
        line-height: 3.2rem;
    }
    
    #projIntro {
        flex-direction: column;
    }

    div.leftSide {
        padding-bottom: 10px;
    }

    div.expItem div.rightSide, div.expItem div.leftSide {
        float: none;
        width: 100%;
    }

    #projectInfo {
        padding-top: 60px;
    }
    
    #projectInfo h1 {
        padding-bottom: 60px;
    }

}

@media screen and (max-width: 480px) {
    #wrapper {
        /*padding: 0 10px;*/
    }
    .project {
        margin-right: 0;
        width: 100%;
    }

    #projectImgs div.threeCol div.imgCol {
        margin-bottom: 16px;
        margin-right: 0;
        width: 100%;
    }

    #projectImgs div.twoCol div.left, #projectImgs div.twoCol div.right {
        float: none;
        margin-bottom: 16px;
        width: 100%;
    }

    #projectImgs div.twoCol div.right, #projectImgs div.threeCol div.right {
        margin-bottom: 0;
    }
    
    #homeMessage {
        padding: 56px 0 58px 0;
    }
    
    #homeMessage h1 {
        font-size: 50px;
        font-size: 5rem;
        line-height: 55px;
        line-height: 5.5rem;
    }

}

@-moz-document url-prefix() {
    #submit {
        padding-top: 8px;
    }
}
