/*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: 4px solid black;
    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: rgba(249, 149, 0, 0.96);
}

/* .profile-content__category--hidden-mobile { waarom stond dit hier?
    display: none;
} */

.profile-content__element {
    display: flex;
    flex-direction: column;
}
/* .profile-content__element--hidden-mobile { waarom stond dit hier?
    display: flex;
    flex-direction: column;
    display: none;
} */

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

.profile-content__institute {
    color: rgba(249, 149, 0, 0.96);
    margin-top: 0px;
    font-size: 14px;
}

/*student uitwerking*/

.slideshow-container {
    max-width: 100%;
    margin: auto;
    text-align: center; 
    margin-top: 40px; 
}
.slideshow-container h1 {
    text-align: center;
    margin: 20px;
}
.mySlides {
    display: none;
    width: 35%; 
    margin: 25px auto; 
}
.profile-content__skills {
    margin-top: 0px;
    font-size: 14px;
    padding: 5px;
}
.profile-content__skills li {
    margin-bottom: 5px; 
    list-style-type: none;
}
.profile-content__element-header {
    display: flex;
    justify-content: space-between;
}

.profile-content__period {
    font-size: 12px;
    color: #5c6166;
    display: flex;
}
.profile-content__Personalia{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top : 0px;
}
.personalia__element{
    flex-direction: column;
    align-items: center;
}
.person-title{
    color: rgba(249, 149, 0, 0.96);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0px;
}
.profile-content__description {
    margin-top: 0px;
    font-size: 18px;
    padding: 5px;
}

.gdpr-consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    margin: 5px;
    border: 2px solid gray;
    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 {
    background-color: rgba(249, 149, 0, 0.96);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid gray;
}

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

.gdpr-consent__button--reject {
    background-color: rgba(249, 149, 0, 0.96);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid gray;
}

.show{
    display: block;
}

.form-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
}

.form-title {
    color: rgba(249, 149, 0, 0.96);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-content__element {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    margin-bottom: 10px;
}

.form-content__element label {
    width: 100%;
}

.form-content__element label input{
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-content__element label input:focus {
    outline: none;
    border-color: rgba(249, 149, 0, 0.96);
}

.spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

.form-content__element label textarea {
    margin-top: 10px;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 100%;
    height: 120px; 
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-content__element label textarea:focus {
    outline: none;
    border-color: rgba(249, 149, 0, 0.96);
}

 .form-content__reset {
    background-color: rgba(249, 149, 0, 0.96);
    padding: 8px;
    border-radius: 10px;
    border: 1px solid gray;
} 
.form-content__submit{
 background-color: #f44336; 
    padding: 8px;
    border-radius: 10px;
    border: 1px solid gray;  
}
.form-content__element__inputs input:hover{
    background-color: #c5e3c5;
}

input:invalid {
    border-color: red;
    background-color: #fdd;
}

input:focus:invalid {
    outline: green;
}
textarea:invalid {
    border-color: red;
    background-color: #fdd;
}
.captcha__element input {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-content__element label .captcha__element input:focus {
    outline: none;
    border-color: rgba(249, 149, 0, 0.96);
}
.captcha__buttonElement {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
    margin-bottom: 10px;
    margin-top: 10px;
}

.captcha__buttonElement button {
    background-color: rgba(249, 149, 0, 0.96);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid gray;
}

.captcha__buttonElement button:hover {
    background-color: #c5e3c5;
}

.error {
    width: 100%;
    padding: 0;
    font-size: 80%;
    color: white;
    background-color: #900;
    border-radius: 0 0 5px 5px;

    box-sizing: border-box;
}

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

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

/* Desktop version */
@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;
    }

    /*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;
    }

}