/*!
Theme Name: TagLab
Theme URI: http://underscores.me/
Author: Deus Team
Author URI: http://ekmechanes.com
Description: The default theme of redesigned Tagkopoulos Lab website.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tl
Tags: shortcode-enhanced, custom-css, translation-ready
*/

:root {
  --max-width: 1420px;
  --out-padding: 20px;

  --header-background: #081622;
  --header-nav-color: #dddddd;
  --header-nav-color-hover: #ffffff;
  --header-nav-color-active: #069aa4;
  --header-mobile-ham-lines: #069aa4;

  --footer-nav-color: #dddddd;
  --footer-nav-color-hover: #ffffff;
  --footer-nav-color-active: #069aa4;

  --separator-color: #72ede1;

  --banner-title-color: #ffffff;
  --banner-desc-color: #ffffff;
}

body {
  background: #0b1b2a;
  color: #fff;
  display: flex;
  flex-flow: column nowrap;
  color: #fff;
  font-family: Manrope;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: normal;
}

a {
  color: inherit;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* SCROLLBAR */
body::-webkit-scrollbar {
  height: 3px;
  width: 15px;
}
body::-webkit-scrollbar-track {
  background: #132d44;
}
body::-webkit-scrollbar-thumb {
  background: #058a94;
}
body::-webkit-scrollbar-thumb:hover {
  background: #067a84;
}

/* TYPOGRAPHY */
.subtitle {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0.02em;
}
.highlight {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 36px;
  letter-spacing: 0.01em;
}
.heading-2 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.heading-3 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0.01em;
}
.heading-4 {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 70px;
  letter-spacing: 0;
}
.heading-5 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.button {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.03em;
}

/* OVERLAY BACKGROUND COLORS */
.teal {
  background: #046c73;
  display: flex;
}

/* HELPER CLASSES */
.relative {
  position: relative;
}

/* HEADER */
.stub {
  height: 75px;
}

#masthead {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background: var(--header-background, #081622);
  box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

#masthead .wrapper {
  box-sizing: border-box;
  padding: 0 var(--out-padding);
  max-width: var(--max-width);
  min-height: 75px;
  display: flex;
  flex-flow: row nowrap;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  position: relative;
}

#masthead .custom-logo-link {
  display: flex;
  align-self: center;
  max-width: 230px;
}

#masthead .custom-logo-link .custom-logo {
  display: flex;
  width: 100%;
  height: auto;
}

#masthead .navigation {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
}
#masthead .navigation #menuTrigger {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: 0px;
  height: 0px;
}
#masthead .navigation .mobileLabel {
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
}
#masthead .navigation .mobileLabel .line {
  position: absolute;
  left: 2px;
  top: 50%;
  width: 26px;
  height: 4px;
  background: var(--header-mobile-ham-lines, #069aa4);
  border-radius: 6px;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}
#masthead .navigation .mobileLabel .line:first-child {
  top: calc(50% - 8px);
}
#masthead .navigation .mobileLabel .line:last-child {
  top: calc(50% + 8px);
}
#masthead .navigation #menuTrigger:checked + .mobileLabel .line:nth-child(2) {
  opacity: 0;
}
#masthead .navigation #menuTrigger:checked + .mobileLabel .line:first-child {
  transform: translateY(-50%) rotate(-45deg);
  top: 50%;
}
#masthead .navigation #menuTrigger:checked + .mobileLabel .line:last-child {
  transform: translateY(-50%) rotate(45deg);
  top: 50%;
}
#masthead .navigation nav {
  display: flex;
  flex-flow: column nowrap;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--header-background, #081622);
  box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}
#masthead .navigation nav .menu-item {
  padding: 4px 20px;
  text-align: left;
  text-decoration: none;
  color: var(--header-nav-color, #fff);
  font-family: Manrope;
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
#masthead .navigation nav .menu-item:hover {
  color: var(--header-nav-color-hover, #fff);
}
#masthead .navigation nav .menu-item.active {
  color: var(--header-nav-color-hover, #fff);
  background: #04484d;
  font-weight: 800;
}
#masthead .navigation #menuTrigger:checked + .mobileLabel + nav {
  max-height: 320px;
  padding: 0 0 10px;
}
#masthead .navigation #menuTrigger:checked + .mobileLabel + nav .menu-item {
  opacity: 1;
  visibility: visible;
}

/**
 * Footer
/=====================================*/

#colophon .navigation {
  padding: 12px 20px;
  border-top: 1px solid #104a51;
  border-bottom: 1px solid #104a51;
  background: #081520;
  text-align: center;
  white-space: nowrap;
  overflow: auto;
}
#colophon .navigation a {
  margin-right: 50px;
  position: relative;
  text-decoration: none;
  color: var(--footer-nav-color, #fff);
  text-align: center;
  font-family: Manrope;
  font-size: 14px;
  line-height: 32px;
  letter-spacing: 0.98px;
  text-transform: uppercase;
}
#colophon .navigation a:hover {
  color: var(--footer-nav-color-hover, #fff);
}
#colophon .navigation a::after {
  content: "";
  position: absolute;
  right: -25px;
  top: 2px;
  width: 2px;
  height: 16px;
  background: var(--separator-color, #72ede1);
  pointer-events: none;
}
#colophon .navigation a:last-child {
  margin-right: 0;
}
#colophon .navigation a:last-child::after {
  content: unset;
}
#colophon .navigation::-webkit-scrollbar {
  height: 2px;
}
#colophon .navigation::-webkit-scrollbar-track {
  background: #104a51;
}
#colophon .navigation::-webkit-scrollbar-thumb {
  background: #72ede1;
}
#colophon .navigation::-webkit-scrollbar-thumb:hover {
  background: #081520;
}

#colophon .info {
  padding: 30px 20px;
  display: flex;
  flex-flow: column nowrap;
  gap: 20px 0;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#colophon .info .column {
  display: flex;
  flex-flow: column nowrap;
  gap: 10px 0;
}
#colophon .info .column h3 {
  margin: 0;
  color: #72ede1;
  font-family: Manrope;
  font-size: 16px;
  font-weight: 800;
  line-height: 32px;
  letter-spacing: 0.48px;
  text-transform: uppercase;
}
#colophon .info .column p {
  margin: 0;
  color: #fff;
  font-family: Manrope;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.42px;
}

#colophon .strip {
  padding: 12px 20px;
  background: #04484d;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 10px 30px;
  flex-flow: column nowrap;
  color: #fff;
  font-family: Manrope;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.24px;
  text-align: center;
}
#colophon .strip .separator {
  width: 2px;
  height: 16px;
  background: var(--separator-color, #72ede1);
  transform: rotate(90deg);
}
#colophon .strip .social {
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  gap: 20px;
}
#colophon .strip .platforms {
  display: flex;
  gap: 10px;
}
#colophon .strip .platforms a {
  display: flex;
}
#colophon .strip .platform_icon {
  fill: #65d3ca;
}

/** GUTENBERG **/
.wp-block-columns {
  gap: 16px;
}

/**
 * Responsive
================================== */

@media screen and (min-width: 1240px) {
  /* HEADER */
  #masthead .navigation .mobileLabel {
    display: none;
  }
  #masthead .navigation nav {
    gap: 15px;
    margin-top: auto;
    position: relative;
    top: unset;
    left: unset;
    flex-flow: row nowrap;
    background: unset;
    max-height: unset;
    width: unset;
    box-shadow: unset;
    padding: unset !important;
  }
  #masthead .navigation nav .menu-item {
    align-self: flex-end;
    padding: 6px 4px;
    text-align: center;
    opacity: unset;
    visibility: unset;
    border-bottom: solid 3px transparent;
  }
  #masthead .navigation nav .menu-item.active {
    color: var(--header-nav-color-active, #069aa4);
    border-color: var(--header-nav-color-active, #069aa4);
    background: unset;
  }
}

@media screen and (min-width: 760px) {
  /* TYPOGRAPHY */
  .heading-3 {
    font-size: 48px;
    line-height: 62px;
  }
  .button {
    font-size: 18px;
  }

  /* HEADER */
  .stub {
    height: 100px;
  }
  #masthead .wrapper {
    min-height: 100px;
  }
  #masthead .custom-logo-link {
    max-width: 280px;
  }

  /* FOOTER */
  #colophon .info {
    flex-flow: row nowrap;
    gap: 0px 50px;
    text-align: unset;
  }
  #colophon .info .column:first-child h3,
  #colophon .info .column:first-child p {
    text-align: right;
  }
  #colophon .strip {
    flex-flow: row nowrap;
  }
  #colophon .strip .separator {
    transform: unset;
  }
}
