/*mobile version*/

body {

    background-image: url('../images/beautiful-background.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
}

header {
    background-color: indigo;
    color: white;
    padding: 10px;
}

nav {

    padding: 10px;
}

fieldset {
    width: 100%;
    border: none;
}

.navigation {
    background-color: rgb(103, 44, 145);
    padding: 3px;
}

.navigation_pages {
    color: white;
    text-decoration: none;
}

aside {
    width: 75%;

}

footer {
    background-color: indigo;
    color: white;
    padding: 10px;
}

.h41 {
    margin-top: 0px;
}

h6 {
    margin: 0px;
}

input:invalid {
    border: 2px solid red;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    color: white;
    display: inline-block;
    margin-right: 10px;
    background-color: indigo;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 50%;
}

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

.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;
    aspect-ratio: 1/1;
    width: 30%;
    animation: glow 3s ease alternate;
    object-fit: cover;
}

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

.profile-content__category-title {
    color: indigo;
}

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

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

.profile-content__element--hidden-mobile {
    display: flex;
    flex-direction: column;
    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: indigo;
    margin-top: 10px;
    font-size: 14px;
}

#form {
    background-color: #e7e8ec;
    padding: 20px 20px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#form fieldset {
    flex: 1;
}

.name {

}

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


    #form {
        flex-direction: row;
    }

    .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;
    }

}


/*student uitwerking*/


.gdpr {
    background-color: indigo;
    color: white;
}

.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;
    background-color: white;
}

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

}

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

.gdpr-consent__button--accept {
    background-color: #d5f5d5;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid gray;
}

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

.gdpr-consent__button--reject {
    background-color: lightcoral;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid gray;
}

.gdpr-consent__button--reject:hover {
    background-color: rgb(223, 119, 119);
}

.hide {
    display: none;
}

.show {
    display: block;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: auto;
    margin-top: 20px;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#flash_message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: red;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
}

.hidden {
    display: none;
}