@font-face {
font-family: 'DIN Condensed Bold';
font-style: normal;
font-weight: normal;
src: local('DIN Condensed Bold'), url('../css/fonts/DINCondensed-Bold.woff') format('woff');
}
@font-face {
  font-family: 'DIN Condensed Regular';
  font-style: normal;
  font-weight: normal;
  src: local('DIN Condensed Regular'), url('../css/fonts/DINCondensed-Regular.woff') format('woff');
  }


body {
  font-family: 'DIN Condensed Bold';
  display: flex;
  flex-wrap: wrap;
}

.navbar {
  background: rgba(18, 18, 18, 0.6);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.9);
}

.navbar .container-fluid {
  padding-top: 15px;
  padding-bottom: 15px;
}
.navbar>.container-fluid .navbar-brand {
  margin-top: -5%;
}

.navbar a {
  color: #cfcbcb;
  font-family: "DIN Condensed Bold";
  font-size: 20px;
  width: 125px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.3s color ease-in-out;
}
 .container-fluid>.navbar-header {
   margin-left: 5%;
 }

.navbar-right {
  margin-right: 5%;
}


.nav>li>a:hover {
 color: white;
 background-color: #eee0;
}

.navbar-brand img {
  width: 70%;
}

.navbar-nav li.active > a {
  color: white;
 background-color: #eee0;
}

.navbar .navbar-nav {
    display: inline-block;
    float: none;
}
.navbar .navbar-collapse {
    text-align: center;
}
.navbar-toggle {
  border: 1px solid white;
}

.navbar-toggle .icon-bar {
  background-color:white;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 50% ;
}

@media only screen and (min-width: 100px) and (max-width:1100px) {
 
}
/* The Close Button */
.modal-close {
    position: absolute;
    top: 10%;
    right: 100px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (min-width: 100px) and (max-width: 768px) {
  .navbar-right {
  margin-right: 5%;
}
.navbar>.container-fluid .navbar-brand {
  margin-top: -2%;
}
}

.btn {
  font-size: 25px;
  padding: 15px 60px;
  font-weight: 400;
  color: white;
  text-transform: uppercase;
  display: inline;
  text-align: center;
  transition: 0.5s ease-in-out;
}

#main-area .btn:hover {
  background-color: white;
  color: black;
}

.btn-common {
  border: 2px solid white;
  background: none;
  color: #fff;
}

#main-area {
  background-image: url(../images/mainpage.png);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%;

}

#main-area .logoHeader  {
  padding-bottom: 5%;
}

#main-area .logoHeader img {
  width: 25%;
}

@media only screen and (min-width: 100px) and (max-width: 860px) {
  #main-area {
    background-image: url(../images/website-footer-bg-4-3.png);
    background-position: 50% 50%;
    background-size: 200%; 
    background-repeat: no-repeat;
    background-color: #151515;
  }

  #main-area .logoHeader  {
    padding-bottom: 15%;
  }
  
  #main-area .logoHeader img {
    width: 80%;
  }

  #main-area .btn {
    padding: 10px 30px;
  }
}

#main-area h1 {
  color: #fff;
}

#skills {
  background-color: #151515; 
}

#skills .contents {
  margin-top: 15%;
  margin-bottom: 20%;
}

#skills .info-text {
  color: white;
}
#skills .info-text h1 {
  text-transform: uppercase;
  font-size: 3em;
  color: white;
}

#skills .info-text p {
  font-family: 'DIN Condensed Regular';
}
#skills .info-text span{
    color: #fd0087;
}

#skills .progress-bars h2 {
  font-size: 1.5em;
  text-align: left;
  margin-left: 15%;
  margin-bottom: 0px;
  color: #929292;

}
#skills .progress {
  margin: 1% auto 5%;
  width: 70%;
  height: 10px;
  background-color: rgb(179, 179, 179);
  border-radius: 5px;
}
#skills .progress-bar {
  background-color: #fd0087;
}
@keyframes animate-bars1 {
  0% {width: 0;}
  100% {width: 90%;}
}

@keyframes animate-bars2 {
  0% {width: 0;}
  100% {width: 80%;}
}

@keyframes animate-bars3 {
  0% {width: 0;}
  100% {width: 70%;}
}


#skills .bar1 {
  animation: animate-bars1 0.8s ease-in-out;
}
#skills .bar2 {
  animation: animate-bars2 0.8s ease-in-out;
}
#skills .bar3 {
  animation: animate-bars3 0.8s ease-in-out;
}


#projects .contents {
  height: 100%;
}

#projects .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

#projects .contents a img {
  transition: all .5s;
  image-rendering: auto;
  width: 100%;

}

#projects .contents a:hover img{
  transform: scale(1.1);
}

#projects .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  background-color: rgba(0, 0, 0, .8);
  transition: .5s ease;
}

#projects .overlay div {
  margin-top: 30%;
  color: white;
  text-align: center;
  font-size: 50px;
  opacity: 1;
}

#projects .contents a:hover .overlay {
  opacity: 1;
}


#projects .row img {
height: 100%;
width: 100%;
}

#projects .col-md-4 {
  padding: 0;
  height: 50%;
  overflow: hidden;
}

#projects .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
#projects .modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#projects .modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
#footer {
  background-color: #151515;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

#footer .contents {
  text-align: center;
  margin: 0 auto;
}
#footer .title-info img {
  width: 50%;
}

#footer .content-info {
  display: flex;
  justify-content: center;

}
#footer .content-info ul {
  list-style-type: none;
  text-align: left;
}

#footer .content-info object {
  width: 15%;
  vertical-align: middle;
  margin-right: 5%;
}

#footer .content-info li {
  padding-top: 5%;
  padding-bottom: 5%;
}

#footer .content-info li span{
  color: white;
  font-size: 2.5em;
  vertical-align: middle;
  
}

@media all and (min-width: 1281px)  { 
  #skills .contents {
    display: table-header-group;
    margin-top: 10%;
    margin-bottom: 10%;
  }


  #skills .profile-picture {
    display: table-footer-group;
    float: right;
    margin-bottom: 5%;
    display: contents;
  }

  #skills .profile-picture img {
    width: 35%;
    float: right;
  }

  #skills .info-text {
    display: table-header-group;
  }

  #skills .info-text h1 {
    font-size: 4em;
    margin: 10% 0 2% 15%;

  }

  #skills .info-text p {
    font-size: 2em;
    margin: 0 0 3% 15%;
    width: 70%;
  }

  #skills .progress {
    width: 50%;
    margin: 1% auto 4% 15%;
  }

  #footer .title-info img {
    width: 35%;
  }

  #footer .contents {
    margin-top: 5%;
  }

  #footer .content-info object {
    width: 5%;
  }
  #footer .content-info ul {
    margin-left: 10%;
  }
  .modal-content {
    margin: auto;
    display: block;
    width: 50%;
    max-width: 70%;
  }
}

@media all and (min-width: 981px) and (max-width: 1280px) { 
  #skills .contents {
    display: flex table-header-group
  }


  #skills .profile-picture {
    display: table-footer-group;
    float: right;

    margin-bottom: 5%;
    display: contents;
  }

  #skills .profile-picture img {
    width: 45%;
    float: right;
  }

  #skills .info-text {
    display: table-header-group;
  }

  #skills .info-text h1 {
    font-size: 4em;
    margin: 10% 0 0 15%;

  }

  #skills .info-text p {
    font-size: 2em;
    margin: 0 0 0 15%;
  }

  #footer .title-info img {
    width: 50%;
  }

  #footer .contents {
    margin-top: 5%;
  }

  #footer .content-info {
    margin-top: 5%;
  }

  #footer .content-info object {
    width: 5%;
  }
  #footer .content-info ul {
    margin-left: 20%;
  }

  .modal-content {
    margin: auto;
    display: block;
    width: 70%;
    max-width: 100%;
  }
}

@media all and (min-width: 737px) and (max-width: 980px) {
  #skills .fp-tableCell {
    display: initial;
  }

  #skills .contents {
    margin-top: 5%;
  }

  #skills .profile-picture {
    text-align: center;
    margin-bottom: 5%;
    display: inline-block;
  }

  #skills .profile-picture img {
    width: 45%;
  }

  #skills .info-text {
    text-align: center;
  }
  #skills .info-text h1 {
    font-size: 5em;
  }
  #skills .info-text p{
    font-size: 2em;
    width: 60%;
    text-align: center;
    margin-left: 20%;

  }

  #skills .progress {
    width: 60%;
  }

  #skills .progress-bars h2 {
    margin-left: 20%;
  }

  #footer .title-info img {
    width: 50%;
  }

  #footer .contents {
    margin-top: 5%;
  }

  #footer .content-info {
    margin-top: 5%;
  }

  #footer .content-info object {
    width: 5%;
  }
  #footer .content-info ul {
    margin-left: 20%;
  }
  .modal-content {
    margin-top: 10%;
    display: block;
    width: 90%;
    max-width: 100%;
  }
}

@media all and (min-width: 480px) and (max-width: 736px) {
  #skills .fp-tableCell {
    display: initial;
  }

  #skills .profile-picture {
    text-align: center;
    margin-bottom: 5%;
    display: inline-block;
  }

  #skills .profile-picture img {
    width: 45%;
  }

  #skills .info-text {
    text-align: center;
  }
  #skills .info-text h1 {
    font-size: 5em;
  }
  #skills .info-text p{
    font-size: 2em;
  }

  #footer .title-info img {
    width: 60%;
  }

  #footer .contents {
    margin-top: 5%;
  }

  #footer .content-info {
    margin-top: 5%;
  }

  #footer .content-info object {
    width: 10%;
  }
  #footer .content-info ul {
    margin-left: 10%;
  }
  .modal-content {
    margin-top: 20%;
    display: block;
    width: 90%;
    max-width: 100%;
  }

}

@media all and (max-width: 479px) {

  #skills .fp-tableCell {
    display: initial;
  }
  #skills  .contents {
    justify-content: center;  
  }

  #skills .profile-picture {
    text-align: center;
    margin-bottom: 10%;
  }

  #skills .profile-picture img {
     width: 60%;
  }

  #skills .info-text {
    text-align: center;
  }
  #skills .info-text p{
    font-size: 150%;
  }

  #skills .info-text h1 {
    text-transform: uppercase;
    color: white;
    font-size: 3em;
  }
  #footer .title-info img {
    width: 70%;
  }

  #footer .contents {
    margin-top: 5%;
  }

  #footer .content-info li span {
    font-size: 2em;
  }

  #footer .content-info {
    margin-top: 5%;
  }

  #footer .content-info object {
    width: 10%;
  }
  #footer .content-info ul {
    margin-left: 5%;
  }
  .modal-content {
    margin-top: 50%;
    display: block;
    width: 90%;
    max-width: 100% ;
  }
}



