/* import some fonts from google fonts */
/* @import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Revalia&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Acme&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600&display=swap'); */
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}
html,
body {
  height: auto;
  position: relative;
  width: auto;
  max-width: 1568px;
  margin: 0 auto;
}
body {
  background: var(--background);
  font-family: var(--default-text-franklin-gothic);
  color: var(--primary-color-a);
}
/* lib class */
.is-default-link {
  color: var(--secondary-color-a);
  font-family: var(--text-verdana);
  font-size: inherit;
}
.is-default-link:hover {
  opacity: 0.5;
  text-decoration: underline;
  cursor: pointer;
}
.is-default-link:visited {
  color: var(--h-richblack);
}
/* navigation style */
.navigation {
  --list-width: 150px;
  --slides-width: 50px;
  height: var(--nav-height);
  background-color: var(--background);
  position: static;
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--secondary-color-a);
  padding: 0 12.5% 0 1em;
}
.navigation::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  border-top: var(--nav-top-border) solid var(--secondary-color-a);
}
.navigation .nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32.5%;
  min-width: 320px;
}
.navigation .nav-list .nav-item {
  --link-size: calc(var(--nav-height) * 0.6); /* 80% of nav height */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  z-index: 1;
  transition: border-bottom ease-in-out 100ms;
}
.navigation .nav-list .nav-item a.nav-link {
  color: var(--primary-color-a);
  height: var(--link-size);
  width: var(--link-size);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: bold;
  font-family: var(--trebucket-ms);
}
.navigation .nav-list .nav-item a.nav-link:hover {
  opacity: 0.5;
  color: var(--secondary-color-b);
}
.navigation .nav-list .nav-item.active-link {
  border-bottom: 4px solid var(--secondary-color-a);
  font-style: oblique;
}
.navigation .logo-container {
  height: var(--nav-height);
  min-width: 100px;
  padding: 15px;
  display: flex;
  justify-content: center;
}
.navigation .logo-container figure {
  width: 100%;
  max-width: 48px;
  height: auto;
  max-height: 100%;
  display: flex;
  justify-content: center;
}
.navigation .logo-container figure img {
  width: 48px;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  color: transparent;
}
.navigation .logo-container figure:hover {
  cursor: pointer;
  opacity: 0.8;
}
/*  main content css */
.main-content {
  width: 95%;
  margin: 25px auto 0;
  color: var(--primary-color-a);
}
.main-content .r-section {
  position: relative;
  height: auto;
  width: 100%;
  padding: 0 3px;
  margin: 0 auto 10px;
  min-height: 250px;
}
.main-content .r-section .r-section-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
.main-content .r-section .r-section-head span {
  --r-title-aspect: 20px;
  position: absolute;
  /* vertically center span for svg */
  top: calc(50% - calc(var(--r-font) * 0.5));
  left: calc(var(--r-title-aspect) * -1);
}
.main-content .r-section .r-section-head span svg {
  height: var(--r-title-aspect);
  width: var(--r-title-aspect);
  display: none;
}
.main-content .r-section .r-section-head .r-section-title {
  --r-font: 5em;
  font-weight: bold;
  font-size: var(--r-font);
  text-transform: capitalize;
  font-family: var(--text-gill-sans);
}
.main-content .r-section .r-section-head .r-section-title:hover {
  cursor: pointer;
  opacity: 0.95;
}
.main-content .r-section .r-section-head .r-section-title:hover + span svg {
  display: inline-block;
  fill: rgba(45, 45, 36, 0.5);
}
.main-content .r-section:nth-child(even) .r-section-head h1 {
  text-align: right;
}
.main-content .r-section .r-section-body {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}
/* footer css */
.r-footer {
  position: relative;
  margin: 25px auto 0;
  width: 100%;
  height: auto;
  min-height: 350px;
  overflow: hidden;
}
.r-footer .r-footer-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  border-top: thin solid #d0d3d4;
}
.r-footer .r-footer-bg #bg_wave #bg_wave_vector {
  transition-property: transform, box-shadow;
  transition-duration: 1000ms;
  transition-timing-function: cubic-bezier(0.77, 0, 0.18, 1);
}
/* wave hover effect for vector */
.r-footer:hover .r-footer-bg #bg_wave #bg_wave_content_area + #bg_wave_vector {
  transform: translateY(-70%);
  mix-blend-mode: normal;
  box-shadow: none;
}
/* footer content css */
.r-footer-infos {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-around;
  padding: 15px 5px;
  flex-wrap: wrap;
}
.r-footer-infos .r-footer-sub {
  width: auto;
  height: auto;
  min-width: 350px;
  max-width: 620px;
  padding: 20px;
  background: transparent;
}
.r-footer-infos .r-footer-sub .sub-title {
  width: 100%;
  font-size: 2.75em;
  line-height: 1.75em;
  font-family: var(--trebucket-ms);
  font-variant-caps: titling-caps;
  word-spacing: 2px;
  color: white;
}
.r-footer-infos .r-footer-sub .sub-form {
  width: 100%;
  margin: 10px 0px;
}
.r-footer-infos .r-footer-sub .sub-form .form-group {
  position: relative;
  width: auto;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: flex-start;
}
/* form group helpers */
.helper {
  margin-top: 2px;
  padding-left: 2px;
  color: black;
  width: 100%;
  text-align: left;
  font-size: 0.758em;
  font-family: var(--text-verdana);
}
.helper.is-danger {
  color: hsl(348, 100%, 61%);
}
.r-footer-infos .r-footer-sub .sub-form .form-group > * {
  margin-top: 0.5rem;
}
.r-footer-infos .r-footer-sub .sub-form .form-group .form-input {
  --sub-input-border: 3px;
  position: relative;
  font-family: var(--text-verdana);
  font-variant-caps: normal;
  font-weight: 550;
  line-height: 1.75em;
  letter-spacing: 2px;
  padding: 5px 15px;
  width: 50%;
  margin-right: 5px;
  min-width: 350px;
  border-radius: 5px;
  border: var(--sub-input-border) solid gray;
  transition: border 0.5 ease-in-out;
}
/* pseudo css selectors for subscribe form input */
.r-footer-infos .r-footer-sub .sub-form .form-group .form-input:focus-visible {
	outline-width: 2px !important;
	outline-color: var(--secondary-color-b);
	outline-style: solid;
}
.r-footer-infos .r-footer-sub .sub-form .form-group .form-input:valid {
  border-color: var(--secondary-color-a);
}
.r-footer-infos .r-footer-sub .sub-form .form-group .form-input:invalid {
  outline-width: 0px;
  border-color: transparent;
}
.r-footer-infos .r-footer-sub .sub-form .form-group .form-submit {
  width: auto;
  font-size: 1.45em;
  padding: 5px 15px;
  color: #fbfbfb;
  border-color: var(--primary-color-b);
  border-width: 1px;
  border-radius: 5px;
  background: rgb(2, 0, 36);
  background: var(--primary-gradient-a);
  transition: background-color 750ms ease-out;
}
.r-footer-infos .r-footer-sub .sub-form .form-group .form-submit:hover {
  background: var(--primary-color-a);
  color: #fbfbfb;
  cursor: pointer;
}
.form-submit:disabled {
  background: gray !important;
  color: var(--h-richblack) !important;
}
.form-input:disabled {
	border-color: rgb(101 61 101 / 95%) !important;
}
.r-footer-infos .r-footer-sub .sub-note {
  font-size: 1.25rem;
  letter-spacing: 2px;
  line-height: 1.45rem;
  font-style: oblique;
  font-family: var(--trebucket-ms);
  word-spacing: 2px;
  color: var(--secondary-color-a);
}
/* r-footer social-links */
.r-footer-socials {
  position: relative;
  width: 100%;
  height: auto;
  font-family: var(--text-gill-sans);
  background: var(--h-richblack);
  /* mix-blend-mode: soft-light; */
  font-style: normal;
}
.r-footer-socials .social-links {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.r-footer-socials .social-links .social-item {
  padding: 20px;
}
.r-footer-socials .social-links .social-item .social-link {
  mix-blend-mode: normal;
  color: var(--secondary-color-b);
  font-size: 1.687em;
  line-height: 1.25em;
  letter-spacing: 2px;
}
.r-footer-socials .social-links .social-item .social-link:hover {
  color: var(--secondary-color-a);
}
/* r-footer copyright banner */
.r-footer-copyright {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  color: white;
  font-family: var(--text-verdana);
  padding: 10px 0;
  background: var(--primary-color-b);
  mix-blend-mode: hard-light;
}
.r-footer-copyright .copyright-item {
  font-size: 0.887em;
  line-height: 1.25em;
  text-align: justify;
  -moz-text-align-last: center;
       text-align-last: center;
}
/* error page */
#error-image {
  width: 120px;
  height: 135px;
}
.error-title {
  font-family: 'Revalia', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;

  color: var(--secondary-color-a);
}
.error-description {
  font-family: 'Revalia', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: var(--secondary-color-a);
}
.error-link-outline {
  font-family: 'Revalia', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 30px;

  border: 2px solid var(--secondary-color-a);
  padding: 0 12px;
  border-radius: 20px;
  color: var(--secondary-gradient);
}
.error-link-filled {
  font-family: 'Revalia', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 30px;

  border: 2px solid var(--secondary-color-a);
  padding: 0 12px;
  border-radius: 20px;
  background: var(--secondary-color-a);
  color: var(--background);
}
/* pagination */
.r-pagination {
  width: 50%;
  min-width: 360px;
  margin: 0 auto;
}
@media only screen and (max-width: 1024px) {
  /* footer sub css */
  .r-footer-infos .r-footer-sub {
    text-align: center;
  }

  .r-footer-infos .r-footer-sub .sub-title {
    line-height: 1.25em;
    word-break: break-all;
  }

  .r-footer-infos .r-footer-sub .sub-form .form-group {
    justify-content: center;
  }
}
@media only screen and (max-width: 780px) {
  /* screens with odd sizes */
  /* navigation */
  .navigation {
    padding: 0;
  }

  .navigation .nav-list {
    background-color: var(--background);
    width: 100%;
    position: fixed;
    z-index: 5;
    bottom: 0;
    left: 0;
  }

  .navigation .nav-list .nav-item.active-link {
    border-top: 4px solid var(--secondary-color-b);
    border-bottom: none;
    font-style: oblique;
  }

  .r-footer {
    /*necessary so that footer contents won't overlap with the menu*/
    padding-bottom: calc(var(--nav-height) - var(--nav-top-border));
  }
  /* contents */

  .main-content .r-section .r-section-head span svg {
    width: 20px;
  }

  .main-content .r-section .r-section-head .r-section-title {
    --r-font: 3.5em;
  }

  .main-content .r-section:nth-child(even) .r-section-head h1 {
    text-align: right;
  }

  .r-footer .r-footer-bg #bg_wave #bg_wave_vector {
    display: none;
  }
}
@media only screen and (max-width: 428px) {
  /* small screens e.g. smartphones */
  .main-content {
    width: 100%;
  }

  .main-content .r-section .r-section-head {
    justify-content: center;
  }

  .main-content .r-section .r-section-head span svg {
    width: 17px;
  }

  .main-content .r-section .r-section-head .r-section-title {
    --r-font: 2.5em;
  }

  .main-content .r-section .r-section-body {
    padding: 0px;
  }
}
