html, body {
    margin: 0;
    padding: 0;
    height: 100%; 
    
}

.logo {
    width: 100px;          
    top: -15px;
    left: 10px;
    position:absolute;
    height: auto;

}


.hlavne-menu {
    position: fixed;
    width: 100%;
    margin-top: 0px;
    background-color: #333;
    top: 0;
    left: 0;
}

.hlavne-menu ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 25px 20px;
    justify-content: center;
    gap: 30px;
    
}

.hlavne-menu li a:hover {
    background-color: #555;
    display: block;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;

}

.hlavne-menu a:hover {
    color: white;
    background-color: transparent;
}

.hlavne-menu a {
   text-decoration: none;
   color: white;
}

    

.ObrazkovaMapa {

    padding-top: 50px;
    padding-bottom: 100px;
    width: 55%;
    margin-left: auto;
    margin-right: auto;
}

.text {

    padding-top: 150px;
    width: 60%;
    
 
    margin-left: auto;
    margin-right: auto;
    

   
}

.text p {

    margin-top: 0;
    margin-bottom: 0px;
    
}


.CPUText h1 {
    text-align: left;
    width: 45%;
    padding-top: 150px;
    margin-left: auto;
    margin-right: auto;
   
    

}

.CPUText h2 {
    text-align: left;
    width: 45%;
    margin-left: auto;
    margin-right: auto;
    height: auto;
   
    

}




.pozadie {
    
    background-image: url('../images/pozadie.jpg'), url('../images/pozadie.jpg');
    background-position: left top, right top;    
    background-repeat: repeat-y, repeat-y;  
    background-size: 500px auto, 500px auto;   
    background-attachment: fixed, fixed;
    
    
}

.pozadie2 {
    
    background-image: url('../images/pozadie.jpg'), url('../images/pozadie.jpg');
    background-position: left top, right top;    
    background-repeat: repeat-y, repeat-y;  
    background-size: 300px auto, 300px auto;   
    background-attachment: fixed, fixed;
   

}

.AMDCPUobrazok {
    display: block;
     width: 30%;
    margin-left: auto;
    margin-right: auto;
    height: auto;
}

.Zdrojobrazka1 {
      text-align: center;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    
   
    
}

.ZdrojObrMap {
    
      text-align: right;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -5px;
    color: gray;
    height: auto;

}

.Zdroj {
       text-align: right;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    color: gray;
    margin-top: -2px;
}

.CPUText2 {
    
    
    inline-size: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    font-size: 16px;
}

.GPUText {
    margin-top: 150px;
    
     inline-size: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.moj-footer {
    margin-top: 5rem;
    background-color: #1a1a1a; 
    color: #ffffff;            
    padding-top: 40px;
    font-family: sans-serif;
}


.footer-kontent {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.footer-sekcia {
    margin: 10px;
    min-width: 200px;
}

.footer-sekcia h3 {
    color: #76b5c5; 
    margin-bottom: 15px;
}

.footer-sekcia ul {
    list-style: none;
    padding: 0;
}

.footer-sekcia a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-sekcia a:hover {
    color: #fff;
    text-decoration: underline;
}


.footer-spodok {
    background-color: #111;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
    color: #888;
    border-top: 1px solid #333;
}

.text2 {

    padding-top: 50px;
    margin-top: 150px;
    margin-bottom: 150px;
    width: 60%;
    
    
 
    margin-left: auto;
    margin-right: auto;
    
}

.text2 h1 {

    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 20px;
    width: 60%;
    margin-right: auto;
    margin-left: 17px;
    
}


.text2 ul {
   
    list-style-type: none;
    list-style-position: inside;
    text-align: left;
    padding-left: 20px;
    
}

.googlemapa {
    
   width: 100%;
   text-align: center;
   margin-bottom: 100px;
   



}

.text3  {

    padding-top: 50px;
    margin-top: 150px;
    margin-bottom: 150px;
    width: 60%;
    ;

    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
    
    
}

.link {

    text-decoration: none;
    font-weight: bold;
    color:#111;
    transition: color 0.2s ease;
 
    padding-left: 20px;

}
   
.link:hover {
  color: #e67e22; 
  text-decoration: underline; 
}


.text3 h1 {
        padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 20px;
    width: 60%;
    margin-right: auto;
    margin-left: 17px;
}

.text3 h2 {
    padding-left: 20px;

}

.zoznam1 {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.nadpiszoznam {
    width: 58%;
     margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Toto je css pre video, ktore ho nastavi aby sa choval ako block a bolo v strede */
 .moje-video {          

    display: block;
    margin: 0 auto;
    
    
}
/* Toto je to iste ako pre video */
.moje-audio {

    display: block;
    margin: 0 auto;
    
    
}


/* Nastavujeme pozadie pre podstranku zadanie3 ako sive */
.sivepozadie {
    background-color:#888
}
/* Tu pracujeme s tabulkou */
table, tr, td, th {
  border: 1px solid blue; 
  border-collapse: collapse;
  padding: 5px;
  text-align: center;
}

tr:nth-of-type(2n) {
  color: purple;
  background-color: white;
  text-align: center;
}

tr:nth-of-type(2n+1) {
  color: orange;
  background-color: white;
  text-align: center;
}

table {
  margin-left: auto;
  margin-right: auto;
  
}
/* Tu pracujeme aby text obtiekol obrazok s logom CS2 */
.Obtec {
    text-align: left;
    margin-top: 100px;
    margin-bottom: 30px;
    margin-left: 910px;
}

/* Tu pracujeme s obrazkom aby ho text mohol obtiect a aby mal zaoblene rohy a bol v strede ako ma byt */
.CS2logo {
    float: left;
    display: block;
    margin: 0 auto;
    margin-left: 500px;
    width: 400px;
    border-radius: 30px;
transition: transform 0.5s ease;
    
  /* Toto nam umoznuje zvacsit obrazok ked nanho namierime kurzor   */
}

.CS2logo:hover {
transform: scale(1.1)
}

/* Tu upravujeme velkost obrazkov v tabulke  */
.tabulkaobrazok {
    width: 100px;
    
}
/* Praxa s textom */
.cervene {
    color: red;
}

.tucne {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.textzadanie3 {
    font-family: 'Lucida Sans';
    font-size: 18px;
}

