@font-face {
  font-family: 'ComicSans';
  src: url('ComicSansMS3.ttf') format('truetype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'ComicSans';
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column; 
    margin: 0;
    padding: 0;
}
header {
    border-bottom: 3px solid #a70000;
    background-color: black;
    width: 100%;
    min-height: 120px;
    height: auto;
    color: white;
    display: flex;
    justify-content: center; 
    align-items: center;    
    padding: 10px 20px;
}
#logo1, #logo3{
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#logo1 img, #logo3 img {
    max-height: 100px;
    width: auto;
}
#logo2 {
    margin: 0 30px;
    text-align: center;
}
main {
    flex: 1;
    display: flex;
    width: 90%;
    margin: 20px auto;
    background-image: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.30)), url("tlo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.9);
}
section {
    width: 45%;
    text-align: center;
    padding: 4%;
    border-right: 3px dashed darkmagenta;
}
.tekst-wstepny {
    margin-bottom: 15px;
}
.dead {
    background-color: rgba(255, 255, 255, 0.5); 
    padding: 15px;
    border-radius: 8px; 
    border: 2px dashed rgb(144, 8, 156);
    margin: 20px 0;
    font-size: 0.95rem;
}
.dead p {
    margin: 5px 0; 
}
.upload-info {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px;
}
.input-plik {
    border: none; 
    padding: 5px 0;
    margin-bottom: 15px;
}
hr {
    margin: 20px 0;
    border: 0;
    border-top: 2px solid  darkmagenta;
}
form {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
}
form input, form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#guziki {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
}
.guzik {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #eee;
    border: 1px solid #999;
    border-radius: 5px;
}
.guzik:hover {
    background-color: #ddd;
}
article {
    width: 55%;
    padding: 4%;
}
.tytul {
    color: black;
    text-align: center;
    margin-bottom: 20px;  
} 
/* h1{
    text-align: center;
} */
article p {
    text-align: center;
    margin-bottom: 15px;
}
article h3{
    border-bottom: 2px solid darkmagenta;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    color: darkmagenta;  
}
article ul, article ol{
    margin-left: 20px;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 5px;
    border-radius: 15px 100px 100px 15px;
    box-shadow: 3px 3px 15px 8px darkmagenta;
}
ol li{
    text-decoration:underline;
    font-size: large;
    font-weight: bold;
}
article li {
    margin-bottom: 5px;
}
article .przyklad {
    text-align: center;
    margin-top: 20px;
}
article img {
    max-width: 80%;
    height: auto;
    border: 2px solid black;
    box-shadow: 5px 5px 8px #a70000; 
}
.dod-info{
    margin-left: 20px;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.2);  
    padding: 5px;
    /* border-radius: 15px 100px 100px 15px; */
    box-shadow: 3px 3px 15px 10px #a70000; 
}
.dod-info ul{
    margin-left: 20px;
    padding: 5px;
    text-align: left;
    font-weight: bold;
}
.dod-info li{
    margin-bottom: 15px;
}
footer {
    
    width: 100%;
    background-color: black;
    color: white;
    border-top: 3px solid #a70000;
    font-family: 'Open Sans', sans-serif;
    padding: 20px 0;
    
}
.stopka {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}
.stopka-info {
    text-align: left;
    /* background-image: url("bg.png");
    background-size: cover;
    padding: 30px;
    background-position: center;
    display: inline-block; */
}
.stopka-info h4 {
    color: #a70000; 
    margin-bottom: 10px;
}
.stopka-info p {
    font-size: 14px;
    margin-bottom: 5px;
    color: #ccc; 
}
.stopka-info a{
    color: white;
    text-decoration: none;
}
.stopka-c {
    text-align: right;
    font-size: 12px;
    opacity: 0.7;
}
.stopka-info a:hover{
    color: #a70000; 
}
#deadpool{
    height: 150px;
    width: auto;
}
@media (max-width: 768px) {
    header {
        flex-direction: column; 
        padding: 20px 0; 
    }
    #logo2 {
        margin: 15px 0;
        text-align: center;
    }
    #logo2 h2 {
        font-size: 1.2rem;
    }
    main {
        flex-direction: column;
        width: 95%; 
    }
    section, article {
        width: 100%; 
        border-right: none; 
        border-bottom: 2px dotted darkmagenta; 
        padding: 20px;
    }
    article {
        border-bottom: none;
    }
    .stopka {
        flex-direction: column;
        text-align: center;
    }
    .stopka-info {
        text-align: center;
        margin-bottom: 20px;
    }
    .stopka-c {
        text-align: center;
        margin-bottom: 20px;
    }
}