@font-face {
  font-family: CallingCode;
  src: url(/media/fonts/CallingCode-Regular.woff);
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f9fb;
}

/* layout container */
.container-90 {
    width: 90%;
    margin: 20px auto;
    box-sizing: border-box;
}

/* Language mechanism -------------------------------------------- */

.eng { display: block; }
.cz { display: none; }

body.lang-cz .eng { display: none; }
body.lang-cz .cz  { display: block; }

/* Language switcher -------------------------------------------- */

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* hide checkbox */
#lang-toggle {
    display: none;
}

.switch {
    position: relative;
    width: 50px;
    height: 25px;
    display: inline-block;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    border-radius: 25px;
    transition: 0.25s;
}

/* sliding animation */
.slider::before {
    content: "";
    position: absolute;
    height: 21px;
    width: 21px;
    left: 2px;
    top: 2px;
    background-color: white;
    border-radius: 50%;
    transition: 0.40s;
}

/* slider states -------------------------------------------- */
.switch input:checked + .slider {
    background-color: #00a1ff;
}

.switch input:checked + .slider::before {
    transform: translateX(25px);
}

/* Header panel -------------------------------------------- */

.header-panel {
    width: 100%;
    padding: 15px;
    background-color: #bee6ff;
    border: 3px inset #7accff;
    border-radius: 50px;
    box-shadow: 6px 6px 12px rgba(0,0,0,0.20);

    display: flex;
    align-items: center;
    gap: 20px;

    font-family: CallingCode;
}

.header-cell {
    display: flex;
    align-items: center;
}

.logo-cell {
    flex: 0 0 2%;
}

.header-logo {
    height: 60px;
    padding-left: 15px;
}

/* Cards -------------------------------------------- */

.Cards-panel {
    display: grid;
    grid-template-columns: repeat(auto-fill, 280px);
    gap: 20px;
}

.Card-body {
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #f2f4f7);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border: 1px solid #e6e8ec;
}

.Card-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.Card-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.Card-text h3 {
    margin: 0;
    font-size: 16px;
}

.Card-text p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #555;
}

.Card-button {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
}