﻿* {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box;
}

body {
    padding: 0;
    color: white;
    background: #0f172a;
}
main {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
#container 
{
    width: 100%;
    margin: auto;
}
#whoIs {
    background: linear-gradient(135deg, #e0f7fa, #f1f8e9); /* pastelowy gradient */
    padding: 40px 10px 5px 20px;
    text-align: center;
    border-bottom: 1px solid #cfd8dc;
    font-size: 50%;
}

section {
    width: 80%;
    margin: 10px 0;
}

a:link
{
    text-decoration: none;
}

h1, h4 {
    text-align: center;
    margin: 20px auto;
    text-shadow: 1px 1px 1px black, 1px 1px 1px black;
}


.btn {
    background-color: white;
    background-image: linear-gradient(to right, #0f172a, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #0f172a);
    color: #0f172a; /* tekst w kolorze tła strony */
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1em;
    width: 30%;
    margin: 5px auto;
    display: inline-block;
}

.btnNow {

}

.btn:hover {
        background-image: linear-gradient(to right, #0f172a, #fff, #fff, #fff, #0f172a);
    }

.choice {
    width: 100%;
    text-align: center;
}


/* Responsywny nagłówek - POCZĄTEK */

.edu-header {
    /* background: linear-gradient(135deg, #e0f7fa, #f1f8e9); /* pastelowy gradient */

    background: linear-gradient(135deg, #abcabc, #0f172a, #0f172a, #0f172a, #0f172a);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #cfd8dc;
}

.edu-container {
    width: 100%;
}

.edu-title {
    
    font-size: clamp(1rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.2em;
    margin: 0;
}

.edu-subtitle {
    font-size: 1rem;
    color: #737373;
    font-family: 'Segoe UI', sans-serif;
}

/* Responsywny nagłówek - KONIEC */


.soft-button {
    background-color: #f0f4f8; /* jasny pastelowy niebieski */
    color: #333; /* ciemnoszary tekst */
    border: 1px solid #d0d7de; /* delikatna ramka */
    border-radius: 8px;
    padding: 10px 10px;
    font-size: 1em;
    font-family: 'Segoe UI', sans-serif;
    transform: skewX(-20deg);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: 75%;
    margin: 5px auto;
    display: block;
}

.soft-button-html {
    background-color: #f0f4f8;
    background-image: linear-gradient(to right, #28a745, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #fff);
    color: #333; /* ciemnoszary tekst */
    border: 1px solid #d0d7de; /* delikatna ramka */
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1em;
    font-family: 'Segoe UI', sans-serif;
    transform: skewX(-20deg);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: 75%;
    margin: 5px auto;
    display: block;
}

.soft-button-css {
    background-color: #f0f4f8;
    background-image: linear-gradient(to right, #007bff, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #fff);
    color: #333; /* ciemnoszary tekst */
    border: 1px solid #d0d7de; /* delikatna ramka */
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1em;
    font-family: 'Segoe UI', sans-serif;
    transform: skewX(-20deg);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: 75%;
    margin: 5px auto;
    display: block;
}

.soft-button-media {
    background-color: #f0f4f8;
    background-image: linear-gradient(to right, #ffc107, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #fff);
    color: #333; /* ciemnoszary tekst */
    border: 1px solid #d0d7de; /* delikatna ramka */
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1em;
    font-family: 'Segoe UI', sans-serif;
    transform: skewX(-20deg);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: 75%;
    margin: 5px auto;
    display: block;
}

.soft-button-html:hover {
    background-image: linear-gradient(to right, #28a745, #fff, #fff, #fff);
}
.soft-button-css:hover {
    background-image: linear-gradient(to right, #007bff, #fff, #fff, #fff);
}
.soft-button-media:hover {
    background-image: linear-gradient(to right, #ffc107, #fff, #fff, #fff);
}

/* Nawigacja serwisu - POCZĄTEK */

nav 
{
    position: fixed;
    width: 20%;
    text-align: center;
    margin: 0;
    top: 30%;
    right: 0;
}

nav .soft-button 
{
    width: 95%;
    display: block;
    margin: 5px;
    height: 12vh;
    border-radius: 5%;
    transform: skewX(0deg);
}

/* Nawigacja serwisu - KONIEC */


.button {
    display: inline-block;
    padding: 10px 16px;
    margin: 3px 5px;
    background-color: #2563eb; /* niebieski akcent */
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .button:hover {
        background-color: #1e40af; /* ciemniejszy niebieski */
    }

    .button.disabled {
        background-color: #9ca3af; /* szary dla nieaktywnych */
        cursor: not-allowed;
    }

.buttons {
    display: flex;
    justify-content: space-evenly;
}

a:link {
    text-decoration: none;
}

h1 {
    color: #fff;
}

hr {
    border-top: 1px white solid;
}

h6 {
    text-align: left;
}
.content {
    padding: 8px;
    width: 100%;
}

.teoria .btnW3, .practice .btnW3 {
    background-color: white;
    background-image: linear-gradient(to right, #00f, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #00f);
    color: #0f172a; /* tekst w kolorze tła strony */
    border-radius: 8px;
    padding: 4px 20px;
    font-size: 1em;
    margin: 5px auto;
    display: inline-block;
    width: 90%;
    text-align:center;
}
.practice, .teoria {
    width: 100%;
    text-align:center;
}
