/*totalni zingrovina toto */
body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #284ea1;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /*nejaka vec, co zajistuje, aby ta stranka se zobrazila spravne v % */
    transition: background-color 1s ease-in-out; 
}

header, footer {
    background-color: #0c0909;
    color: #284ea1;
    padding: 20px 0;
}

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

.box {
    background-color: #0c0909;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    width: 250px;
    font-size: 1.2em;
    transition: transform 0.3s, box-shadow 0.3s, background-image 0.3s;
    background-size: cover; /*pokryje ten cudlik */
    background-position: center;
}

.box:hover {
    transform: scale(1.11);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.box a {
    text-decoration: none;
    color: #284ea1;
    font-weight: 800;
    transition: color 0.3s;
}

.box a:hover {
    color: rgb(19, 19, 19);
}


.box1:hover {
    background-image: url('excel.jpg');
}

.box2:hover {
    background-image: url('powerpoint.png');
}

.box3:hover {
    background-image: url('excel.jpg');
}


.box1:hover body {
    background-color: rgb(29,111,66); 
}

.box2:hover body {
    background-color: rgb(193, 59, 27); 
}

.box3:hover body {
    background-color: rgb(29,111,66); 
}
