body{
    background-color: rgb(197, 116, 231);
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* HLAVIČKA */
header{
    background-color: rgb(190, 136, 241);
    height: 10vh;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 30px;
    font-weight: bold;
}

/* KONTAJNER */
.kontajner{
    display: flex;
    flex-direction: column;
}

/* MENU */
nav{
    background-color: rgb(240, 175, 245);
    padding: 15px;
    text-align: center;
}

nav a{
    text-decoration: none;
    color: black;
    margin: 10px;
    font-weight: bold;
}

/* HLAVNÝ OBSAH */
main{
    background-color: rgb(197, 142, 230);
    min-height: 75vh;
    padding: 20px;
    box-sizing: border-box;
}

/* NADPISY */
h2{
    background-color: rgba(212, 150, 236, 0.856);
    padding: 10px;
}

/*  O MNE  */
.omne-box{
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.omne-box img{
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

main img{
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin: 10px;
}

img{
    display: inline-block;
    vertical-align: middle;
}

/* EMAIL */
a{
    color: black;
    font-weight: bold;
    text-decoration: none;
}

a:hover{
    color: rgb(255, 118, 248);
}

/* TABUĽKA */
table{
    width: 100%;
    background-color: rgb(236, 135, 245);
    border-collapse: collapse;
}

th, td{
    border: 1px solid black;
    padding: 10px;
}

/* PÄTA */
footer{
    background-color: rgb(199, 113, 248);
    height: 7vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* PC */
@media(min-width:481px){

    .kontajner{
        flex-direction: row;
    }

    nav{
        width: 20vw;
        display: flex;
        flex-direction: column;
    }

    nav a{
        margin: 15px 0;
    }

    main{
        flex-grow: 1;
    }
}