html {
    scroll-behavior: smooth;
}

body 
{
    margin: auto;
    font-family: 'Mulish',Helvetica,Arial,Lucida,sans-serif;
}

.navigation {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1vw 8vw;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1;
    font-weight: 500;
}
.menu-icon {
    width: 48px;
    height: 48px;
    object-fit: contain; 
    cursor: pointer;
}

.navigation .menu-icon {
    display: none;
    cursor: pointer;
}

.navigation img 
{
    width: 280px;
    margin-right: 20px;
    cursor: pointer;
}

.navigation ul {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0;
}

.navigation li {
    margin: 0 12px;
}

.navigation ul li a
{
    text-decoration: none;
    color: rgb(21, 21, 100);
    font-size: 17px;
    transition: 0.3s ease;
}


.navigation ul li a.active,
.navigation ul li a:hover
{
    color: #fdbd13;
}

/*-----------------Home---------------*/

.home {
    background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(5, 4, 46, 0.7)), url("img/eksoc.jpg");
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px; /* Ustal jednolity padding na 20px */
    box-sizing: border-box; /* Włącz box-sizing, aby padding nie wpływał na szerokość/height  */
}

.home h2 {
    color: white;
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.home p {
    color: white;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.5;
}



.home .btn
{
	margin-top: 20px;
}

.home a
{
	text-decoration: none;
	font-size: 0.9rem;
	padding: 13px 35px;
	background-color: #fff;
	font-weight: 600;
	border-radius: 5px;
}

.home a.blue
{
	color: #fff;
	background: rgb(21, 21, 100);
	transition: 0.3s ease;
}

.home a.blue:hover
{
	color: rgb(21, 21, 100);
	background: #fff;
}

.home a.yellow
{
	color: #fff;
	background: rgb(21, 21, 100); /*#fdbd13 */
	transition: 0.3s ease;
}

.home a.yellow:hover
{
	color: rgb(21, 21, 100);
	background: #fff;
}

/*-----------------Course---------------*/

.Kursy{
    padding: 4vw 4vw 4vw 4vw;
    text-align: center;
}

.Kursy .container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 60px;
}

.Kursy .kurs{
    text-align: start;
	background: #edf1f2;
	position: relative;
    box-shadow: 0px 2px 8px 1px rgba(66, 68, 90, 1);
}

.Kursy img{
    width: 100%;
    height: 50%;
	background-size: cover;
	background-position: center;
    box-shadow: 0px 2px 7px 0px rgba(178, 178, 190, 1);
}

.Kursy .kurs h2{
    font-size: 1.15rem;
    margin: 10px 0;
}

.Kursy .details{
	font-size: .9rem;
    padding: 15px 15px 15px 15px;
}

.Kursy .cost{
    background-color: rgb(74, 74, 136);
	color: white;
    line-height: 30px;
	width: 60px;
	height: 60px;
	text-align: center;
	border-radius: 50%;
	position: absolute;
	right: 15px;
	bottom: 135px;
    cursor: pointer;
}

.Kursy .cost:hover{
    background-color: rgb(21, 21, 100);

}

.Kursy .gwiazdki{
    color: #000000;
	font-size: .9rem;
}
/*-----------------Numbers---------------*/

.liczby {
    text-align: center;
    background: linear-gradient(rgba(156, 166, 214, 0.5), rgba(71, 79, 188, 0.5));
    padding: 20px;
    box-shadow: 0px 2px 4px rgba(178, 178, 190, 0.5);
}
  
.liczby h1 {
    font-size: 2.2rem;
    color: rgb(0, 0, 0);
  }
  
.number-pair {
    display: inline-block;
    margin: 20px;
  }
  
.number-pair h3 {
    font-size: 3em;
    font-weight: bold;
    margin: 10px 0;
    color: rgb(253, 192, 77);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
.number-pair p {
    font-size: 1.35em;
    color: #000000;
    margin: 5px 0;
  }

/*-----------------Teachers---------------*/

.Nauczyciele{
    padding: 4vw 4vw 4vw 4vw;
    text-align: center;
}

.profile{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 50px;
}

.profile .profil{
    background: #fafaf1;
	padding: 60px 10px;
	box-shadow: rgba(17, 17, 26, 0.05) 0px px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}


.profile .profil:hover{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}


.profil .link-post{
    margin: 20px;
}

.profile img{
    width: 70%;
    height: 70%;
    background-size: cover;
    background-position: center;
    box-shadow: 0px 2px 7px 0px rgba(178, 178, 190, 1);
}

/*-----------------Footer---------------*/

.footer {
    padding: 4vw;
    background-color: #10203f;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer .footer-col {
    margin-top: -40px;
    padding: 4vw 0vw 4vw 4vw;
}

.footer-col h3 {
    margin-bottom: -10px;
    color: rgb(241, 240, 245);
    font-weight: 500;
    padding-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    color: #AFB3B6;
    padding: 6px 0;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.footer-col li:hover {
    color: rgb(241, 240, 245);
}

.footer .copyright {
    margin-top: -20px;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.footer .link {
    margin-top: 10px;
}

.footer .link i {
    background-color: #5f7185;
	color: #fff;
    transition: color 0.3s ease;
}

.footer .link i:hover {
    background: #fdc93b;
	color: #2c2c2c;
}

.footer .copyright {
    color: white;
}

.link{
    margin-top: 10px;
}

.link i{
    padding: 10px 13px;
	border: 1px solid rgb(21, 21, 100);
	cursor: pointer;
	transition: 0.3s ease;
}

.link i:hover{
    background: rgb(21, 21, 100);
	color: #fff;
}

 
@media only screen and (max-width: 1000px) {
    .navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 57px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0px 9px 27px -17px rgba(0, 0, 0, 1);
    }

    .navigation ul.show {
        display: flex;
    }

    .navigation li {
        margin: 0;
        text-align: center;
    }

    .navigation .menu-icon {
        display: block;
        margin-left: auto;
    }

    .navigation ul li a {
        display: block;
        padding: 15px;
        margin: 0; 
    }

    .navigation ul li {
        margin: 10px 0;
    }

    .home .btn {
        margin-top: 10px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .home a {
        text-decoration: none;
        font-size: 0.9rem;
        padding: 13px 20px; 
        background-color: #fff;
        font-weight: 600;
        border-radius: 5px;
        display: inline-block;
    }

    .home h2,
    .home p {
        display: block;
        width: 100%;
        text-align: center;
    }

    .home h2 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .home p {
        font-size: 0.8rem;
    }
}



  
  