body{
    margin: 0;
    padding: 0;
    font-family: "Gruppo", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    background-color: #00aad4;
}
 p{
    text-align: center;
 }
 h1 {
    padding: 5px;
 }
.container {
    display: grid;
    grid-template: "box-top box-top box-top box-top box-top-note box-top-note"
                   "box-left box-left box-left box-right box-right box-right"
                   "box-mid box-mid box-mid box-right box-right box-right";
}

.box-left {
    grid-area: box-left;
    height: 60vh;

    
}

.box-top{
    grid-area: box-top;
    height: 10vh;
    width: 100%;
    display: flex;        
    align-items: center;   
    justify-content: center;
    font-size: clamp(0.5rem, 2vw, 2rem);
    background-color: #e6e6e6;
    color: #00222b;
}

.box-top-note {
    grid-area: box-top-note;
    height: 10vh;
    width: 25vw;
    background-image: url('../img/logo_live.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 80%;
    background-color: #e6e6e6;
}

.box-mid {
    grid-area: box-mid;
    background-color: #00aad4;
    width: 50vw;
    display: flex;  
    flex-direction: column;      
    align-items: center;   
    justify-content: center;
    height: 30vh;
    font-size: clamp(0.33rem, 1vw, 1rem);
}

.box-right {
    grid-area: box-right;
    background-color: #00222b;
    color:#00aad4;
    display: flex;  
    flex-direction: column;      
    align-items: center;   
    justify-content: center;
    font-size: clamp(0.45rem, 1vw, 1rem);
    width: 50vw;
}

.box-podpora {
    grid-area: box-podpora;
    background-image: url('../img/rect9-8245.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;
    background-color: #232323;
    width: 25vw;
}

iframe {
    border: none;
    display: block;
}

.container a {
    text-decoration: none;
    color: #6de52c;
}

.mainpagebox {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100vw;
    justify-content: center; /* Centers items horizontally */
    align-items: center;
    background-color: white;
}

.mainpagebox a {
    text-decoration: none;
}

.mainpageboxleft {
    width: 50%;
    background-color: aqua;
    height: 100%;
    background-image: url('../img/logo_velke.png');
    background-color: #e6e6e6;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 90% auto;

}

.mainpageboxleft a {
    color: black;
}

.mainpageboxright {
    background-color: blueviolet;
    width: 50%;
    height: 100%;
    background-image: url('../img/logo_live.png');
    background-color: #000000;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 90% auto;
}

.mainpageboxright h1 {
    color: #00aad4;
}
.mainpageboxright {
    color: #00aad4;
}

.mainpagebox h1 {
    padding: 4rem;
}

@media (max-width: 1199px) {

.container {
    display: grid;
    grid-template: "box-top box-top box-top box-top box-top-note box-top-note"
                   "box-mid box-mid box-mid box-mid box-mid box-mid"
                   "box-left box-left box-left box-left box-left box-left"
                   "box-right box-right box-right box-right box-right box-right"
                   ;
}

.box-right, .box-top-note, .box-mid {
    width: 100%;
}

.box-right {
    height: 500px;
}

.box-mid {
    height: auto;
}

.mainpagebox {
    flex-direction: column;
}

.mainpageboxleft, .mainpageboxright {
    height: 50%;
    width: 100%;
}

}

@media (max-width: 400px) {

.mainpagebox h1 {
    padding: 1rem;
}

h1 {
    font-size: 1rem;
}

}