:root {
  --width: 350px;
  --height: 450px;
}

.ofelia-display {
    font-family: "ofelia-display", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-variation-settings: "wdth" 110, "wght" 300;
    font-size: 48.03px;
}

.ofelia-font {
    font-family: "ofelia-display", sans-serif;
    font-weight: 300;
    font-style: normal;
}

blockquote, figure, h1, h2, h3, h4, h5, h6, p, pre {
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100vh;
}


html {
    scrollbar-width: thin;
    scrollbar-color: #bdbdbd #ffffff00;
    /* scrollbar-color: #62bde3 #ffffff; */
    height: 100vh;
    scroll-behavior: smooth;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: scrollbar-width;
}

html.loading {
    scrollbar-width: none;
}

#main-header {
    position: fixed;
    width: 100vw;
    /* background-color: white; */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* background: linear-gradient(45deg, rgb(255, 241, 164, 0.5), rgba(255, 241, 164, 0.3) 30.71%, rgba(255, 241, 164, 0) 50%), 
    linear-gradient(135deg, rgb(140, 220, 255, 0.5), rgba(140, 220, 255, 0.3) 30.71%, rgba(140, 220, 255, 0) 50%), 
    linear-gradient(90deg, rgb(196, 102, 255, 0.5) 30%, rgba(196, 102, 255, 0)); */
    z-index: 50;
    transform: translateY(0%);
    animation-duration: 1600ms;
    animation-delay: 0001ms;
    animation-timing-function: cubic-bezier(0.17, 0.17, 0.24, 1);
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: paused;
    animation-name: header-drop;
}

#main-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
    background-color: rgba(255, 255, 255, 0);
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: opacity;
}

.link-text {
    font-size: 24px;
    /* line-height: 24px; */
    margin: 0px;
    color:#ffffff;
    white-space: nowrap;
}

.link-decoration {
    background-color: #ffffff;
    height: 2.5px;
    width: 0%;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: width;
}

.hover-card .link-text {
    color:#000000;
}

main {
    position: relative;
    /* background-image: linear-gradient(135deg, #c95a3f, #4c23b3 100%); */
    background-image: linear-gradient(135deg, #c0583e, #4d28a9 100%);
    /* background: linear-gradient(45deg, #ad4d2f, #cf3872, #279dc8, #1e9075);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite; */
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

/* @keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} */

main:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    /* z-index: -1; */
}

.wrap {
    /* max-width: 64rem; */
    /* margin-left: auto;
    margin-right: auto; */
    display: flex;
    flex-direction: row;
}

.title-container {
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: 4rem;
}

.title-wrap {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.upper-title {
    color: rgb(248, 252, 253);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(to right, rgb(148, 26, 26), rgb(44, 34, 152));
    background-image: linear-gradient(to right,rgb(255, 241, 164), #ffffff, rgb(140, 220, 255));
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25rem;
    margin-bottom: 0.25rem;
}

.main-title {
    font-size: 3rem;
    line-height: 1;
    color: transparent;
    font-weight: 400;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(to right, #ffbfaf, #ffffff 25%, #ffffff 75%, #cebbff);
    /* background-image: linear-gradient(to right, rgb(148, 26, 26), rgb(121, 26, 148), rgb(44, 34, 152)); */
}

.title-underline {
    background-image: linear-gradient(to right,#ffbfaf, #ffffff 25%, #ffffff 75%, #cebbff);
    /* background-image: linear-gradient(to right, rgb(148, 26, 26), rgb(121, 26, 148), rgb(44, 34, 152)); */
    width: 5rem;
    height: 0.25rem;
    margin-left: auto;
    margin-right: auto;
}

.rates-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min-content;
  height: 100%;
}

.section-header {
  font-size: 1.75rem;
  line-height: 2rem;
  font-weight: 300;
  color: white;
  width: 100%;
  text-align: center;
  /* margin: 0 20px; */
}

.glassIco {
    
    width: var(--width);
    height: var(--height);
    color: #fff;
    font-size: 30px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    margin: 20px;
    padding: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* align-items: center; */
}

.glassIco:before {
    content: "";
    position: absolute;
    top: 0;
    display: block;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(0px);
    transition: 600ms;
    transform: skewX(45deg) translateX(calc(var(--width) + 125%));
}

.glassIco, .glassIco * {
    box-sizing: border-box;
    transition: 400ms;
}

.glassIco:hover {
    transform: translateY(-20px);
}

.glassIco:hover:before {
    transform: skewX(45deg) translateX(calc(var(--width) * -1 - 50%));
}

#consulting.glassIco {
  height: calc(var(--height) * 0.6);
}

/* #consulting.glassIco:before {
    content: "";
    position: absolute;
    top: 0;
    display: block;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(0px);
    transition: 400ms;
    transform: skewX(45deg) translateX(calc(var(--width) + 125%));
} */

#glass-svg {
  width: auto;
  height: 100%;
  align-items: center;
}

.glass-logo-container {
  height: calc(var(--height) * 0.4);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
}

.glass-logo-wrap {
  height: min-content;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.glass-logo {
  width: 200px;
  aspect-ratio: 400 / 287.3505;
  height: 100%;
  /* clip-path: url(#glass-clip); */
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  transition: 400ms;
  align-items: center;
  align-content: center;
}

.web-display .glass-logo {
  clip-path: url(#glass-clip-web);
}

.mobile-display .glass-logo {
  clip-path: url(#glass-clip-mobile);
}

.glass-logo:before {
    content: "";
    position: absolute;
    top: 0;
    display: block;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(0px);
    transition: 600ms;
    transform: skewX(45deg) translateX(calc(200px + 125%));
}

.glass-logo:hover {
    transform: translateY(-20px);
}

.glass-logo:hover:before {
    transform: skewX(45deg) translateX(calc(200px * -1 - 50%));
}

.rates-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
  padding-top: 1.5rem;
}

.rates-text-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1rem;
}

.rates-text-header {
  font-size: 1.125rem;
  font-weight: 400;
  margin: 0;
  margin-bottom: 0.5rem;
}

#garage-attic .rates-text-header:first-of-type {
  margin-bottom: 0.25rem;
}

.rates-sub-header {
  font-size: 1rem;
  font-weight: 100;
  line-height: 1rem;
  margin-bottom: 0.5rem;
}

.rates-description {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  margin: 0.25rem 0;
}

.rates-description > p {
  font-size: 1rem;
  font-weight: 200;
}

.section-card-icon-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.section-card-svg {
  display: flex;
  height: 150px;
}

#garage-attic .section-card-svg {
  display: flex;
  height: 150px;
}

#consulting .section-card-svg {
  display: flex;
  height: 140px;
}

.section-card-icon {
  fill: hsla(0, 0%, 100%, 0.10);
  stroke-width: 0px;
}

.web-display {
  display: flex;
}

.mobile-display {
  display: none;
}


@media only screen and (max-width: 1020px) {
  body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100vh;
  }

  main {
      position: relative;
      /* background-image: linear-gradient(135deg, #c95a3f, #4c23b3 100%); */
      background-image: linear-gradient(135deg, #c0583e, #4d28a9 100%);
      /* background: linear-gradient(45deg, #ad4d2f, #cf3872, #279dc8, #1e9075);
      background-size: 400% 400%;
      animation: gradientBG 15s ease infinite; */
      overflow-x: hidden;
      overflow-y: scroll;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      height: auto;
      width: 100vw;
  }

  .title-container {
      text-align: center;
      margin-bottom: 0.5rem;
      margin-top: 8rem;
  }

  .wrap {
      /* max-width: 64rem; */
      /* margin-left: auto;
      margin-right: auto; */
      display: flex;
      flex-direction: column;
  }

  .web-display {
    display: none;
  }

  .mobile-display {
    display: flex;
  }

  #mobile-header {
    display: inline;
    position: fixed;
    width: 100vw;
    /* background-color: white; */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 50;
    transform: translateY(0%);
    animation-duration: 1600ms;
    animation-delay: 0001ms;
    animation-timing-function: cubic-bezier(0.17, 0.17, 0.24, 1);
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: paused;
    animation-name: header-drop;
  }

  #mobile-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0);
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: opacity;
  }
}
