body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
}

.step {
    display: none;
}

.error-container {
    padding: 0 3em;
    border: 1px solid #9d0000;
    border-radius: 8px;
    color: #9d0000;
    background-color: rgba(255, 0, 0, .2);
    font-weight: bold;
    margin-bottom: 1em;
}

.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input,textarea {
    display: block;
    margin: 10px auto;
    padding: 5px;
}

body {
    background-color: #333333;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    background: linear-gradient(211deg, rgba(31,53,114,0.5340336818321079) 0%, rgba(255,255,255,1) 100%);
    font-family: "Lato", sans-serif;
    color: #1f3572;
}

.image-container {
    display: flex;
    gap: 20px;
}

button {
    width: calc(256px + 2em);
    color: white;
    background-color: #1f3572;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    font-size: 1.2em;
    padding: .2em 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: rgba(31,53,114,0.5340336818321079);
}

#step2 a {
    color: #1f3572;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.3s;
    padding: 1em;
}

#step2 a:hover {
    color: rgba(31,53,114,0.5340336818321079);
}

.image-container button {
    text-decoration: none;
    width: 300px;
    height: 220px;
    border-radius: 8px;
    justify-content: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: #1f3572;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.image-container img {
    width: 150px;
    height: 150px;
    transition: transform 0.3s, border-color 0.3s;
}
.image-container img:hover {
    transform: scale(1.1);
}

#qrCode {
    padding: 1em;
    background: #fff;
    border-radius: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

input,textarea {
    width: calc(256px + 2em);
    border: 2px solid #1f3572;
    border-radius: 8px;
    color: #1f3572;
    font-weight: bold;
    font-family: "Lato", sans-serif;
    font-size: medium;
}

textarea {
    resize: vertical;
    min-height: 256px;
    max-height: 256px;
}

#secret-container input {
    text-align: center;
    margin: 0;
}

#secret-container {
    display: flex;
    margin-bottom: 1em;
}

#secret-container button {
    width: 35px;
    height: 35px;
    font-size: .7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

svg {
    width: 25px;
    height: 25px;
    filter: invert(100%) sepia(5%) saturate(0%) hue-rotate(295deg) brightness(103%) contrast(107%);
}

#copy.anim {
    animation:clipboardclick .5s 1;
    -webkit-animation:clipboardclick .5s 1; /* Safari and Chrome */
}

@keyframes clipboardclick
{
    0%      {background:#1f3572;}
    50%     {background:lightgreen;}
    100%    {background:#1f3572;}
}

@-webkit-keyframes clipboardclick
{
    0%      {background:#1f3572;}
    50%     {background:lightgreen;}
    100%    {background:#1f3572;}
}