
.machine {
    position: relative;
    display: block;
    width: min(900px, 100vw);
    height: auto;
    margin: 0 auto -10%;
}

.machineBody {
    width: 100%;
    height: auto;
}

.machineUI {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.machineForm {
    width: 100%;
    height: 100%;
}


.machineInput {
    position: absolute;
    top: 20.6%;
    left: 12%;
    width: 49%;
    height: 4.8%;
}

.inputLabel {
    position: absolute;
    top: 142%;
    left: 14%;
}

input.PixelatedInput[type=text] {
    width: 100%;
    height: 100%;
    padding-left: 0.5em;
    font-family: "pixelatedFont", "sans-serif";
    margin-top: 0.3em;
    font-weight:normal;
    font-style:normal;
    font-size: min(3vw, 27px);
    font-smooth: never;
    -webkit-font-smoothing : none;
    background: transparent;
    border: none;
    outline: none;
}

input.PixelatedInput[type=text]:focus {
    position: relative;
    width: 100%;
    height: 100%;
    transition: none;
    border: none;
    outline: none;
    caret-shape: underscore;
    caret-color: transparent;
}

.generateButtonBackground {
    position: absolute;
    background: url("../assets/images/buttonBase.webp") no-repeat;
    background-origin: content-box;
    background-size: 100% 100%;
    right:12.7%;
    bottom:14.3%;
    width: 13.3%;
    height: 15.6%;
}

.generateButton {
    position: absolute;
    background: url("../assets/images/button.webp") no-repeat;
    background-origin: content-box;
    background-size: 100% 100%;
    width: min(82%, 94px);
    height: 72%;
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
    border: none;
    margin-top: 13%;
    margin-left: 9.5%;
}

.generateButton:hover {
    filter: brightness(110%);
    transform: scale(1.05, 1.05);
    cursor: pointer;
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.generateButton:active {
    filter: brightness(90%);
    transform: scale(0.95, 0.95);
    cursor: pointer;
}

.generateButton:disabled {
    filter: brightness(90%);
    transform: scale(0.95, 0.95);
    cursor: pointer;
}

.machineScreen {
    position: absolute;
    top: 37%;
    right: 15%;
    background: url("../assets/images/machineScreen_Off.webp") no-repeat center center;
    background-size: 100%;
    width: 23%;
    height: 20%;
}

.machineScreenOn {
    opacity: 0;
    background: url("../assets/images/machineScreen_On.webp") no-repeat center center;
    background-size: 100%;
    z-index: 1;
    transition: opacity 0.1s ease-in-out;
}

.screenWords {
    position: absolute;
    top: 0;
    left: 8%;
    width: 88%;
    height: 85%;
    margin-top: 7%;
    text-align: left;
    font-family: "pixelatedFont", "sans-serif";
    font-size: min(2vw, 16px);
    color: #3c533a;
    white-space: pre;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 2;
}

.checkedWords {
    position: absolute;
    top: 97%;
    left: 4%;
}

.checkedWordsCount {
    position: absolute;
    top: 97%;
    right: 23%;
}

.machineLinks {
    position: absolute;
    right: 10%;
    bottom: 10%;
    width: 15%;
    height: 5%;
    overflow: hidden;
}

.githubAuthorButton {
    height: 100%;
    width: 66%;
    padding-top: 30%;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

.githubPageButton {
    height: 100%;
    width: 27%;
    padding-top: 30%;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}