/* Typography */

body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 18px;
  line-height: 34px;
  color: #777;
  background: url("../images/concrete_seamless.png");
}

h1, h2, h3 {
  font-family: Georgia, Times, "Times New Roman", serif;
  font-weight: 700;
  color: #4aaaa5;
}

/* header */

header {
  background-color: #fff;
}

.logobox {
  width: 250px;
  height: 90px;
  font-family: Georgia, Times, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 90px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #4aaaa5;
}

.logo {
  color: #fff;
  text-decoration: none;
}

nav {
  margin-top: 25px;
}

nav a {
  padding-left: 15px;
  margin-left: 15px;
  line-height: 18px;
  color: #999;
  text-align: center;
  text-decoration: none;
  border-left: 1px solid #efefef;
}

/* footer */

footer {
  padding: 30px 0;
  clear: both;
  font-size: 12px;
  color: #ccc;
  text-align: center;
  background: #666;
  border-top: 8px solid #4aaaa5;
  height: 50px;
}

/* all pages setting */

.container .main-section {
  margin-top: 20px;
  padding: 20px;
  background-color: #fff
}

h1 {
  padding-bottom: 20px;
  padding-top: 40px;
  font-size: 30px;
  line-height: 49px;
  border-bottom: 3px solid #ddd;
}

/* ---------------------
/* main page 
------------------------*/

.auth-image {
  float: left;
  width: 200px;
  height: auto;
  margin-top: 10px;
  margin-right: 25px;
}

/* ---------------------
/* contact page 
------------------------*/

form {
  padding: 20px;
}

button {
  margin: 20px;
}

/* ---------------------
/* portfolio page 
------------------------*/

.work {
  margin: 20px 0 0 20px;
  padding: 20px;
}

.work img {
  /* width: 100%; */
  width: 360px;
  height: auto;
  border: 0 none;
  opacity: 0.8;
}

.work h3 {
  position: absolute;
  bottom: 40px;
  /* width: 100%; */
  width: 360px;
  padding: 15px;
  margin-bottom: 0;
  font-weight: 300;
  line-height: 30px;
  color: #fff;
  text-align: center;
  background: #4aaaa5;
  border-bottom: 0;
}

/* Extra small devices (phones, 600px and down) */

@media only screen and (max-width: 320px) {
  .work h3 {
    width: 71%;
    line-height: 10px;
    font-size: 15px;
  }
  .last-pic img {
    width: 100%;
  }
}

@media only screen and (min-width: 320px) {
  .work h3 {
    width: 71%;
    line-height: 10px;
    font-size: 15px;
  }
  .last-pic img {
    width: 100%;
  }
}

@media only screen and (min-width: 375px) {
  .work h3 {
    width: 75%;
    line-height: 10px;
    font-size: 15px;
  }
  .last-pic img {
    width: 100%;
  }
}

@media only screen and (min-width: 414px) {
  .work h3 {
    width: 77%;
    line-height: 10px;
    font-size: 15px;
  }
  .last-pic img {
    width: 100%;
  }
}
/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (min-width: 485px) {
  .work h3 {
    width: 360px;
    line-height: 15px;
    font-size: 20px;
  }
  
  .last-pic img {
    width: 360px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (min-width: 768px) {
  .work h3 {
    width: 265px;
    line-height: 15px;
    font-size: 20px;
  }
  
  .last-pic img {
    width: 265px;
  }
}

/* Large devices (laptops/desktops, 992px and up) */

@media only screen and (min-width: 992px) {
  .work h3 {
    width: 360px;
    line-height: 30px;
  }
  .last-pic img {
    width: 360px;
  }
}