/*
Theme Name: Mój Nowy Motyw
Theme URI: http://twojastrona.pl/motyw
Author: Twoje Imię
Description: To jest mój pierwszy, responsywny motyw WordPress.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: moj-motyw
*/

html
{
    --font-color: #f0f3f5;
    background-color: rgb(216, 235, 249);
}

*
{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
   
    margin: 0px;
    padding: 0px;
    margin: 0px;


    user-select: none; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6
{
    font-weight: 800;
}

p
{
    font-size: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}

img
{
    width: 100%;
}

figure
{
    display: flex;
    justify-self: center;
    border-radius: 30px;
    overflow: hidden;
    margin: 20px 0px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    
}

.footer-link
{
    color: white !important;
    font-weight: 200;
}

.content-frame
{
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}

.content-frame footer
{
    flex: 1;
}


.main-frame
{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

main
{
    display: flex;
    justify-content: center;
}

main .container
{
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.siteHeader
{
    backdrop-filter: blur(20px);
    background: rgb(95, 129, 155);
    border-bottom: 1px solid rgba(120, 156, 180, 0.5);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    padding: 20px;
    display: flex;
    justify-content: center;
}

.siteHeader .container
{
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
}

.site-title
{
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--font-color);
    letter-spacing: -0.02em;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
}

.siteHeader .container .main-navigation
{
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: end;
    gap: 10px;
}

.nav-link
{
    padding: 10px;
    color: var(--font-color);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    display: block;
}


.login-link
{
    border: 1px solid rgb(82, 177, 255);
    color: var(--font-color);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.start-now
{
    background: rgb(82, 177, 255);
    color: var(--font-color);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

footer
{
    border-top: 1px solid rgba(120, 156, 180, 0.5);
    background: rgb(95, 129, 155);
    padding: 20px;
    flex: 1;
    display: flex;
    justify-content: center;
}

.copyright
{
    color: var(--font-color);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

footer .bottom-frame
{
    max-width: 1200px;
    width: 100%;
}

#bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 300%;
    height: 300%;
    z-index: -1; /* Musi być pod treścią */
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px); /* To tworzy efekt miękkiej kuli */
    opacity: 0;
    transition: opacity 10s ease-in-out;
}

.blob.visible {
    opacity: 0.6; /* Delikatna przezroczystość */
}







.text-block
{
    color: var(--font-color) !important;
    font-weight: 200;
    font-size: 12px;
}



.main-menu li {
    display: inline-block;
}









/* Stan początkowy - zdjęcie jest niewidoczne i przesunięte w dół */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* Stan po aktywacji przez JavaScript */
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}






.mobile-left-menu
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0px;
    bottom: 0px;
    background-color: rgba(59, 75, 88, 0.5);
    backdrop-filter: blur(2px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 999; /* Musi być nad innymi elementami */
}

.mobile-left-menu .mobile-menu
{
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    width: 300px;
    background-color: rgb(95, 129, 155);
    border-left: 1px solid rgba(120, 156, 180, 0.5);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    padding: 20px;
}


.mobile-left-menu .main-menu
{
    display: flex;
    flex-direction: column;
}

p
{
    margin-top: 10px;
    margin-bottom: 10px;
}

h2, h3, h4, h5, h6
{
    margin-top: 20px;
    margin-bottom: 20px;
}

strong
{
    font-weight: bolder !important;
}

.menu-toggle 
{
    position: fixed;
    right: 20px;
    top: 20px;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--font-color); /* Dopasuj kolor do strony */
    transition: 0.3s;
    border-radius: 5px;
}

.contact-label
{
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 30px;
    height: 100px;
    background-color: rgb(121, 157, 185);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(120, 156, 180, 0.5);

    display: flex;
    align-items: center;


    color: var(--font-color);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 20px;
    border-radius: 20px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 1;
}



@media screen and (max-width: 1200px) 
{
    .main-navigation
    {
        display: none !important;
    }

    .menu-toggle
    {
        display: flex !important;
    }
}

@media screen and (max-width: 500px) 
{
    .site-title
    {
        font-size: 1em !important;
    }
}

.wp-block-column-is-layout-flow
{
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}



/* Styl dla kontenera przycisku */
.wp-block-button.is-style-moj-customowy-guzik .wp-block-button__link {
    background: rgb(82, 177, 255);
    color: var(--font-color);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Efekt po najechaniu */
.wp-block-button.is-style-moj-customowy-guzik .wp-block-button__link:hover {
    
}

@media (max-width: 768px) {
  .wp-block-columns.reverse-columns {
    flex-direction: column-reverse !important;
  }
}

.D_RowComment
{
    display: flex;
    overflow: hidden;
    animation: comments 50s;
    position: absolute;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
}

.D_Comment
{
    flex-shrink: 0;
    width: 400px;
    flex-direction: column;
    background-color: rgb(95, 129, 155);
    border: 1px solid rgba(120, 156, 180, 0.5);
    color: var(--font-color);
    margin: 10px;
    border-radius: 10px;
    padding: 20px;
    margin-right: 0px;
    height: 230px;
}

.P_UserName span
{
    font-family: 'Syne', sans-serif !important;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--font-color);
    letter-spacing: -0.02em;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
}

.D_Comment p
{
    margin: 0px;
}

@keyframes comments {
  from {left: 0px;}
  to {left: -4500px;}
}
