body {
    background-color: black;
    background-image: url('../images/picture.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
}

.logo{
    position: absolute;
    width: 12vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.middle-container {
    display: flex;
    width: 10vw;
    height: 100vh;
    transition: all 0.5s;
    background-color: rgba(0, 0, 0, 0.5);
}

.selection-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45vw;
    height: 100vh;
    overflow: hidden;
}

.selection-container::before, .selection-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s;
    z-index: -1;
}

.selection-container::before {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 1;
}

.selection-container::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.5) 90%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
}

.selection-container.ward:hover::after {
    opacity: 1;
}

.selection-container.ellen::after {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.5) 90%, rgba(0, 0, 0, 0) 100%);
}

.selection-container.ellen:hover::after {
    opacity: 1;
}


.about {
    width: 50%;
    text-align: center;
    padding-top: 10vh;
    padding-bottom: 10vh;
    transition: all 0.5s;
}

.name {
    padding-top: 3em;
    text-align: center;
    font-size: 3em;
    transition: all 0.5s;
}
.job{
    text-align: center;
    transition: all 0.5s;
}

.job a {
    color: inherit;
}

.job a:visited {
    color: inherit; /* Ensure visited links have the same color as non-visited links */
}

.selection-container:hover .about {
    color: white;
}

.selection-container:hover .name {
    color:white;
}
.selection-container:hover .job {
    color:white;

}
.ward {
    font-family: 'Courier New', Courier, monospace;
}
.wardName {
    font-weight: bold;
}

.socials {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 50%;
}
svg {
    height: 50px;
    filter: opacity(0) brightness(0);
    transition: filter 0.5s;
}
.selection-container:hover svg{
    filter: opacity(1) brightness(1); 
}