
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
}

/* GŁÓWNY WRAPPER – WYSOKOŚĆ OKNA (tylko desktop) */
.wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.wrapper-konkurs {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
/* BLOK 1 */
.blok1 {
	width: :100%;
    height: 250px;
    background: #ffffff;
    display: inline-flex;
    align-items: left;
    justify-content: top;
}
.lh {
width: 80%;
text-align: left;
display: block;
height: 250px;
float: left;
	
		
	
}
#logo {
   
    width: 340px;
	max-width: 80%;
	margin-top: 40px;
	margin-left: 8%;
	}

#haslo {
   
    width: 500px;
	max-width: 80%;
	margin-top: 20px;
	margin-left: 8%;
	}

.linki {
width: 20%
height: 250px;
text-align: left;
flot: left;
display: contents;
	
		
		
	
}
.linki img {
   
    width: 100px;
	margin-top: 80px;
	margin-left: 20px;
	margin-right: 10px;
	}


/* BLOKI 2 + 3 */
.middle-wrapper {
    flex: 1;                  /* zajmują całą wolną przestrzeń */
    display: grid;
    grid-template-columns: minmax(60%, 66%) minmax(0, 1fr);
    width: 100%;
	padding: 0;
	margin: 0;
	background: #5b907a;
}

/* BLOK 2 — dynamiczne 16:9 z ograniczeniem */
.blok2 {
   background: #5b907a;
    position: relative;
    width: 100%;
	min-width: 70%;
    max-height: 100%;
	height: auto;
	padding: 0;
	margin: 0;
}





/* Film zachowuje proporcje 16:9 i dopasowuje się wysokością */
.blok2 video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;          /* dopasowanie do dostępnej wysokości bloku */
    width: auto;           /* utrzymanie proporcji */
    min-width: 100%;       /* jeśli jest za wąski → wypełnij szerokość */
    min-height: 100%;      /* jeśli za niski → wypełnij wysokość */
    object-fit: cover;
}

/* BLOK 3 */
.blok3 {
    background: #5b907a;
    display: flex;
    align-items: top;
    justify-content: left;
    color: #ffffff;
	background-image: url('images/schesir-karma.webp');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right, bottom;
	font-family: "Work Sans", sans-serif;


	
	
}

.blok3 p{
	font-weight: 800;
	font-size: 65pt;
	line-height: 65pt;
	text-align: left;
	margin-top:50px;
	margin-bottom: 20px;
	margin-left:18%;
	
}

/* BLOK 4 */
.blok4 {
    min-height: 100px;
    background: #ffffff;
    color: #5b907a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
	font-family: "Work Sans", sans-serif;
    
}
.blok-konkurs1 {
    background: #ffffff;
    display: block;
	height: 90%;
    align-items: top;
    justify-content: center;
    color: #ffffff;
	background-image: url('images/konkurs.webp');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center, top;
	font-family: "Work Sans", sans-serif;


	
	
}
.blok-konkurs2 A {
	font-size: 20pt;
	font-family: "Work Sans", sans-serif;
	font-weight: 700;
	color: #00665a;
	
	
}

.blok-konkurs2 A:hover {
	color: #03aca6;
	
	
}

.blok-konkurs2 {
    min-height: 50px;
	height: 5%;
    background: #ffffff;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
	font-family: "Work Sans", sans-serif;
    
}


/* TELEFONY – normalny układ, przewijalny */
@media (max-width: 768px) {

    .wrapper {
        height: auto;  
		min-height: 100vh; 
    }

    .middle-wrapper {
        grid-template-columns: 1fr;
    }

    .blok2 {
        width: 100%;
        height: auto;
    }
	 /* trik na 16:9 na mobilu */
    .blok2::before {
        content: "";
        display: block;
        padding-top: 56.25%; /* 9/16 * 100% */
    }

    .blok3 {
        min-height: 300px;
        width: 100%;
    }

    .blok2 video {
     	position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
    }
	.logo img {
   
    width: 370px;
	margin-top: 50px;
	margin-left: 10%;
	

	}
	.blok1 {
	width: 100%;
    height: auto;
	display: block;
	}
	
	.lh {
		width: 100%;
		max-height: 200px;
	}
	
	.blok3 p{
	font-weight: 800;
	font-size: 50pt;
	text-align: left;
	margin-top:20px;
	margin-left:10%;	
	}
	.linki{
		text-align: center;
		margin: 0;
		padding:0;
		
	}
	.linki img {
		margin-bottom: 30px;
		margin-left: 5%;
		margin-right: 5%;
		width: 22%;
		height: auto;
		
	}
	.blok-konkurs2 A {
	font-size: 20pt;
	}
	
}