html,
body {
    margin: 0;
    padding: 0;

}


body {
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #202020;
}

html {
    height: 100%;
}

.container {
    flex-direction: column;
    display: flex;
    width: 100%;
    flex: 1 0 auto;
}

.logo {
    font-size: 2rem;
    margin-left: 1rem;
}

.header {
    display: flex;
    order: 1;
    align-items: center;
    flex-direction: row;
    color: #ffb928;
}

.nav {
    justify-content: space-around;
    display: flex;
    flex-direction: row;
}

.nav>ul>li {
    display: inline-flex;
    margin: 0 1rem;
    padding: 10px;
    border-radius: 40px;
}

.nav>ul>li:hover {
    background-color: #121212;
}

.nav>ul>li>a {
    text-decoration: none;
    color: #fff;
}

h1 {
    text-align: center;
}

h2 {
    color: #ffb928;
}

h3 {
    text-align: center;
    color: #ffb928;
}

article {
    font-family: "New Amsterdam", sans-serif;
    font-weight: 400;
    font-style: normal;
    min-width: 75%;
    font-size: 40px;
    text-align: justify;
}

article figure {
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
}

article figure img {
    border-radius: 20px;
}

span {
    color: #fff;
}

.opis{
	width: 70%;
}


.polowa ul {
    width: 50%;
    list-style: none;
    padding-left: 0;
    padding-right: 8%;
    float: left;
}


.content1,
.content2 {
    display: flex;
    width: 100%;
    align-self: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    order: 2;
    padding-top: 10%;
    padding-bottom: 10%;
    color: #fff;

}

.content1 {
    background-color: #202020;
}

.content2 {
    background-color: #121212;
}

img {
    width: 100%;
}

.przyciski {
    display: flex;
    flex-direction: row;
    align-self: center;
    align-items: center;
    justify-content: center;
}

.button {
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 20px;
}

.button1 {
    background-color: #ffb928;
    color: black;
    border: 2px solid #000;
}

.button1:hover {
    background-color: #121212;
    color: #ffb928;
}

section {
    font-family: "Oswald", sans-serif;
    font-size: 25px;
    text-align: left;
    border: 2px solid rgba(255, 183, 40, 0.244);
    padding: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    width: 60%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: no-wrap;
    justify-content: space-between;
    gap: 25px;
}

section:hover {
    background-color: rgba(255, 183, 40, 0.1);
    cursor: pointer;
    
}

#art{
    font-family: "Oswald", sans-serif;
    font-size: 21px;
    text-align: left;
    border: 2px solid rgba(255, 183, 40, 0.244);
    padding: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    width: 60%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: no-wrap;
    justify-content: space-between;
    gap: 25px;
}

#art img {
    padding: 50px;
    max-width: 60%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#art a{
    text-decoration: underline;
    color: #ffb928;

}

section ul li{
    font-size: 22px;
}

.dwa_zdj {
    display: flex;
    flex-direction: row;
    flex-wrap: no-wrap;
    align-self: center;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    gap: 25px;
}

.dwa_zdj article {
    display: flex;
    flex-direction: column;
    max-width: 400px;
}

.dwa_zdj article figure img {
    border-radius: 20px;
}

.polecane {
    padding-right: 20px;
    border-right: 2px dashed rgba(255, 183, 40, 0.244);
}

.polecane img{
    width: 300px;
    animation: fadeIn 2s ease-in-out;
}

ol > li{
    font-family: "Oswald", sans-serif;
}


.footer {
    display: flex;
    order: 3;
    color: #fff;
    justify-content: center;
    align-items: center;
    height: 70px;
    background-color: #121212;
}

pre{
    white-space: pre-wrap;
}

a {
    text-decoration: none;
    color: inherit;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: row;
}
.stat-box {
    background: #5a410e;
    padding: 15px;
    border-radius: 5px;
    min-width: 120px;
    text-align: center;
    flex-grow: 1;
}
.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #ffb928;
}
.chart-wrapper {
    position: relative;
    height: 500px;
    width: 100%;
    margin-top: 20px;
}
.controls {
    display: none;
    margin-top: 20px;
    text-align: center;
}


@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.typing-animation {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(40, end);
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



@media screen and (max-width: 1220px) {
    .logo {
        order: 1;
        justify-content: center;
        padding-top: 10px;
    }

    .nav {
        order: 2;
        align-items: center;
    }

    article {
        text-align: center;
        font-size: 28px;
        width: 90%;
    }


    .polowa ul {
        width: 100%;
        padding: 0px;
    }

    .polowa {
        flex-direction: column;
        display: flex;

    }



    .content1,
    .content2 {
        width: 100%;
    }

    .header {
        flex-direction: column;
        border-radius: 0 0 20px 20px;
    }

    .nav>ul {
        padding: 0;
    }



    #ostatni {
        display: none;
    }

    .nav>ul>li {
        padding: 0;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        height: 3rem;
        align-items: center;
        justify-content: center;
        border-bottom: 2px solid #000;
        border-radius: 0px;
    }

    .nav>ul>li:last-child {
        border-bottom: none;
    }

    .dwa_zdj {
        flex-wrap: wrap;
    }

    section{
        width: 80%;
        padding: 20px;
        gap: 0px;
        color: #ffb928;
    }
    section ul{
        text-align: left;
    }
    section ul li{
        color: #fff;
        font-size: 18px;
    }
    section p{
        color: #fff;
        font-size: 18px;
    }

    #art{
        font-size: 19px;
        padding: 10px;
        width: 80%;
    }
    #art img {
        padding: 30px 0px;
        max-width: 90%;
    }
}


@media screen and (max-width: 1700px) and (min-width: 1220px) {
    article {
        font-size: 38px;
        width: 90%;
    }

    .polowa ul {

        padding: 0px;

    }

    .polowa figure {
        float: left;
        width: 400px;
    }

    #ostatni {
        display: none;
    }
    .logo{
       width: 15%;
       font-size: 1.5rem;
    }
    .nav ul li{
        padding: 10px;
    }
}

@media screen and (max-width: 768px) {
    .content1,
    .content2 {
        padding-top: 5%;
        padding-bottom: 5%;
    }

    section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        font-size: 20px;
    }

    .polecane {
        padding-right: 0;
        border-right: none;
        margin-bottom: 20px;
    }

    .polecane img {
        width: 100%;
    }

    .dwa_zdj {
        flex-direction: column;
    }

    .dwa_zdj article {
        max-width: 100%;
    }

    .typing-animation {
        animation: none;
        white-space: normal;
        word-break: break-word;
    }
}


