/* główne */

body{
    margin: 0;
}

*{
    font-family: "Sora", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

:root{
    --white: white;
    --purple: rgb(143, 84, 240);
    --lightPurple: rgb(170, 127, 239);
    --darkPurple: rgb(109, 33, 232);
    --gray: #333333;
    --black: black;
    --gradientPurpleBlack: linear-gradient(345deg, var(--purple), var(--black));
    --nagl: 48px;
}

/* szerokości bloków kontentu */

.navigationBar, .headerBar, .headerInformation, .content, .articlesContainer{
    width: 67%;
    margin: 0 auto;
}

/* style */

.navigationBar{
    padding: 25px 0px;
    font-size: 80%;
}

.headerBar{
    background-color: var(--gray);
    border-radius: 25px;
    padding: 3px;
}

.mobileHeaderBar{
    display: none;
    background-color: var(--gray);
    width: 100%;
}

.mobileHeaderBarRight{
    display: flex;
    align-items: center;
    margin-right: 5%;
}

.purple{
    color: var(--purple);   
}

.material-symbols-outlined{
    font-size: 50px;
}

img{
    max-height: 100%; /* Logo nigdy nie będzie wyższe niż header */
    width: auto;      /* Pozwól szerokości dostosować się proporcjonalnie */
    object-fit: contain; /* Zapewni, że logo nie zostanie rozciągnięte */
}

.imagineBar{
    height: 90px;
    margin-left: 10%;
}

.headerInformation{
    padding-bottom: 9%;
}

.headerInformationLeftContainer{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 45%;
    height: 100%;
    padding-top: 5%;
    animation: fadeInUp 1s ease-out forwards;
}

.headerInformationLeftContainerContent{
    width: 95%;
    text-align: left;
}

.headerInformationLeftContainerContent h1{
    font-size: 310%;
    font-weight: 600;
}

.headerInformationLeftContainerContent p{
    font-size: 110%;
    margin-left: 3px;
}

.headerInformationLeftContainerButtonBlock{
    display: flex;
    margin-top: 40px;
    width: 100%;
}

.HILCleft, .HILCright{
    width: 50%;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
}

.headerInformationRightContainer{
    width: 55%;
    height: 100%;
    display: flex;
    margin-top: 4%;
    justify-content: center;
    align-items: center;
}

.image1{
    width: 46%;
    margin-right: 8%;
}

.image2{
    width: 34%;
}

.headerInformation{
    min-height: 500px;
    display: flex;
}

.contentBackground{
    background: var(--gradientPurpleBlack);
    padding: 10% 0%;
    margin-top: 5%;
}

.cardBlock{
    padding: 80px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 40%;
    background-color: var(--white);
}

.cardBlock h2{
    font-weight: 600;
}

.articles{
    background-color: var(--darkPurple);
    color: var(--white);
    padding: 80px 0px;
}

.articlesContainer h2{
    font-size: 350%;
}

.articlesContainerCenter, .articlesContainerRight{
    display: flex;
    align-items: end;
}

.articlesContainerRight{
    justify-content: end;
}

.articleCardBlock{
    width: 30%;
    margin: 0 auto;
    padding: 15px;
    border-radius: 10px !important;
}

.card-header{
    height: 160px !important;
    border-radius: 10px !important;
}

.card-body{
    min-height: 300px;
}

.articlesContainerLower{
    margin-top: 100px;
    display: flex;
}

.articlesContainerCenterSP{
    display: none;
    margin-top: 30px;
}

footer{
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding-bottom: 50px;
}

.footerContainer{
    background: var(--gradientPurpleBlack);
    width: 95%;
    padding: 3%;
    height: 70%;
    margin-top: 7%;
    margin-bottom: 3%;
    color: var(--white);
}

.footerContainerUpperCenter{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.footerContainerUpperRight{
    display: flex;
    justify-content: end;
    align-items: start;
}

.footerContainerLowerLeft.SP{
    display: none;
}

.SPfooterElemetns{
    display: none;
    text-align: center;
    margin-top: 20px;
}

.creditsContainer{
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Link/Buttony */

a{
    transition: color 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.navigationBar a{
    color: var(--black);
    margin-left: 20px;
}

.navigationBar a:hover{
    color: var(--purple);
}

.headerBar a, .mobileHeaderBar a{
    color: var(--white);
    margin-right: 20px;
}

.headerBar a:hover, .mobileHeaderBar a:hover{
    color: var(--lightPurple);
}

.linkButtonPurpleTransparent{
    background-color: rgba(170, 127, 239, 0.1);
    color: var(--lightPurple) !important;
    padding: 15px 25px;
    border-radius: 15px;
}

.linkButtonPurpleTransparent:hover{
    background-color: rgba(170, 127, 239, 1);
    color: var(--white) !important;
}

.linkButtonSecPurpleTransparent{
    background-color: rgba(143, 84, 240, 0.1);
    color: var(--purple) !important;
    padding: 15px 25px;
    border-radius: 15px;
    margin: 0 !important;
}

.linkButtonSecPurpleTransparent:hover{
    background-color: rgba(143, 84, 240, 1);
    color: var(--white) !important;
}

.linkButtonPurple{
    background-color: var(--lightPurple);
    color: var(--white) !important;
    padding: 15px 25px;
    border-radius: 15px;
}

.linkButtonPurple:hover{
    background-color: var(--white);
    color: var(--lightPurple) !important;
}

.linkButtonWhite{
    background-color: var(--white);
    color: var(--lightPurple) !important;
    padding: 15px 45px;
    border-radius: 15px;
    font-size: 110%;
}

.linkButtonWhite:hover{
    background-color: var(--lightPurple);
    color: var(--white) !important;
}

.linkCard{
    color: var(--purple);
}

.linkCard:hover{
    color: var(--lightPurple);
}

.linkCard.Big{
    font-size: 130%;
    font-weight: 500;
    color: var(--black) !important;
}

.linkCard.Big:hover{
    color: var(--lightPurple) !important;
}

.footerContainerLowerRight a{
    color: var(--white);
}

.footerContainerLowerRight a:hover{
    color: var(--lightPurple);
}

/* Rensponsywność */

@media (max-width: 1500px){
    .footerContainer{
        height: 60%;
    }
    .navigationBar, .headerBar, .headerInformation, .content, .articlesContainer{
        width: 77%;
    }
}

@media (max-width: 1200px){
    .navigationBar, .headerBar, .headerInformation, .content, .articlesContainer{
        width: 90%;
    }
    .cardBlock{
        width: 55%;
    }
    .headerBar{
        font-size: 90%;
    }
}

@media (max-width: 1000px){
    .navigationBar, .headerBar, .image2{
        display: none !important;
    }
    .mobileHeaderBar{
        display: flex;
    }
    .image1{
        width: 55%;
    }
    .headerInformationLeftContainerContent h1{
        font-size: 250%;
    }
    .cardBlock{
        width: 65%;
    }
    .articlesContainerUpper{
        display: flex;
        flex-wrap: wrap;
    }
    .articlesContainerCenterSP{
        display: block;
    }
    .articlesContainerCenter{
        display: none;
    }
    .articlesContainerRight{
        align-items: center;
    }
    .articlesContainerLower{
        display: flex;
        flex-wrap: wrap;
        margin-top: 50px;
    }
    .articleCardBlock{
        width: 90%;
        margin-top: 20px;
    }
    .footerContainerUpperCenter{
        display: none;
    }
    .footerContainerUpperRight{
        display: none;
    }
    .footerContainerLowerLeft{
        display: none;
    }
    .footerContainerLowerLeft.SP{
        display: block;
    }
    .SPfooterElemetns{
        display: block;
    }
}

@media (max-width: 750px){
    .headerInformationLeftContainer{
        width: 60%;
    }
    .headerInformationRightContainer{
        width: 40%;
    }
    .image1{
        width: 80%;
    }
    .cardBlock{
        width: 100%;
        padding: 40px;
    }
    .articlesContainerLower{
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
    }
}

@media (max-width: 650px){
    .imagineBar{
        height: 55px;
    }
    .mobileHeaderBar{
        font-size: 70%;
    }
    .headerInformation{
        display: flex;
        flex-direction: column;
    }
    .headerInformationLeftContainer{
        width: 100%;
    }
    .headerInformationRightContainer{
        width: 100%;
    }
    .image1{
        width: 50%;
    }
    .articlesContainerLeft ,.articlesContainerRight{
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .footerContainerLowerLeft.SP, .footerContainerLowerCenter, .footerContainerLowerRight{
        font-size: 80%;
    }
    .creditsContainer{
        font-size: 80%;
    }
    .cardBlock{
        padding: 20px;
    }
}

@media (max-width: 400px){
    .creditsContainer{
        font-size: 65%;
        font-weight: 500;
    }
}

@media (max-width: 350px){
    .creditsContainer{
        font-size: 55%;
        font-weight: 600;
    }
    .mobileHeaderBar img{
        height: 40px;
    }
    .mobileHeaderBarRight a{
        margin-left: 10px;
        margin-right: 0;
    }
}