*{margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth;}

:root {
    --red: #f9032f;
    --black: #000;
    --white: #fff;
    --purpl: rgba(228, 137, 240, 0.6);
    --yellow: rgba(252, 236, 9, 0.829);
}

.nav {
min-height: 80vh;
width: 100%;
background-image: linear-gradient(rgba(10, 20, 58, 0.511),rgba(66, 79, 129, 0.452)),url(images/deshy_tlo.png);
background-position: center;
background-size: cover;
position: relative;
overflow: hidden;
opacity: 0.8;
}

nav-bar {
display: flex;
padding: 3% 5%;
justify-content: space-between;
align-items: center;


}
.home-button {
    font-size: 30px;
    display: inline-block; /* Pozwala nadać padding i zachowuje się jak element blokowy w linii */
    padding: 10px 15px; /* Wewnętrzny odstęp (góra/dół, lewo/prawo) - dopasuj do wyglądu strony */
    margin-right: 100px; /* Opcjonalny margines po prawej, aby oddzielić od innych elementów */
    background-color: #12032b; /* Przykładowy kolor tła - zmień na pasujący do Twojej strony */
    color: white; /* Kolor tekstu */
    text-align: right;
    text-decoration: none; /* Usuwa podkreślenie linku */
    border: none; /* Usuwa domyślną ramkę */
    border-radius: 5px; /* Zaokrągla rogi przycisku */
    cursor: pointer; /* Zmienia kursor na "rączkę" po najechaniu */
    font-weight: bold; /* Pogrubienie tekstu */
    transition: background-color 0.3s ease; /* Płynne przejście koloru tła przy najechaniu */
    }
    
    /* Styl po najechaniu myszką (efekt dynamiczny) */
    .home-button:hover {
    background-color: #4603ad; /* Lekko ciemniejszy kolor tła po najechaniu - dopasuj */
    }
nav img{
    width: 150px;
}

.nav-links {
    flex: 1;
    text-align: right;

}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 15px;
    position: relative;
    
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
   font-size: 18px;
    
} 

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 3px;
    background-color: purple;
    display: block;
    margin: auto;
    transition: 0.4s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {

width: 90%;
color: #fff;
position: absolute;
top: 55%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;

}

.text-box 


stablebat_title1 {
    color: rgb(0, 0, 0);
    font-size: 50px;
    }

        
h1 {
    font-size: 50px;
    color: rgb(109, 107, 107);
}

h2{
    font-size: 40px;}

.text-box p{
    margin: 50px 0 40px;
    font-size: 25px;
    color: rgb(255, 255, 255);
}


stablebat_title2 {
    color:rgb(0, 0, 0);
    font-size: 30px;
    }

.hero-btn {
display: inline-block;
text-decoration: none;
color: white;
border: 1px solid #fff;
padding: 12px 30px;
font-size: 15px;
background: transparent;
position: relative;
cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid purple;
   background: purple;
   transition: 0.8s;
}

nav-bar .fa{
    display: none;
}

@media (max-width: 767px) {

    .text-box h2{
        font-size: 20px;}
        .nav-links ul li {
            
            display: block;}

            .nav-links {
                position: absolute;
                background-image: linear-gradient(rgba(100, 7, 119, 0.974),rgba(233, 127, 94, 0.974));
                height: 100vh;
                width: 200px;
                top: 0;
                right: -200px;
                text-align: left;
                z-index: 2;
                transition: 1s;
            }
     nav-bar .fa {
        display: block;
        color: #fff;
        margin: 20px;
        font-size: 20px;
        cursor: pointer;
     }       
     .nav-links ul {
        padding: 25px;
     }

}

.newsfeed {
    grid-template-columns: 1fr;
}

.newsfeed article-title
{grid-column: 1/1;}
.newsfeed article-fig
{grid-column: 1/1;}
.newsfeed article-main
{grid-column: 1/1;
    display: flex;
text-align: justify;
align-items: center;}
.newsfeed article-date
{grid-column: 1/1;
    font-size: 14px;
    color: rgb(63, 63, 63);
}





/*---content---*/

.content {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 10px;
    
   

}

.content h1 {
    font-size: 36px;
    color: #000;
    font-weight: 500;
padding-bottom: 10px;}

.content h2 {
        font-size: 26px;
        color: rgb(0, 16, 49);
        font-weight: 400;
        
}
.content p {
    font-size: 18px;
    color: rgb(0, 0, 0);
    font-weight: 300;
    line-height: 24px;
    padding: 10px;


}

.newsfeed {
    margin: 0px;
    display: grid;
    border: 3px solid #000;
    border-radius: 15px;
    grid-template-columns: repeat(10, 1fr);
    grid-auto-rows: minmax(20px, auto);
    grid-gap: 5px;
    box-shadow: 10px 8px 10px rgba(120, 118, 121, 0.3);
}
.newsfeed > * {
    padding: 10px;
    
}
.newsfeed article-title
{grid-column: 1/11;}
.newsfeed article-fig
{grid-column: 1/3;}
.newsfeed article-main
{grid-column: 3/11;
    display: flex;
text-align: justify;
align-items: center;}
.newsfeed article-date
{grid-column: 9/11;
    font-size: 15px;
    color: rgb(63, 63, 63);
}


.project {
    width: 100%;
    margin: 25px 0 25px 0;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: rgba(92, 88, 88, 0.13);

}

.project h1 {
    font-size: 34px;
    color: #000;
    font-weight: 300;

}
.project h2 {
    font-size: 12px;
    color: rgb(0, 16, 49);
    font-weight: 100;
}
.project p {
    font-size: 16px;
    width: 80%;
    color: #000;
    font-weight: 300;
    line-height: 24px;
    padding: 10px;
    text-align: justify;
    display: inline-block;

}
.project img {
    align-items: center;
    background: transparent;
    opacity: 0.8;
        /* Wyrównanie pionowe obrazków względem środka */
        justify-content: center;
        /* Wyrównanie poziome obrazków względem środka kontenera */
        width: 160px;}


.results {
    width: 100%;
    margin: 15px;
    text-align: center;
    padding-top: 20px;

}

.results h1 {
    font-size: 34px;
    color: #000;
    font-weight: 300;

}
.results h2 {
    font-size: 12px;
    color: rgb(0, 16, 49);
    font-weight: 100;
}
.results p {
    font-size: 14px;
    color: #000;
    font-weight: 200;
    line-height: 24px;
    padding: 10px;
text-align: justify;

}

/*------Footer-----*/

.footer {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background-image: linear-gradient(-45deg, rgba(92, 88, 88, 0.175), rgba(255, 255, 255, 0.781) );
    background-size: 250%;

    animation: gradient 12s infinite alternate;
}
@keyframes gradient {
    0% {
        background-position: 0% 100%;
    }
    30% {
        background-position: 60% 40%;
    }
    60% {
        background-position: 100% 60%;
    }
    100% {
        background-position: 0% 100%;
    }
}

.footer p {font-size: 12px;
text-align: justify;}

.footer h4 {
    margin-top: 20px;
    margin-bottom: 25px;
    font-weight: 400;
    font-size: 32px;

}

.endnote p {
    font-size: 12px;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}


.contact-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(5, 0.35fr);
        grid-gap: 5px;
    }
    
    .footer-icon {grid-column:2/3;
    justify-self: end;}
    .footer-icon i {margin-top:15px;
        margin-bottom: 10px;
        font-size:18px;
    text-align: right;}
    
    .footer-container {
        grid-column: 3/8;
        font-size: 18px;
        text-align: justify;
        margin-top:12px;
        margin-bottom: 10px;
    }
    
    
    
    
    #contact-form {
        width: 600px;
        margin: 0 auto;
        padding: 20px;
        
       
        border: 1px ;
        border-radius: 5px;
        grid-column: 8/12;
        grid-row: 1/6;
        box-shadow: 4px 4px 4px  rgb(0, 0, 0, 0.3);


        
      }
  
      
      .form-group {
        margin-bottom: 20px;
      }
      .form-group label{
        padding-bottom:10px;
        font-size: 16px;
       
      }
    
      .form-control {
        width: 90%;
        padding: 10px;
        border: none;
        border-radius: 5px;
        background-color: #f1f1f1;
        box-shadow: 0px 0px 4px #ccc;
      }
      
      .form-control:focus {
        background-color: #fff;
      }
      
      .btn {
        padding: 10px 20px;
        border-radius: 5px;
        background-color: rgba(233, 225, 235, 0.815);
        color: rgb(0, 0, 0);
        cursor: pointer;
      }
      
      .btn:hover {
        background-color: rgba(95, 7, 107, 0.767);
        color: rgb(255, 255, 255);
      }

  