/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #333;
}

body {
  color: #fff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 42em;
}


/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}


/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}


/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
}


label {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
}

.wrap-from {
    display: flex;
    justify-content: space-between;
}

div#format {
    background-color: #f9f9f9;
    height: 40px;
    border: 1px #e5e5e5 solid;
    border-radius: 100px;
    padding: 4px;
    box-sizing: border-box;
}

div#format button.active {
    color: #002438;
    background-color: #ffffff;
    border: 1px #ebebeb solid;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

div#format button {
    color: #8b989f;
    background-color: transparent;
    font-weight: bold;
    height: 30px;
    border: 1px transparent solid;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-radius: 100px;
    cursor: pointer;
    padding: 0 16px;
}

#convert-form {
    border-radius: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 16px;
/*    background: linear-gradient(#242625 25%, #303133 50%, #303133 50%, #242625 100%);*/
    margin-bottom: 30px;
    box-shadow: 0 0 5px 1px;
}

input#txt-url {
    color: #282828;
    font-family: Arial, sans-serif;
    font-size: 16px;
    width: 100%;
    height: 48px;
    border: 1px #cfdcdd solid;
    border-radius: 100px;
    padding: 0 16px;
    box-sizing: border-box;
    outline: none;
    margin: 16px 0;
}

input#txt-url:focus-visible {
    outline: none;
}

input#txt-url::placeholder {
    color: #999;
}

.w-submit {
    color: #ffffff !important;
    background-color: #151515 !important;
    font-family: Arial, sans-serif;
    font-size: 14px;
    height: 40px !important;
    border: none;
    border-radius: 100px;
    cursor: pointer;

    padding: 0 16px;
}

p.w-submit img {
    width: 15px;
    height: 11px;
}

.w-submit:hover {
    opacity: 0.8;
}

input[type="submit"] {
    border: none;
    color: #fff;
    background: none;
    font-size: 14px;
    font-weight: 400;
}

.button-82-pushable {
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
    transition: filter 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-82-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: hsl(0deg 0% 0% / 0.25);
    will-change: transform;
    transform: translateY(2px);
    transition:
        transform 600ms cubic-bezier(.3, .7, .4, 1);
}

.button-82-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(to left,
        hsl(340deg 100% 16%) 0%,
        hsl(340deg 100% 32%) 8%,
        hsl(340deg 100% 32%) 92%,
        hsl(340deg 100% 16%) 100%);
}

.button-82-front {
    display: block;
    position: relative;
    padding: 12px 27px;
    border-radius: 50px;
    font-size: 1.1rem;
    color: white;
    background: hsl(345deg 100% 47%);
    will-change: transform;
    transform: translateY(-4px);
    transition:
        transform 600ms cubic-bezier(.3, .7, .4, 1);
}

@media (min-width: 768px) {
    .button-82-front {
        font-size: 1.25rem;
        padding: 12px 42px;
    }
}

.button-82-pushable:hover {
    filter: brightness(110%);
    -webkit-filter: brightness(110%);
}

.button-82-pushable:hover .button-82-front {
    transform: translateY(-6px);
    transition:
        transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.button-82-pushable:active .button-82-front {
    transform: translateY(-2px);
    transition: transform 34ms;
}

.button-82-pushable:hover .button-82-shadow {
    transform: translateY(4px);
    transition:
        transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.button-82-pushable:active .button-82-shadow {
    transform: translateY(1px);
    transition: transform 34ms;
}

.button-82-pushable:focus:not(:focus-visible) {
    outline: none;
}