body {
    background-color: #f2f6fc;
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin: 0 auto;
    padding: 20px;
    max-width: 1000px;
}

h1 {
font-size: 36px;
    color: darkblue;
    text-align: center;
    margin: 30px 0;
    
}

h2 {
font-size:24px;
color: #243b53;
margin-bottom: 15px;
}
.project-card h3 {
    font-size: 20px;
    color: darkred;
}

section {
background-color: #e8f0f8;
padding: 25px; 
border-radius: 12px; 
margin: 20px 0;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

a {
text-decoration: none;
font-weight: bold;
display: inline-block;
padding: 10px 15px;
background-color: #2563eb;
color: white;
border-radius: 8px;
}

a:hover {
background-color: #1d4ed8;    
}

.project-card {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
height: 100%;
}
.project-card:hover {
    transform: translateY(-5px);
}

#projekty {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
#projekty h2 {
    grid-column: 1 / -1;
}
@media (max-width: 600px) {
h1 {
    font-size: 28px;
}
h2 {
        font-size: 20px;
    }

    #start h2 {
        font-size: 24px;
    }
nav a {
    display: block;
    margin: 5px 0;
}
    #projekty {
        grid-template-columns: 1fr;
    }
#kontakt a {
    display: block;
    text-align: center;
    margin: 10px 0;
}
}

nav {
    background-color: darkblue;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 8px;
    padding: 5px;
}

nav a:hover {
    text-decoration: underline;
}

#kontakt a {
    display: inline-block;
    background-color: darkblue;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 8px;
    min-width: 160px;
    text-align: center;
    transition: background-color 0.3s ease;
}

#kontakt a:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
}

#uslugi li {
    margin: 10px 0;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
transition: transform 0.2s ease;
}
#uslugi li:hover {
    transform: translateX(5px);
}

#uslugi ul {
    list-style: none;
    padding: 0;
}
p {
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    color: #243b53;
    font-size: 14px;
}


.project-card a {
    margin-top: 10px;
}

.project-card a:hover {
    transform: scale(1.03);
}

#o-mnie p {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

section {
    transition: box-shadow 0.3s ease;
}

section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

#start {
    text-align: center;
    padding: 40px 25px;
}

#start h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

#start a {
    margin-top: 15px;
    font-size: 16px;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

#start a:hover {
    transform: scale(1.05);
}

#start {
    border: 2px solid #2563eb;
}

#formularz-kontaktowy {
    max-width: 600px;
    margin: 20px auto 0;
}

#formularz-kontaktowy label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

#formularz-kontaktowy input,
#formularz-kontaktowy textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
}

#formularz-kontaktowy textarea {
    resize: vertical;
}

#formularz-kontaktowy button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background-color: darkblue;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

#formularz-kontaktowy button:hover {
    background-color: #1e40af;
}