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

body {
    background-color: #737a7d;
}

#wrapper {
    max-width: 1000px;
    margin: 0px auto;
    background-color: #e2dbd6;
    border-radius: 0 0 35px 35px;
    /*box-shadow: 0px 25px 40px 30px #415b607a inset;*/
    box-shadow: 0px 25px 40px 40px #737a7d inset;
}

nav {
    overflow: hidden;
    background-color: #999;
    display: block;
    border-radius: 0 0 50px 50px;
}
nav a {
    display: block;
    float: left;
    width: 33.33%;
    padding: 16px 30px;
    text-align: center;
    text-decoration: none;
    color: #444;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
    font-size: 20px;
}

nav a:hover {
    color: #fff;
    background-color: #333;
    cursor: pointer;
    font-size: 26px;
}

.active {
    color: #fff;
    background-color: #333;
    font-size: 26px;
}

section h1 {
    font-size: 35px;
    text-align: center;
    width: auto;
    margin: 30px 10%;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid crimson;
    text-shadow: 2px 2px 2px gray;
}

section p {
    font-size: 17px;
    text-align: justify;
    padding: 0 5%;
    margin: 20px 0;
}

img.left {
    float: left;
    width: 25%;
    padding: 0px 5px 5px 0px;
    margin: 0 20px 0 0;
    border-radius: 50% 30%;
    box-shadow: 8px 8px 9px gray;
}

article {
    width: auto;
    margin: 20px 10%;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border: 2px solid #6385c3;
    border-radius: 25px;
    box-shadow: 3px 3px 3px gray;
    background-color: #c1d4f5;
}

article a {
    text-decoration: none;
    font-family:monospace;
}

article img.left {
    float: left;
    width: 30%;
    padding: 0px;
    /*margin: 5px;*/
    border-radius: 15%;
    box-shadow: 3px 3px 3px gray;
    transition: transform 0.3s;
}

article img.right {
    float: right;
    width: 30%;
    padding: 0px;
    margin: 0 0 0 20px;
    border-radius: 15%;
    box-shadow: 3px 3px 3px gray;
    transition: transform 0.3s;
}

article img.left:hover, img.right:hover{
    transform: scale(2.25);
    border-radius: 0;
}

h2 {
    font-size: 25px;
    text-align: center;
    text-shadow: 2px 2px 2px gray;
}

footer {
    height: 40px;
    background-color: #0a4b7f;
    color: white;
    line-height: 40px;
    text-align: center;
    margin-top: 40px;
    font-weight: bold;
    border-radius: 0 0 35px 35px;
    box-shadow: 0px -25px 37px 5px #737a7d inset;
}

@media (max-width: 1000px){
    nav a {
        width: 100%;
    }
    footer {
        border-radius: 0;
    }
}

@media (max-width: 500px) {
    nav a {
        width: 100%;
    }
    
    /*#wrapper {
    box-shadow: 0px 25px 40px 30px #415b607a inset;
    }*/
}




.form {
    margin: 20px 0 0 26%;
    font-family: sans-serif;
    max-width: 40rem;
    padding: 0 5%;
}

.form .form-row {
    margin-bottom: 1rem;
}

.form .form-row:last-child {
    margin-bottom: 0;
}

.form input,
.form textarea {
    font-family: sans-serif;
    padding: 0.8rem;
    border: 1px solid #bbb;
    display: block;
    width: 100%;
    color: #666;
}

.form textarea {
    height: 10rem;
}

.form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form .submit-btn {
    font-family: sans-serif;
    padding: 1rem 2rem;
    cursor: pointer;
    background: tomato;
    border: 0;
    border-radius: 0.2rem;
    color: #FFF;
    font-size: 1.1rem;
    font-weight: bold;
    transition: 0.3s background-color;
}

@media screen and (max-width: 500px) {
    .form .submit-btn {
        display: block;
        width: 100%;
    }
}

/* ---------------------------------------------------- */
/* walidacja formularza JS */
/* ---------------------------------------------------- */
.form input.field-error,
.form textarea.field-error {
    border-color: tomato;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,99,71, 0.3);
}
.form-error-text {
    color: tomato;
    font-size: 0.8rem;
    margin-top: 5px;
}
.form-error-inline .form-error-text {
    display: none;
}


/* ---------------------------------------------------- */
/* sukces wysylania */
/* ---------------------------------------------------- */
.form-send-success,
.form-send-error {
    font-family: sans-serif;
    padding: 3em;
    border: 1px solid #ddd;
}

.form-send-success strong,
.form-send-error strong {
    display: block;
    font-size: 1.5em;
    color: tomato;
    margin-bottom: 0.3em;
}

.form-send-success span,
.form-send-error span {

}
