body {
    font-family: Arial, sans-serif; /* Add default font */
    margin: 0; /* Remove default body margins */
    padding: 0; /* Remove default body padding */
}
header {
    background-color: #16316D;
    height: 84px; /* Height of the header */
    display: flex;
    align-items: center; /* Center icons vertically */
}
#hlogo{
    width: 60%;
    margin-left: 43%;
}
#hikonki{
    width: 10%;
}
#logo_cont{
    width: 100%;
    text-align: center;
}
#logo{
    margin-top: 15px;
    width: 40%;
}
#fb,#insta,#tt,#yt{
    width: 48px;
    height: 48px;
}
#fb:hover,#insta:hover,#tt:hover,#yt:hover{
    transform: scale(1.1); /* Powiększenie ikonki */
}
#insta{
    border-radius: 50%;
}
#pasek_nawigacyjny {
    height: 50px; /* Height of the navigation bar */
    background-color: #98A2B3;
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Evenly space the items */
    align-items: center; /* Align items vertically */
    box-sizing: border-box; /* Include padding in dimensions */
    padding-left: 15%;
    padding-right: 15%;
}

#pasek_nawigacyjny div {
    flex: 1; /* Equal spacing for all navigation items */
    display: flex;
    justify-content: center; /* Center text horizontally */
    align-items: center; /* Center text vertically */
}
#pasek_nawigacyjny a {
    text-decoration: none; /* Remove underline from text */
    color: black; /* Default text color */
    font-weight: bold;
    font-size: 18px; /* Adjust font size */
    display: inline-block; /* Make links block elements */
    height: 100%; /* Stretch to fill parent height */
    width: 100%; /* Stretch to fill parent width */
    text-align: center; /* Center text horizontally */
    line-height: 50px; /* Center text vertically */
    transition: background-color 0.3s ease, color 0.3s ease;
}
#pasek_nawigacyjny a:hover {
    background-color: #667085; /* Hover background color */
    color: white; /* Hover text color */
    transform: scale(1.1);
}
#info{
    text-align: center;
}
#baner{
    width: 90%;
}
#linux_banner{
    width: 55%;
}
#windows_banner{
    width: 66%;
}
#nowy_post{
    background-color: #98A2B3;
}
table{
    width: 100%;
}
#normal{
    display: table-header-group;
}
#alternative{
    display: none;
}
#nowy_post_txt {
    width: 50%;
    text-align: center;
}
#nowy_post_yt {
    width: 50%;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;    
}
#nowy_post_ig {
    width: 100%;
    padding-left: 10%;
    padding-right: 5%;
    text-align: center;
}
iframe {
    width: 100%;      
    height: 450px;
}
.instagram-media {
    height: 700px;
}
#container_alternative{
    display: none;
}
#text_bott {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.features {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.feature {
    width: 32%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 470px;
}

.box {
    width: 90%;
    height: 60%;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.2rem;
    font-weight: normal;
}

hr {
    width: 80%;
    border: none;
    border-top: 1px solid #000;
    margin: 10px 0;
}

p {
    font-size: 0.95rem;
    color: #333;
    padding: 10px;
}
footer {
    background-color: #16316D;
    height: 50px;
    color: white;
    text-align: center;
}
footer h3{
    padding: 13px;
}
.carousel {
    position: relative;
    width: 90%; /* Mniejsza szerokość karuzeli dla lepszego układu */
    margin: auto; /* Wycentrowanie całej karuzeli */
    overflow: hidden;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease; /* Skrócony czas przejścia */
    margin: 0 auto;
    padding: 0 5px; /* Mniejszy padding */
    box-sizing: border-box;
}

.carousel-item {
    min-width: calc(33.333% - 20px); /* Zachowanie marginesów */
    margin: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

.carousel-item iframe {
    width: 100%;
    height: 300px; /* Zmniejszona wysokość dla lepszej czytelności */
    border: none;
    border-radius: 5px; /* Lekko zaokrąglone rogi */
}

.carousel-description {
    position: absolute;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 90%;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.carousel-item:hover .carousel-description {
    opacity: 1;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.carousel-button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%; /* Okrągłe przyciski */
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


@media (max-width: 1200px) {
    header {
        height: 80px; /* Height of the header */
        width: 100%;
    }
    #hlogo{
        width: 60%;
        margin-left: 41%;
    }
    #hikonki{
        width: 10%;
    }
    #logo_cont{
        width: 100%;
    }
    #logo{
        width: 50%;
    }
    #fb,#insta,#tt,#yt{
        width: 40px;
        height: 40px;
    }
    #pasek_nawigacyjny {
        height: 50px; /* Height of the navigation bar */
        padding-left: 0%;
        padding-right: 0%;
        width: 100%;
        padding-left: 15%;
        padding-right: 15%;
    }
    #pasek_nawigacyjny a {
        font-size: 17px; /* Adjust font size */
        font-weight: bold;
        height: 100%; /* Stretch to fill parent height */
        width: 100%; /* Stretch to fill parent width */
    }
    #info{
        text-align: center;
    }
    #baner{
        width: 85%;
    }
    #nowy_post{
        width: 100%;
    }
    table{
        width: 100%;
    }
    #alternative{
        display: none ;
    }
    #nowy_post_txt {
        text-align: center;
        font-size: 18px;
    }
    #nowy_post_ig {
        padding-right: 9.5%;
    }
    iframe {
        width: 100%;     
        height: 300px; 
    }
    .instagram-media {
        height: 510px;
    }
    #text_bott {
        width: 100%;
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        margin: none;
    }
    
    #container_alternative{
        display: none;
    } 
    .features {
        display: flex;
        justify-content: space-around;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .feature {
        width: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: 450px;
    }
    
    .box {
        width: 100%;
        height: 40%;
        margin-bottom: 20px;
    }
    
    h2 {
        font-size: 1.2rem;
        font-weight: normal;
        margin-top: 0px;
    }
    
    hr {
        width: 50%;
        border: none;
        border-top: 1px solid #000;
        margin: 10px 0;
    }
    
    p {
        font-size: 0.95rem;
        color: #333;
        line-height: 1.5;
    }
    footer {
        background-color: #16316D;
        height: 50px;
        color: white;
        text-align: center;
    }
    footer h3{
        padding: 14px;
        font-size: 15px;
    }  
}

/* Ekrany poniżej 768px (Tablety w pionie i większe smartfony) */
@media (max-width: 768px) {
    
}

/* Ekrany poniżej 480px (Smartfony) */
@media (max-width: 480px) {
    header {
        height: 80px; /* Height of the header */
        width: 100%;
    }
    #hlogo{
        width: 60%;
        margin-left: 34.5%;
    }
    #hikonki{
        width: 10%;
    }
    #logo_cont{
        width: 100%;
    }
    #logo{
        width: 80%;
    }
    #fb,#insta,#tt,#yt{
        width: 32px;
        height: 32px;
    }
    #pasek_nawigacyjny {
        height: 50px; /* Height of the navigation bar */
        padding-left: 0%;
        padding-right: 0%;
        width: 100%;
    }
    #pasek_nawigacyjny a {
        font-size: 9px; /* Adjust font size */
        font-weight: bold;
        height: 100%; /* Stretch to fill parent height */
        width: 100%; /* Stretch to fill parent width */
    }
    #info{
        text-align: center;
    }
    #baner{
        width: 85%;
    }
    #nowy_post{
        width: 100%;
    }
    table{
        width: 100%;
    }
    #normal{
        display: none;
    }
    #alternative{
        display: table-header-group ;
        text-align: center;
        justify-content: center;
    }
    #nowy_post_txt {
        text-align: center;
        font-size: 15px;
    }
    #nowy_post_ig {
        padding-right: 12%;
    }
    iframe {
        width: 100%;     
        height: 100%; 
    }
    .instagram-media {
        height: 520px;
    }
    #text_bott {
        width: 100%;
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        margin: none;
    }
    #container_normal{
        display:none;
    }
    #container_alternative{
        display: table-header-group;
    }
    .features {
        display: flex;
        flex-direction: column; /* Ustaw układ w kolumny */
        align-items: center;    /* Wyśrodkuj poziomo */
    }
    
    .feature {
        width: 100%;      /* Szerokość każdego elementu */
        height: 300px;
        display: flex;
        flex-direction: column;   /* Układ wewnętrzny w kolumny */
        align-items: center;      /* Wyrównanie do środka */
        text-align: center;
    }
    
    .box {
        width: 70%;             /* Dostosuj szerokość boxa */
    }
    
    h2 {
        font-size: 14px;
        font-weight: normal;
    }
    
    hr {
        width: 70%;             /* Dostosuj szerokość linii */
        border: none;
        border-top: 1px solid #000;
    }
    
    p {
        font-size: 12px;
        color: #333;
    }
    footer {
        background-color: #16316D;
        height: 50px;
        color: white;
        text-align: center;
        width: 100%;
    }
    footer h3{
        padding: 14px;
        font-size: 15px;
    }
    }
