/*mobile version*/

.page {
    display: flex;
    flex-direction: column;
    font-family: Arial;
}

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

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

.person-logo {
    border: 0.5vh solid black;
    border-radius: 50%;
    margin: 2vh;
    width: 20%;
    animation: glow 3s ease alternate;
}

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

.profile-content__category-title {
    color: rgba(39, 140, 39, 0.96);
}

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

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

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

.profile-content__period {
    display: none;
}

.profile-content__institute {
    color: rgba(39, 140, 39, 0.96);
    font-size: 14px;
}

@media only screen and (min-width: 800px) {

    .person-name{
        order: 0;
    }

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

    /*fix: anders als stipje zichtbaar*/
    .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;
        display: flex;
    }

}

.profile-content__element-dot{
  list-style-type: none;
}

.profile-content__element-dot::before{
  content: '\2022';
  color: green;
  display: inline-block;
  width: 2vw;
  margin-left: -1em;
}

.profile-content__subtitle {
    font-weight: semi-bold;
    font-size: 15px;
    margin-bottom: 1vh;
    margin-top: 1vh;
}


/*gdpr*/


.container {
    display: flex;
    flex-direction: column;
    font-family: Arial;
}

.gdpr-consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    position: fixed;
    bottom: 0;
    left: 2vw;
    right: 2vw;
    padding: 2.5vh;
    margin: 2vw;
    border: 0.2vw solid gray;
    border-radius: 15vw;
    background-color: white;
    z-index: 9999;
}

.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: lightgreen;
    padding: 2vh;
    border-radius: 4vh;
    border: 0.25vh solid black;
}

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

.gdpr-consent__button--reject {
    background-color: rgb(236, 158, 158);
    padding: 2vh;
    border-radius: 4vh;
    border: 0.25vh solid black;
}

.hide{
    display: none;
}

.show{
    display: block;
}


/* for error handling on contact page */

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

    font-size: 80%;
    color: white;
    background-color: #900;
    border-radius: 0.5vw;

    box-sizing: border-box;
}

.error.active {
    display: block;
    margin-bottom: 0.5vh;
    padding: 0.3em;
}


/* This is all styling for the form/contact page */
.form-contactpagina {
    display: flex;
    flex-direction: column;
    height:auto;
    align-self: center;
    padding: 2vw;
}

.submitform {
    display: flex;
    background-color: green;
    color: white;
    margin-top: 2vh;
    margin-bottom: 1vh;
    cursor: pointer;
}

.submitform:disabled {
  display: flex;
    background-color: gray;
    color: white;
    margin-top: 2vh;
    margin-bottom: 1vh;
    cursor: not-allowed;
}

.form-personal {
    display:block;
}


.form-message {
  width: 100%;
  text-align: left;
  position: relative;
  display: flex;
  border: red;
  flex-direction: column;
}

.form-message-detail {
    width: 100%;
    height:20vh;
    text-align: left;
    position: relative;
    resize: none;
    display: flex;
    flex-direction: column;
    border:2px solid red;
    cursor: pointer;
}

.form-message-detail.check {
  width: 100%;
  height:20vh;
  text-align: left;
  position: relative;
  resize: none;
  display: flex;
  flex-direction: column;
  border:2px solid green;
  outline: none !important;
  cursor: pointer;
}


.form-textareas {
  width: 100%;
  text-align: left;
  position: relative;
  display: flex;
  border: red;
  flex-direction: column;
}


.form-textareas-detail {
    width: 100%;
    text-align: left;
    position: relative;
    resize: none;
    display: flex;
    flex-direction: column;
    border:2px solid red;
    cursor: pointer;
    z-index: 998;
}

.form-textareas-detail.check {
  width: 100%;
  text-align: left;
  position: relative;
  resize: none;
  display: flex;
  flex-direction: column;
  outline: none !important;
  border:2px solid green;
  cursor: pointer;
  z-index: 998;
}

.charCount {
    position: absolute;
    bottom: 1vh;
    right: 1vh; 
    color: black; 
    font-size: 12px; 
    cursor:default;
    z-index: 999;
}
.loader {
  display: none;
}

.loader-active {
  display: flex;
  position: sticky;
  left: 45%;
  right: 45%;
  border: 2vw solid #0586e2; /* Light grey */
  border-top: 2vw solid #fbff00; /* Blue */
  border-radius: 50%;
  width: 2vw;
  height: 2vw;
  align-self: center;
  padding: 2vw;
  animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Style for the flash message when a form is submitted */

.flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 90%;
  padding: 10px 20px;
  background-color: gray;
  color: white;
  text-align: center;
  z-index: 1000; /* Ensure the message is on top of other content */
  display: none;
}

.success {
  background-color: green;
}

.fail {
  background-color: red;
}

  /* end of flash styling */

  /* this styling is used for captcha */
.captcha-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#captcha-text {
    font-size: 20px;
    margin-right: 1vw;
}

#captcha-input {
    margin-right: 1vh;
    padding: 2vh;
    font-size: 16px;
}

#captcha-submit {
    padding: 2vh;
    margin-bottom: 2vh;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

#captcha-submit:hover {
    background-color: #0056b3;
}
  /* end of captcha styling */