/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
	display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/*====================== MY CODE ===========================*/

*{
    text-decoration: none;
}

main{
    padding-top: 100px;
}

header{
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    background-color: #fff;
    width: 100%;
    height: 100px;
}

header .header-brand{
    font-family: Catamaran;
    font-size: 24px;
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
    display: block;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

header nav ul{
    display: inline-block;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

header nav ul li{
    display: inline-block;
    float: left;
    list-style: none;
    padding: 0 15px;
    white-space: nowrap;
}

header nav ul li a{
    font-family: Catamaran;
    font-size: 16px;
    text-transform: uppercase;
    color: #111;
}

header .header-cases{
    display: none;
}

@media only screen and (min-width: 1000px){
    
    .header-contact-link{
        visibility: hidden;;    
    }

    header .header-brand{
        margin: 31px 0;
        text-align: left;
        line-height: 38px;
        padding: 0 20px 0 40px;
        border-right: 3px solid #111;
        float: left;
    }

    header nav ul{
        margin: 20px 0px 20px 20px;
        float: left;
    }

    header nav ul li a{
        line-height: 60px;
    }

    header .header-cases{
        display: block;
        font-family: Catamaran;
        font-size: 16px;
        text-transform: uppercase;
        color: #111;
        padding: 0 20px;
        line-height: 38px;
        border: 1px solid #111;
        margin-top: 30px;
        float: right;
        margin-right: 40px;
    }
}

/*===================== INDEX =====================*/

.index-banner{
    width: 100%;
    height: calc(100vh - 100px);
    background-image: url('images/banner.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: table;
}

.vertical-center{
    display: table-cell;
    vertical-align: middle;
}

.index-banner h2{
    font-family: Catamaran;
    font-size: 38px;
    font-weight: 900;
    line-height: 70px;
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 8px #111;
}

.index-banner h1{
    font-family: Cormorant Garamond;
    font-size: 22px;
    font-weight: 100;
    font-style: italic;
    color: #fff;
    text-align: center;
    text-shadow: 3px 3px 6px #111;
    line-height: 40px;
}

.index-links div{
    margin: 16px 16px 0;
    width: calc(100% - 32px);
    height: 100px;
    background-color: #f2f2f2;
}

.index-links div h3{
    font-family: Catamaran;
    font-size: 28px;
    font-weight: 600;
    color: #111;
    text-align: center;
    line-height: 100px;
    text-transform: uppercase;
}

@media only screen and (min-width: 1000px){

    .wrapper{
        width: 1000px;
        margin: 0 auto;
    }
    
    .index-banner h2{
        font-size: 70px !important;
    }

    .index-banner{
        width: 100%;
        height: 450px;
    }

    .index-banner h1{
        display: block;
        width: 100%;
        font-size: 30px !important;
        margin: 50px auto;
    }

    .index-links div{
        margin: 20px 10px 0;
        height: 220px;
        background-color: #f2f2f2;
        float: left;
    }

    .index-links{
        overflow: hidden;
    }

    .index-boxlink-square{
        width: calc(35% - 20px) !important;
    }

    .index-boxlink-rectangle{
        width: calc(65% - 20px) !important;
    }

    .index-links div h3{
        line-height: 230px
    }
}

/*==================== ABOUT ME ======================*/

.about-me{
    overflow: hidden;
}

.about-me h2{
    font-family: Catamaran;
    font-size: 28px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 25px;
    margin-top: 5px;
}

.about-me div{
    background-color: #f2f2f2;
    margin-bottom: 20px;
}

.about-image{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    margin: 0 auto;
}

.about-image img{
    width: 100%;
}

.about-text div{
    margin-left: 30px;
    margin-right: 30px;
}

.about-name{
    text-align: center;
    line-height: 30px;
}

.about-text h3{
    font-family: Catamaran;
    font-size: 20px;
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
}

.about-text h5{
    font-family: Catamaran;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
}

.about-text p{
    font-family: Cormorant Garamond;
    font-size: 25px;
    font-weight: 450;
    color: black;
    text-align: center;
}

.about-education{
    line-height: 30px;
}

.about-education div{
    text-align: center;
    line-height: 30px;
}

.about-about-me{
    line-height: 33px;
}

@media only screen and (min-width: 1000px){

    .about-me div{
        float: left;
    }

    .about-image{
        width: calc(50% - 20px) !important;
    }

    .about-name{
        margin-top: 30px;
        width: calc(50% - 40px) !important;
    }

    .about-education{
        margin-top: 30px;
        width: calc(50% - 40px) !important;
    }

    .about-about-me{
        margin: 30px 0 40px 0 !important;
        width: calc(100% - 30px) !important;
    }
}

/*================== CONTACT ME ======================*/

.contact{
    overflow: hidden;
    margin-bottom: 50px;
}

.contact h2{
    font-family: Catamaran;
    font-size: 28px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-top: 10px;
}

.contact div div{
    background-color: #f2f2f2;
}

.contact h3{
    font-family: Cormorant Garamond;
    font-size: 18px;
    font-weight: 450;
    color: black;
    text-align: center;
    text-transform: uppercase;
}
.contact-icon1,.contact-icon2,.contact-icon3{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
}

.grid{
    display: grid;
    grid-template-columns: 100px 1fr; 
    grid-template-rows: 1fr 1fr 1fr;

    grid-template-areas: 
    "iconA textA"
    "iconB textB"
    "iconC textC";

    grid-column-gap: 10px;
    grid-row-gap: 10px;
    white-space: nowrap;
    margin: 10px 30px;
}

.contact-icon1{
    grid-area: iconA;
}

.contact-icon2{
    grid-area: iconB;
}

.contact-icon3{
    grid-area: iconC;
}

.contact-icon1 img{
    width: 100%;
}

.contact-icon2 img{
    width: 100%;
}

.contact-icon3 img{
    width: 100%;
}

.contact-text0{
    visibility: hidden;
}

.contact-text1{
    grid-area: textA;
    line-height: 150px;
    justify-content: center;
}

.contact-text2{
    grid-area: textB;
    line-height: 150px;
    justify-content: center;
}

.contact-text3{
    justify-content: center;
    line-height: 150px;
    grid-area: textC;
}

@media only screen and (min-width: 1000px){

    .grid{
        display: grid;
        grid-template-columns: 150px 1fr; 
        grid-template-rows: 1fr 1fr 1fr 1fr;

        grid-template-areas:
        "textD textD" 
        "iconA textA"
        "iconB textB"
        "iconC textC";

        grid-column-gap: 20px;
        grid-row-gap: 20px;
        white-space: nowrap;
        margin: 10px 30px;
    }

    .contact-text0{
        visibility: visible !important;
        grid-area: textD;
        justify-content: center;
    }
    .contact-icon1,.contact-icon2,.contact-icon3{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 150px;
    }

    .contact-text0 p{
        font-family: Cormorant Garamond;
        font-size: 40px;
        font-weight: 800;
        color: black;
        text-align: center;
        text-transform: uppercase;
        line-height: 260px;
    }

    .contact h2{
        margin-bottom: 20px;
        margin-top: 15px;
    }

    .contact h3{
        font-size: 26px !important;
        line-height: 260px;    
    }
}

/*==================== PORTFOLIO =====================*/

.portfolio-details{
    overflow: hidden;
}

.portfolio-details h2{
    font-family: Catamaran;
    font-size: 28px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 5px;
}

.portfolio-details div{
    margin-bottom: 15px;
}

.portfolio-project-pic{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 310px;
    margin-left: auto !important;
    margin-right: auto !important;
    transition: transform .2s;
}

.portfolio-project-pic img{
    width: 100%;
    transition: transform .2s;
}

.portfolio-project-pic:hover{
    transform: scale(1.2);
}

.portfolio-projects div{
    margin-left: 20px;
    margin-right: 20px;
}

.portfolio-projects h3{
    font-family: Catamaran;
    font-size: 20px;
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
    text-align: center;
}

.portfolio-project-name{
    background-color: #f2f2f2;
    padding-top: 5px;
    padding-bottom: 5px;
}

.portfolio-project-name h3{
    font-size: 25px;
}

.portfolio-project-details{
    background-color: #f2f2f2;
    text-align: left;
    list-style-position: inside;
    padding-bottom: 5px;
    padding-top: 5px;
}

.portfolio-project-details h3{
    margin-bottom: 10px;
    font-size: 24px;
}

.portfolio-project-details ul{
    margin-left: 20px;
}

.portfolio-project-details ul li{
    font-family: Cormorant Garamond;
    font-size: 20px;
    font-weight: 500;
    color: black;
    margin-bottom: 8px;
    color: #111;
}

.clearer{
    height: 0;
    clear: both;
}

@media only screen and (min-width: 1000px){
    
    .wrapper{
        width: 1000px;
        margin: 0 auto;
        overflow: unset !important;
    }

    .portfolio-project-name{
        width: calc(100% - 40px) !important;
    }

    .portfolio-project-pic{
        width: calc(60% - 30px) !important;
        margin-left: 20px !important;
        margin-right: 10px !important;
    }

    .portfolio-project-details{
        width: calc(40% - 30px) !important;
        height: 350px;
        margin-left: 10px !important;
        margin-right: 20px !important;
    }

    .portfolio-details{
        overflow: unset !important;
    }

    .portfolio-projects div{
        float: left !important;
        margin-bottom: 20px !important;
    }

    .portfolio-project-pic:hover{
        transform: scale(1.4);
    }

    .portfolio-project-name h3{
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    .portfolio-project-details h3{
        margin-bottom: 20px !important;
        margin-top: 10px !important;
    }

}

/*==================== TECHNOLOGY ====================*/

.tech-using{
    overflow: hidden;
}

.tech-using h2{
    font-family: Catamaran;
    font-size: 28px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 5px;
}

.tech-percent{
    width: calc(100% - 60px);
    height: 40px;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-image{
    width: 100px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.tech-image img{
    width: 100%;
}

.tech-name{
    width: calc(100% - 40px);
    background-color: #f2f2f2;
    margin: 20px auto;
}

.tech-name h3{
    font-family: Catamaran;
    font-size: 24px;
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
    text-align: center;
    margin-top: 7px;
    margin-bottom: 7px;
}

.progress-bar{
    width: calc(100% - 14px);
    height: calc(90% - 10px);
    margin: auto auto;
    border: 2px solid black;
    border-radius: 10px;
}
.progress-bar-fill1{
    width: 70%;
    height: 100%;
    background-color: #2765d1;
    border-radius: 10px;
}

.progress-bar-fill2{
    width: 60%;
    height: 100%;
    background-color: #2765d1;
    border-radius: 10px;
}

.progress-bar-fill3{
    width: 15%;
    height: 100%;
    background-color: #2765d1;
    border-radius: 10px;
}

.progress-bar-fill4{
    width: 45%;
    height: 100%;
    background-color: #2765d1;
    border-radius: 10px;
}

.tech-description{
    width: calc(100% - 40px);
    background-color: #f2f2f2;
    margin: 20px auto;
}

.tech-description p{
    font-family: Cormorant Garamond;
    font-size: 20px;
    font-weight: 800;
    color: #111;
    text-align: center;
    line-height: 26px;
}

@media only screen and (min-width: 1000px){
    .tech-about div{
        float: left;
    }

    .tech-image{
        width: calc(25% - 40px) !important;
        margin: 20px 20px !important;
    }

    .tech-image img{
        width: 200px !important;
        height: 200px !important;
    }

    .tech-name{
        width: calc(75% - 40px) !important;
        margin: 25px 20px !important;
    }

    .tech-name h3{
        font-size: 26px;
    }

    .tech-percent{
        width: calc(75% - 40px);
        margin: 35px 20px;
        height: 60px;
    }

    .tech-description{
        width: calc(100% - 40px) !important;
        margin: 20px 20px;
    }

    .tech-description p{
        font-size: 25px;
    }
}
/*==================== FOOTER ========================*/

footer{
    width: calc(100% - 80px);
    padding: 40px 40px;
    background-color: #111;
    margin-top: 20px;
    overflow: hidden;
}

footer ul{
    width: fit-content();
    float: left;
    padding-left: 20px
    white-space: nowrap;
}

footer ul li{
    display: block;
    list-style: none;
    white-space: nowrap;
}

footer ul li a{
    font-family: Catamaran;
    font-size: 24px;
    line-height: 40px;
    color: #fff;
}

.footer-sm{
    width: 40px;
    float: right;
}

.footer-sm img{
    width: 100%;
    margin-bottom: 10px;
}

.footer-by h6{
    font-family: Catamaran;
    font-size: 10px;
    line-height: 40px;
    color: #fff;
    float: right;
    margin-top: 150px;
}

@media only screen and (min-width: 1000px){

    footer ul{
        padding-right: 30px;
    }

    footer ul li p{
        font-family: Catamaran;
        font-size: 24px;
        line-height: 40px;
        color: #fff;
        text-transform: uppercase;
    }

}