body{background-image: url("https://wallpapers.com/images/hd/aesthetic-cloud-and-sunset-42oz3vubfb26fs6t.webp");
    margin:0px;
    padding:0px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

header,nav,main,footer{
	margin: 0.5vw;
	padding: 1vw;
	border: double rgb(0, 0, 0) 1vw;
	border-radius: 4vw;
    }

.velke{font-size: 4vw;
}
.male{font-size: 0.5vw;}

header{background-color: rgba(255, 187, 141, 0.7);
    height: 7vh;
    text-align: center;
    color: #ac79ff;
    text-shadow: 0.2vw 0.2vw 0.3vw black;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*logo v headeri*/
.logo {
    position: absolute;
    left: 3vw;
    width: 8vw;
    height: auto;
}

/*prioritne zobrazenie pre mobil si nastavim*/
.kontajner{width: 100vw;
    display: flex;
    flex-direction: row;
}

nav{background-color: rgba(255, 187, 141, 0.7);
    height: 81vh;
    font-size: 30px;
    /*na rozlozenie zloziek v nav aby zaplnili priestor*/
    display: flex;
    flex-direction: column;        /*da pod seba*/
    gap: 3vw;
    padding-top: 5vh; /*medzera hore a z bokov*/
}

nav a {
    color: #7847ff;
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
}
nav a:hover {
    color: rgb(255, 255, 255);
    transform: translateX(0.6vw);
}



main{background-color: rgba(255, 238, 227, 0.9);
    height: 81vh;
    overflow: auto;
    flex-grow: 1; /*posunie bunku na zklade velkosti bunky*/
    padding: 2vw;
}



footer{background-color: rgba(255, 187, 141, 0.7);
    height: 6vh;
    align-content: center;
}



img{height: 10vw;
}


.galeria{display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center; /*centrovanie v x osi*/
    align-content: center;  /*centrovanie v y osi*/
    height:50vh;
    gap:10px 25px; /*medzeri medzi obr*/
    }



/*   ---------       tabulka    ----------         */
.tabulka-umiestnenie{
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tabulka{
    width: 90%;
    margin: 2vw auto; 
    font-size: 1.6vw;
}
.tabulka th, .tabulka td{
    padding: 1vw;
}
/*rozdielne farby, first a last*/
.tabulka th:first-child{
    background-color: #9ce49e;
    text-transform: uppercase;
}
.tabulka th:last-child{
    background-color: #ffb6b6;
    text-transform: uppercase;
}
/*striedanie farieb riadkov pre lepšiu citateľnost */
.tabulka tr{
    background-color: #ffd9c2a8;
}
/*efekt pri prejdeni myskou*/
.tabulka tr:hover {
    background-color: #e9f5e9;
}





/* ---------- zrucnosti -----------------*/
.zrucnosti{
    width: 90%;
    margin: 2vw auto;
}
.zrucnosti ul, li{text-align: left;
}
.zrucnosti h3{
    color: #3b3b3b;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #ae82ff;
    display: inline-block;
    margin-bottom: 15px;
}
.zrucnosti ul{
    padding: 0;
    margin: 0;
    position: relative;
    
    /*spolocny gradient nalavo*/
    border-left: 0.8vw solid;
    border-image: linear-gradient(to bottom, white, #6b1bff) 1;
    /*len jedna bocna ciara*/
}
.zrucnosti li{
    padding: 1vw 2vw;
    font-size: 20px;
    margin-left: 0; /*riadky spojene s lavym gradientom*/
    background-color: transparent; /*pozadie budiek*/
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0; /*riasdkovanie*/
}
.zrucnosti li:last-child{
    border-bottom: none; /*zrusenie spodnej ciary*/
}
.zrucnosti strong{
    color: #4439db; /*dany text napisany tucne*/
}



/* --------   pre mobil   -----------*/
@media(max-width: 680px){
    .kontajner{
        display: flex;
        direction: row;
        width: 100vw;
        flex-direction: column;
    }
    header, nav, main, footer{
        margin: 2vw;         
        padding: 4vw;
        border-width: 1vw;   
        border-radius: 5vw;
    }
    nav{display: flex;
        flex-direction: row;   /*polozky vedla seba */
        justify-content: center; /*vycentruje menu vodorovne*/
        align-items: center;     /*vycentruje menu zvisle*/
        height: auto;          
        gap: 4vw;           
        padding: 0.5vw 2vw;
        font-size: 2.5vw;
    }
    main{height: 86vh;
        box-sizing: border-box;
        flex-grow: 1;
    }
    .logo{
        position: relative;
        left: 0;
        width: 15vw;
    }
    .velke{font-size: 7vw;
    }
    .male{
        font-size: 1.5vw;
    }
    .tabulka{font-size: 3.5vw;
    }
    .zrucnosti li{font-size: 4vw;
    }
    img{height: 15vw;
    }
}