body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

header {
    background-color: #0b0016; /* Darker purple */
    color: white;
    text-align: left;
    padding: 0 15px 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

header a {
    color: white;
    font-size: 1.3em;
    text-decoration: none;
}

header a:hover {
    color: lightgray;
}

.header-link {
    font-size: 0.85em;
}

.header-left {
    display: flex;
    justify-self: center;
    align-items: center;
}

.header-left img {
    margin-right: 10px;
}

#main-container {
    display: flex;
    height: calc(100vh - 60px); /* Full height of the viewport minus the header */
}

#left-part {
    flex: 1;
    background-color: #110023; /* Darker purple */
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#left-part-title {
    font-size: 48px;
    margin-bottom: 10px;
}

#left-part-logo {
    background-color: #555;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    /* Add your logo styling here */
}

#left-part-text {
    margin-top: 20px;
    background-color: #cac6cb;
    color: black;
    font-weight: 900;
    padding: 10px;
    width: 75%;
    height: auto;
    border-radius: 5px;
    text-align: justify;
    font-size: 0.9em;
}

#right-part {
    flex: 1;
    background-color: #cac6cb;
    padding: 20px;
}

#right-part-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}

#right-part-logos .logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0 20px 0 20px;
}

.logo {
    display: inline-block;
    width: 50px;
    height: 50px;
    -border-radius: 50%;
    filter: invert(7%);
    transition: transform 0.3s ease;
}

.logo:hover {
    filter: invert(0%);
    transform: scale(1.2);
    cursor: pointer;
}

#tile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Adjusted to create two columns */
}

.tile {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 45%;
    height: 60px;
    margin: 10px;
    background-color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease; /* Added transition property */
}

.tile:hover {
    cursor: pointer;
    transform: scale(1.1); /* Added hover effect */
}

a.tile {
    text-decoration: none;
}

a.tile:hover {
    text-decoration: underline;
    color: black;
    font-weight: bolder;
}

.tile-logo {
    width: 20%;
    height: 100%;
    padding: 10px;
    background-color: #2f2f2f; /* Grey background color */
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile-logo .logo {
    width: 35px;
    height: 35px;
}

.tile-logo-image {
    filter: invert(7%);
    transition: transform 0.6s ease;
}

.tile:hover .tile-logo-image {
    filter: invert(0%);
    transform: scale(1.2); /* Added hover effect */
}

.additional-text {
    opacity: 0;
    transition: opacity 0.3s ease; /* Added transition property */
    transition: transform 0.3s ease; /* Added transition property */
    position: absolute;
    font-size: 0.7em;
    font-weight: bold;
}

.above-additional-text {
    margin-bottom: 10px; /* Added margin */
    color: #2c0e4b;
}

.below-additional-text {
    margin-top: 10px; /* Added margin */
    color: #403f41;
    font-weight: bolder;
}

.tile:hover .additional-text {
    opacity: 1;
}

.tile:hover .above-additional-text {
    transform: translateY(-13px);
}

.tile:hover .below-additional-text {
    transform: translateY(13px);
}

.tile:hover .below-additional-text {
    opacity: 1;
    transform: translateY(13px);
}

.tile-title {
    padding:10px
}

.tile-body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight: bold;
    color: black;
}

footer {
    background-color: #0b0016; /* Darker purple */
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    bottom: 0;
    font-size: 0.6em;
}

@media (max-width: 1275px) {
    #tile-container {
        flex-direction: column;
        align-items: center;
    }

    .tile {
        width: 80%;
    }
}

@media (max-width: 750px) {
    #main-container {
        flex-direction: column;
    }
}