main {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title {
    max-width: 100vw;
    width: 500px;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: black;
    color: white;
    border-radius: 20px;
}
/*"main a" a ".link h1" ovlivňují stejný element ale muselo to takhle být napsané nebo margin a padding nefungoval nebo barva podtažení textu.*/
main a {
    color: white;
}
.link h1 {
    margin: 15px;
    padding: 20px;
}
.links {
    display: flex;
    flex-direction: row;
    margin-top: 30px;
}

.link {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: black;
    margin: 20px;
    border-radius: 20px;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.link div{
    margin: 15px;
    padding: 20px;
    background-color: black;
    height: 300px;
    width: 200px;
    border-radius: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
}

@media (max-width: 850px) {
    .links {
        flex-direction: column;
    }
}

@keyframes summon {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100;
    }
}
