*{
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    /* text-transform: capitalize; */
    text-decoration: none;
}

body{
    min-height: 100vh;
    background-color:#FBF9DB;
    /* background:url(../images/bg.jpg) no-repeat ;
    background-size: cover;
    background-position: center; */

}

header{
    position: fixed;
    top: 0; left: 0; right: 0;
    background:  rgb(214, 243, 255);
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    padding: 0px 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

header .logo-title{
    font-weight: bolder;
    font-size: 25px;
    color: #333;
    align-items: right;
}

header .navbar ul{
    list-style: none;
}

header .navbar ul li{
    position: relative;
    float: left;
}


header .navbar ul li a{
    font-size: 20px;
    padding: 20px;
    color: #333;
    display: block;
}


header .navbar ul li a:hover{
    background: #333;
    color: #fff;
}

header .navbar ul li ul{
    position: absolute;
    left: 0;
    width: 200px;
    background: #fff;
    display: none;
}

header .navbar ul li ul li{
    width: 100%;
    border-top: 1px solid rgba(0,0,0,.1);
}

header .navbar ul li ul li ul{
    left: 200px;
    top: 0;
}

header .navbar ul li:focus-within > ul,
header .navbar ul li:hover > ul{
    display: initial;
}

/* Rezerwujemy minimalną szerokość dla kontenera, który ładuje menu */
#main-header {
    min-width: 5px; /* Dopasuj tę wartość do szerokości Twojego menu */
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Zapobiegamy skakaniu logo-title */
header .logo-title {
    flex-shrink: 0; /* Logo nie da się "ścisnąć" */
    /* margin-right: auto;  Zawsze spycha resztę (menu) na prawą stronę */
}

/* Ukrywamy miganie flag GTranslate */
.gtranslate_wrapper {
    min-width: 100px; /* Rezerwacja miejsca na flagi */
    height: 20px;
}

#menu-bar{
    display: none;
}

header label{
    font-size: 20px;
    color: #333;
    cursor: pointer;
    display: none;
}

.content, aside{
    position: relative;
    top: 120px;
	min-height: 1200px;
	margin: auto;
}

.content{
	background: #FBF9DB;
	float: right;
	width: 91%;
	padding: 1.1%;
    font-size: 18px;
    line-height: 24px;

}
aside {
	background: #FBF9DB;
	float: left;
	width: 9%;
	padding: 1.1%;
	/* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */
	border: 2px solid #342922;
    border-style: none solid none none;
}

aside ul {
	list-style: none;
	padding-left: 0px;
}

footer {
	clear: both;
}

.more{
   display: none;
}
.post{
   color: #9999a0;
   font-size: 18px;
   text-align: justify;
   line-height: 25px;
   font-family: 'Work Sans',sans-serif;

}
.post:not(:last-child){
   margin-bottom: 30px;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
  float: left;
  width: 75%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 25%;
  padding-left: 20px;
}

/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Add a card effect for articles */
.card {
   background-color: rgb(214, 243, 255);
   padding: 20px;
   margin-top: 20px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

#more {display: none;}

.dots {
    display: inline; /* Widoczne na starcie */
}

#members{
    display: none;
}
/* 1. Powiększamy samo pudełko (kontener) */
.members-page {
    display: block;
    width: 100%;           /* Zmieniamy z 300px na 100% */
    max-width: 600px;      /* Ale ustawiamy limit, żeby nie było za szerokie na komputerze */
    margin: 40px auto;     /* Centrowanie i większy odstęp od góry */
    border: 2px solid #342922; /* Grubsza ramka */
    border-radius: 10px;   /* Zaokrąglone rogi */
    padding: 40px;         /* Więcej miejsca w środku */
    background-color: rgba(214, 243, 255, 0.5); /* Lekkie tło, żeby pasowało do headera */
    text-align: center;
}

/* 2. Powiększamy same menu rozwijane (select) */
.members-page select {
    width: 100%;           /* Selecty zajmą całą szerokość pudełka */
    padding: 15px;         /* Wysokość pól - będą łatwiejsze do kliknięcia */
    margin: 15px 0;        /* Odstępy między jednym menu a drugim */
    font-size: 20px;       /* Większy tekst w środku */
    border: 1px solid #333;
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
}

/* 3. Usuwamy kropki z listy ul, jeśli tam zostały */
.members-page ul {
    list-style: none;
    padding: 0;
}

/* Kontener, który utrzymuje proporcje 16:9 */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* To daje proporcje 16:9 (9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 20px;
}

/* Sam film wypełnia cały kontener */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

@media(max-width:991px){

    header{
        padding: 6px;
    }

    header label{
        display: initial;
    }

    aside{display: none;}


    .content {
        position: relative;
        top: 63px;      /* Zmniejszony odstęp, bo header na mobile jest mniejszy */
        width: 100%;    /* Zajmuje całą szerokość - koniec z "krawatem" */
        float: none;    /* Usuwamy pływanie do prawej */
        height: auto;   /* Kasujemy sztywne 1200px */
        min-height: 100vh; /* Tło będzie sięgać co najmniej do dołu ekranu */
        padding: 14px;  /* Większy komfort czytania na telefonie */
    }

    .content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    header .logo a img{
        height: 50px;
        width: 90px;
    }

    header .navbar{
        position: absolute;
        top: 100%; left:0; right: 0;
        background: #fff;
        border-top: 1px solid rgba(0,0,0,.1);
        display: none;
    }

    header .navbar ul li{
        width: 100%;
    }
    
    header .navbar ul li ul{
        position: relative;
        width: 100%;
    }
    header .navbar ul li ul li{
        background: #eee;
    }
    header .navbar ul li ul li ul{
        width: 100%;
        left: 0;
    }

    #menu-bar:checked ~ .navbar{
        display: initial;
    }
    .content{
        width: 100%;
    }
    aside {
	    width: 25%;
}
    .leftcolumn, .rightcolumn {
    width: 100%;
    padding: 0;
    }

    #members{
    display: initial;
    }
    
    .members-align{
        display: block;
        float: center;
    }

}





