body {
    min-height: 10vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #f8f2f2;
    color: #333;
}
header {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2rem;
}

nav {
    margin-top: 10px;
}

nav a {
    color: rgb(30, 9, 145);
    text-decoration: none;
    margin-right: 20px;
    font-weight: bold;
    transition: opacity 0.3s;
}
main {
    flex: auto;
    max-width: 1600px;
    width: 100%;
    margin: 50px auto;
    padding: 50px;
    background-color: rgb(255, 255, 255);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

section {
    margin-bottom: 25px;
}

section h2 {
    margin-bottom: 10px;
    color: #2563eb;
}

footer {
    background-color: #1f2937;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

img{width: 20%;
}

.galeria{display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    height:100vh;
    gap:10px 30px;
}

@media (max-width:480px){
.galeria{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start; 
    gap:10px;
    align-items: center;
    }
    
img{width: 70px;}
}

.tabulka{display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(https://tipsmake.com/data/images/100-beautiful-background-png-picture-24-Asc4FKFss.png);
    background-repeat:repeat-y;background-size: 100%;}
table,td,th{border:1px rgb(20, 1, 1) solid;
            border-collapse: collapse; 
}
head{ font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
font-size: 3em;}

body{background-color: rgb(238, 238, 238);
    color:rgb(19, 19, 238);
}

th,td{width: 15vw;
     height:5vh;
      }

table{margin:auto;
     padding:auto;
    }
td{color:rgb(0, 0, 0)}

caption{font-weight: 600;
        text-transform: uppercase;
    }
.MAT{background-color: rgb(42, 244, 76) ;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5em;
    color: white;
}
.nadpis{ background-color: hsla(0, 100%, 50%,0.5 ); color: black;
}
.TH{text-align: left; padding-left: 20px;}
aa:link{color:red;text-decoration: none;}
thead{background: #833AB4;
background: linear-gradient(183deg,rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);}
.skills{justify-content: right;}
