/* https://newtodesing.com/ 
   v2.0 | 20110126
   License: none (public domain)
*/



/*Load google font*/
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');



/* Reset Styles */

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, 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,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
a{
  text-decoration: none;
  text-transform: none;
  color: #4A90E2;
}

body {
  line-height: 1;
  font-family: lato, ubuntu,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
  text-rendering : optimizeLegibility;
  -webkit-font-smoothing : antialiased;
  font-size: 19px;
  background-color: #FEFEFE;
  color: #04143A;
  padding: 20px 1%;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

p {
  color: #15171a;
  font-size: 17;
  line-height: 31px;
}

strong {
  font-weight: 600;
}

div , footer {
  box-sizing: border-box;
}

/* Reset ends */


/*Hero section*/

.container {
  max-width: 900px;
  height: auto;
  margin: 60px auto;
  display: flex;
}

.hero {
  position: relative;
  padding-bottom: 30px;
  border-bottom: solid 1px rgba(4, 20, 58 ,0.1);
  margin-bottom: 10px;
}

h1.name {
  font-size: 70px;
  font-weight: 300;
  display: inline-block;
}

.job-title {
  vertical-align: top;
  background-color: #D9E7F8;
  color: #4A90E2;
  font-weight: 600;
  margin-top: 5px;
  margin-left: 20px;
  border-radius: 5px;
  display: inline-block;
  padding: 15px 25px;
}

.email {
  display: block;
  font-size: 24px;
  font-weight: 300;
  color: #81899C;
  margin-top: 10px;
}

.lead {
  font-size: 44px;
  font-weight: 300;
  margin-top: 30px;
  line-height: 1.2;
  font-style: italic;
}

/*hero ends*/

/*skills & intrests*/

.sections {
  flex: 1 1 auto;
  padding-left: 10px;
  padding-right: 10px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: rgba(4,20,58, 0.5);
  padding: 5px 8px 7px;
  margin: 0 30px 15px -8px;
  background-color: rgba(4,20,58, 0.1);
  border-radius: 4px;
}

.list-card {
  margin: 30px 0;
}

.list-card .exp , .list-card div{
  display: inline-block;
  vertical-align: top;
}

.list-card .exp {
  margin-right: 15px;
  color: #4A90E2;
  font-weight: 600;
  width: 100px;
}

.list-card div {
  width: 70%;
}

.list-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #5B6A9A;
  line-height: 26px;
  margin-bottom: 8px;
}

.list-card div span {
  font-size: 16px;
  color: #81899C;
  line-height: 22px;
}

/*skill and intrests ends*/

/* Achievements */


.cards {
  max-width: 900px;
  display: block;
  margin-top: 280px;
}

.card {
  width: 47.9%;
  height: 200px;
  background-color: #EEF0F7;
  display: inline-block;
  margin: 7px 5px;
  vertical-align: top;
  border-radius: 10px;
  text-align: center;
  padding-top: 50px
}

.card-active , .card:hover{
  transform: scale(1.02);
  transition: 0.5s;
  background-color: #fff;
  box-shadow: 0px 5px 50px -8px #ddd;
  cursor: pointer;
}


.skill-level {
  display: inline-block;
  max-width: 160px;
}

.skill-level span {
  font-size: 35px;
  font-weight: 300;
  color: #5B6A9A;
  vertical-align: top;
}

.skill-level h2 {
  font-size: 95px;
  font-weight: 300;
  display: inline-block;
  vertical-align: top;
  color: #5B6A9A;
  letter-spacing: -5px;
}

.skill-meta {
  vertical-align: top;
  display: inline-block;
  max-width: 300px;
  text-align: left;
  margin-top: 15px;
  margin-left: 15px;
}

.skill-meta h3 {
  font-size: 20px;
  font-weight: 800;
  color: #5B6A9A;
  margin-bottom: 5px;
}

.skill-meta span{
  color: #81899C;
  line-height: 20px;
  font-size: 16px;
}

/* Achievements ends */



/* Media queries*/

@media(max-width: 1024px){
  h1.name {
    font-size: calc(15px + 5vw);
  }
  .lead {
    font-size: calc(13px + 3vw);
  }
  .container {
    padding: 15px;
    margin: 0px auto;
  }
  .cards {
    margin-top: 250px;
  }
}

@media(max-width: 600px){
  .container {
    padding: 15px;
    margin: 0px auto;
    display: block;
  }
  .cards {
    margin-top: 320px;
  }

  .card {
    padding: 15px;
    text-align: left;
  }
  .card h2 {
    font-size: 70px;
  }
  .card, .sections {
    margin: 10px 0;
  }
}


@media(max-width: 425px) {
  h1.name {
    font-size: 40px;
  }

  .card , .sections {
    margin: 10px 0;
  }

  .job-title {
    position: absolute;
    font-size: 15px;
    top: -40px;
    right: 20px;
    padding: 10px
  }

  .lead {
    margin-top: 15px;
    font-size: 20px;
    line-height: 28px;
  }
  footer {
    margin-top: 250px;
  }
}
