/* Ported rule-for-rule from the stylesheet the live kebtech.com serves
   (assets/index-4f2dbd50.css), minus the scoped data-v attributes. */

@font-face {
  font-family: "antonia variable";
  src: url("fonts/antonia.woff") format("woff");
  font-display: auto;
  font-style: normal;
  font-weight: 400;
}

:root {
  --bg: #282830;
  --blue: #02B7C6;
  --yellow: #F9D617;
}

html { scroll-padding-top: 69px; }

body {
  /* The live site keeps the browser default 8px body margin; the hero
     line breaks on phones depend on it, so it stays. */
  background: var(--bg);
  color: #fff;
  font-family: antonia variable, sans-serif;
}

h1 {
  font-family: antonia variable, sans-serif;
  font-size: 4rem;
  font-style: normal;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }

#dashboard { overflow-x: hidden; }

/* Header ------------------------------------------------------------ */
#main-header {
  height: 60px;
  position: fixed;
  padding: 1rem;
  border-bottom: 1px solid #ffffff50;
  padding-bottom: 0;
  padding-top: .5rem;
  align-items: center;
  display: flex;
  justify-content: space-between;
  background: var(--bg);
  z-index: 2;
  top: 0;
  margin-left: 1rem;
  margin-right: 1rem;
  right: 0;
  left: 0;
}
#main-header .left { margin-top: auto; margin-bottom: auto; width: 50%; }
#main-header .left a { display: inline-block; }
#main-header .logo { height: 40px; display: block; }
#main-header .right { width: 50%; }
#main-header .items {
  justify-content: space-between;
  display: flex;
  width: 100%;
  color: #fff;
  font-family: antonia variable;
  font-size: 1.2rem;
}
#main-header .item { cursor: pointer; }
.hamburger-menu {
  display: block;
  float: right;
  cursor: pointer;
  right: 0;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
}
.hamburger-menu div {
  width: 35px;
  height: 5px;
  background-color: #fff;
  margin: 6px 0;
  transition: .4s;
  border-radius: 2.5px;
}
.hamburger-menu.open div:nth-child(1) { transform: rotate(-45deg) translate(-11px, 9px); }
.hamburger-menu.open div:nth-child(3) { transform: rotate(45deg) translate(-6px, -5px); }
.hamburger-menu.open div:nth-child(2) { opacity: 0; }
#main-header .mobile-menu { display: block; }
#main-header .desktop-menu { display: none; }
@media (min-width: 768px) {
  #main-header .mobile-menu { display: none; }
  #main-header .desktop-menu { display: flex; }
}

.slide-menu {
  position: fixed;
  right: 0;
  top: 69px;
  left: 0;
  bottom: 0;
  background: var(--bg);
  backdrop-filter: blur(20px);
  padding: 2rem 2rem 0rem;
  box-sizing: border-box;
  z-index: 1;
  color: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.slide-menu[hidden] { display: none; }
.slide-menu .item { margin-bottom: 2rem; font-size: 2rem; }

/* Hero --------------------------------------------------------------- */
#hero {
  color: var(--yellow);
  margin: 6rem 2rem 2rem;
  font-size: 4rem;
  font-family: antonia variable, sans-serif;
  font-style: normal;
  font-variation-settings: "opsz" 8, "wght" 300;
}
#hero .content { display: flex; flex-direction: row; justify-content: space-between; }
#hero .heading, #hero .image { width: 50%; }
#hero .image { height: 100%; margin: 1rem; }
#hero .heading { margin-top: 2rem; margin-right: 5px; text-align: left; margin-bottom: 2rem; }
#hero img { max-width: 750px; max-height: 750px; }
@media (max-width: 768px) {
  #hero { font-size: 4rem; }
  #hero .content { flex-direction: column; }
  #hero .heading, #hero .image { width: 100%; transform: none; margin: 0; margin-top: 2rem; }
  #hero .heading { margin-top: 0; }
}

/* Services ----------------------------------------------------------- */
#services { margin-left: 1rem; margin-right: 1rem; margin-top: 15rem; }
#services .top { margin-bottom: .5rem; display: flex; }
#services .heading {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: var(--yellow);
  text-align: center;
  font-family: antonia variable, sans-serif;
  font-style: normal;
  font-variation-settings: "opsz" 8, "wght" 300;
}
#services .text {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 20px;
  color: #fff;
  font-family: antonia variable, sans-serif;
  font-style: normal;
  font-variation-settings: "opsz" 8, "wght" 300;
  font-size: 2.5rem;
  text-align: left;
}
#services .description {
  color: #fff;
  opacity: .7;
  font-size: 1.2rem;
  margin-left: 60px;
  margin-bottom: 1rem;
  line-height: 1.1;
}
#services .description-line { margin-bottom: 1rem; }
#services .footer { color: var(--blue); text-align: right; font-size: 1.5rem; margin-right: 4rem; }
#services .footer a { color: var(--yellow); cursor: pointer; }
#services .icon { width: 40px; max-height: 40px; margin-top: 0; transform: rotate(340deg); }
#services .service { display: flex; flex-direction: column; margin-bottom: 2rem; }
@media (max-width: 768px) {
  #services .text { font-size: 1.3rem; margin-left: 0; margin-top: .5rem; }
  #services .description { font-size: 1rem; margin-left: 0; }
  #services .footer { margin: 0; }
  #services .icon { margin-bottom: 1rem; margin-right: 1rem; }
}

/* About + clients ---------------------------------------------------- */
#about { margin-left: 1rem; margin-right: 1rem; margin-top: 20rem; }
#about > .heading { font-size: 4rem; margin-bottom: 10px; color: var(--yellow); text-align: center; }
#about .text { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; line-height: 1.1; }
#about .text-line { margin-bottom: 1rem; opacity: .7; }
@media (max-width: 768px) {
  #about .text { margin-right: 0; margin-left: 0; }
}
#clients { margin-top: 2rem; }
#clients .heading { color: #fff; font-size: 1.3rem; margin-bottom: 2rem; line-height: 1.1; opacity: .7; }
#clients .clients-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: row;
  height: 200px;
}
#clients .client {
  text-align: center;
  flex: 0 0 50%;
  width: 20%;
  max-width: 20%;
  margin-top: auto;
  margin-bottom: auto;
}
#clients .logo { max-height: 60px; max-width: 80%; margin-bottom: 1rem; object-fit: contain; }
@media (max-width: 768px) {
  #clients .client { flex: 0 0 25%; width: 50%; max-width: 50%; margin-right: auto; margin-left: auto; }
}

/* Leadership --------------------------------------------------------- */
#leadership { margin: 20rem 1rem 0; }
#leadership .heading {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--yellow);
  text-align: center;
  font-family: antonia variable, sans-serif;
  font-style: normal;
  font-variation-settings: "opsz" 8, "wght" 300;
}
#leadership .people-container { display: flex; flex-wrap: wrap; justify-content: space-around; padding: 0; }
#leadership .person {
  box-sizing: border-box;
  flex-basis: calc(100% - 2rem);
  margin: 1rem 1rem 2rem;
  font-family: antonia variable, sans-serif;
  font-style: normal;
  font-variation-settings: "opsz" 8, "wght" 300;
  max-width: 350px;
  min-width: 250px;
}
#leadership .headshot-container { display: flex; justify-content: center; }
#leadership .headshot { width: 250px; border-radius: 50%; }
@media (min-width: 768px) {
  #leadership .person { flex-basis: calc(33.333% - 2rem); }
}
#leadership .name { text-align: center; color: var(--blue); font-size: 2rem; margin-top: 1rem; }
#leadership .attributes { margin-bottom: 4rem; }
#leadership .attribute { margin-top: 1rem; display: flex; color: #fff; font-size: 1.1rem; justify-content: space-between; }
#leadership .attribute-name { margin-right: .5rem; color: var(--yellow); white-space: nowrap; }
#leadership .attribute-value { opacity: .8; text-align: right; }

/* Contact ------------------------------------------------------------ */
#contact { margin: 15rem 1rem 0; }
#contact .heading {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: var(--yellow);
  text-align: center;
  font-family: antonia variable, sans-serif;
  font-style: normal;
  font-variation-settings: "opsz" 8, "wght" 300;
}
#contact fieldset { display: flex; flex-direction: column; border: none; margin-left: 1rem; margin-right: 1rem; }
#contact label { color: var(--yellow); margin-bottom: .5rem; font-size: 1.5rem; }
#contact .field {
  display: block;
  border-radius: 5px;
  padding: .5rem;
  background: var(--blue);
  color: var(--yellow);
  font-size: 1.2rem;
}
#contact .button {
  background: none;
  border: 2px solid var(--blue);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border-radius: 5px;
  color: var(--yellow);
  font-family: antonia variable;
  font-variant: small-caps;
  padding: 1rem 1rem .75rem;
  font-size: 2.5rem;
  margin-top: 1rem;
  display: block;
  cursor: pointer;
  width: max-content;
}
@media (min-width: 768px) {
  #contact .contact-form { max-width: 600px; margin: 0 auto; }
}

/* Copyright ---------------------------------------------------------- */
#copyright { margin-top: 800px; color: #fff; text-align: center; }
#copyright img { width: 40px; margin-bottom: 1rem; transform: rotate(315deg); }
