@import url('https://fonts.googleapis.com/css?family=Dosis:400');
@import url('https://fonts.googleapis.com/css?family=Merriweather');
@import url('https://fonts.googleapis.com/css?family=Old+Standard+TT');


.up-button {
  position: fixed;
  right: 5%;
  bottom: 5%;
  display: none;
}

.up {
  border: 0;
  width: 75px;
  height: 75px;
  border-radius: 100%;
  background-image: url('./img/home/up.png');
  background-size: contain;
  cursor: pointer;
  box-shadow: 0 0 25px #BFBFBF;
  transform: scale3d(0.8,0.8,0.8);
  transition: 0.3s;
}

.up:focus {
  outline:0;
}

.up:hover {
  transform: scale3d(0.9,0.9,0.9);
}

#import-nav{
  width: 100%;
  position: fixed;
  transition: 1s;
  z-index: 3;
  background-color: transparent!important;
}

.transBg {
  height: 59px;
  width: 100%;
  position: absolute;
  background-color: rgb(136,136,136,0.0);
}

.navbar {
  transition: 1s;
  width: 100%;
  margin: 0;
  background-color: transparent;
  padding: 7px 150px;
}

body {
  color:#333;
  overflow-x:hidden;
}

h1{
  margin-bottom: 30px;
}

h2{
  font-size: 20pt;
  letter-spacing:12px!important;
  margin-bottom: 40px;
  margin-top: 40px;
}

h3{
  font-size: 16pt;
  letter-spacing:15px!important;
  margin-bottom: 40px;
}

p{
  font-family: 'Old Standard TT', serif!important;
  font-size: 14pt;
}

nav {
  font-family: 'Merriweather', serif!important;
}

a {
  color:#333;
}

a img{
  transition: 0.3s;
  transform: scale3d(0.95, 0.95, 0.95);
}

a img:hover {
  transform: scale3d(1.05, 1.05, 1.05);
}

a:hover {
  text-decoration: none;
  color:#333;
}

footer{

  font-family: 'Old Standard TT', serif!important;
  font-size: 12pt;
  margin-top: 100px;
  margin-bottom: 100px;

}

.footer {
  background-color: rgba(136, 136, 136, 0.25);
  width: 100%;
}

.intro{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: solid 0px red;
  height:135%;
  background-image: url('./img/home/intro.png');
  background-size: cover;
  z-index: 1;
}

.intro .container {
  margin-bottom:15%;
}

.portfolio {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height:auto;
  margin-top: -140;
  transition: 1s;
}

.portfolio h2 {
  margin-top: 0;
  padding-top: 80px;
}

.portfolio ul {
  padding-left: 0;
}

.portfolio ul li {
  list-style-type: none;
  cursor: pointer;
  display: inline;
  padding-left: 20px;
  transition: 0.5s;
  color: #9A9A9A;
  text-decoration: underline;
  text-decoration-color: transparent;
}

.portfolio ul li:hover {
  text-decoration-color: #9A9A9A;
}

.portfolio ul li.active {
  text-decoration-color: #9A9A9A;
}

.font-special {
  font-family:'Dosis',sans-serif!important;
  letter-spacing:16px;
}

.nav-container{
  margin-right: 150px;
  margin-left: 150px;
}

.dropdown-menu{
  border-radius:0;
}

.jumbotron {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0;
  background-color: #edeeef!important;
}

.jumbotron-gray {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  background-color: #F5F5F5!important;
  height:auto;
}

.ability{
  display: flex;
  flex-direction: column;
}

.ability-item{
  text-align: center;
}

.ability-item img {
  padding: 0 20px 0;
}

.recent-works {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.recent-works a {
  display: block;
  margin: 20px;
  overflow: hidden;
  width: 300px;
  text-align: center;
  cursor: pointer;
}

.recent-works a p {
  font-family: Calibri !important;
  font-size: 12pt;
  padding-top: 8px;
  color: #808080;
}

.modalName {
  padding-left: 15px;
}

.modalText,.spanText {
  padding-right: 30px;
  padding-left: 30px;
  padding-top: 10px;
}

.spanText span {
  font-weight: bold;
}

.aUnderModal {
  width: auto;
  height: 38px;
  border-radius: 5px;
  display: block;
  color: #6E6E6E;
  background-color: #D2D1D1;
  padding: 10px;
  line-height: 1;
  margin-right: 20px;
}

.aUnderModal:hover {
  background-color: #AAAAAA;
  color: #6E6E6E;
}

.imgUnderModel {
  width: 95%;
  padding-top: 20px;
  transform: scale3d(1, 1, 1);
}

.center-block {
  text-align: center;
}

.recent-works img.imgUnderRecWorck {
  opacity: 0.7;
  transition: 0.3s;
  width: 100%;
  transform: scale3d(1, 1, 1);
}

.recent-works img.imgUnderRecWorck:hover {
  opacity: 1;
  transform: scale3d(1.05, 1.05, 1.05);
}

.recent-works div:nth-child(1) {
  grid-column: 1 / 3
}

.recent-works div:nth-child(10) {
  grid-column: 3 / 5
}

.about p {
  padding: 0 20% 0 20%;
}

.icon {
  font-size: 16pt;
  transition: 0.3s;
}

.icon:hover {
  transform: translate(0,-5px);
}

@media only screen and (max-width: 768px) {

  .intro {
    background-image: url('./img/home/intro-md.png');
    height: 100%;
  }

  .navbar {
    padding: 7px 50px;
  }

  .intro .container {
    margin-bottom: -3%;
  }

  .about p {
    padding: 0 10% 0 10%;
  }
  .recent-works a{
    width: 84%;
  }

  .portfolio {
    margin-top: 0;
  }
}
@media only screen and (max-width: 600px) {

  .recent-works {
    display: flex;
    justify-content: center;
  }

  .recent-works div{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    height: 250px;
  }

  .about p {
    padding: 0 2% 0 2%;
  }

  #import-nav{
    opacity: 1;
  }
}

@media only screen and (max-width: 450px) {

  .navbar {
    padding: 6px 30;
  }

  .intro {
    background-image: url('./img/home/intro-sm.png');
    height: 100%;
  }

  .intro .container {
    margin-bottom: 0;
  }

  .portfolio h2 {
    padding-top: 60px;
  }

}

::selection {
  color:#fff;
  background:#C8C8C8;
}

::-moz-selection {
  color:#fff;
  background:#C8C8C8;
}

::-webkit-selection {
  color:#fff;
  background:#C8C8C8;
}
