* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}


body {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    overflow-y: scroll;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #1e1e1e;
    color: #f9e800;
}

/* .swal2-modal {
    z-index: 999;
    position: inherit;
}
.swal2-modal > * {
    z-index: 999;
} */

.title {
    display: block;
    font-size: 3rem;
    text-shadow: red 1px 2px 2px;
}

#result {
    display: none;
    border: #f9e800 solid 2px;
    border-radius: 5px;
    background: #2d2d2d;
    width: 25rem;
    max-width: 25rem;
    height: 30rem;
    font-size: 1.2rem;
}

#result > .status {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 1.5rem;
    width: 100%;
    height: 10%;
    background: #222;
    /* text-align: center;
    padding: 2.3%; */
    display: flex;
    justify-content: center;
    align-items: center;
}
#result > .status.success {
    color: deepskyblue;
}
#result > .status.failed {
    color:crimson;
}

#result > .content {
    background: #444;
    position: relative;
    width: 100%;
    height: calc(100% - 10%);
    max-height: calc(100% - 10%);
    padding: 5px 1.8rem;
}
#result > .content > img {
    width: 100%;
}
#result > .content > .info {
    list-style: none;
    max-height: 5rem;
    
}
#result > .content > .info > *{
    margin: 1rem 0;
}
/* #result > .content > .info > li{
    text-align: justify;
} */
#result > .content > .info > li > p{
    display: inline;
    color: #e6dd5c;
    /* text-align: justify; */
}
#result > .content > .link {
    text-align: center;
    color: #f9e800;
    position: absolute;
    bottom: 2rem;
}
#result > .content > .link > li {
    color: #f9e800;
    display: inline;
    margin: 0 3.8rem;
}
#result > .content > .link > li > a {
    color: #000;
    text-decoration: none;
    background: #f9e800;
    padding: 2.5px 3.5px;
    font-weight: 600;
    border-radius: 3px;
    box-shadow: grey 1.2px 1.2px 1.2px;
}


.form {
  margin: 10px;
  font-size: 1.3rem;
}

.form > * {
    display: block;
    margin: .3rem;
}

.form > #url {
    color: #000;
    background: #f9e800;
    border: 2px solid crimson;
    outline: none;
    border-radius: 5px;
    width: 100%;
    height: 2rem;
    padding: 5px 5px;
    font-size: .9rem;
    font-weight: 600;
}

.form > button {
    width: 100%;
    height: 1.6rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    background: #f9e800;
}