body {
  font-family: "Montserrat", sans-serif;
}

/*
** Scroll behavior
*/
html {
  scroll-behavior: smooth;
}

/*
** Skip link
*/
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #393f4a;
  color: white;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/*
** Screen-reader only utility
*/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/*
** Headers
*/

h1,
h2,
h3,
h4,
h5 {
  font-family: "Montserrat", sans-serif;
}

/*
** Containers
*/
.container {
  padding: 40px 20px;
}

.container-spacy {
  padding: 80px 20px;
}

/*
** Backgrounds
*/

.background-orange {
  background-color: #f8bc3b;
}

.background-green {
  background-color: #27ae60;
}

.background-grey {
  background-color: #3a3a3a;
}

.background-white {
  background-color: #ffffff;
}

.background-red {
  background-color: #db5940;
}

.background-yellow {
  background-color: #fec400;
}

.background-navy-blue {
  background-color: #7ecefd;
}

.background-pale-blue {
  background-color: #d1e1ed;
}

.background-slate-blue {
  background-color: #2c3e50;
}

.background-midnight-blue {
  background-color: #1f1f1f;
}

.background-blue {
  background-color: #028ca6;
}

/*
** Tag line
*/

header {
  margin-bottom: 40px;
}

.brand a {
  display: block;
  font-family: "Pacifico";
  font-size: 2em;
  color: #393f4a;
  margin-bottom: 20px;
}

h1.brand {
  font-size: 1rem;
  margin: 0;
}

.container.background-orange {
  padding-bottom: 0px;
}

/*
** Nav
*/

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  float: right;
}

nav ul li {
  display: inline-block;
  margin-right: 20px;
  padding-bottom: 20px;
}

nav ul li:last-child {
  margin-right: 0;
}

nav ul li a {
  font-family: Montserrat;
  font-size: 95%;
  font-weight: 600;
  color: #393f4a;
}

/*
** Buttons
*/

.button {
  padding: 14px 30px;
  border-radius: 5px;
}

.button-primary,
.button-primary:hover {
  background: #3a3a3a;
  color: white !important;
}

/*
** Feature
*/

.feature {
  margin-top: 20px;
}

.feature h1 {
  font-size: 5.5em;
  color: white;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 75px;
  margin-bottom: 40px;
}

/*
** Hello area
*/

.contact-col {
  background-color: #ffffff;
}

.hello-contact-info {
  background-color: #ffffff;
  margin-top: 18px;
  margin-left: 112px;
  margin-right: 60px;
  padding: 20px;
}
.contact-line {
  display: inline-block;
  width: 100%;
  font-size: 1.2rem;
  padding: 5px, 0px;
}
.contact-icon {
  float: left;
  width: 25%;
}
.fas.fa-mobile-alt.fa-2x.contact-icon {
  padding-left: 39px;
}

.fas.fa-envelope.fa-2x.contact-icon {
  padding-left: 34px;
}
.fas.fa-blog.fa-2x.contact-icon {
  padding-left: 34px;
}

.contact-text {
  float: right;
  width: 75%;
  padding-top: 7px;
}

.hello-text {
  font-family: Montserrat;
  font-weight: 500;
  padding-right: 20px;
  color: #393f4a;
  font-size: 1.7rem;
  line-height: 1.4;
}

@media screen and (max-width: 1023px) {
  .large-6.column.hello-text {
    margin-bottom: 0px;
  }
  .hello-text {
    margin-bottom: 1.5rem;
  }
  .large-6.column.hello-text-col {
    margin-bottom: 15px;
    padding-left: 60px;
    padding-right: 60px;
  }
  .row.feature {
    margin-top: 0px;
  }
  .row.intro {
    padding-left: 60px;
    padding-right: 60px;
  }
  header {
    margin-bottom: 0px;
  }
  h2.ast-text {
    margin-bottom: 3rem;
  }
  .contact-text {
    margin-left: auto;
    margin-right: auto;
  }
  .laptop-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 728px) {
  h3.expertise {
    font-size: 1.1rem !important;
  }
}

@media screen and (max-width: 640px) {
  .hello-text-col {
    padding-bottom: 10px;
  }
  .hello-text-box {
    padding-right: 30px;
    padding-left: 30px;
  }
  .hello-text-wrap {
    padding-top: 16px;
  }
  .hello-text {
    font-size: 1.5rem;
  }
  .row.intro {
    padding-left: 0px;
    padding-right: 0px;
  }
  .large-6.column.hello-text-col {
    padding-left: 20px;
    padding-right: 20px;
  }
  h3.expertise {
    font-size: 1.4rem !important;
  }
}

/*
** asterix
*/
.fa-quote-left,
.fa-asterisk {
  color: red;
}

.ast-text {
  font-family: Montserrat;
  font-weight: 500;
  padding-right: 20px;
  color: #393f4a;
  font-size: 2rem;
}

@media screen and (max-width: 640px) {
  .ast-text {
    padding-top: 20px;
  }
  h2.ast-text {
    font-size: 1.5rem;
  }
}

/*
** intro
*/

.feature {
  margin-top: 20px;
}

.intro h1 {
  font-size: 5.5em;
  color: grey;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 75px;
}

/*
** education
*/

.education {
  background-color: #f7f7f7;
  max-width: none;
}

.education-icons {
  padding: 20px;
  text-align: center;
}

.edu-block {
  padding: 10px;
  border: 1px solid #ededed;
  height: 150px;
  color: #393f4a;
}

.edu-block-class {
  position: relative;
  top: 0;
  transition: top ease 0.7s;
}

.edu-block-class:hover {
  top: -10px;
}
.edu-block-class:hover .education-icon {
  color: red;
}

.edu-block-class:hover p.education-text {
  visibility: visible;
  opacity: 1;
  color: #393f4a;
}

.education-icon {
  margin: 14px;
  color: #393f4a;
}

.edu-block-heading {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0;
}

@media screen and (max-width: 640px) {
  .edu-block {
    margin-bottom: 10px;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 10px;
  }
  .row.educatation {
    padding-bottom: 60px;
  }
  .large-6.column.education-icons {
    padding-top: 5px;
    padding-bottom: 0px;
  }
}

p.education-text {
  margin-bottom: 0px;
  font-size: 14px;
  font-weight: 200;
  opacity: 0;
  transition:
    visibility 0s,
    opacity 0.5s linear;
}

/*
** Features
*/

.features {
  text-align: center;
}

.features h3 {
  font-weight: 600;
  font-size: 1.4em;
}

.features p {
  font-size: 80%;
  margin-bottom: 40px;
}

.features img {
  margin-bottom: 20px;
}

/*
** recent
*/

.recent {
  text-align: center;
}

.recent h2 {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.recent p {
  color: #ffffff;
  margin-bottom: 60px;
}

.recent .item {
  padding: 100px 0;
  margin-top: 30px;
}

/*
** Business Card
*/

.blue {
  color: #29b6f6;
}
.green {
  color: #9ccc65;
}
.purple {
  color: #ba68c8;
}
.cyan {
  color: #4dd0e1;
}
.red {
  color: #ef5350;
}
.business-card-content {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family:
    Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono",
    "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
}
.business-card {
  perspective: 150rem;
  height: 20rem;
  width: 30rem;
  position: relative;
}
.card__side {
  height: 15rem;
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  width: 27rem;
  backface-visibility: hidden;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}
.card__side--front {
  background-color: #1c1c1c;
}
.card__side--back {
  transform: rotateY(180deg);
  background-color: #1c1c1c;
}
.business-card:hover .card__side--front,
.business-card:focus-within .card__side--front {
  transform: rotateY(-180deg);
}
.business-card:hover .card__side--back,
.business-card:focus-within .card__side--back {
  transform: rotateY(0deg);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}
.card__cont {
  height: 15rem;
  background-color: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  color: white;
}
.card__cta p {
  margin-left: 1rem;
}
.card__cta p > .space {
  margin-left: 2rem;
}

@media screen and (max-width: 640px) {
  .business-card {
    width: 85vw;
    height: calc(85vw * 0.667);
  }
  .card__side {
    width: 85vw;
    height: calc(85vw * 0.5);
  }
  .card__cont {
    height: calc(85vw * 0.5);
  }
  .card__cta {
    font-size: 0.75rem;
  }
  .card__cta p {
    margin-left: 0.5rem;
  }
  .card__cta p > .space {
    margin-left: 1rem;
  }
}
