
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: white;
    background-color: #121212;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

header img {
    max-width: 150px;
}

.navlist {
    display: flex;
    gap: 20px;
    list-style: none;
}

.navlist li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.navlist li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background: #FFFF00;
    transition: width 0.3s ease;
}

.navlist li a:hover {
    color: #FFFF00;
}

.navlist li a:hover::after {
    width: 100%;
}

section.stronaglowna {
    position: relative;
    flex: 1;
    padding: 50px 20px;
    background: url('./img/background.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stronaglowna .content {
    flex: 1;
    max-width: 50%;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.stronaglowna h1 {
    margin-left: 200px;
    font-size: 60px;
    margin-top: -100px;
}

.stronaglowna p {
    margin-left: 200px;
    font-size: 24px;
    color: #cccccc;
}

.stronaglowna .image-container {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stronaglowna .image-container img {
    margin-top: -100px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

footer {
    color: azure;
    text-align: center;
    padding: 20px;
    background: #1f1f1f;
    border-top: 2px solid #FFFF00;
    margin-top: auto;
}

footer p {
    font-weight: bold;
    margin: 0;
}

footer a {
    font-weight: bold;
    color: #FFFF00;
    text-decoration: none;
    transition: color 0.5s ease;
}

footer a:hover {
    color: #b6b600;
}
