* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-align: center;
    /*added*/
}

body {
    background-image: url(images/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: arial;
    margin: 0;
    padding: 0;
    background-position: center;
    background-attachment: fixed;
}

/*body > div:last-of-type {
    display: none;
}*/

.container {
    max-width: 1024px;
    width: 100%;
    margin: auto;
    margin-top: 7rem;
    background: #ffe9ccaa;
    padding: 1rem 0;
    min-height: 700px;
}

.nadpis {
    color: #2b2c2dff;
    font-weight: 666;
    font-family: arial;
    font-size: 170%;
    margin-top: 15px;
    padding-top: 20px;
}

/*added*/

.notice {
    position: relative;
    text-align: center;
    padding: 1.5em 0 0 0;
    font-size: 1.2em;
}

.section-title {
    display: block;
    padding: 1em 0;
    font-size: 1.8em;
    color: #2A2B2DFF;
    text-align: center;
    font-weight: 600;
}

.media {
    display: grid;
    grid-template-columns: repeat(auto-fill, 230px);
    justify-content: space-evenly;
    gap: 1.5em 0;
}

.media-done {
    display: grid;
    grid-template-columns: repeat(auto-fill, 230px);
    justify-content: space-evenly;
    gap: 1.5em 0;
}

.media-card {
    display: grid;
    grid-template-rows: auto min-content;
    position: relative;
    width: 100%;
    font-family: Montserrat, sans-serif;
    text-align: center;
    padding: .6em;
}

.media-card:hover {
    background-color: rgba(0, 0, 0, .2);
}

.media-card>.title {
    margin: 0px;
    padding: 0px;
    color: #000000;
    font-size: 1.2em;
    text-decoration: none;
    padding: .2em;
}

.media-card>.cover {
    overflow: hidden;
    height: 320px;
    z-index: 7;
    position: relative;
}

.media-card>.cover>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: 0px;
}
