
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 0px solid grey;
}
.clearfix:before {
    content: " ";
    display: table;
}

.clearfix:after { /* clearfix */
  content: "";
  display: table;
  clear: both;
}
html {
    box-sizing: border-box;
    font-size: 62.5%;
}
body {
    font-family: Tahoma,Verdana,Segoe,sans-serif; 
    font-size: 18px; 
    font-style: normal; 
    font-variant: normal; 
    line-height: 1.5;
    background: url(../images/background.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
body, h1, h2, h3, .download {
    font-weight: 400;
    margin: 0;
}
header {
    padding:100px;
    text-align: center;
} 
h2, h3 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}
h1 {
    font-family: 'Pacifico',Brush Script MT, cursive;
    font-size: 8rem;
}
h2 {
    font-size: 3.2rem;
}
h4{
    margin:0px;
}
a {
    color: #2980b9;
    transition: all 0.5s ease;
}
a:hover {
    color: #ffffff;
}
h4 a {
    text-decoration: none;
    color: lightgrey;
}

/* PAGE MENU
-----------------------------------------*/
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    border-bottom: 5px solid #434A5C;
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
}
.menu ul{
    margin-top: 0px; 
    margin-bottom: 0px; 
    margin-right: 200px;
}
.menu li {
    display: inline-block;
    padding: 20px 20px;
}
.menu a {
    text-decoration: none;
    color: #333333;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}
.menu a#pull {  
    display: none;  
} 
 
.content-wrap {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 75px 0;
}
.profile { 
    background: rgba(200,200,200,0.4);
}  
.profile-image {
    float: left;
    width: 27%;
    margin-right: 3%;
    border-radius: 90%;
    border: 1px solid #ddd;
    padding: 4px;
}
.profile h2 {
    border: none;
    background:rgb(41,128,185);
    display: inline-block;
    padding: 10px 20px;
    transform: rotate(-4deg);
    padding: 25px;
    border-radius:25%;
}
.profile h2.hover{
    transform: rotate(4deg);

}
.summary {
    width: 70%;
    float: right;
}
.summary p {
    background: linear-gradient(to bottom,rgba(255, 255, 255, 0.9), rgba(50, 50, 50, 0.5));
    padding: 25px;
    border: 1px rgb(150,150,150) solid;

}
.work-experience{ 
    background: rgb(44, 62, 80);
    color: lightgrey;
}  
.details {
    width: 30%;
    float: left;
}
.description{
    width: 65%;
    float: right;   
}
.item {
    border-bottom: 1px solid #ccc;
}
.item:last-child {
    border-bottom: none;
}
.firstcareer{ 
    background: darkturquoise;
    color: black;
}  
.skills { 
    background: linear-gradient(rgba(100, 100, 100, 0.5), rgba(0, 0, 0, 0.8)), 
                url(../images/background-3.jpg) no-repeat fixed;
    background-size: cover;
    color: rgb(240,255,255);
    text-align: center;
    padding: 0px;
}  
.skills-list .columns {
  width: 33.33%;
  float: left;
}
.skills-list ul,
.skills-circles ul {
  list-style-type: none;
  padding: 0;
}
.skills-circles ul li {
    height: 150px;
    width: 150px;
    line-height: 100px;
    display: inline-block;
    padding: 25px;
    border: 2px solid #16a085;
    border-radius: 50%;
    margin: 20px;
    background: rgb(44, 62, 80);
}
.skills-circles span {
  line-height: normal;
  display: inline-block;
  vertical-align: middle;
}
.skills-circles a{
    text-decoration: none;
    color: rgb(240,255,255);
}

.education { 
    background: rgb(44, 62, 80);
    color: lightgrey;
}  
.contact { 
    background: darkturquoise ;
}
.download { 
    background: darkturquoise;
    border: 1px, solid, black;
    position: fixed;
    top: 0;
    right:0;
    padding: 25px 18px 18px 18px;     
    padding: 18px;
    text-decoration: none; /* removes underline */
    color: #fff;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    z-index: 15;
}

/*************************************************/
/* skills animation                              */
/*************************************************/
.skill-circle {
    position: relative;
}
.skill-circle .mask {
    width: 150px;
    height: 150px;
    position: absolute;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #16a085;
    /*margin: 20px;*/
    background: rgb(44, 62, 80);
    text-align: center;
    line-height: normal;
    top: -1px;
    left: -1px;
}
.skill-circle span {
    /*display: block;*/
    /*position: relative*/
}
.skill-circle h4 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 12px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    margin: 20px 0 0 0
}
.skill-anim span { 
    transition: all 0.4s ease-in-out 0.2s;
    opacity: 1;
}
.skill-anim .mask { 
    /*background-color: rgba(0,0,0,0.8);*/
    background: rgb(44, 62, 80);
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 0.6s ease-in;
    border-radius: 50%;
}
.skill-anim h4{
    opacity: 0;
    background: transparent;
    transition: all 0.5s ease-in-out;
}
.skill-anim p { 
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
/*.skill-anim a.info { 
    opacity: 0;
    transition: all 0.5s ease-in-out;
} */

.skill-anim:hover .mask { 
    opacity: 1; 
    transform: scale(1) rotate(0deg);
    transition-delay: 0.2s;
}                                 
.skill-anim:hover span    { 
    transform: scale(0); 
    opacity: 0;
    transition-delay: 0s;
}                       
.skill-anim:hover h4,
.skill-anim:hover p,
.skill-anim:hover a {
    opacity: 1;
    transition-delay: 0.5s;
}

/*************************************************/
/* MEDIA QUERIES                                 */
/*************************************************/
@media (max-width: 1000px) {
    body {
        /*color: lightblue;*/
    }
    .menu li {
        display: inline-block;
        padding: 10px 10px;
        font-size: 1.5rem;
    }
}


@media (max-width: 825px) {
    html {
        font-size: 40%;
    }
    body {
        /*color: blue;*/
    }
    header {
        padding-top: 60px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 10px;
        background-color: rgba(150,150,150,0.5);
    }
    .menu {
        padding-right: 100px;
        padding-left: 20px;
    }
    .menu ul{
        padding-left: 20px;
    }
    .menu li {
        display: inline-block;
        padding: 7px 7px;
    }

  /* About section */
    .profile-image {
        width: 30%;
        float: right;
        margin: 0 0 15px 2%;
    }
    .profile .summary {
        width: auto; /* resets the width setting */
        /* or could also use width: 50% - if you don't want the text to wrap */
        float: none; /* removes the float */
    }
    .work-experience .details  {
        float: none; /* removed float */
        width: 100%; /* auto will work as well */
        padding-right: 0px; /* don't need padding anymore now that it spans across the page */
    }
    .work-experience .description {
        width: 100%;
        float: none; /* removed float */
    }
    .firstcareer .details  {
        float: none; /* removed float */
        width: 100%; /* auto will work as well */
        padding-right: 0px; /* don't need padding anymore now that it spans across the page */
    }
    .firstcareer .description {
        width: 100%;
        float: none; /* removed float */
    }
    .skills-list .columns {
        width: auto;
        float: none;
    }
    .skills-circles ul li {
        height: auto;
        width: auto;
        line-height: 10px;
        display: block;
        padding: 5px;
        border: none;
        border-radius: 0%;
        margin: 5px;
        background: none;
    }
    .skills-circles span {
        line-height: normal;
        display: inline-block;
        vertical-align: middle;
    }
    .skill-anim:hover .mask { 
        opacity: 0; 
        transform: scale(0) rotate(-180deg);
        transition-delay: 0.2s;
    }                                 
    .skill-anim:hover span    { 
        transform: scale(1); 
        opacity: 1;
        transition-delay: 0s;
    }                       
    .skill-anim:hover h4,
    .skill-anim:hover p {
        opacity: 0;
        transition-delay: 0.5s;
    }
}


@media  screen and (max-width: 530px) {
    body {
        /*color:green;*/
    }

    .menu {
    height: 40px;
    width: 100%;
    background: #455868;
    font-size: 11pt;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: bold;
    position: fixed;
    border-bottom: 2px solid #283744;
    text-align: left;
    padding-left: 0px;
    padding-right: 0px;

    }
    .menu ul {  
        display: none;  
        height: auto;  
        width: 100%;
        margin-left: 10px;
        margin-right:10px;
        background-color: #455868;
    }
    .menu li {  
        display: block;  
        float: none;  
        width: 100%;  
    }  
    .menu li a {  
        border-bottom: 1px solid #576979;  

    }  
    .menu a{
        color: white;
        width: 100%;
        text-align: left;
        padding-left: 5px;
        padding-top: 10px;
    }
    .menu a#pull {  
        display: block;  
        /*background-color: #ffffff;  */
        width: 100%;  
        position: relative;  
        height:40px;
        background-color: #283744;
    }  
    .menu a#pull:after {  
        content:"";  
        background: url('/images/nav-icon.png') no-repeat;  
        width: 30px;  
        height: 30px;  
        display: inline-block;  
        position: absolute;  
        right: 15px;  
        top: 10px;  
    }  
  
    .download {
        display: none;
        height: auto;
    }

}

