* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Roboto Condensed';
  text-align: center;
  color: #535353;
}

a {
  text-decoration: none;
  color: #47afde;
    font-weight: 300;
}

a:hover {
  text-decoration: none;
}

strong {
  font-weight: 700;
}

.hero {
  background: url(images/responsive-design.jpg) no-repeat center;
  background-color: rgba(0, 0, 0, 0.75);
  background-blend-mode: multiply;
  height: 500px;
  /*height: 100%;*/
  width: 100%;
}

.text {
  position: relative;
  /*top: 50%;*/
  top: 32%;
  font-size: 50px;
}

.name,
.changingword {
  font-weight: 300;
  color: #f5f5f5;
  font-family: 'Roboto Condensed', sans-serif;
}

.web {
  display: inline-block;
  font-family: 'Roboto';
  font-weight: 700;
  color: #f5f5f5;
}

.changingword {
  display: inline-block;
  color: #4FC3F7;
}

#section1 {
  width: 100%;
  height: auto;
  padding: 50px 0;
}

.icons {
  text-align: center;
  width: 100%;
  padding: 5px 15px;
  margin: 0 auto;
  background: #fff;
}

i.material-icons {
  font-size: 60px;
  color: #535353;
  background-color: #f7f7f7;
  border-radius: 50%;
  padding: 20px;
  margin: 35px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.3s ease;
  border: solid;
  border-width: 2px;
  border-color: #f7f7f7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

i.material-icons:hover {
  color: #4FC3F7;
  border: solid;
  border-width: 2px;
  border-color: #4FC3F7;
  transform: rotate(45deg);
  cursor: pointer;
}

i.material-icons.active {
  color: #4FC3F7;
  border: solid;
  border-width: 2px;
  border-color: #4FC3F7;
}

#break {
    display: none !important;
}

h1 {
  color: #4FC3F7;
  font-size: 40px;
  font-weight: 700;
}

#caption {
  padding: 30px 20px;
    color: #4FC3F7;
    font-family: "Roboto Slab";
    font-weight: 300;
}

#section2 {
  width: 100%;
  height: auto;
  padding: 40px 20px;
  background-color: #667;
  background: linear-gradient(#535353, #393939);
  color: #f5f5f5;
}

.quote {
  font-size: 16px;
  color: #f5f5f5;
  font-style: italic;
  display: inline-block;
    font-family: "Roboto Slab";
}

.fa-quote-left {
  margin-right: 25px;
  vertical-align: top;
  margin-top: -10px;
    font-size: 25px;
}

.fa-quote-right {
  margin-left: 25px;
  vertical-align: bottom;
  margin-bottom: -10px;
    font-size: 25px;
}

#section3 {
  width: 100%;
  height: auto;
  padding: 50px 0;
  background-color: #f5f5f5;
}

.skills {
    width: 100%;
    max-width: 600px;
    padding: 20px 20px 20px 20px;
}

#section4 {
  width: 100%;
  height: auto;
  padding: 50px 0;
  text-align: center;
}

/* -----------------TIMELINE----------------- */

.timeline {
  position: relative;
  padding: 45px 5px 80px 5px;
    margin-top: 50px;
}

.timelinecontent {
  display: inline-block;
  margin: 0px 0 5px 0;
  max-height: 600px;
  overflow-y: scroll;
  padding: 0px 0;
  width: 50%;
  -moz-box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.12), 0 -3px 3px -3px rgba(0, 0, 0, 0.24);
  -webkit-box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.12), 0 -3px 3px -3px rgba(0, 0, 0, 0.24);
  box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.12), 0 0px 0px 0px rgba(0, 0, 0, 0.24);
}

.timelinecontent::-webkit-scrollbar {
  display: none;
}

.timeline:after {
  background-color: #ddd;
  content: "";
  display: block;
  height: 97.5%;
  left: 50%;
  position: absolute;
  top: -10px;
  width: 1px;
}

.timeline-date {
  position: relative;
  clear: both;
  background-color: #4FC3F7;
  z-index: 1;
  max-width: 75px;
  margin: 0 auto;
  --border-radius: 4px;
  font-size: 18px;
}

.timeline-date h3 {
  text-align: center;
  font-weight: 400;
  padding: 4px;
  margin-bottom: 7px;
  color: #f5f5f5;
font-family: "Roboto Slab";
}

.timeline-box {
  --border-radius: 4px;
  padding: 10px;
  margin: 0 auto;
  margin-bottom: 7px;
  position: relative;
  --min-width: 520px;
  width: 100%;
  z-index: 1;
  background-color: #ddd;
 font-size: 16px;
 font-family: "Roboto Slab"
}

.timeline-box strong {
    font-family: "Roboto Slab";
    font-weight: 400;
    font-size: 16px;
}

.timeline-box month {
    font-family: "Roboto Slab";
    font-weight: 300;
    font-size: 16px;
}

.blurb {
  margin-top: 5px;
  font-size: 16px;
  line-height: 1.3em;
  text-align: left;
    font-family: "Roboto Slab";
    font-weight: 300; 
    width: 100%;
}

#section5 {
  width: 100%;
  height: auto;
  padding: 40px 0;
  background: linear-gradient(#535353, #393939);
  color: #f5f5f5;
}

.contact p {
  vertical-align: top;
  display: inline-block;
  width: 40%;
  font-size: 16px;
  padding: 50px 0 20px 0;
    font-family: "Roboto Slab";
    font-weight: 100;
}

.socialdetails {
  display: inline-block;
  text-align: left;
  margin: 20px 0;
  line-height: 2em;
  padding: 20px;
  border-top: dotted 1px #f5f5f5;
  border-bottom: dotted 1px #f5f5f5;
    font-weight: 100 !important;
}

.socialdetails a {
  color: #f5f5f5;
  font-weight: 100;
}

.social {
  margin-right: 25px;
  color: #4FC3F7;
}

.resume {
  display: inline-block;
  cursor: pointer !important;
  border-radius: 5px;
  color: #f5f5f5 !important;
  font-weight: 700 !important;
  background-color: #4FC3F7 !important;
  padding: 10px 25px !important;
}

@media only screen and (max-width:1165px) and (min-width: 742px){
    .timelinecontent {
        width: 70%;
    }
}

@media only screen and (max-width:741px) and (min-width: 739px){
    .timelinecontent {
        width: 70%;
    }

    .fa-quote-right, .fa-quote-left {
        display: none !important;
    }
}

@media only screen and (max-width:738px) and (min-width: 618px){
    i.material-icons {
      font-size: 50px;
        margin: 35px 25px;
    }
    
    .timelinecontent {
        width: 80%;
    }
    
    .contact p {
        width: 60%;
    }
    
    .fa-quote-right, .fa-quote-left {
        display: none !important;
    }
}

@media only screen and (max-width:617px) and (min-width: 537px){
    i.material-icons {
        font-size: 40px;
        margin: 35px 20px;
    }
    
    .timelinecontent {
        width: 80%;
    }
    
    .contact p {
        width: 60%;
    }
    
    .fa-quote-right, .fa-quote-left {
        display: none !important;
    }
}

@media only screen and (max-width:536px) and (min-width: 497px){
    i.material-icons {
        font-size: 40px;
        margin: 35px 15px;
    }
    
    .timelinecontent {
        width: 80%;
    }
    
    .contact p {
        width: 60%;
    }
    
    .fa-quote-right, .fa-quote-left {
        display: none !important;
    }
}

@media only screen and (max-width:496px) and (min-width: 478px){
    i.material-icons {
        font-size: 35px;
        margin: 35px 15px;
    }
    
    .timelinecontent {
        width: 80%;
    }
    
    .contact p {
        width: 60%;
    }
    
    .fa-quote-right, .fa-quote-left {
        display: none !important;
    }
}

@media only screen and (max-width:477px) and (min-width: 446px){
    #break {
        display: block !important;
    }
    
    i.material-icons {
        font-size: 45px;
        margin: 35px 15px 0 15px;
    }
    
    .timelinecontent {
        width: 80%;
    }
    
    .contact p {
        width: 60%;
    }
    
    .fa-quote-right, .fa-quote-left {
        display: none !important;
    }
}

@media only screen and (max-width:445px) and (min-width: 200px){
    #break {
        display: block !important;
    }
    
    i.material-icons {
        font-size: 45px;
        margin: 35px 15px 0 15px;
    }
    
    #caption {
        padding: 50px 10px 30px 10px;
        font-size: 15px;
    }
    
    .timelinecontent {
        width: 90%;
    }
    
    .contact p {
        width: 75%;
    }
    
    .fa-quote-right, .fa-quote-left {
        display: none !important;
    }
}
