/* MARK: Variables
*/
:root {
  --c-h:hsl(0, 0%, 8%);
  --c-p:hsl(0, 0%, 25%);
  --c-a:hsl(208, 100%, 47%);
  --c-a-hover:hsl(208, 100%, 76%);
  --c-bg:hsl(0, 0%, 95%);
  --c-border:hsl(0, 0%, 15%);

  --glb-header-height:4rem;
  --glb-page-v-padding:2rem;
  --glb-page-h-padding:1.5rem;
}

/* MARK: Global
*/
html{
  font:normal 100% 'Roboto', 'Arial', sans-serif;/*16/16*/
}



/* MARK: Home
*/
.home h1,
.home h2,
.home h3,
.home h4,
.home h5,
.home h6,
.home p{
  text-align:center;
}
.home h1{
  text-transform:uppercase;
}
.home h1 .subtitle{
  text-transform:none;
}
.home ul{
  margin:0;
  padding:0;
  text-align:center;
  list-style-type:none;
}
.home img{
  margin:0 auto 1rem;
  border-radius:100%;
  display:block;
  max-width:256px;
}
.resume-duration,
.resume-location{
  font-weight:500;
  font-size:0.875rem;
  margin:-1rem 0 1rem;
  display:block;
}




/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */



/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 */

.parent-element-clearfix {
  display: flow-root;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}






/* MARK: Header – Global
*/
.header-glb{
  padding:0;
  background:rgb(135, 138, 157);
  position:fixed;
  width:100%;
  display:flex;
  justify-content:center; 
}
.nav-glb{
  width:100%;
  max-width:var(--glb-bk-uhd);
  padding:0 var(--glb-page-h-padding);
  position:relative;
  display:flex;
}
.nav-glb > a{
  display:inline-block;
}
.nav-glb .logo{
  padding:0.5rem 0;
  display:block;
  width:auto;
  height:var(--glb-header-height);
}
.nav-glb > .toggle-menu-nav{
  width:var(--glb-header-height);
  height:var(--glb-header-height);
  position:absolute;
  top:0;
  right:var(--glb-page-h-padding);
  background:url('media/ico-menu.svg') no-repeat center / 2rem;
}
.nav-glb ol{
  list-style:none;
  border:0;
  margin:0;
  width:100%;
  background:teal;
}
.nav-glb > ol:popover-open{
  padding:var(--glb-page-v-padding) var(--glb-page-h-padding);
  height:calc(100vh - var(--glb-header-height));
  position:fixed;
  top:var(--glb-header-height);
  overflow:scroll;
}
.nav-glb summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer; /* Enhances usability */
}
.nav-glb summary::after {
  content: '▶'; 
  transition: transform 0.25s ease; /* Smooth rotation */
}
.nav-glb details[open] summary::after {
  transform: rotate(90deg);
}
@media (52.125rem <= width){
  .toggle-menu-nav{
    display:none;
  }
  .nav-glb > ol,
  .nav-glb > ol:popover-open{



    padding:0 var(--glb-page-h-padding);



    margin-left: 100px;
        padding-right: 124px;


    max-width:var(--glb-bk-uhd);
    display:flex;
    top:0;
    justify-self:center;
    justify-content:flex-end;
    background:transparent;
  }
  .nav-glb > ol ol{
    display:none;
  }
    .nav-glb ol li ol,

  .nav-glb ol li:hover ol,
  .nav-glb ol ol:hover{
    display:block;
    top:var(--glb-header-height);
    width:100%;
  }
  .nav-glb summary::after {
    content: ''; 
  }
  .nav-glb details::details-content {
    content-visibility: visible;
  }
}


/* MARK: Footer – Global
*/
.footer-glb{
  background:rgb(135, 138, 157);
  width:100%;
  display:flex;
  flex-flow:row wrap;
  justify-content:center; 
}
.footer-glb nav{
  width:100%;
  max-width:var(--glb-bk-uhd);
  padding:0 var(--glb-page-h-padding);
  display:flex;
  justify-content:center;
}
.footer-glb .copyright{
  width:100%;
  max-width:var(--glb-bk-uhd);
  padding:0 var(--glb-page-h-padding);
  font-size:0.75rem;
  text-align:center;
}


/* MARK: Editor
*/
form > *{
  display:block;
  width:100%;
}
textarea{
  height:20vh;
}

.editor{
  font-family:monospace; 
}
.editor input, .editor textarea{
  padding:0.25rem;
}
.editor textarea{
  min-height:100vh;
}