body
{
    background-color: black;
    color: #ffff;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
}

#container
{
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.rectangle
{
    width: 100%;
    margin: 20px;
    text-align: center;
}

.square
{
    width: 50%;
    display: flex;
    flex-wrap: wrap;
}

#logo
{
  font-family: "Josefin Sans", sans-serif;
  font-style: normal;
  font-size: 70px;
  width: 100%;
  text-align: left;
}

#stanowisko
{
    font-family: "Josefin Sans", sans-serif;
    font-style: italic;
    font-size: 20px;
    text-align: left;
    margin-top: 20px;
}

.tile1, .tile2, .tile3, .tile6
{
    margin: 10px;
    width: 230px;
    height: 142px;
    background-color: #a708fd;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
}

.tile1:hover, .tile2:hover, .tile3:hover, .tile6:hover
{
    background-color: #ceab36;
}

.tile4
{
    margin: 10px;
    width: 480px;
    height: 142px;
    background-color: #8b1b93;
    text-align: center;
    font-style: italic;
    justify-content: center;
    align-items: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.tile5
{
    margin: 10px;
    width: 420px;
    height: 244px;
    background-color: #666666;
    text-align: justify;
    padding: 30px;
}

.artykuł1, .artykuł2, .media1, .media2
{
    margin: 10px;
    width: 105px;
    height: 142px;
    background-color: #ceab36;
    text-align: center;
    display: block;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
}

.artykuł1:hover, .artykuł2:hover, .media1:hover, .media2:hover
{
    background-color: #8b1b93;
}

a.tilelinkhtml5
{
    color: white;
    text-decoration: none;
}

a.sociallink
{
    color: white;
    text-decoration: none;
    display: block;
    width: 105px;
    height: 142px;
}

.text
{
    margin: 10px;
}

.bottom-section 
{
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    margin-top: 20px; 
}

@media (max-width: 1200px) {
    #container {
        width: 100%; 
        padding: 0 10px; 
    }
    .tile1, .tile2, .tile3, .tile6 {
        width: 100%; 
        height: auto; 
    }
    .tile4, .tile5 {
        width: 100%; 
        height: auto; 
    }
    #logo {
        font-size: 50px; 
    }
}

@media (max-width: 768px) {
    #container {
        width: 100%;
        padding: 0 10px; 
    }
    .tile1, .tile2, .tile3, .tile6, .tile4, .tile5 {
        width: 100%; 
        height: auto; 
    }
    #logo {
        font-size: 40px; 
    }
    .square {
        width: 100%; 
    }
}