/* Imported fonts */
@import url("https://fonts.googleapis.com/css2?family=Lato&family=Montserrat:wght@600&family=Open+Sans&family=PT+Mono&display=swap");
/* Environment variables and utilities */
.container {
  max-width: 1280px;
  padding: 1.5rem;
  margin: auto;
  overflow: hidden; }

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

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

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

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

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

.lead {
  font-size: 1.3rem;
  margin-bottom: 2rem; }

.center {
  text-align: center; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.bottom-line {
  height: 2px;
  width: 3rem;
  background-color: #ffbc00;
  display: block;
  margin: 0 auto 1rem auto; }

.bg-light {
  background-color: #fff; }

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

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

.bg-primary {
  background-color: #ffbc00; }

/* Alerts */
.alert-success {
  padding: 0.3rem;
  background-color: lightcyan;
  color: #333; }

.alert-error {
  padding: 0.3rem;
  background-color: lightpink;
  color: #333; }

/* Default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

body {
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  background: #fff; }

textarea {
  font-family: "Lato", sans-serif; }

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

ul {
  list-style: none; }

img {
  width: 100%; }

code {
  margin: 1.5rem 0;
  padding: 0.2rem;
  background-color: #ccc;
  color: #333;
  font-family: 'PT Mono', monospace;
  border-radius: 5px;
  font-size: 1rem; }

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

/* Logo */
#brand-logo {
  width: 70px;
  height: 70px; }

/* Main header */
#header-main {
  background: url("./img/showcase.jpg") no-repeat center right/cover;
  height: 100vh;
  color: #fff; }
  #header-main .header-content {
    text-align: center;
    padding-top: 20%; }
    #header-main .header-content h1 {
      font-size: 4rem;
      line-height: 1.2; }

#header-inner {
  background: url("./img/showcase.jpg") no-repeat 20% 30%/cover;
  height: 5.5rem;
  border-bottom: 3px solid #ffbc00; }

/* Main menu */
#site-menu {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem; }
  #site-menu ul {
    display: flex; }
  #site-menu li {
    padding: 1rem 1.5rem; }
  #site-menu a {
    text-transform: uppercase;
    border-bottom: 3px transparent solid;
    padding-bottom: 0.5rem;
    color: #fff;
    transition: border-color 0.5s; }
    #site-menu a:hover {
      border-color: #ccc; }
    #site-menu a.current {
      border-color: #ffbc00; }

/* Context Menu */
#context-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #333;
  color: #fff;
  padding: 1rem;
  border-radius: 50%;
  display: none; }

#context-btn:hover {
  background-color: #ffbc00;
  transition-duration: 0.4s;
  cursor: pointer; }

#context-close {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #333;
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 50%;
  z-index: 3;
  display: none; }

#context-close:hover {
  background-color: #ffbc00;
  transition-duration: 0.4s;
  cursor: pointer; }

#context-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  z-index: 2;
  background-color: #333;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  color: #fff;
  display: none; }

#context-menu h3 {
  color: #ffbc00;
  margin: 0 1rem 0 0; }

#context-menu h4 {
  color: #ffbc00;
  margin-bottom: 1rem;
  margin: 0.5rem 0; }

#context-menu li {
  padding: 0.1rem 0; }

#context-menu a {
  color: #fff; }

/* Home Section A */
#home .specials {
  margin-top: 3rem;
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(4, 1fr); }

#home .fas {
  color: #ffbc00;
  padding-bottom: 0.4rem; }

/* Home Section B */
#stats .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr); }

#stats li {
  line-height: 2; }
  #stats li.stats-title {
    font-size: 1.5rem; }
  #stats li.stats-number {
    font-size: 2rem;
    font-weight: bold; }

#stats div {
  padding: 3rem; }
  #stats div:nth-child(odd) {
    background: #fff; }
  #stats div:nth-child(even) {
    background: #ccc; }

/* Home Section C */
#proc .process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1.5rem;
  text-align: center; }
  #proc .process-icon {
    border-radius: 50%;
    background: #333;
    color: #fff;
    padding: 2rem 1rem;
    width: 70px;
    height: 70px;
    line-height: 0px;
    text-align: center;
    position: relative;
    transition: all 1s; }
    #proc .process-icon:hover {
      background: #ffbc00;
      width: 90px;
      height: 90px;
      line-height: 90px; }
      #proc .process-icon:hover .process-step {
        background: #333; }
  #proc .process-step {
    position: absolute;
    top: 0;
    right: -40px;
    font-size: 28px;
    background: #ffbc00;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    line-height: 20px;
    padding: 2rem;
    transition: all 1s; }

/* About */
.bio-image {
  width: 30%; }

/* Site Footer */
#site-footer {
  background: #333;
  color: #fff;
  height: 5rem; }
  #site-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem; }
    #site-footer .footer-content .social .fab {
      cursor: pointer;
      margin-right: 1rem;
      border: 2px #fff solid;
      border-radius: 50%;
      height: 20px;
      width: 20px;
      text-align: center;
      padding: 0.5rem;
      color: #fff; }
      #site-footer .footer-content .social .fab:hover {
        background: #ffbc00; }

/* About */
#about-a .about-info {
  display: grid;
  grid-template-areas: 'bioimage bio bio'
 'aw1 aw2 aw3';
  grid-gap: 1.2rem; }

#about-a .bio-image {
  grid-area: bioimage;
  width: 50%; }

#about-a .bio {
  grid-area: bio;
  border-left: 3px solid #ffbc00;
  padding: 0.8rem; }

#about-a .award-1 {
  grid-area: aw1; }

#about-a .award-2 {
  grid-area: aw2; }

#about-a .award-3 {
  grid-area: aw3; }

#about-a .award-1 .fas,
#about-a .award-2 .fas,
#about-a .award-3 .fas {
  color: #ffbc00;
  margin: 1rem; }

#about-b {
  padding: 2rem 15rem; }
  #about-b .progress {
    overflow: hidden;
    height: 20px;
    background-color: #ccc;
    border-radius: 5px;
    margin-bottom: 0.3rem; }
  #about-b .bottom-line {
    height: 2px;
    width: 3rem;
    background-color: #ffbc00;
    display: block;
    margin: 0 auto 1rem auto; }
  #about-b h2 {
    text-align: center; }
  #about-b h2,
  #about-b h4 {
    color: #fff;
    margin-bottom: 1rem; }
  #about-b div {
    height: 100%;
    color: #fff;
    text-align: center;
    background-color: #ffbc00; }

#about-c .about-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2rem;
  text-align: center; }

#about-c .fab,
#about-c .fas {
  font-size: 4rem; }

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

.item {
  position: relative;
  background-color: #ffbc00;
  overflow: hidden;
  cursor: pointer; }
  .item::after {
    content: '';
    position: absolute;
    display: block;
    background: inherit;
    opacity: 0.9;
    top: 0;
    left: 0;
    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); }
  .item:hover .item-text {
    opacity: 1;
    transform: translateY(0); }
  .item-image {
    height: auto;
    display: block;
    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;
    width: 100%;
    height: auto;
    line-height: 0; }
  .item-text {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    text-align: center;
    z-index: 1;
    color: #fff;
    transform: translateY(-20%);
    transition: opacity 500ms cubic-bezier(0.2, 1, 0.3, 1), transform 500ms cubic-bezier(0.2, 1, 0.3, 1);
    transition-delay: 300ms; }
  .item-text-wrap {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%); }
  .item-text-title {
    font-size: 2rem;
    padding: 0 1rem;
    margin: 5px; }
  .item-text-category {
    text-transform: uppercase;
    font-size: 1.2rem;
    opacity: 0.7;
    margin: 0; }

.gallery-image {
  width: 100%; }

/* Contact */
#contact-a .text-fields {
  display: grid;
  grid-template-areas: 'name email'
 'subject phone'
 'message message';
  grid-gap: 1.2rem;
  margin-bottom: 1.2rem;
  text-align: center; }
  #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: message;
    height: 100px; }
  #contact-a .text-fields .text-input {
    padding: 0.5rem 1rem; }

#contact-a button[type='submit'] {
  width: 50%; }

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

#contact-b a {
  color: #fff; }

#contact-c {
  background-color: #ffbc00; }
  #contact-c h1 {
    text-align: center;
    font-size: 3.5rem; }

/* Menu Wrapper */
#menu-wrapper {
  display: flex;
  justify-content: space-between; }

/* Documentation Menu */
#docs-menu {
  margin-right: 5rem;
  padding: 1.5rem;
  background-color: #ccc;
  max-width: 300px;
  max-height: 75vh;
  border-radius: 5px; }

#docs-menu h3 {
  text-decoration: underline; }

#docs-menu h3,
#docs-menu h4 {
  margin: 1rem 0 0.5rem; }

#docs-menu a:hover {
  color: #fff;
  transition-duration: 0.4s; }

/* Documentation */
#docs {
  max-width: 1000px;
  margin: auto;
  border-top: 3px solid #ffbc00;
  padding-top: 2rem;
  text-align: left; }

#docs p,
#docs ul,
#docs ol {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  margin: 1rem 0; }

#docs h1,
#docs h2,
#docs h3,
#docs h4,
#docs h5 {
  text-transform: initial; }

#docs h3 {
  margin: 2rem 0; }

#docs h4 {
  margin: 1.5rem 0; }

#docs h5 {
  font-size: 1rem; }

#docs ul {
  list-style: initial;
  margin-left: 1rem; }

#docs ol {
  margin-left: 1rem; }

#docs ul.menu {
  list-style: none;
  margin: 0; }

#docs li {
  margin-bottom: 0.5rem; }

.inner-ul {
  list-style: circle !important; }

#docs img {
  width: 50%; }

#docs a {
  color: #ffbc00; }

#docs a:hover {
  color: #ccc;
  transition-duration: 0.4s; }

#docs table {
  margin: 1.5rem 0;
  font-size: 1.1rem; }

#docs td {
  margin: 0;
  padding: 0.3rem;
  border: 1px solid #333; }

.block {
  display: block; }

/* Admonitions */
.important {
  background-color: lightpink;
  margin: 2rem 0 1rem;
  padding: 0.25rem 1rem;
  border-radius: 10px; }

.important h4 {
  margin: 0.25rem !important; }

.important i {
  margin: 0.5rem; }

.tip {
  background-color: lightcyan;
  margin: 2rem 0 1rem;
  padding: 0.25rem 1rem;
  border-radius: 10px; }

.tip h4 {
  margin: 0.25rem !important; }

.tip i {
  margin: 0.5rem; }

.example {
  background-color: #ccc;
  margin: 2rem 0 1rem;
  padding: 0.25rem 1rem;
  border-radius: 10px; }

.example h4 {
  margin: 0.25rem !important; }

.example i {
  margin: 0.5rem; }

.note {
  background-color: lightgoldenrodyellow;
  margin: 2rem 0 1rem;
  padding: 0.25rem 1rem;
  border-radius: 10px; }

.note h4 {
  margin: 0.25rem !important; }

.note i {
  margin: 0.5rem; }

@media (max-width: 800px) {
  #header-main {
    height: 40rem; }
    #header-main .header-content {
      padding-top: 5rem; }
  #docs-menu {
    display: none; }
  #docs {
    padding: 1rem 2rem; }
  #docs p,
  #docs ul,
  #docs ol {
    font-size: 1rem; }
  #docs h3 {
    margin: 1.5rem 0; }
  #docs h4 {
    margin: 1.25rem 0; }
  #docs li {
    margin-bottom: 0; }
  #context-btn {
    display: block; } }

@media (max-width: 500px) {
  #site-menu {
    flex-direction: column;
    align-items: center; }
  li {
    padding: 1rem; }
  #header-main {
    height: 10rem;
    border-bottom: 3px solid #ffbc00;
    background-position: 20% 30%; }
    #header-main .header-content {
      display: none; }
  #header-inner {
    height: 10rem; }
  #home .specials,
  #stats .stats,
  #proc .process,
  #contact-b .contact-info,
  .items {
    grid-template-columns: 1fr; }
  #home .specials div {
    border-bottom: 1px #fff solid;
    padding-bottom: 1rem; }
    #home .specials div:last-child {
      border: none;
      padding-bottom: 0; }
  #stats .stats div {
    padding: 0; }
  #about-a .about-info {
    grid-template-areas: 'bioimage'
 'bio'
 'bio'
 'aw1'
 'aw2'
 'aw3'; }
  #about-a .bio-image {
    margin: auto; }
  #about-b {
    padding: 2rem; }
  #contact-a .text-fields {
    grid-template-areas: 'name'
 'subject'
 'email'
 'phone'
 'message'; }
  #contact-b .contact-info div {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: solid #ccc 1px; }
    #contact-b .contact-info div:last-child {
      border: none;
      margin-bottom: 0;
      padding-bottom: 0; }
  #contact-c h1 {
    font-size: 2rem; }
  #site-footer {
    height: 7rem; }
    #site-footer .footer-content {
      flex-direction: column;
      padding: 1rem;
      height: 7rem; }
    #site-footer .social {
      margin-top: 1rem; }
    #site-footer i {
      margin: 0 2rem; } }

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

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