body {
    font: 1em sans-serif;
    padding: 0;
    margin: 0 auto;
}

i {
    color: rgb(2, 98, 177);
}

.page {
    display: flex;
    flex-direction: column;
    font-family: Arial;
}

.personalia {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 100px 10px 0px 10px;
    background-color: lightgray;
    border: 3px solid black;
    border-radius: 10px;
}

.personalia__name-and-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(161, 200, 243);
    border-radius: 6px;
}

.person-name {
    font-size: 28px;
}

.person-logo {
    border: 4px solid black;
    border-radius: 50%;
    width: 30%;
    margin-bottom: 40px;
    animation: glow 3s ease alternate;
}

.personalia__info {
    margin-left: 15px;
    margin-right: 15px;
}

.personalia__info__catergory-title {
    color: rgb(2, 98, 177);
}

.personalia__info__element {
    display: flex;
    flex-direction: column;
}

.personalia__info__detail {
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

.personalia__info__contact-button {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #c7cbf5;
    border: 2px solid black;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
}

.personalia__info__contact-button:hover {
    background-color: #aeb0ca;
}

.personalia__info__category--hidden-mobile {
    display: none;
}

.personalia__info__element--hidden-mobile {
    display: none;
}

.personalia__info__skill {
    display: flex;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.personalia__info__footer {
    color: gray;
    position: absolute;
    bottom: 0;
    left: 15px;
}

.profile {
    margin: 10px 10px 0px 10px;
    font-size: 20px;
}

.profile-content {
    margin-bottom: 10px;
    background-color: #faf8f8;
    border: 3px solid black;
    border-radius: 10px;
}

.profile-content__category {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    margin-right: 15px;
}

.profile-content__category-title {
    color: rgb(2, 98, 177);
}

.profile-content__category hr{
    width: 100%;
}

.profile-content__element {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    margin-right: 15px;
}

.profile-content__title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 2px;
    margin-top: 6px;
}

.profile-content__period--hidden-mobile {
    display: none;
}

.profile-content__institute {
    color: rgb(2, 98, 177);
    margin-top: 0px;
    margin-bottom: 30px;
    font-size: 14px;
}

.profile-content__info {
    font-size: 16px;
}

.gdpr {
    display: flex;
    flex-direction: column;
    font-family: Arial;
    align-items: center;
}

.gdpr-consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    margin: 0px 10px 5px 10px;
    border: 3px solid black;
    border-radius: 15px 15px 15px 15px;
}

.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 {
    padding: 10px;
    background-color: #d5f5d5;
    border: 2px solid black;
    border-radius: 10px;
}

.gdpr-consent__button--accept:hover {
    background-color: #c5e3c5;
}

.gdpr-consent__button--reject {
    padding: 10px;
    background-color: #f5d5d5;
    border: 2px solid black;
    border-radius: 10px;
}

.gdpr-consent__button--reject:hover {
    background-color: #e3c5c5;
}

.hide{
    display: none;
}

.show{
    display: block;
    background: white;
}

@media only screen and (min-width: 800px) {
    
    .page {
        flex-direction: row;
    }

    .personalia {
        min-width: 250px;
        margin-bottom: 10px;
    }

    .person-logo {
        width: 40%;
    }

    .personalia__info__category--hidden-mobile {
        display: flex;
        flex-direction: column;
    }

    .personalia__info__category--hidden-mobile hr{
        width: 100%;
        margin-top: 0px;
    }

    .personalia__info__element--hidden-mobile {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .personalia__info__contact-button {
        margin-bottom: 0px;
    }

    .profile {
        width: 150%;
        min-width: 64%;
        margin: 100px 10% 0px 0px;
    }

    .profile-content__element-header{
        display: flex;
        justify-content: space-between;
    }

    .profile-content__period--hidden-mobile {
        display: flex;
        font-size: 12px;
        color: #5c6166;
    }

    .gdpr-consent {
        margin: 0px 25% 5px 25%;
    }
}