@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-v15-latin-regular.eot");
  src: local("Open Sans Regular"), local("OpenSans-Regular"),
    url("../fonts/open-sans-v15-latin-regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/open-sans-v15-latin-regular.woff2") format("woff2"),
    url("../fonts/open-sans-v15-latin-regular.woff") format("woff"),
    url("../fonts/open-sans-v15-latin-regular.ttf") format("truetype"),
    url("../fonts/open-sans-v15-latin-regular.svg#OpenSans") format("svg");
}

body {
  background: #fff;
  margin: 0;
  max-width: 100dvw;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Open Sans", sans-serif;
  font-size: 13pt;
  overflow: auto;
}

footer {
  margin: 20px 0 0 0;
  font-size: 10pt;
  text-align: center;
  white-space: pre-line;
}

footer > a {
  color: #000;
}

footer > iframe {
  border: none;
  width: 400px;
}

a:not(.footerlink):not(.bookmarklet) {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

*,
:after,
:before,
html {
  box-sizing: border-box;
}

.stupidlogo {
  width: 250px;
  align-self: center;
}

.wrapper,
.interaction,
.services {
  display: flex;
  flex-flow: column wrap;
}

.wrapper {
  width: 500px;
  padding: 50px 0;
}

.services {
  align-self: center;
  display: flex;
  flex-flow: column nowrap;
  gap: 0.75em;
}

#putin {
  padding: 10px 14px;
  font-size: 16pt;
  margin: 5px 0 0 0;
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

#validity {
  padding: 5px;
  font-size: 12pt;
  margin: 5px 0 20px 0;
  text-align: center;
  color: #868686;
}

.widget {
  display: flex;
  width: 400px;
  height: 5rem;
  color: #fff;
  background: #737373;
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  cursor: default;
}

.widget .status {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0, 0, 0, 0.3);
  padding: 0 8px 0 10px;
  color: rgba(255, 255, 255, 0.7);
}

.widget.loading .status {
  background-image: url(../img/loader.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center;
}

.widget .info {
  align-self: center;
  padding-left: 15px;
  display: flex;
  flex-flow: column;
}

.widget .msg {
  font-size: 11pt;
  line-height: 1.2;
}

.widget.disabled .msg {
  color: #ccc;
}

.widget:not(.good):not(.bad):not(.loading):not(.disabled):not(.screenshot) .msg {
  display: none;
}

.screenshot {
  cursor: pointer;
}

.screenshot.expanded {
  height: auto;
  flex-flow: column nowrap;
  padding: 8px;
  border-radius: 20px;
}

.screenshot.expanded .ephemeral_warning {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 11pt;
  padding-top: 5px;
}

.screenshot.expanded .url,
.screenshot.expanded .info {
  display: none;
}

.screenshot_image {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.screenshot_image.loading {
  padding: 40%;
}

.screenshot .ephemeral_warning {
  display: none;
}

.screenshot .screenshot_download {
  text-decoration: underline;
  color: #0060ff;
}

.widget.disabled {
  background: #3a3a3a;
  cursor: not-allowed;
}

.widget.loading {
  background: #959595;
}

.widget.bad {
  background: #ff6060;
}

.widget.good {
  background: #5e9d37;
}

.hidden {
  display: none;
}

@media all and (max-width: 600px) {
  body {
    display: block;
  }

  .wrapper {
    width: 100vw;
    padding: 15px;
  }

  .widget {
    max-width: calc(100vw - 30px);
  }

  .stupidlogo {
    display: none;
  }
}
