* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
}
.container {
    margin-top: 6.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
}
.object {
    max-width: 1280px;
    width: 100%;
    text-align: center;
    margin-bottom: 1.25rem;
}
.object img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
img[src$=".gif"] {
    margin-top: 3.5rem;
    margin-bottom: 6rem;
}
/* Styl przycisków */
.btn {
    position: fixed;
    width: 3rem;
    height: 3rem;
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}
/* Przycisk "Wstecz" (w lewym górnym rogu) */
.btn-back {
    top: 1.25rem;
    left: 1.25rem;
    background-image: url('Back.png');
}
.btn-back:hover{
    background-image: url('back_hover.png');
}
/* Przycisk "Do góry" (w prawym dolnym rogu, domyślnie ukryty) */
.btn-top {
    bottom: 1.25rem;
    right: 1.25rem;
    opacity: 0;
    pointer-events: none;
    background-image: url('To\ top.png');
}
.btn-top:hover{
    background-image: url('to\ top_hover.png');
}
/* Pokazanie przycisku przewijania */
.btn-top.show {
    opacity: 1;
    pointer-events: auto;
}
.btn-next {
    white-space: nowrap;
    position: relative; /* Utrzymuje przycisk w normalnym układzie strony */
    display: block;
    width: 11rem;
    height: 2.8rem;
    background-color: #2645FF;
    color: #FFFFFF;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.7rem 2rem;
    margin: 1.25rem 10rem 6rem auto; /* 4rem od góry, 80px od prawej, auto od lewej */
    text-align: center;
    font-weight: 500;
}
.btn-next:hover {
    background-color: #2C2C99;
}
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    .object {
        margin-bottom: 1.5rem;
    }
}
@media (min-width: 768px) and (max-width: 1079px) {
    html {
        font-size: 12px;
    }
}
@media (min-width: 1080px) and (max-width: 1439px) {
    html {
        font-size: 16px;
    }
}
@media (min-width: 1440px) and (max-width: 1920px) {
    html {
        font-size: 20px;
    }
}