* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #3e3e3f; 
    color: #ffffff;
}

.page {
    display: flex;
    flex-direction: column;
}

.personalia {
    background-color: #3e3e3f; 
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile {
    background-color: #2b2c30;
    width: 100%;
}

.person-logo {
    border: 4px solid #ffffff;
    border-radius: 50%;
    margin: 15px 0px 15px 0px;
    width: 20%;
    animation: glow 3s ease alternate;
}

.profile-content {
    padding: 15px;
    font-size: 20px;
}

.profile-content__category-title {
    color: #add8e6; /* Light blue */
}

.profile-content__category--hidden-mobile {
    display: none;
}

.profile-content__element {
    display: flex;
    flex-direction: column;
}

.profile-content__element--hidden-mobile {
    display: none;
}

.profile-content__title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 2px;
    margin-top: 6px;
}

.profile-content__period {
    display: none;
}

.profile-content__institute {
    color: #add8e6; /* Light blue */
    margin-top: 0;
    font-size: 14px;
}

@media only screen and (min-width: 800px) {
    .page {
        flex-direction: row;
    }

    .person-name {
        order: -1;
    }

    .profile-content__category--hidden-mobile {
        display: flex;
        flex-direction: column;
    }

    .profile-content__category--hidden-mobile hr {
        width: 100%;
    }

    .profile-content__element--hidden-mobile {
        display: flex;
    }

    .profile-content__element-header {
        display: flex;
        justify-content: space-between;
    }

    .profile-content__period {
        font-size: 12px;
        color: #5c6166; /* Original color */
        display: flex;
    }
}

.gdpr-consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    margin: 5px;
    border: 2px solid gray;
    border-radius: 15px 15px 15px 15px;
    z-index: 99998;
    background-color: #2b2c30;
}

.gdpr-consent__description {
    display: flex;
    justify-content: center;
}

.gdpr-consent__choice {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    width: 100%;
}

.gdpr-consent__button--accept {
    background-color: #215a21;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #5c6166;
    color: #ffffff;
}

.gdpr-consent__button--accept:hover {
    background-color: #1a481a;
}

.gdpr-consent__button--reject {
    background-color: #5c6166;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #5c6166;
    color: #ffffff;
}

.hide {
    display: none;
}

.show {
    display: block;
}

.slideshow-container {
    max-width: 500px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.custom-button {
    background-color: #215a21;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: Arial;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.custom-button:hover {
    background-color: #1a481a;
    color: #27a127;
    border-color: #5c6166;
}
/* New classes for contact page */
.top-bar {
    background-color: #2b2c30;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__container {
    display: flex;
}

.top-bar__link, .top-bar__login {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.contact-container {
    margin-top: 20px; /* Adjusted for spacing */
}

.contact-form {
    background-color: #2b2c30;
    padding: 20px;
}

.contact-title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 10px;
    color: #add8e6; /* Light blue */
}

.contact-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #4682b4; /* Blue */
    background-color: #2b2c30;
    color: #ffffff;
    margin-bottom: 20px;
    }
    
    .contact-input:focus {
        outline: none;
        border-color: #4682b4; /* Blue */
    }
    
    .contact-button {
        background-color: #4682b4;
        color: #ffffff;
        border: 2px solid #ffffff;
        border-radius: 10px;
        padding: 10px 20px;
        font-family: Arial;
        font-size: 20px;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s, border-color 0.3s;
        width: 100%;
        text-align: center;
    }
    
    .contact-button:hover {
        background-color: #add8e6; /* Light blue */
        color: #ffffff; /* White */
        border-color: #5c6166; /* Grey */
    }
    
    .newaccount-container {
        margin-top: 20px; /* Adjusted for spacing */
        background-color: #3e3e3f;
    }
    
    /* Media Query for Small Screens */
    @media only screen and (min-width: 800px) {
        .top-bar__container {
            flex: 1; /* Allow container to take remaining space */
        }
    }
    
