* {
    color: #40434a;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #e3eafa;
    height: 100vh;
}

body>section {
    margin-top: 1em;
    padding: 1em;
    position: relative;
}

body>section>article {
    margin: 1em auto;
    padding-left: .5em;
}

body>section>article:first-of-type {
    margin-top: .2em;
}

h1 {
    border-bottom: 1px solid #40434a;
    font-size: 1.6rem;
    font-weight: bold;
}

h2 {
    font-size: 1.3rem;
    font-weight: bold;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1.1rem;
}

nav, footer {
    background-color: #445775;
    min-height: 50px;
    width: 100%;
}

nav, nav h1, footer, footer header h2, article h3, article ul li {
    color: #edeff2;
}

footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0px 5px;
    grid-auto-flow: row;
}

footer .container article {
    border-radius: 3px;
    margin-bottom: .5em;
    margin-top: .2em;
    padding: .2em;
}

footer .container article header {
    border-bottom: 1px solid #edeff2;
}

footer .container article header h3 {
    font-size: .85em;
}

footer .container article ul {
    list-style-type: none;
    margin-top: .5em;
    padding-left: .5em;
}

footer .container article ul li {
    font-size: .8rem;
}

footer .container article ul li::before {
    content: '\25BB';
    padding-right: 3px;
}

footer .container article ul li a {
    color: #edeff2;
    text-decoration: none;
}

footer .container article ul li a:hover {
    text-decoration: underline;
}

dl {
    margin: .5em;
}

dl dt {
    font-weight: bold;
}

dl dt::before {
    content: '\2726';
    margin-right: .2em;
}

dl dd {
    font-style: italic;
    padding-left: .7em;
}

p code {
    background-color: #f0e8e4;
    color: #ed4066;
    font-size: .9rem;
    padding-left: .2rem;
    padding-right: .2rem;
}

a::before {
    content: "\1F517";
}

.clear {
    clear: both;
}

.oculto {
    display: none !important;
}

.error {
    color: rgb(230, 65, 101) !important;
}

.sample {
    background-color: #fffddb;
    border: 1px solid #656869;
    border-radius: 5px;
    margin: .5em auto;
    padding: .4em;
    width: 98%;
}

.sample h4 {
    font-size: 1rem;
    font-variant: small-caps;
    font-weight: bold;
}

.sample a {
    background-color: #f0e8e4;
    color: #001891;
    font-size: .9rem;
    padding-left: .2rem;
    padding-right: .2rem;
}

.sample a:hover {
    cursor: pointer;
    text-decoration: underline;
}

.sample .description,
.sample .content {
    display: block;
    font-size: .8rem;
    margin: .5em auto;
    position:relative;
}

.sample .content input {
    background-color: #f0e8e4;
    border-radius: 5px;
    display: block;
    font-size: 1rem;
    padding: .2em .4em;
    width: 100%;
}


.sample .content .btn {
    background-color: #0c3fc0;
    border: 1px solid rgb(6, 11, 39);
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    margin-left:.5em;
    margin-top: .5em;
    padding: 3px 5px;
    text-align: center;
}

.sample .content .btn:hover {
    background-color: #2a5fe2;
}

.sample .content .btn em {
    color: #fff;
}

.sample .content .loader {
    display: none;
    margin: .6em auto;
}

.sample .content .result {
    background-color: #f0e8e4;
    border: 1px solid #40434a;
    border-radius: 5px;
    display: block;
    margin: .5em auto;
    min-height: 40px;
    padding: .5em;
}

.sample form .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sample form .form-group {
    flex-grow: 1;
    padding: .3em;
}

.sample form .form-group.error label,
.sample form .form-group.error input {
    color: rgb(230, 65, 101);  
}

.sample form .form-group.error input {
    border: 1px solid rgb(230, 65, 101);
}

.sample .content .result--validation,
.sample .content .result--message {
    color:rgb(19, 162, 12);
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    margin: .5em auto;
}

.sample[data-title="messages"] .content {
    display: flex;
    flex-direction: column;
}

.sample[data-title="messages"] .content .actions {
    display: flex;
    flex-direction: row;
    gap: .3em;
}


.sample[data-title="messages"] .content .actions > div {
    background-color: #edeff2;
    border: 1px solid #0c3fc0;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    padding: .5em;
}

.sample[data-title="messages"] .content .actions > div h4,
.sample[data-title="alter-elements"] .content > div h4 {
    text-align: center;
}

.sample[data-title="alter-elements"] .content {
    display: flex;
    flex-wrap: wrap;
    gap: .3em;
    justify-content: space-between;
}

.sample[data-title="alter-elements"] .content > div {
    background-color: #edeff2;
    border: 1px solid #0c3fc0;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: .3em;
    min-height: 100px;
    min-width: 200px;
    padding: .5em;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--color input {
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    height: 25px;
    width: 100%;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--color .alter-elements--color__result {
    background-color: black;
    border: 1px solid black;
    border-radius: 5px;
    height: 25px;
    width: 100%;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--text .alter-elements--text__result {
    color: #0c3fc0;
    font-family: 'Courier New', Courier, monospace;
    font-style: italic;
    text-align: center;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--opacity .alter-elements--opacity__result {
    text-align: center;
    width: 100%;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--opacity .alter-elements--opacity__result img {
    object-fit: cover;
    width: 100%;
}


.sample[data-title="alter-elements"] .content > div.alter-elements--todo > div {
    flex-grow: unset;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--todo .todo-list {
    list-style-type: none;
    margin: .5em auto;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--todo .todo-list li {
    display: flex;
    gap: .3em;
    align-items: center;
    justify-content: space-between;
    margin: .3em auto;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--todo .todo-list li input[type="checkbox"] {
    width: 20px;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--todo .todo-list li span {
    flex-grow: 3;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--todo .todo-list li button {
    background-color: rgb(230, 65, 101);
    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    font-size: 1.1em;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--move {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--move .cursors button {
    border: none;
    cursor: pointer;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--move .alter-elements--move__result {
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 5px;
    display: block;
    height: 240px;
    padding: .3em;
    position: relative;
    width: 100%;
}

.sample[data-title="alter-elements"] .content > div.alter-elements--move .alter-elements--move__result img {
    position: absolute;
    left: 5px;
    top: 5px;
}

.sample .content .result--gifs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 1em auto;
}

.result--gifs__card {
    align-content: center;
    border: 1px solid grey;
    border-radius: 6px;
    margin-bottom: 10px;
    margin-right: 10px;
    overflow: hidden;
}

.result--gifs__card p {
    padding: 5px;
    text-align: center;
}

.result--gifs__card img {
    max-height: 170px;
    object-fit: cover;
}

.done {
    text-decoration: line-through;
}
