@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
::selection {
    background: #a2b356;
    color: #fff;
}
::-moz-selection {
    background: #a2b356;
    color: #fff;
}
* {
    margin: 0;
    padding: 0;
}
body {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(45deg, #ffffff, #e0f192);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Lexend', sans-serif;
}
button {
    cursor: pointer;
    color: black;
    background-color: #e0f192;
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    user-select: none;
}
button:hover {
    background-color: #e8f6a5;
}
button:active {
    background-color: #a2b356;
    color: white;
}
h1 {
    margin-top: 30px;
}
h2 {
    margin: 0;
}
a {
    color: black;
}
#string_container {
    font-family: 'Roboto Mono', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 80%;
}
.button_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
#createRNA,
#createDNA,
#DNA_string_2,
#transcription,
#translation,
#end {
    display: none;
    user-select: none;
}

#DNA_polymerase {
    display: none;
    justify-content: center;
    align-items: center;
    color: white;
    width: 140px;
    height: 100px;
    background: linear-gradient(145deg, #6a5acd, #836fff);
    border-radius: 50% / 40%;
    position: fixed;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
    user-select: none;
}
#RNA_polymerase {
    display: none;
    justify-content: center;
    align-items: center;
    color: white;
    width: 140px;
    height: 100px;
    background: linear-gradient(145deg, #76b14f, #89ff6f);
    border-radius: 50% / 40%;
    position: fixed;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
    user-select: none;
}
#ribosome {
    position: fixed;
    display: none;
    width: auto;
    height: auto;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    user-select: none;
}
#ribosome_small {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    width: 100px;
    height: 60px;
    background: linear-gradient(145deg, #da6969, #c84f4f);
    border-radius: 50% / 50%;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
}
#ribosome_big {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    width: 140px;
    height: 100px;
    background: linear-gradient(145deg, #c62525, #950d0d);
    border-radius: 50% / 50%;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
}
#footer {
    position: relative;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 100%;
    background: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    gap: 10px;
    margin-top: auto;
    flex-direction: column;
}