.container {
  max-width: 1000px;
  padding: 0 1.5rem;
  margin: auto;
  overflow: hidden; }
  .container .card {
    max-width: 50%;
    margin: 5rem auto;
    padding: 1rem;
    border: 1px solid #ffbc00;
    text-align: center; }

.alert-success {
  width: 100%;
  background: #ffbc00;
  height: 30px;
  line-height: 30px;
  color: #f4f4f4; }

.nav-container {
  max-width: 1000px; }

.btn-main, .btn-light, .btn-dark, .btn-medium, .btn-red {
  display: inline-block;
  padding: 0.8rem 2rem;
  transition: all 0.5s;
  border: none;
  cursor: pointer; }

.btn-main {
  color: #333;
  background: #ffbc00; }

.btn-light {
  color: #333;
  background: #f4f4f4; }

.btn-dark {
  color: #f4f4f4;
  background: #333; }

.btn-medium {
  color: #333;
  background: #ccc; }

.btn-red {
  padding: 0;
  color: #ff0000; }

button[class^="btn-"]:hover,
input[class^="btn-"]:hover,
a[class^="btn-"]:hover {
  background: #ffbc00; }

.bg-main {
  background: #ffbc00;
  color: #fff; }

.bg-light {
  background: #f4f4f4;
  color: #000; }

.bg-dark {
  background: #333;
  color: #fff; }

.bg-medium {
  background: #ccc;
  color: #000; }

.lead {
  font-size: 1.5 rem;
  margin-top: 1.5rem;
  margin-bottom: 1.6rem;
  letter-spacing: 1px;}

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

.py-1 {
  padding: 1rem 0; }

.py-2 {
  padding: 2rem 0; }

.py-3 {
  padding: 3rem 0; }

.py-4 {
  padding: 4rem 0; }

.my-1 {
  margin: 1rem 0; }

.my-2 {
  margin: 2rem 0; }

.my-3 {
  margin: 3rem 0; }

.my-4 {
  margin: 4rem 0; }

.mb-1 {
  margin-bottom: 1rem; }

.mb-2 {
  margin-bottom: 2rem; }

.mb-3 {
  margin-bottom: 3rem; }

.mb-4 {
  margin-bottom: 4rem; }

.mt-1 {
  margin-top: 1rem; }

.mt-2 {
  margin-top: 2rem; }

.mt-3 {
  margin-top: 3rem; }

.mt-4 {
  margin-top: 4rem; }

.section-title {
  font-size: 2rem;
  font-weight: 100;
  display: block;
  padding-bottom: 0.5rem;
  text-transform: uppercase; }

.bottom-line {
  height: 2px;
  width: 4rem;
  background: #ffbc00;
  margin: 0.3rem auto 1rem auto; }

.items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, 0.3); }

.item {
  position: relative;
  background: #ffbc00;
  overflow: hidden; }
  .item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    background: inherit;
    opacity: 0.9;
    width: 100%;
    height: 100%;
    transform: scale(2) translateX(-75%) translateY(-75%) rotate(-28deg);
    transition: transform 3s cubic-bezier(0.2, 1, 0.3, 1); }
  .item:hover:after {
    transform: scale(2) translateX(0) translateY(0) rotate(-28deg); }
  .item:hover .item-image {
    transform: scale(1.2);
    transition: transform 2s; }
  .item:hover .item-text {
    opacity: 1;
    transform: translateY(0); }
  .item-image {
    display: block;
    height: auto;
    transform: translateZ(0);
    transition: transform 750ms cubic-bezier(0.2, 1, 0.3, 1); }
  .item-image:before {
    content: "";
    display: block;
    padding-top: 75%;
    overflow: hidden; }
  .item-image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    line-height: 0; }
  .item-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: 1;
    text-align: center;
    color: #fff;
    transform: translateY(-20%);
    transition: opacity 750ms cubic-bezier(0.2, 1, 0.3, 1), transform 750ms cubic-bezier(0.2, 1, 0.3, 1);
    transition-delay: 400ms; }
    .item-text-wrap {
      position: absolute;
      top: 50%;
      width: 100%;
      transform: translateY(-50%); }
      .item-text-wrap .fa-plus{
          font-size: 20px;
          color: #fff;
          margin-top: 2rem;
          padding: 10px 30px;
          cursor: pointer;
          border: 1px solid #fff;
      }
    .item-text-title {
      font-size: 1.8rem;
      padding: 0 1rem;
      margin: 5px 0 0 0; }
      .item-text-title a {
        color: #fff; }
    .item-text-skills {
      font-size: 1.2rem;
      text-transform: uppercase;
      opacity: 0.9;
      margin: 0; }

.filter .active {
  background: #ffbc00; }
#details-nav{
    height:4rem;
}
  #details-body{
      font-family: Tahoma;
  }
#details-body h2{
    margin-top: 2rem;
}
#details-body h2 a{
    text-decoration: underline;
      padding: 1rem;
}
.details-desc {
    margin: 20px 0;
    border: 2px solid #f4f4f4;}
.details-desc p {
      padding: 1rem;
      font-family: Tahoma;
    }

#admin-header {
  height: 50px;
  overflow: hidden; }
  #admin-header #main-nav {
    height: 50px;
    padding-bottom: 1rem; }

.admin-body {
   }
  .admin-body .container {
    margin: 4rem auto; }
    .admin-body .container h2,
    .admin-body .container h3 {
      margin-bottom: 1rem; }

#addPortfolio .back {
  width: 100%;
  height: 30px; }
  #addPortfolio .back a {
    width: 100%;
    text-align: start;
    color: #fff;
    text-decoration: underline; }

#addPortfolio .add-form {
  width: 100%;
  text-align: center; }
  #addPortfolio .add-form input {
    display: block;
    width: 100%;
    margin: 1rem 0;
    height: 30px;
    line-height: 30px; }
    #addPortfolio .add-form input:focus {
      outline: 2px solid #ffbc00; }
  #addPortfolio .add-form select {
    display: block;
    width: 100%;
    margin: 1rem 0;
    height: 40px;
    line-height: 40px; }
    #addPortfolio .add-form select:focus {
      outline: 2px solid #ffbc00; }
    #addPortfolio .add-form select option {
      height: 40px;
      line-height: 40px; }
  #addPortfolio .add-form textarea {
    display: block;
    width: 100%;
    margin: 1rem 0;
    padding: 0.5rem 1rem; }

.text-input {
  padding: 0.5rem 3px;
  font-size: 18px; }

#login input {
  display: block;
  width: 100%;
  margin: 1rem 0;
  height: 30px;
  line-height: 30px; }
  #login input:focus {
    outline: 2px solid #ffbc00; }

.search-area {
  text-align: right; }
  .search-area input {
    margin-right: 0.5rem; }

.table {
  border-collapse: collapse;
  width: 100%; }
  .table th,
  .table td {
    text-align: left;
    padding: 1rem; }
    .table th td,
    .table td td {
      padding: 0; }
      .table th td button,
      .table td td button {
        border: none;
        cursor: pointer; }
    .table th .fa-eye,
    .table td .fa-eye {
      color: #333; }
    .table th .fa-reply,
    .table td .fa-reply {
      color: green; }
  .table tr:nth-child(odd) {
    background: #ccc; }
  .table th {
    background: #333;
    color: #f4f4f4; }
  .table a {
    border-right: 2px solid #ffbc00;
    padding: 5px; }
  .table a:last-child {
    border: none;
    color: #ff0000; }

.message h3,
.message h4,
.message p {
  margin-bottom: 1rem; }

.message span {
  font-weight: bold; }

* {
  margin: 0;
  padding: 0; }

body {
  font-family: "Dosis", sans-serif;
  line-height: 1.6em;
  background: #f4f4f4; }

a {
  text-decoration: none;
  color: #333; }

ul {
  list-style: none; }

h2,
h3,
h4 {
  text-transform: uppercase; }

img {
  width: 100%; }

#logo {
  width: 220px;
  height: 80px;
  margin-top: -7px;
  color: #ffbc00;
  text-transform: uppercase; }
  #alt-logo {
  display: none;
}

.ham {
  display: none;
}

#main-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 1rem;
  z-index: 10000; }
  #main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    transition: 0.6s; }
    #main-nav .container ul {
      display: flex; }
    #main-nav .container li {
      padding: 1rem 1.5rem; }
    #main-nav .container a {
      color: #fff;
      text-decoration: none;
      text-transform: uppercase;
      border-bottom: 3px transparent solid;
      transition: border-color 0.5s;
      padding-bottom: 0.5rem; }
      #main-nav .container a:hover {
        border-color: #ffbc00; }
      #main-nav .container a.active {
        border-color: #ffbc00; }
      #main-nav .container a.nav-git {
        border: 1px transparent solid;
        transition: border-color 0.5s;
        padding: 0.5rem;
        border-color: #ffbc00; }

#main-nav.scroll {
  padding: 0 5px 5px 5px;
  transition: 0.6s;
  height: 60px;
  background: #333;
  overflow: hidden; }

#main-nav.active ul li a.js-scroll-trigger {
  color: #fff;
  border-bottom: 3px #ffbc00 solid;
  transition: border-color 0.5s;
  padding-bottom: 0.5rem; }

#header-home {
  background: url(../img/code6_3.jpg) no-repeat center 80%/cover;
  height: 100vh; }
  #header-home .header-content {
    text-align: center;
    padding-top: 20%;
    margin-top: 4rem;
    color: #f4f4f4; }
    #header-home .header-content h1 {
      font-size: 4rem;
      line-height: 1.4rem; }
    #header-home .header-content .hero-text{
        display:none;
    }

#work-a {
  background: #f4f4f4; }

#about-a {
  overflow: hidden; }
  #about-a .about-info {
    display: flex; }
  #about-a .about-text {
    width: 50%;
    height: 100%;
    text-align: justify;
    margin-right: 2rem;
    padding: 10px 20px;
    border-right: 2px solid #ffbc00;
    border-top: 2px solid #555;
    border-bottom: 2px solid #555;
    border-left: 2px solid #555; }
    #about-a .about-text p {
      padding: 5px; }
  #about-a .about-skills {
    width: 50%; }
    #about-a .about-skills h2 {
            display: block;
          text-align: justify;
          width: 100%;
          margin-bottom: 1rem;
          margin-top: 1rem; }
    #about-a .about-skills .skillset {
      display: flex;
      justify-content: space-around; }
      #about-a .about-skills .skillset .listitem {
        margin-bottom: 0.5rem;
        text-align: justify; }
        #about-a .about-skills .skillset .listitem i {
          color: #ffbc00;
          margin-right: 0.5rem; }

#contact-a .text-fields {
  display: grid;
  grid-template-areas: "name subject" "email phone" "msg msg";
  grid-gap: 1rem;
  margin-bottom: 1rem; }
  #contact-a .text-fields .name-input {
    grid-area: name; }
  #contact-a .text-fields .subject-input {
    grid-area: subject; }
  #contact-a .text-fields .email-input {
    grid-area: email; }
  #contact-a .text-fields .phone-input {
    grid-area: phone; }
  #contact-a .text-fields .message-input {
    grid-area: msg;
    height: 100px; }
  #contact-a .text-fields .text-input {
    padding: 0.5rem 1rem; }

#contact-b .contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  text-align: center; }

#contact-c {
  height: 4rem; }
  #contact-c h1 {
    font-size: 4rem;
    line-height: 4rem;
    overflow: hidden; }

#main-footer {
  background: #333;
  height: 5rem;
  color: #fff; }
  #main-footer .footer-content {
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center; }
    #main-footer .footer-content .social a {
      color: #f4f4f4; }
    #main-footer .footer-content .social .fab {
      margin-right: 1rem;
      border: 2px solid #fff;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      line-height: 20px;
      padding: 0.5rem;
      text-align: center; }
      #main-footer .footer-content .social .fab:hover {
        background: #ffbc00; }


@media (max-width: 900px) {
  #header-home .header-content h1 {
    font-size: 3.5rem; }
  #work-a .item-text-title {
    font-size: 1.5rem; }
  #work-a .item-text-skills {
    font-size: 1rem; } }

@media (max-width: 800px) {
  #header-home {
    height: 30rem; }
    #header-home .header-content {
      padding-top: 5rem; }
      #header-home .header-content h1 {
        font-size: 3rem; }
  #work-a .item-text-title {
    font-size: 1.5rem; }
  #work-a .item-text-skills {
    font-size: 1rem; }
  #contact-c h1 {
    font-size: 3.5rem; } }

@media (max-width: 750px) {
  #header-home {
    height: 30rem; }
    #header-home .header-content {
      padding-top: 5rem;
      margin-top: 5rem; }
      #header-home .header-content h1 {
        font-size: 2rem; }
  #main-nav .container {
    flex-direction: column;
    align-items: center; }
    #main-nav .container li {
      padding: 1rem; }
  #main-nav.scroll {
    padding: 0 5px 5px 5px;
    transition: 0.6s;
    height: 60px;
    background: #333;
    overflow: hidden; }
    #main-nav.scroll #logo {
      display: none; }
  .items {
    grid-template-columns: 1fr 1fr; }
  #contact-c h1 {
    font-size: 3rem; } }

@media (max-width: 600px) {
  #about-a .about-info {
    display: block; }
    #about-a .about-info .about-text {
      width: 100%;
      border-right: 2px solid #555;
      border-top: 2px solid #555;
      border-bottom: 2px solid #ffbc00;
      border-left: 2px solid #555;
      text-align: justify;
      padding: 5px;
      margin-bottom: 20px; }
    #about-a .about-info .about-skills {
      width: 100%; }
  #contact-c h1 {
    font-size: 2.5rem; } }

@media (max-width: 580px) {
  #contact-a .text-fields {
    grid-template-areas: "name" "subject" "email" "phone" "msg"; }
  #contact-b .contact-info div {
    margin-right: 1rem;
    padding-right: 1rem;
    border-right: 1px solid #555; }
    #contact-b .contact-info div:last-child {
      margin-right: 0;
      padding-right: 0;
      border-right: none; }
  #contact-c h1 {
    font-size: 2rem; } }

@media (max-width: 550px) {
  #contact-b .contact-info {
    grid-template-columns: 1fr; }
    #contact-b .contact-info div {
      margin-bottom: 1rem;
      padding-bottom: 1rem;
      margin-right: 0;
      padding-right: 0;
      border-right: none;
      border-bottom: 1px solid #555; }
      #contact-b .contact-info div:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none; }
  #main-footer {
    height: 7rem; }
    #main-footer .footer-content {
      flex-direction: column;
      height: 5rem;
      padding: 1rem; } }

@media (max-width: 500px) {
  #main-nav .container {
    flex-direction: column;
    align-items: flex-start; }
    #main-nav .container ul {
      flex-direction: column;
      align-items: flex-start; }
      #main-nav .container ul li {
        padding: 7px;
        margin-left: 10px;
        display: block; }
        #main-nav .container ul li a {
          font-size: 15px;
          padding: 5px; }
        #main-nav .container ul li .nav-git {
          margin-top: 5px; }
  #main-nav.scroll {
    padding: 5px;
    transition: 0.6s;
    height: 300px;
    background: #333;
    overflow: hidden; }
  #ham-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0 auto;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333; }
  #ham-menu.scroll {
    padding: 5px;
    transition: 0.6s;
    height: auto;
    width: 100%;
    background: #333;
    overflow: hidden;
    z-index: 10000000; }
  #alt-logo {
    display: block;
    width: 220px;
    height: 80px;
    margin-top: -7px;
    color: #ffbc00;
    text-transform: uppercase; }
  .ham {
    /* always keep ham on top of everything */
    z-index: 1000;
    display: block;
    margin-right: 15px;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #fff;
    background-size: 100%; }
  /* change ham image to close */
  .showClose {
    z-index: 10000;
    color: #f4f4f4;
    border: none;
    outline: none;
    background: transparent;
    background-size: 100%; }
  .navbar {
    position: absolute;
    background: #333;
    z-index: -100000;
    width: 100%;
    height: 300px;
    /* hide the menu above the screen by default */
    /* transition adds a little animation when sliding in and out the menu */
    display: none;
    transition: 0.6s ease; }
  .showNav {
    /* show the menu */
    display: block;
    transform: translateY(23%);
    transition: 0.6s;
    width: 100%;
    height: 300px;
    z-index: -1000000; }
    .showNav #logo {
      display: none; }
  /* basic nav styling below */
  #header-home {
    height: 30rem;
    border-bottom: 3px solid #ffbc00;
    background-position: 30% cover/right; }
    #header-home .header-content h1 {
      display: none; }
    #header-home .header-content .hero-text {
      display: block;
      font-size: 30px;
      line-height: 30px;
      letter-spacing: 1px; }
  #home-a .specials,
  #home-b .stats,
  #home-c .process,
  #about-d .testimonials,
  #contact-b .contact-info,
  .items {
    grid-template-columns: 1fr; }
  #home-a .specials div {
    border-bottom: 1px solid #f4f4f4;
    padding-bottom: 1rem; }
    #home-a .specials div:last-child {
      border: none;
      padding-bottom: 0; }
  #home-b .stats div {
    padding: 2rem 0 1rem 0; }
  #about-a .about-info {
    display: block; }
    #about-a .about-info .about-text {
      width: 100%;
      border-right: 2px solid #555;
      border-top: 2px solid #555;
      border-bottom: 2px solid #ffbc00;
      border-left: 2px solid #555;
      text-align: justify;
      padding: 5px;
      margin-bottom: 10px; }
    #about-a .about-info .about-skills {
      width: 100%; }
  #contact-a .text-fields {
    grid-template-areas: "name" "subject" "email" "phone" "msg"; }
  #contact-b .contact-info div {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    margin-right: 0;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #555; }
    #contact-b .contact-info div:last-child {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none; }
  #contact-c h1 {
    font-size: 2rem;
    line-height:2rem;}
  #main-footer {
    height: 7rem; }
    #main-footer .footer-content {
      flex-direction: column;
      height: 5rem;
      padding: 1rem; } }
@media (max-width: 400px) {
  #contact-c {
    height: 3rem; }
    #contact-c h1 {
      font-size: 1.5rem;
      line-height: 1.5rem; } }
@media (max-width: 300px) {
  #main-nav .container li {
    padding: 4px; }
    #main-nav .container li a {
      font-size: 12px;
      padding: 2px; } }

/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
  #header-home .header-content {
    padding-top: 50%; } }

@media (max-height: 580px) {
  #header-home .header-content {
    padding-top: 3rem; } }

@media (max-height: 330px) {
  #header-home .header-content h1 {
    font-size: 2rem; } }
