@font-face {
  font-family: "aloeVera-bold";
  src: url("../type/aloeVeraDisplay/AloeveraDisplay-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "rink-bold";
  src: url("../type/rink/Rink-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #444;
  color: #FFF;
  text-shadow: none;
}

::selection {
  background: #444;
  color: #FFF;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #444;
  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;
  max-width: 100%;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  margin: 0;
}

body,
p,
li {
  font-family: "Slabo 27px", serif;
  font-style: normal;
  font-weight: 400;
}

P em,
p i {
  font-family: "Slabo 27px", serif;
  font-style: italic;
  font-weight: 400;
}

p strong,
p b {
  font-family: "Slabo 27px", serif;
  font-style: normal;
  font-weight: 700;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "rink-bold", sans-serif;
  font-weight: 700;
}

.front-page-heading {
  margin-bottom: 0.5rem;
}

h2 {
  margin: 1rem 0 0.5rem 0;
}

@-webkit-keyframes FADE-TO-BLACK {
  0% {
    color: white;
  }
  100% {
    color: black;
  }
}
@keyframes FADE-TO-BLACK {
  0% {
    color: white;
  }
  100% {
    color: black;
  }
}
.header_anim {
  color: black;
  -webkit-animation: FADE-TO-BLACK 0.6831s 1;
  /* Safari 4+ */
  /* Fx 5+ */
  /* Opera 12+ */
  animation: FADE-TO-BLACK 0.6831s 1;
  /* IE 10+, Fx 29+ */
}

/*  =====================================================================
    Start Ian
----------------------*/
#background-image {
  background-size: cover;
  background-position: center;
  position: fixed;
  /* Or absolute, to stay in the background */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  /* Place it behind all other content */
}

#wrapper {
  padding: 1rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media only screen and (min-width: 68.1875em) {
  #wrapper {
    margin-bottom: 0.625em;
    margin-right: auto !important;
    margin-left: auto !important;
    display: block;
    width: 64rem;
    float: none;
  }
}
header {
  margin: 1.5rem 0;
}

nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: rgba(217, 211, 199, 0.5);
  width: 99%;
  border-radius: 999px;
  border: 1px solid #0D0D0D;
  /* For Safari */
  backdrop-filter: blur(5px);
  -webkit-box-shadow: 0 0.125em 0.0625em #727272;
  box-shadow: 0 0.125em 0.0625em #727272;
}

@media only screen and (max-width: 70.1875em) {
  nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
  }
}
h1 {
  font-family: "aloeVera-bold", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0 1rem;
}

#main_logo {
  width: 735px;
  padding: 1rem;
  margin: 0;
}

@media only screen and (max-width: 70.1875em) {
  #main_logo {
    width: 95%;
  }
}
@media only screen and (max-width: 40.5em) {
  #main_logo {
    width: 85%;
  }
}
#main_logo_type {
  padding: 0.5rem 0;
  display: inline-block;
}

.nav_buttons {
  margin: 0 0.5rem;
  width: 33%;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-align: center;
  border: 1px solid transparent;
}

.nav_buttons a {
  color: #0D0D0D;
}

#contact_us_btn {
  border: 1px solid #0D0D0D;
  background-color: #F2EDA0;
}

@media only screen and (max-width: 70.1875em) {
  #contact_us_btn {
    margin-bottom: 1rem;
  }
}
#contact_us_btn:hover {
  background-color: #F24F13;
  -webkit-transition: background-color 0.5s ease-in-out;
  transition: background-color 0.5s ease-in-out;
}
#contact_us_btn:hover a {
  color: #ffffff !important;
}

#contact_us_btn a {
  width: 100%;
}

main {
  width: 96%;
  background-color: rgba(217, 211, 199, 0.5);
  border: 1px solid #0D0D0D !important;
  border-radius: 25px;
  padding: 1rem;
  /* For Safari */
  backdrop-filter: blur(5px);
}

main div section {
  padding: 0.5rem;
}

#top_content_row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
}

#top-threeDee {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
#top-threeDee p {
  padding: 0.5rem;
  text-align: center;
  font-size: 1.5rem;
}

@media only screen and (max-width: 40.5em) {
  #top-threeDee {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #dodecahedron-container {
    /* Adjust size as needed */
  }
}
#dodecahedron-container {
  width: 100%;
  max-width: 175px;
  /* Adjust size as needed */
  height: 175px;
  border-radius: 30px;
  -webkit-box-shadow: 0 0.125em 0.0625em #727272;
  box-shadow: 0 0.125em 0.0625em #727272;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: -webkit-grab;
  cursor: grab;
}

#top-services {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
}
#top-services p {
  padding: 0.5rem;
  border-left: 1px solid #0D0D0D;
  font-size: 1.3rem;
}

@media only screen and (max-width: 40.5em) {
  #top-services {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
  }
}
#top-list {
  width: 100%;
  -webkit-box-flex: 1.1;
      -ms-flex: 1.1 2 60%;
          flex: 1.1 2 60%;
}

#top-list ul li p {
  font-size: 1.3rem;
}

.gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  padding: 0.5rem;
}
.gallery a > img {
  border-radius: 30px;
  width: 175px;
  height: 175px;
}

@media only screen and (max-width: 40.5em) {
  .gallery {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
  }
}
.gallery_box {
  margin: 0.25rem;
  width: 175px;
  height: 175px;
  background-color: #FFF;
  border-radius: 30px;
  border: 2px solid #F24F13;
  -webkit-box-shadow: 0 0.125em 0.0625em #727272;
  box-shadow: 0 0.125em 0.0625em #727272;
}

.rights {
  text-align: right;
}

#middle_content_row {
  width: 100%;
  border-top: 1px solid #0D0D0D;
  border-bottom: 1px solid #0D0D0D;
  padding: 0.5rem 0 1rem 0;
}

#bottom_content_row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
}

@media only screen and (max-width: 40.5em) {
  #bottom_content_row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
  }
}
#bottom_content_row > section:nth-child(1) {
  font-size: 1.3rem;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.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
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   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: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    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;
  }
  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}