@font-face {
  font-weight: 500;
  font-family: "Messina Sans";
  font-style: normal;
  src: url("./fonts/MessinaSansWeb-Regular.eot");
  /* IE9 Compat Modes */
  src: url("./fonts/MessinaSansWeb-Regular.woff") format("woff"), url("./fonts/MessinaSansWeb-Regular.woff2") format("woff2");
  font-display: swap;
}

img, video, svg {
  /*max-width: 100%;*/
  height: auto;
}

a {
  color: canvastext;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

html {
  height: 100%;
  overflow-x: hidden;
  font-weight: 500;
  font-size: clamp( 16px, 2vw, 24px );
  font-family: "Messina Sans", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", serif;
  line-height: 1.5;
  background: linear-gradient(#ffab0e, #ffca11) fixed;
  background-color: #ffb600;
  background-color: var( --ci-color );
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media ( -ms-high-contrast: active ), ( forced-colors: active ), ( prefers-color-scheme: dark ) {
    color-scheme: dark;
    background: none;
    background-color: var(--c-black);
  }
}

body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  color: canvastext;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 595.3 491.9' style='enable-background:new 0 0 595.3 491.9;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bopacity:0.7;fill:url(%23SVGID_1_);enable-background:new ;%7D .st1%7Bopacity:0.7;fill:url(%23SVGID_2_);enable-background:new ;%7D%0A%3C/style%3E%3ClinearGradient id='SVGID_1_' gradientUnits='userSpaceOnUse' x1='411.103' y1='493.8545' x2='411.103' y2='57.0545' gradientTransform='matrix(1 0 0 -1 0 491.8898)'%3E%3Cstop offset='0' style='stop-color:%23F6C13E'/%3E%3Cstop offset='0.1358' style='stop-color:%23F9CA40;stop-opacity:0.9321'/%3E%3Cstop offset='0.4121' style='stop-color:%23FED842;stop-opacity:0.7939'/%3E%3Cstop offset='0.6968' style='stop-color:%23FFE043;stop-opacity:0.6516'/%3E%3Cstop offset='1' style='stop-color:%23FFE243;stop-opacity:0.5'/%3E%3C/linearGradient%3E%3Cpolygon class='st0' points='379.4,-0.6 226.3,434.8 595.3,179.7 595.9,-2 '/%3E%3ClinearGradient id='SVGID_2_' gradientUnits='userSpaceOnUse' x1='-0.4206' y1='384.6898' x2='593.8794' y2='384.6898' gradientTransform='matrix(1 0 0 -1 0 491.8898)'%3E%3Cstop offset='0' style='stop-color:%23F6C13E'/%3E%3Cstop offset='0.1358' style='stop-color:%23F9CA40;stop-opacity:0.9321'/%3E%3Cstop offset='0.4121' style='stop-color:%23FED842;stop-opacity:0.7939'/%3E%3Cstop offset='0.6968' style='stop-color:%23FFE043;stop-opacity:0.6516'/%3E%3Cstop offset='1' style='stop-color:%23FFE243;stop-opacity:0.5'/%3E%3C/linearGradient%3E%3Cpath class='st1' d='M-0.4,73.2l594.3,141.1V0.1H0.4C0.4,0.1,1.3,74.9-0.4,73.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% auto;

  @media ( -ms-high-contrast: active ), ( forced-colors: active ), ( prefers-color-scheme: dark ) {
    background-image: none;
  }
}

main {
  display: flex;
  align-items: center;
  height: 100vh;
  margin-bottom: calc( ( 50 / 20 ) * 1rem );
}

.container-md {
  width: 100%;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding-right: clamp( 20px, 6vw, 74px );
  padding-left: clamp( 20px, 6vw, 74px );
  box-sizing: border-box;
}

.content {
  width: 100%;
  max-width: 60%;
}

.button {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  cursor: pointer;
  display: inline-block;
  min-width: 180px;
  padding: 6px 15px 6px 15px;
  color: canvastext;
  font-weight: $f-weight-semibold;
  font-size: 20px;
  text-align: center;
  background-color: var(--ci-color);
  outline: 2px solid var(--ci-color);
  transition: background-color ease-in-out 500ms, color ease-in-out 500ms;
}

.button--big {
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: clamp( 5px, 1vw, 10px );
  padding-top: clamp( 6px, 3vw, 10px );
  padding-right: clamp( 10px, 3vw, 20px );
  padding-bottom: clamp( 6px, 3vw, 10px );
  padding-left: clamp( 10px, 3vw, 20px );
  color: canvastext;
  font-weight: 700;
  font-size: clamp( 17px, 3vw, 40px );
  text-align: center;
  background-color: canvas;
  line-height: 1.50;
  text-decoration: none;
  font-family: inherit;
  overflow: hidden;
}

.button--big::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 500%;
  height: 1000%;
  background-color: canvastext;
  transform: translateX(-20%) translateY(10%) rotate(45deg);
  transform-origin: 0 0;
  transition: transform 500ms ease-in-out;
}

.button--big:hover {
  background-color: canvastext;
  outline-color: canvas;
  color: canvas;
}

.button--big:hover path {
  fill: canvas;
}

.button--big:hover::before {
  transform: translateX(10%) translateY(-40%) rotate(45deg);
}


.button--big svg {
  flex-shrink: 0;
  width: clamp( 20px, 3vw, 40px );
}

.button--big path {
  transition: fill 200ms ease-in-out;
}

@media screen and ( max-width: 768px ) {

  .content {
    max-width: none;
  }

  .button {
    padding-top: 7px;
    padding-bottom: 10px;
  }
}

@media ( -ms-high-contrast: active ), ( forced-colors: active ), ( prefers-color-scheme: dark ) {
  .button {
    background-color: canvas;
    border-color: canvastext;
    outline-color: canvastext;
    transition-duration: 0.2s;
  }

  .button[href] {
    color: #5b5ffd;
    border: 2px solid currentColor;
    outline: none;
  }

  .button path {
    fill: currentColor;
  }

  .button:hover path {
    fill: #5b5ffd;
  }

  .button--big::before {
    content: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0,0,0,0);
}