/*
 * Use the 'clearfix' class on any element that contains floats, to prevent clearing issues.
 * http://cssmojo.com/the-very-latest-clearfix-reloaded/
 */
.clearfix:after {
  content: " ";
  display: block;
  clear: both;
}

/* Global */
body {
  font-family: 'Lato', 
}

p {
  font-family: 'lato';
  color: black
}

h2 {
  font-size: 30px
}

img {
  max-width: 100%;
  height: auto;
}

.text-center {
    text-align: center;
}

hr {
  display: block;
  border: 3px solid black;
  max-width: 50px;
  margin: 30px auto;
}

section {
  padding: 50px 0
}
@media (min-width: 769px) {
  section { padding: 100px 0; }
}

a {
  text-decoration: none;
  transition: all 0.3s;
}

/* BUTTONs */
.cta {
  background-color: #FFF;
  border-radius: 300px;
  border: 0;
  color: #222;
  cursor: pointer;
  display: inline-block;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  padding: 15px 30px;
  text-transform: uppercase;
  transition: all 0.4s;
  white-space: nowrap;
}

.cta:hover {
  background-color: #eee;
}

.cta.primary {
  background-color: #339aff;
  color: #FFF;
}

.cta.primary:hover {
  background-color: #fff;
  color: #339aff; 
}






/* header */
.header {
  background-color: white
}

.site-name {
  float: left;
  text-decoration: none;
  color: #000;
  letter-spacing: 5px;
  text-transform: uppercase;
  padding: 15px;
  display: inline-block
}

.site-name:hover {
  color: #339aff;
  text-decoration: bold
}

.nav-menu{
  float: right;
  margin: 0;
  padding: 0;
}

.nav-item {
  list-style-type: none;
  float: left;
}

.nav-link {
  text-decoration: none;
  color: #339aff;
  text-transform: uppercase;
  padding: 15px;
  display: inline-block;
}

.nav-link:hover {
  background-color: #339aff;
  color: white
}

/* landing */

.landing-container {
  background-image: url(../img/photo.jpg);
  background-position: center;
  background-size: cover;
  height: 100vh;
  position: relative;
  background-repeat: no-repeat;
}

.landing-content-outer {
  padding: 20px 10px 0;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}
@media (min-width: 769px) {
  .landing-content-outer { padding-top: 50px; }
}

.landing-content-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}

.landing-container-title {
  color: white;
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 0;
  margin-top: 0;
  text-transform: uppercase;
}

.landing-container-subtitle {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  margin: 0 auto 50px;
  max-width: 90%;
}
@media (min-width: 769px) {
  .landing-container-subtitle {
    font-size: 18px;
    max-width: 80%;
  }
}


.first {
  border-color: #339aff
}




/* About */


.about {
  color: #333;
}


.text-contrast {
  color: #333333;
}

.list.tittle {
  font-weight: bold;
  
}

.skills-box {
    display: block;
    position: relative;
}

.img-responsive {
    display: block;
    height: auto;
    max-width: 100%;
}


/* hobbies */

#hobbies {
  background-color: #339aff;
}

.hobbies {
  color: white
}


p.hobbies-text {
  color: white
}

.fa {
    font-size: 3em;
    color: white;
}

.fa:hover {
  color: rgba(255, 255, 255, 0.36)
}

.second {
  border-color: white
}


/* portfolio */

.portfolio-box {
  display: block;
  position: relative;
}

.portfolio-box img {
  max-width: 100%;
  height: auto;
}

.portfolio-box-caption {
  background: rgba(51, 154, 255, 0.52);
  bottom: 0;
  color: #fff;
  display: block;
  height: 100%;
  opacity: 0;
  position: absolute;
  text-align: center;
  transition: all 0.4s;
  width: 100%;
}

.portfolio-box-caption-content {
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}
.project-category ,
.project-name {
  font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
  padding: 0 15px;
}

.project-category {
  font-size: 16px;
  text-transform: uppercase;
}

.project-name {
  font-size: 22px;
}




/* contact */

.contact {
  color: #333333
}

.fa-envelope {
  color: #339aff
}















/*
 * Add as many @media query break points as you like, trying to keep in mind common device screen widths.
 * Remember to remove this code from your final project! 
 */
@media (min-width: 769px) and (max-width: 1024px) {
  /* You custom styles here */
  body:before { content: ""; }
}
@media (max-width: 320px) {
  /* You custom styles here */
  body:before { content: ""; }
}