body,html {
    height: 100%;
    font-family: basic-sans,sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #626D7E;
}
body {
    background-image: url(../images/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 954px;
    background-color: #E2E6EC;
}
.container {
    position: relative;
    width: 100%;
    min-height: 100%;
}
.picture {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    width: 334px;
    background-color: #FFF;
}
.portrait {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.main-bio {
    margin-left: 334px;
    width: 620px;
    height: 100%;

    background-color: #E2E6EC;
    box-sizing: border-box;
    padding: 140px 80px;
}
h1 {
    font-size: 53px;
    font-weight: 700;
    color: #222831;

    margin-bottom: 12px;
}
h3 {
    font-size: 22px;
}
p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 30px;
}
ul.skills {
    list-style: inside;
    margin-bottom: 30px;
}
strong {
    font-weight: 400;
}

.btn {
    text-decoration: none;
    display: inline-block;
    transition: ease;
    transition-duration: 200ms;
    transform: perspective(1px) translateZ(0);
    backface-visibility: hidden;
}
.btn.primary {
    border-radius: 4px;
    background-color: #446CBC;
    padding: 16px 20px;
    
    font-size: 24px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    box-shadow: 3px 3px 6px rgba(0,0,0,.15);    
}
.btn.primary:hover {
    transform:  perspective(0) scale(1.048)  translateZ(0);
    backface-visibility: hidden;
}

.btn.text {
    font-weight: 400;
    font-size: 15px;
    color: #98A3B4;
    border-bottom: 3px solid #98A3B4;
    margin-left: 30px;
    margin-top: -5px;
}
.btn.text.external {
    margin-left: 0px;    
}
.btn.text:hover {
    color: #446CBC;
    border-color: #446CBC;
}

@media only screen and (max-width: 767px) { 
    .picture {
        width: 25%;
    }
    .portrait {
        bottom: 0 !important;
    }
    .main-bio {
        margin-left: 25%;
        width: auto;
        height: 100%;
        padding: 30px;
    }
    h1 {
        font-size: 32px;
        font-weight: 700;
        color: #222831;

        margin-bottom: 12px;
    }
    p {
        font-size: 16px;
        margin-bottom: 30px;
        line-height: 24px;
    }
    .btn.primary {
        padding: 12px 10px;
        font-size: 20px;
        display: block;
        
    }
    .btn.text {
        font-size: 15px;
        color: #98A3B4;
        border-bottom: 3px solid #98A3B4;
        margin-left: 0;
        margin-top: 15px;
    }
    .btn.text.external {
        margin-top: 5px;   
    }
}

@media only screen and (max-height: 930px) { 
    .portrait {
        bottom: -25%;
    }
}

@media only screen and (max-height: 580px) { 
    .portrait {
        bottom: -400px;
    }
}

@media only screen and (max-height: 300px) { 
    .portrait {
        bottom: -600px;
    }
}