@font-face {
    font-family: 'Graphik Web';
    src: url('./font/Graphik-Light-Web.woff2') format('woff2'),
         url('./font/Graphik-Light-Web.woff') format('woff');
    font-weight:  300;
    font-style:   normal;
    font-stretch: normal;
}

@font-face {
  font-family: 'Graphik Web';
  src: url('./font/Graphik-Bold-Web.woff2') format('woff2'),
       url('./font/Graphik-Bold-Web.woff') format('woff');
  font-weight:  700;
  font-style:   normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'Graphik Web';
  src: url('../font/Graphik-SemiboldItalic-Web.woff2') format('woff2'),
       url('../font/Graphik-SemiboldItalic-Web.woff') format('woff');
  font-weight:  600;
  font-style:   italic;
  font-stretch: normal;
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

:root {
    --fs-heading: 2.188rem;
    --fs-intro: 1.25rem;
    --fs-body: 1.2rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Graphik Web';
    font-weight:  300;
    background-color: #ffb800;
    background-attachment: fixed;
    background-size: cover;
    padding: 0;
    margin: 0;
    font-size: var(--fs-body);
}

h1 {
    font-weight:  700;
    width: 100%;
    font-size: var(--fs-heading);
    max-width: 760px;
}

.tagline {
    font-size: var(--fs-intro);
    line-height: 1.3;
    margin-block:.51em;
    max-width: 670px;
}

h1 span,
.tagline span {
    display: inline;
    background-color: #000;
    color: #fff;
    padding: 2px 10px 6px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.logo {
    width: 35px;
    height: auto;
}

.container {
    position: relative;
    max-width: 1360px;
    margin-inline: auto;
    padding-inline: 16px;
    padding-block: 24px;
}

.sr-text,
.screen-reader-text {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;

  &:active,
  &:focus {
      clip: auto;
      height: auto;
      margin: 0;
      overflow: visible;
      position: fixed;
      top: 30px;
      left: 20px;
      white-space: normal;
      width: auto;
  }
}

p {
    margin: 0;
}

textarea {
    width: 100%;
    margin-block: 0.5em;
    color: black;
    border: solid 2px #000000;
    padding: .6em;
    resize: both;

    font-size: var(--fs-body);
    line-height: 1.3;
    background-color: rgba(255,255,255,.3);
    font-family: 'Graphik Web';
    font-weight:  300;
}

textarea::placeholder {
    color: #000;
}

svg {
    width: 100px;
    height: 100px;
    display: block;
}

svg:hover {
    animation: rotating 2s linear infinite;
}

.cog-brandst0 {
    fill: #ffb800;
}

.msg-container {
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 100%;
}

.controls {
    margin-top: .5rem;
}

label {
    font-size: var(--fs-intro);
    margin-right: .3em;
}

select {
    appearance: none;
    border: 0;
    background-color: transparent;
    border-bottom: 2px solid #000;
    font-size: var(--fs-intro);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.382823 0.817787C-0.0565166 1.25713 -0.0565165 1.96944 0.382823 2.40878L5.15579 7.18175C5.59513 7.62109 6.30744 7.62109 6.74678 7.18175C7.18612 6.74241 7.18612 6.0301 6.74678 5.59076L1.97381 0.817787C1.53447 0.378447 0.822163 0.378447 0.382823 0.817787Z' fill='black'/%3E%3Cpath d='M11.617 0.817819C11.1777 0.378479 10.4654 0.378479 10.026 0.817819L5.25307 5.59079C4.81373 6.03013 4.81373 6.74244 5.25307 7.18178C5.69241 7.62112 6.40472 7.62112 6.84406 7.18178L11.617 2.40881C12.0564 1.96947 12.0564 1.25716 11.617 0.817819Z' fill='black'/%3E%3C/svg%3E%0A");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: .7em;
    padding-right: 1em;
    padding-bottom: 5px;
    cursor: pointer;
}

button {
    padding: 0.5em 1em;
    transition: all ease-out 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    transform: scale(1);
    z-index: 1;
    text-transform: uppercase;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.29);
    min-width: 150px;
    height: 43px;
    padding: 0 28px 1px;
    border-radius: 29px;
    background-color: #fff;
    color: #000;
    font-size: 12px;
    line-height: 12px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 1em;
    cursor: pointer;
}

[popover] {
    transition: all ease-in 0.2s;
    position: absolute;
    top: var(--button-y);
    left: calc(var(--button-x) + (var(--button-width) / 2));
    transform: translate(-50%, -102%) scale(1);
    margin: 0;
    border: 0;
    background-color: transparent;
    height: 70px;
}

.popover-content {
    position: relative;
    background-color: #000;
    color: #fff;
    padding: 1em;
    border-radius: 0.3em;
}

.popover-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    
    border-top: 10px solid #000;
    margin-top: -1px;
}

@starting-style {
    [popover]:popover-open {
        transform: translate(-50%, 0%) scale(0);
    }
}

button:hover {
    box-shadow: none;
    transform: scale(0.9);
    background-color: #000000;
    color: #ffffff;
}

.image-container {
    display: flex;
    justify-content: center;
}

img {
    position: block;
    margin: 0 auto;
    margin-top: calc(-80px * 1dvw);
    height: auto;
    width: 30%;
}

.secret-information {
    display: none;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding-bottom: 48px;
}

.link a {
    display: block;
    color: #ffb800;
    font-size: var(--fs-intro);
    text-decoration: underline;
    margin-bottom: .5em;
}

@media screen and (min-width: 768px) {
    :root {
        --fs-heading: 2.8rem;
        --fs-intro: 1.563rem;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        padding-block: 32px;
    }
    .image-container {
        position: absolute;
        top: 0;
        right: 0;
    }
    img {
        width: 300px;
        margin: 0;
    }
}
