/* layout.css */

* {
  margin: 0;
  padding: 0;
  outline: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  transition: var(--animation_03);

}

html {
  font: 16px/1.6em var(--standard);
  -webkit-font-smoothing: antialiased;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  position: relative;
  line-height: 1.6em;
  color: var(--gry80);
  font: var(--font_size5)/1.6em var(--standard);
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

#logo {
  fill: var(--ci001);
}

header {
  width: 100%;
  left: 0;
  top: 0;
  position: fixed;
  overflow: visible;
  background-color: var(--white);
  -webkit-box-shadow: var(--box-shadow02);
  box-shadow: var(--box-shadow02);
  z-index: 200;
}

header .inner {
  width: var(--site_width);
  margin: 0 auto;
  padding: 0;
}

#headTop {
  display: block;
  border-bottom: 1px solid var(--col14);
  overflow: visible;
  padding-block: .5rem;
}

#headMain {
  position: relative;
  z-index: 20;
}

#headTop .inner {
  display: flex;
  align-items: center;
}

#headMain .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.dark-light-mode {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: .5rem;
  gap: .75rem;
}



#logo {
  width: 360px;
  height: auto;
  margin: 0;
}
#logo figure {
  margin: 0;
}

main {
  width: 100%;
  margin: 0 auto;
  padding-top: var(--main_top);
  background-color: var(--white);
  min-height: 75vh;
}


footer {
  width: 100%;
  position: relative;
  background-color: var(--black);
  -webkit-box-shadow: var(--box-shadow05);
  box-shadow:  var(--box-shadow05);
  color: var(--white);
}

footer .inner {
  width: 115rem;
  position: relative;
  margin: 0 auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

footer .content-toplink {
  width: 100%;
  position: relative;
}

footer .content-toplink a {
  width: 56px;
  height: 56px;
  top: -3.75rem;
  position: absolute;
  display: block;
  text-align: center;
  background-color: var(--white);
  border: 0 solid var(--white);
  border-radius: 50%;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.15);
  left: calc(50% - 28px);
  transition: var(--animation_05);
  cursor: pointer;
  z-index: 100;
}

footer .content-toplink a:hover {
  transition: var(--animation_05);
  -webkit-box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.4);
}

footer .content-toplink a strong {
  width: 56px;
  height: 56px;
  display: inline-block;
  font-size: 1.6rem;
  line-height: 56px;
  color: var(--gry80);
  transition: var(--animation_05);
}
footer .content-toplink a:hover strong {
  transition: var(--animation_05);
  color: var(--ci001);
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer p,
footer a {
  color: var(--white);
}

footer a:hover {
  color: var(--ci001);
}

footer a:active {
  color: var(--col14);
}




/* Dark/Light-Mode Toggler */

/* Dark */

.dark-mode-toggle,
.light-mode-toggle,
.default-mode-toggle {
    outline: 3px solid transparent;
    width: 2rem;
    height: 2rem;
    border: none;
    background: none;
}

.dark-mode-toggle:focus,
.light-mode-toggle:focus,
.default-mode-toggle:focus {
    outline: 3px solid var(--ciacc2);
}

#Moon, 
#Sun,
#Default {
    cursor: pointer;
}
#Moon .Circle,
#Sun .Circle,
#Default .Circle {
    fill: none;
}


#Moon .Stroke,
#Moon .Moon,
#Sun .Stroke,
#Sun .Sun,
#Default .Stroke,
#Default .Colors {
    fill: var(--gry80);
}

#Moon:hover .Stroke,
#Moon:hover .Moon,
#Sun:hover .Stroke,
#Sun:hover .Sun,
#Default:hover .Stroke,
#Default:hover .Colors,
.dark-mode-toggle:focus #Moon .Stroke,
.dark-mode-toggle:focus #Moon .Moon,
.light-mode-toggle:focus #Sun .Stroke,
.light-mode-toggle:focus #Sun .Sun,
.default-mode-toggle:focus #Default .Stroke,
.default-mode-toggle:focus #Default .Colors
{
    fill: var(--ci001);
}

.defaultMode #Default .Circle {
    fill: var(--gry80);
}

.defaultMode #Default .Colors {
    fill: var(--white);
}

.defaultMode #Default:hover .Circle {
    fill: var(--ci001);
}


.darkmode #Moon .Circle {
    fill: var(--gry80);
}
.darkmode #Moon .Moon {
    fill: var(--white);
}
.darkmode #Moon:hover .Circle {
    fill: var(--ci001);
}

.lightMode #Sun .Circle {
    fill: var(--gry80);
}
.lightMode #Sun .Sun {
    fill: var(--white);
}
.lightMode #Sun:hover .Circle {
    fill: var(--ci001);
}

.dark-mode-toggle:focus #Moon:hover .Circle,
.light-mode-toggle:focus #Sun:hover .Circle,
.default-mode-toggle:focus #Default:hover .Circle {
    fill: var(--gry80);
}


 /* Parallax */
.parallax__container {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  overflow: hidden;
  clip: rect(0, auto, auto, 0);
  z-index: 1;
  transition: none;
}
.parallax__container .parallax {
  width: 100%;
  height: 100%;
  top: 0;
  position: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  background-size: cover;
  transition: none;
}



/* Headroom */
.headroom {
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.headroom--pinned {
  -ms-transform: translateY(0%);
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
}

.headroom--unpinned {
  -ms-transform: translateY(0%);
  -webkit-transform: translateY(0%);
  transform: translateY(-110%);
}



