/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 12pt;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font-family: inherit;
    background: none;
    border: 2px #252D6B solid;
    padding: 5px;
    border-radius: 5px;
}
input[type="submit"] {
    background-color: #252D6B; color:#fff;
}

h1 {font-size: 2.5em; margin-bottom: 15px;}
h2 {font-size: 1.6em;}
h3 {font-size: 1.2em;}

ul {
    margin: 0 0 15px 30px;
}
li {
    padding: 5px 0 5px 0;
}

a {text-decoration: none;}

/* Style szablonu */

body {
    background-color: #ddd;
    color: rgb(0, 0, 0);
}

.siteWidth {
    width: 1000px;
    margin: 0 auto;
}

header {
    width: 100%;
    background-color: #252D6B;
    color: white;
    padding: 30px;
    text-align: center;
    font-size: 2em;
}
header p {color: rgb(77 193 234); font-size: 1.2em;}

#wraper {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
}

.siteInfoOk {
    background-color: lightgreen;
    padding: 10px;
    text-align: center;
}
.siteInfoWrong {
    background-color: lightpink;
    padding: 10px;
    text-align: center;
}


.siteBody {
    padding: 15px;
}
.flex {
    display: flex;
}
.flexHeader {
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}
.flexContent {
    flex-flow: row wrap;
    justify-content: space-between;
}

.col50 {
    width: 477px;
}
.center {
    text-align: center;
}
.alignItemsCenter {
    align-items: center;
}

.siteDescription {
    margin: 15px 0;
    padding: 15px;
    background-color: #eee;
    border: 2px #ddd solid;
    border-radius: 15px;
}

.book {
    margin: 15px 0;
    padding: 15px;
    border: 2px #fff solid;
}
.book:hover {
    background-color: #ddd;
    border: 2px #ccc solid;
    border-radius: 15px;
}
.book a {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    text-decoration: none;
    color: black;
}
.bookCover {width: 221px;}
.bookCover img {border: 1px solid #333;}
.bookDescription {width: 700px;}

.projectDescription {width: 255px;}
.projectDescription img {border: 1px solid #333;}
.projectDescription p {margin: 5px 0; font-size: .8em;}
.projectContent {
    width: 700px;
}

.videoDescription {
    margin: 15px 0;
}

.accessCode {
    margin: 15px auto;
    width: 210px;
    text-align: center;
}
.accessCode input, .accessCode label {
    display: block;
    width: 200px;
    font-size: 1.2em;
    margin: 5px;
    text-align: center;
}

footer {
    width: 100%;
    background-color: rgb(77 193 234);
    padding: 15px;
    text-align: center;
    font-size: 0.8em;
}

/* Style doa telefonów*/
@media only screen and (max-width: 1000px) {
    header img {height: 80px;}
    header p {font-size: .7em;}
    .siteWidth {
        width: 100%;
        margin: 0 auto;
    }
    .flex {
        flex-flow: row wrap;
    }
    .flexHeader {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .flexContent {
        flex-direction: column-reverse;
        justify-content: center;
    }
    .col50 {
        width: 100%;
    }
    .col50 p {
        text-align: center;
    }
    .projectDescription {
        width: 100%;
    }
    .projectDescription p {
        font-size: 1em;
    }
    .projectContent {
        width: 100%;
    }
}

/* Style systemowe */
.siteDebuger {
    background-color: black;
    margin: 0 auto;
    width: 100%;
    padding: 25px;
    color: lime;
}