html{box-sizing: border-box;}
*, :after, :before{box-sizing: inherit;}

body{
    background-color: #0073E7;
    margin: 0;
 }



header{
    margin: 0 5%;
}

h1{
    font-family: 'Hind', sans-serif;
    color: white;
    font-size: 72px;
}

h2 a{
    font-family: 'Ma Shan Zheng', cursive;
    color: white;
    font-size: 25px;
    margin: 20px 3% 20px 0;
    font-weight: lighter;
    text-decoration: none;
    z-index: 1;
}


.loga{
    margin: 10% 10%;
    display: grid;
    grid-template-columns:  repeat(4, 1fr);
    justify-items: center;
}

.loga_ikony:hover{
    transform: scale(1.1);
}

footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: right;
    margin-top: 10px;
    
}

.trojuhelnik-h{
    position: fixed;
    top: 0;
    left: 50%;
    max-width: 100%;
    width: 30%;
    z-index: -1;

}

.kruh-p{
    position: fixed;
    right: 0;
    top: 20%;
    max-width: 100%;
    width: 10%;
}

.ctverec-s{
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: -1;
    max-width: 100%;
    width: 10%;
}

.kruh-s{
    position: fixed;
    bottom: 0;
    left: 30%;
    max-width: 100%;
    width: 20%;
    z-index: -1;
}

.ctverec-l{
    position: fixed;
    left: 0;
    bottom: 0;
    max-width: 100%;
    width: 15%;
    z-index: -1;

}

.cary-l{
    position: fixed;
    left: 0;
    top: 15%;
    max-width: 100%;
    width: 10%;
    height: 20%;
    z-index: -1;

}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 5px 10px 5px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    color: #0073E7;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    z-index: 2;
  }

  .cookie-banner p{
      font-family: 'Hind', sans-serif;
  }

  .close {
    width: 30px;
    height: 30px;

    background-color: #0073E7;
    border: none;
    color: white;
    border-radius: 50%;
    cursor: pointer;
  }

@media screen and (max-width: 600px){

    h1{
        text-align: center;
    }

    .loga{
        grid-template-rows:  1fr 1fr ;
        grid-template-columns: 1fr 1fr;
        row-gap: 10px;
        justify-items: center;
        align-items: center;
    }

    .loga_ikony img{
    max-height: 60%;
    }

    .loga_ikony{
        height: 100%;
    }

}
    
@media screen and (max-height: 550px){
    .loga{
    grid-template-columns:  repeat(4, 1fr);
    grid-template-rows: auto;
    justify-items: center;
    margin: 0 50px;
    }


    .loga_ikony img{
        max-height: 40%;
        }

     h1{
         font-size: 50px;
         margin: 20px;
     }   

     footer{
         margin-top: 10px;
     }
}