@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
/* Zaznaczanie elementu */
*::selection{
   background-color: white;
   color: black;
}
/* Body i elementarne poprawki strony*/
body{

    background-image: url('tlo.webp');
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin: 0;
    height: 100%;
}
body, html{
    min-height: 100%;
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
    color:#F0F0F0;
}
a:visited{
    color: #F0F0F0;
}
/* Menu na PC, desktopy*/
#menu h1, .mobile-opcje h1{
    color: #F0F0F0;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.8em;
    margin-left: 10px;
}
#menu{
    float: left;
    width: calc(13% - 2px);
    background: rgba(255, 255, 255, 0);
    height: 100%;
    position: fixed;
    backdrop-filter: blur(6.3px);
    -webkit-backdrop-filter: blur(6.3px);
    border-right: 1.5px solid #212429;
}
.przycisk{
    color: #F0F0F0;
    text-align: center;
    padding: 20px;
    background-color: #212429;
    transition: 100ms;
    cursor: pointer;
    font-size: 1.2em;
}
.przycisk:hover,.sprzycisk:hover{
    background-color: #F0F0F0;
    letter-spacing: 3px;
    font-weight: 700;
    color: #393939;
    transition-delay: 50ms;
}
/* Główna część */
#tresc{
    padding-left: 10px;
    min-height: 100%;
    background-color: rgb(0, 0, 0, 0.1);
    float: right;
    width: 87%;
    color: #F0F0F0;
    text-align: left;
}
#tresc h1{
    text-align: center;
    font-size: 3em;
}
#tresc p{
    text-align: left;
    font-size: 18px;
}
#tresc ol{
    font-size: 18px;
}
#skrypty{
    margin: 0;
    width: 100%;
    align-items: center;
    text-align: center;
}
.sprzycisk{
    color: #F0F0F0;
    font-size: 1.2em;
    border: 2px solid #393939;
    border-radius: 30px;
    text-align: center;
    height: 100px;
    line-height: 100px;
    width: calc(50% - 19px);
    float: left;
    transition: 100ms;
    margin-left: 7.5px;
    margin-right: 7.5px;
    margin-bottom: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(14.4px);
    -webkit-backdrop-filter: blur(14.4px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    position: relative;
}
.opis{
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    font-size: 17px;
    visibility: hidden;
    width: 100%;
    background-color: #F0F0F0;
    color: #313c46;
    text-align: center;
    border-radius: 30px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: absolute;
    z-index: 1;
    line-height: 20px;
    bottom: 100%;
    left: 50%;
    margin-left: calc(-50% - 1px);
}
.sprzycisk:hover .opis {
    transition-delay: 130ms;
    visibility: visible;
    border: 1.5px solid #8A8A8A;
    border-bottom: 0;
    -webkit-box-shadow: 0px 0px 50px -5px rgba(255, 255, 255, 1);
    -moz-box-shadow: 0px 0px 50px -5px rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 50px -5px rgba(255, 255, 255, 1);
    letter-spacing: 0px;
    padding: 0;
    font-weight: 400;
  }
.sprzycisk:hover{
    border-top: 0;
    border: 1.5px solid #8A8A8A;
    -webkit-box-shadow: 0px 0px 50px -5px rgba(255, 255, 255, 1);
    -moz-box-shadow: 0px 0px 50px -5px rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 50px -5px rgba(255, 255, 255, 1);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
#tresc_przycisk{
    float: none;
    margin: auto;
}
/* Mobilne menu */
#przyciski {
    margin-right: 0;
    margin-top: 0;
    clear: both;
    display: none;
    width: 200px;
    float: right;
    transition: 100ms;
}
#przyciski.visible {
    display: block;
    color: black;
    background-color: #F0F0F0;
}
.mobile-opcje{
    top: 0%;
    position: fixed;
    visibility: hidden;
    width: 100%;
    z-index:1;
}
.mobile-widoczne{
    height: 60px;
    background-color: #F0F0F0;
}
.mobile-widoczne h1{
    text-align: left;
    float: left;
    width: 200px;
    font-size: 20px;
    color: #393939;
}
.mobile-opcje a:visited{
    color: black;
}
.mobile-opcje a{
    color: black;
}
.mobile-widoczne span{
    cursor: pointer;
    margin-top: 16px;
    text-align: right;
    margin-right: 5%;
    float: right;
    width: 32px;
}
.mobile-opcje li{
    visibility: hidden;
    color: black;
}
#mobile-przyciski:hover{
    transition: 100ms;
    font-weight: 700;
}
#przyciski{
    border-bottom-left-radius: 13px;
}
p#stopka-nazwa{
    padding: 30px;
    text-align: center;
    color: #8A8A8A;
    font-weight: 300;
    clear: both;
}
#glowny-napis h1{
    margin-top: 150px;
    font-size: 100px;
}
#glowna-napis{
    height: 100vh;
}
.odstep{
    height: 90px;
}
.wybor{
    margin-top: 90px;
    width: 90px;
    margin: auto;
    display: flex;
    gap: 5px;
}
.wybor  .opcja{
    background-color: rgba(138, 138, 138, 0.7);
    text-align: center;
    width: 40px;
    border-radius: 7px;
}
#powrot{
    text-align: center;
    position: fixed;
    top: 50%;
    right: 0%;
    width: 60px;
    background-color: #212429;
    border: 2px solid white;
    border-right: none;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.glowna-opis{
    height: 100vh;
    text-align: center;
}
.glowna-opis h2{
    font-size: 70px;
}
.glowna-opis > .tekst{
    font-size: 25px;
    width: 75%;
    margin: auto;
}
.glowna-opis .opcja{
    width: 80px;
    margin-bottom: 10px;
}
.glowna-opis .wybor{
    display: block;
}
#darkmode{
    width: 100%;
    clear: both;
    color: #F0F0F0;
    cursor: pointer;
    text-align: center;
}
#darkmode:hover{
    width: 100%;
    text-decoration: underline;
    text-underline-offset: 10px;
}
@media only screen and (max-height: 700px){
    .glowna-opis{
        height: auto;
    }
    #glowna-napis{
        height: auto;
    }
}
@media only screen and (max-width: 1369px) {
    .sprzycisk, #tresc_przycisk{
        width: auto;
        float: none;
    }
    #tresc_przycisk{
        margin-left: 7.5px;
        margin-right: 7.5px
    }
    h1{
        font-size: 0.6em;
    }
    #menu{
        visibility: hidden;
    }
    #tresc h1{
        margin-top: 60px;
    }
    #tresc{
        float: none;
        width: 100%;
    }
    .mobile-opcje{
        visibility: visible;
    }
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: none;
    scrollbar-color: #ffffff #000000;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 10px;
  }

  *::-webkit-scrollbar-track {
    background: #000000;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 2px;
    border: 3px none #ffffff;
  } 