body, h1, h2, h3, h4, p, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

.page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.personalia {
    text-align: center;
}

.person-logo {
    border-radius: 50%;
    max-width: 150px;
    margin-bottom: 10px;
}

.person-name {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.personalia__data {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.personalia__data__p {
    font-size: 16px;
    margin-top: 10px;
}

.profile-content,
.profile-content-half-right,
.profile-content-half-left {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.profile-content-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.profile-content-half-left {
    margin-right: 5px;
}

.profile-content-half-right {
    margin-left: 5px;
}

.profile-content__element {
    margin-bottom: 10px;
}

.profile-content__description {
    text-align: justify;
}

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

.profile-content__category-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.profile-content__title {
    font-size: 18px;
    margin-bottom: 5px;
}

.profile-content__period {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    text-align: right;
}

.profile-content__institute {
    font-size: 16px;
    color: #555;
    margin-top: -5px;
}

.skills_list_item {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 5px;
}

@media screen and (max-width: 600px) {
    .page {
        padding: 10px;
    }

    .person-logo {
        max-width: 100px;
    }

    .person-name {
        font-size: 20px;
    }

    .personalia__data,
    .profile-content,
    .gdpr-consent {
        padding: 10px;
    }

    .profile-content__element {
        margin-bottom: 15px;
    }

    .skills_list_item {
        font-size: 14px;
        padding: 4px 8px;
    }

    .profile-content-container {
        flex-wrap: wrap;
    }

    .profile-content-half-left {
        margin-right: 0px;
    }
    
    .profile-content-half-right {
        margin-left: 0px;
    }
}

/* GDPR Form Styling */
.container {
    display: flex;
    flex-direction: column;
    font-family: Arial;
}

.gdpr-consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    margin: 10px auto;
    border: 2px solid gray;
    border-radius: 15px 15px 15px 15px;
    width: 50%;
}

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

.gdpr-consent__description__p {
    display: flex;
    align-items: center;
}

.gdpr-consent__button--accept {
    cursor: pointer;
    background-color: #d5f5d5;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid gray;
    margin-right: 1%;
    margin-left: 0.5%;

}

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

.gdpr-consent__button--reject {
    cursor: pointer;
    background-color: #f5d5d5;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid gray;
    margin-left: 6%;
    margin-right: 0.5%;


}

.gdpr-consent__button--reject:hover {
    background-color: #e3c5c5;
}


.hide{
    display: none;
}

.show{
    display: block;
    background: white;
}

@media screen and (max-width: 600px) {
    .gdpr-consent {
        width: 90%;
    }
}

/* Contact Me Form styling */
.form-contactpagina {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    padding-top: 20px;
}

.form-contactpagina__inputelement {
    margin-bottom: 15px;
}

.form-contactpagina__inputelement.fx-col {
    display: flex;
    flex-direction: column;
}

.form-contactpagina label {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.form-contactpagina input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.form-contactpagina input[type="submit"],
.form-contactpagina input[type="reset"] {
    cursor: pointer;
    background-color: #28a745;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 10px;
}

.form-contactpagina input[type="reset"] {
    background-color: #a72828;
}


.form-contactpagina input[type="submit"]:hover {
    background-color: #218838;
}

.form-contactpagina input[type="reset"]:hover {
    background-color: #882121;
}

input.user-touched:invalid {
    border-color: #900;
    background-color: #fdd;
}

input.user-touched:focus:invalid {
    outline: none;
}

.error {
    width: 100%;
    padding: 0;

    font-size: 80%;
    color: white;
    background-color: null;
    border-radius: 0 0 5px 5px;

    box-sizing: border-box;
}

.error.active {
    display: block;
    margin-bottom: 4px;
    padding: 0.3em;
    background-color: #900;
}

@media screen and (max-width: 600px) {
    .form-contactpagina {
        width: 90%;
    }
}
