@font-face {
    font-family: "Google-Sans";
    src: url(/static/fonts/GoogleSans-VariableFont.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: "Google-Sans", sans-serif;
}

body {
    background-color: #0e0e11;
    color: #eaeaf0
}

h1, h2 {
    color: #eaeaf0;
    font-size: 32px;
}

span, div {
    color: #eaeaf0   
}

/* header */

header {
    padding: 20px;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    border-radius: 15px;
    background-color: #15151d;
}

.menu div {
    padding: 0 10px 0 10px;
}

.site_name {
    font-weight: 800;
    font-size: 36px;
}

#menu_clock {
    font-size: 32px;
    font-weight: 700;
    color: aliceblue;
}


/* main */

main {
    padding: 0 20px 0 20px;
}

.machine {
    margin-bottom: 15px;
}

.machine_info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));;
    gap: 20px;
}

.machine_name {
    font-size: 32px;
    font-weight: 700;
}

.machine_info_blocks {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 20px;
}

.info_block {
    background-color: #15151d;
    border-radius: 15px;
    padding: 20px;
}

.info_block span {
    font-size: 14px;
    color: #9a9aa5;
}

.info_block_percent {
    font-size: 24px;
    margin-top: 10px;
    font-weight: 600;
}

.info_block_bar {
    overflow: hidden;
    border-radius: 10px;
    background-color: #262633;
    position: relative;
    width: 100%;
    height: 15px;
}

.info_block_bar div {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,#6a5acd,#8a7cff);
    transition: width 0.4s ease, background 0.3s ease;
}

/* waaaaaa */

.machine_info_container {
    background-color: #15151d;
    padding: 15px;
    border-radius: 15px;
    max-height: 300px;
    display: flex;
    flex-direction: column;
}

.machine_info_container span {
    font-size: 24px;
    padding-bottom: 10px;
}

.container_blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    overflow: scroll;
    scrollbar-width: none;
}

.container_block {
    font-size: 0.9em;
    margin: 2px;
    border: 0;
    min-height: 100px;
    max-width: 110px;
    max-height: 110px;
    position: relative;
    border-radius: 15px;
    background-color: #262633;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.container_block:hover {
    transform: translateY(-2px);
    background-color: #333344;
}

.container_block img {
    object-fit: contain;
    height: 40%;
    width: 100%;
    max-width: 42px;
    max-height: 42px;
}

.container_block_status {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    box-shadow: 0 0 10px #0e0e11;
}

.status_running {
    background-color: #4ade80;
}

.status_exited {
    background-color: #f87171;
}

.status_paused {
    background-color: #facc15;
}






.machines_stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));;
    gap: 20px;
}

.main_machines_statblock {
    background-color: #15151d;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
}

.main_machines_statblock span {
    font-size: 14px;
    color: #9a9aa5;
}

.main_machines_statblock_percent {
    font-size: 24px;
    margin-top: 10px;
    font-weight: 600;
}

.main_machines_statblock_bar {
    overflow: hidden;
    border-radius: 10px;
    background-color: #262633;
    width: 100%;
    height: 15px;
}

.main_machines_statblock_bar div {
    height: 100%;
    transition: 0.4s ease;
}

.main_containers button {
    background-color: #262633;
    border-radius: 15px;
    box-shadow: 0px 0px 0px black;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.main_containers button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 0px 5px black;
}