/* -------------------------- WHOLE BODY -------------------------- */
/* Colors 
 -> niebieski: #546FB7
 -> pomarańcz: #F49E5F
 -> odcień zieleni: #98B1C2
 -> czerwony: #DF4C5A
 -> szary: #757575
 -> biały: #FFFFFE
*/


body {

    margin: 0;

    /* Fonts */
    font-family: 'Merriweather', serif;
    font-size: 18px;
    line-height: 18px;
    color: #404040;

}

h1 {
    font-family: 'Oswald', serif;
    font-weight: bold;
    font-size: 72px;
    line-height: 72px;
    letter-spacing: 2px;
    color: black;
    padding: 0px;
    margin: 0px 0px 15px 0px;
}

h2 {
    font-family: 'Oswald', serif;
    font-weight: bold;
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 2px;
    color: black;
    padding: 0px;
    margin: 50px 0px 15px 0px;
}



a:visited {
    color: #404040;
}


/* -------------------------- NAV -------------------------- */
nav {
    /* background-image: linear-gradient(160deg, #546FB7 0%, white 100%); */
    background-color: #A4B2D9;
    height: 50px;
    
}

.container-nav {
    height: 50px;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    display: flex; 
    flex-direction: row;
    font-size: 14px;  
}


.menu-left {
    /* margin-right: auto; */
}

.social-icons {
    margin-left: auto;
}

        /* -------------------------- LEFT MENU -------------------------------------------- */
        .menu-left {
            display: flex;
            align-items: center;
            margin-left: 5px;
        }

        .menu-left a  {
            text-decoration: none;
            color: #404040;
            margin-left: 15px;
        }

    
        .menu-left a:visited {
            color: #404040;
        }

        .menu-left a:last-child {
            margin-right: 0; /* Usuwa odstęp po ostatnim linku w każdym menu */
        }



        /* -------------------------- SOCIAL ICONS - RIGHT MENU ---------------------------- */
        .social-icons {
            display: flex;
            align-items: center;
            margin-right: 15px;
            gap:8px;  /*Odstęp między ikonami */
        }

        .social-icons a {
            text-decoration: none;
            color: #404040;

        }

       .social-icons a:visited {
            color: #404040;
        }

        .menu-left a:last-child, .social-icons a:last-child {
            margin-right: 0; /* Usuwa odstęp po ostatnim linku w każdym menu */
        }

        /* -------------------------- SINGLE ICON -------------------------- */

       
        .social-icon {
            /* background-color: white; */
            border-radius: 50%; /* Zaokrąglenie krawędzi, aby utworzyć okrąg */
            width: 18px; /* Szerokość kontenera ikony */
            height: auto;
            transition: transform 0.5s ease-in-out; /* Dodanie płynnej animacji */
        }
        
        
        .social-icon img {
            display: inline-block;
            /* width: 18px;  Szerokość kontenera ikony */
            width: 90%;
            height: 100%;
            transition: transform 0.5s ease-in-out; /* Dodanie płynnej animacji */
            background-size: cover; /* Dopasowanie tła do kontenera */
            background-position: center; /* Centrowanie tła */
        }




        .social-icon:hover {
            transform: scale(1.4); /* Powiększenie ikony o 20% po najechaniu kursorem */
            transform: translateY(-5px); /* Przesunięcie ikony w górę o 5px po najechaniu kursorem */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Zwiększenie cienia po najechaniu kursorem */
}
        


/* -------------------------- HEADER -------------------------- */

header {
    background-color: white;
    color: #404040;
    font-size: 18px; 
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 50px 0px 0px 0px;

}


/* -------------------------- MAIN -------------------------- */

.container-main {
    /* max-width: 1320px; */
    padding: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top:20px;
}


main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    /* justify-content: center; */
}

.project {
    display: flex;
    flex-direction: row;
    max-width: 1000px;
    justify-content: center;
    padding: 10 px;
    border: 1px solid #ccc; /* Obrys projektu */
    border-radius: 5px;
    background-color: #f9f9f9;
    margin: 10px;
    transition: transform 10s ease-in-out; 
   
}



.element-picture {
    align-items: center;
    max-width: 500px;
    padding: 20px;
}
.element-picture img {
    align-items: center;
    /* max-width: 400px; */
    max-width: 100%; /* Obrazek dostosowuje się do szerokości kontenera */
    height: auto; /* Automatyczna wysokość proporcjonalna do szerokości */

}


.element-text {
    flex: 1;
    color: #404040;
    text-align: left;
    margin: 30px 0px 0px 0px;
    /* padding: 10px; */
    /* max-width: 500px;
    max-height: 500px; */
   
}

.element-text p {
    font-size: 18px;
    color: #404040;
    text-align: left;
    padding: 10px;
}

.element-text h2 {
    font-size: 50px;
    text-align: center;
    padding: 20px;
    margin: 10px;
}

p strong {
    font-weight: bold;
}

.element-picture img {
    padding: 10px;
    /* max-width: 300px;
    max-height: 300px; */
} 

.element-picture img:hover {
    transform: translateY(-7px); /* Przesunięcie ikony w górę o 5px po najechaniu kursorem */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Zwiększenie cienia po najechaniu kursorem */
}







/* -------------------------- FOOTER -------------------------- */

footer {
    background-color: #FAF9F7;
    padding: 20px;
    margin: 20px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Wycentrowanie w pionie */
    justify-content: space-between; /* Rozmieszczenie treści */
    
}

.social-icons2 {
    display: flex;
    flex-direction: row;
    align-items: center; /* Wycentrowanie w pionie */
    justify-content: space-between; /* Rozmieszczenie treści */

    gap:10px;  /*Odstęp między ikonami */
    margin: 10px;
}

p {
    text-align: center; /* Wycentrowanie tekstu */
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
}
