@charset "utf-8";
/* CSS Document */

@font-face { font-family: pismo_regular; src: url('pismo/HindSiliguri-Regular.ttf');} 
@font-face { font-family: pismo_light; src: url('pismo/HindSiliguri-Light.ttf');} 
@font-face { font-family: pismo_bold; src: url('pismo/HindSiliguri-Bold.ttf');} 


.cookie-overlay p{
    	margin-right: auto;
    	margin-left: auto;
}

.cookie-overlay {
	position: fixed;
  	bottom: 1rem;
  	right: 1rem;
 	left: 1rem;
  	background: #1c3766;
  	z-index: 2051;
  	line-height: 20px;
  	font-size: 14px;
  	border-radius: 6px;
  	color: white;
  	text-align: center;

  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);  
  

  > div:first-child {
    
  }

  a {
    	text-decoration: underline;
  }

  .close-cookies {
    	cursor: pointer;
  }

  @include media-breakpoint-down(md) {
    	bottom: 0;
    	left: 0;
    	right: 0;
    	border-radius: 0;

    > div:first-child {
      	width: auto;
    }
  }
}

.label-mobil {
    margin: 0 40px 0 0;
    font-size: 26px;
    line-height: 70px;
    display: none;
    width: 26px;
    float: right;
    color: white;
}

#toggle {
    display: none;
}

.bar {
    height: 100%; 
    line-height: 40px;
    margin-left: 6em;
    margin-right: 6em;
}


html{
    max-width: 1920px;
    margin:auto; 
    font-family: pismo_regular;
}

.odrazky-menu li{
    list-style:none;
    display: inline;
}

.odrazky-menu{
    padding:0;
}

#menu li{
    margin-left: 2%;  
    font-family: pismo_bold;
}

a:hover{
    text-decoration:none;
}

ul li a:hover{
    color: #7dbb6c;
}

ul li a{
    color: #1c3766;
    text-transform: uppercase;
    font-family: pismo_bold;
    font-size: 0.8em; 
}


.foot{
    background-color: rgba(237, 245, 234, 0.82);
    color: black;
    text-align: center;
    width: 100%;
    border-top: 2px solid #7dbb6c;
}

footer p{
    font-family: pismo_light; 
    text-align:center;
    color: #1c3766;
    font-size: 0.8em;
}


hr{
    background-color: #7dbb6c;
    color: #7dbb6c;
    border: none;
    height: 2px;
}

.stranka{
    max-width: 1650px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    color: #1c3766;  
}

.page{
    padding-left: 6em;
    padding-right: 6em;
    max-width: 1650px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    color: #1c3766;
    margin-bottom: 10%;
}


.text{
    font-family: pismo_regular;
    font-size: 1.2em;
    color: #1c3766; 
    text-align: justify;
}

#vyhledavani{
    padding: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    border: 1px solid #1c3766;
    padding-left: 5px;
    width:150px;
    height:40px;
}

#search{
    float: right;
    padding: 1px 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 16px;
    background: #1c3766;
    font-size: 15px;
    border: none;
    cursor: pointer;
    height:40px;
}


/* Center container styling with Flexbox */
#ctverec-vse {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15%;
    margin-top: 5%;
}

/* Styling for all blocks */
.ctverec {
    background-color: rgba(191, 208, 237, 0.3);
    width: 100%;
    text-align: center;   
    padding: 15% 12%;
    transition: transform 0.3s ease; /* Smooth scaling on hover */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 450px; /* Set a uniform height for all blocks */
}

/* Highlighted middle block (Fotovoltaika) */
.ctverec-highlight {
    background-color: rgba(237, 245, 234, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
    height: 550px; /* Slightly taller for the middle block */
}

/* Hover effect for all blocks */
.ctverec:hover {
    transform: scale(1.1);
} 

/* Styling for links inside ctverec */
.ctverec a {
    color: #1c3766; 
}

/* Title styling */
.nadpis {
    font-family: pismo_regular;
    text-align: center;
    font-size: 2em;
    text-transform: uppercase;
    color: #7dbb6c;    
}

/* Image styling */
.img {
    margin: 5% 0;
    border: 2px solid #7dbb6c;
}

/* Button styling */
.button {
    background-color: #1c3766; 
    color: white; 
    padding: 10px 30px;
    text-align: center;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
}

.button:hover {
    background-color: white;
    color: black;
    border: 2px solid #1c3766;
}



.napis h1{
    font-size: 3.5em;
    text-transform: uppercase;
    font-family: pismo_bold;
}

.napis p{
    font-size: 0.8em;
    text-align: left;
}

.pas{
    background-color: rgba(237, 245, 234, 0.82);
    height:350px;
    width:100%;
    display: table;
}

.stred{
    display: table-cell;
    vertical-align: middle;
} 

.zarovnani{
    padding-left: 6em;
    padding-right: 6em;
    max-width: 1650px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 500px){

    .label-mobil {
        display: block;
        cursor: pointer;
        color: #1c3766;
        margin-top:1%;
        margin-bottom:1%;
        margin-right:1em;
    }
    
    #menu{
        margin-top:0px;
    }  
        
    #menu-bar li{
        text-align: left;
        width: 100%; 
        display: none;
        font-size: 1.2em;
    }
    
    #menu-bar{
        text-align: left;
        width: 100%; 
    }
    
    .bar{
        margin-left: 0em;
        margin-right: 0em;
    }
    
    #menu-bar img{
        width:100px;
        display: block;
        margin-top: 5%;        
    }
        
    #menu a {
        display: block;
        margin: 0;
        color: white;
        text-align: left; 
        width:100%; 
    }
    #toggle:checked + #menu-bar li {
        display: block;
    }
    
    #toggle:checked + #menu-bar {
        display: block;
        background-color: #1c3766;
    }
    
    #toggle:checked + #menu-bar img {
        display: none;
    }
    .ohraniceni-menu{
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
        height:100%;
        padding-left: 0;
        padding-right: 0;
        text-align:center;
    }
    
    .label-mobil:focus {     
        color:white;    
    }
    
    html{
        font-size:0.7em;
    }

    .stranka{
        max-width: 1650px;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        color: #1c3766;  
    }
    
    .page{
        padding-left: 3em;
        padding-right: 3em;
        max-width: 1650px;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        color: #1c3766;
        margin-bottom: 10%;
    }
    
    .zarovnani{
        padding-left: 3em;
        padding-right: 3em;
        max-width: 1650px;
        margin-left: auto;
    }
    
    .napis, .napis p{
        text-align: center;
    }
    
    .napis p{
        margin-bottom: 10%;
    }
    
    .napis{
        margin-top: 10%;
    }
    
  
}
