:root {

    --dark-bg-color: #1a1a1a;
    --text-light-color: #e0e0e0;
    --gradient-start-color: #00ffcc;
    --gradient-middle-color: #8a2be2;
    --gradient-end-color: #ff00ff;
    --button-bg-machines: #28a745;
    --button-bg-tools: #8a2be2;
    --main-font: 'Open Sans', sans-serif;
    --code-front: 'Roboto Mono', monospace;

}

* {

    margin: 0;
    padding: 0; 
    box-sizing: border-box;
}


body {
    font-family: var(--main-font);
    line-height: 1.6;
    color: var(--text-light-color);
    background-color: var(--dark-bg-color);
    overflow: hidden;
}

.frame {

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 85vh;
    border: 4px solid;
    border-image: linear-gradient(90deg, violet, cyan, lime, yellow) 1;
    display: flex;
    justify-content: center;
    align-items: start;
    padding-top: 20px;
    box-sizing: border-box; 

}

.frame h1 {

    font-family: 'IBM Plex Mono', monospace;
    color: #18375d;
    font-size: 2.5rem;
    text-align: center;
    line-height: 1.2;
    background-color: var(--dark-bg-color);
    padding: 0 10px;
    position: absolute;
    top: -40px;
}

.rotated-img {

    width: 370px;
    height: 300px;
    transform: rotate(-20deg);
    position: absolute;
    top: 40%;
    left: 16%;
    transform: translate(-50%, -50%) rotate(-20deg);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);

}

.machine-button {

    position: absolute; 
    top: 40%;
    left: 14.5%;
    transform: translate(-50%, -50%);
    padding: 12px 24px;
    font-family: var(--code-front);
    font-weight: bold;
    color: white;
    background-color: #141414;
    border: 2px solid var(--button-bg-machines);
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 0 10px var(--button-bg-machines);
    transition: all 0.3s ease;
    z-index: 2;
}

.machine-button:hover {

    background-color: var(--button-bg-machines);
    color: #000;
    box-shadow: 0 0 15px var(--button-bg-machines);
}

.tools-button {

    position: absolute;
    top: 40%;
    left: 80%;
    transform: translate(-50%, -50%);
    padding: 12px 40px;
    font-family: var(--code-front);
    font-weight: bold;
    color: white;
    background-color: #141414;
    border: 2px solid #cb6ce6;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 0 10px #cb6ce6;
    transition: all 0.3s ease;
    z-index: 2;

}

.tools-button:hover {

    background-color: #cb6ce6;
    color: #000;
    box-shadow:0 0 15px #cb6ce6;
}

.writer {

    position: absolute;
    bottom: 15%;
    left: 40%;
    color: #e0e0e0;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 2rem;
}
