body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    display: flex;
    justify-content: space-between;
    background-color: rgba(81, 83, 85, 0.055);
    flex: 1;
    padding: 0 20px;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: rgba(81, 83, 85, 0.055);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-height: 70px;
}

.head {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.head img {
    min-width: 100px;
    min-height: 100px;
    max-width: 50px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

header ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    list-style: none;
    text-align: center;
}

.blocks {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.block {
    display: flex;
    align-items: center;
    height: 150px;
    width: 200px;
    background-color: rgb(194, 202, 204);
    margin: 20px;
    border-radius: 15px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(81, 83, 85, 0.055);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.icon {
    position: absolute;
    top: 75%;
    left: 80%;
}

.icon2 {
    position: absolute;
    top: 75%;
    left: 65%;
}

.icon2 img,
.icon img {
    max-width: 30px;
    max-height: 30px;
}

.block:hover {
    transform: scale(1.1);
    z-index: 1;
}

.block.dk:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.6);
    cursor: pointer;
    animation: pulse-dk 1.5s infinite;
}

@keyframes pulse-dk {
    0% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 215, 0, 1), 0 0 60px rgba(255, 215, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

.block.labs:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    animation: pulse-labs 1.5s infinite;
}

@keyframes pulse-labs {
    0% {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 50px rgb(0, 0, 0), 0 0 60px rgba(0, 0, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6);
    }
}

.text_cont {
    display: flex;
    flex-direction: column;
}

.text_cont h3 {
    font-size: 14px;
    margin: 0;
    text-align: center;
}

.text_cont p {
    font-size: 12px;
    margin: 0 3px;
    text-align: center;
}

.blocks h2 {
    font-size: 20px;
    margin: 0;
    text-align: center;
}

.img_holder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 50px;
    min-height: 50px;
    height: 50px;
    width: 50px;
    margin: 0 0 0 10px;
    border-radius: 15px;
}

.img_holder img {
    max-width: 50px;
    max-height: 50px;
}

/* ----- BLOCKS ----- */

.block.qr {
    background-color: rgb(80, 75, 85);
    color: white;
}

.block.vera {
    background-color: rgb(235, 237, 239);
}

.block.holly {
    background-color: #343a40;
    color: white;
}

.block.wiki {
    background-color: hsla(0, 2%, 83%, 0.319);
    backdrop-filter: blur(10px);
}

.block.filesender {
    background-color: #7c7171;
    color: white;
}

.block.fofola {
    background-color: rgb(111, 51, 23);
    color: white;
}

.block.gitlab {
    background-color: rgb(77, 0, 128);
    color: white;
}

.block.github {
    background-color: #f6f8fa;
}

.block.anet {
    background-color: #f1efef;
}

.block.intranet {
    background-color: #504B55;
    color: white;
}

.block.mzk {
    background-color: #21bdc6;
}

.block.dk {
    background-color: #fafafa;
}

.block.argo {
    background-color: #0f2733;
    color: white;
}

.block.argo p {
    font-size: 10px;
}

.block.graf {
    background-color: #181b1f;
    color: white;
}

.block.graf p {
    font-size: 10px;
}

.block.fung {
    background-color: #f0f1f4;
}

.block.admin {
    background-color: #0277bd;
    color: white;
}

.block.labs {
    background-color: #000;
    color: white;
}

.block.meet {
    background-color: #333537;
    color: white;
}

/* ----- Kontakty ----- */

.off-canvas {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 200px;
    background-color: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
}

.off-canvas.open {
    right: 0;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
}

.off-canvas-content {
    padding: 20px;
}

.off-canvas .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.off-canvas .close:hover {
    color: red;
}

.main_content {
    display: flex;
}