/*mobile version*/

body{
    font-family: "EB Garamond", serif;
    font-size: 25px;
    margin: auto;
    background-color: rgb(3, 87, 3);
}

.navigation__container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    border-radius: 15px;
    align-items: center;
    list-style: none;
    background-color: #afddb7;
    height: 100px;
}
.navigation__container-element, .navigation__container-element a{
    text-align: center;
    text-decoration: none; 
    color: grey;
}


header{
    background-image: url("../images/thema.jpg");
    background-color: green;
    color: green;
    padding: 10px;
}

.header__text{
    top: 0;
}

.active{
    background-color: rgb(131, 196, 10);
    border-radius: 15px;
}

li a:hover:not(.active) {
    background-color: #8ab692;
    border-radius: 15px;
    
}


.page {
    display: flex;
    flex-direction: column;
    margin: 0px 25px 0px 25px;
    border-radius: 15px;
}

.personalia {
    background-color: #96e287;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
    margin: 0px 15px 0px 15px;
}

.personalia-content__list, .navigation__list{
    list-style-type: none;
    
}

.personalia-content__title, .header__title{
    text-align: center;
}


.profile {
    background-color: #afddb7;
    width: auto;
    border-radius: 15px;
    margin: 0px 10px 0px 10px;
}

.person-logo {
    border: 4px solid green;
    border-radius: 50%;
    margin: 15px 0px 15px 0px;
    width: 20%;
    animation: glow 3s ease alternate;
}

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

.profile-content__category-title, .personalia-content__title {
    color: rgba(3, 66, 3, 0.96);
    text-align: center;
    font-size: 25px;
}

.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, .personalia-content__title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
    margin-top: 6px;
    padding-left: 25px;
    
}

.profile-content__period {
    display: none;
    padding-right: 50px;
}

.profile-content__institute {
    color: rgba(4, 73, 4, 0.96);
    margin-top: 10px;
    font-size: 16px;
}

.socials-content {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    border-radius: 15px;
    align-items: center;
    list-style: none;
    background-color: #afddb7;
    height: 100px;
}


.socials-content__element {
    padding: 15px;

}

a:visited, a:link{
    color: green;
    text-decoration: none;
}
.socials-content__element a:hover{
    text-decoration: underline;
}

@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__element-skills {
        display: flex;
        justify-content: space-evenly;
        
    }

    .profile-content__period {
        font-size: 15px;
        color: #5c6166;
        display: flex;
    }

}

@media only screen and (max-width: 800px){
    .navigation__container{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        flex-wrap: no-wrap;
    }

    .navigation__container-element{
        width: 100px;
        height: 15px;
        margin: auto;
    }
}




.container {
    display: flex;
    flex-direction: column;
    margin: 5%;
    background-color: #afddb7;
    border-radius: 15px;
    font-size: 20px;
}


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

.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: #d5f5d5;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid gray;
}

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

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

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



.hide{
    display: none;
}

.show{
    display: block;
}

.container h1, .container p {
    text-align: center;
}

.form__contact{
    width: auto;
    text-align: center;
    margin: 0px 50px 0px 50px;
}

input[type=text], textarea, input[type=tel], input[type=email] {
    width: 100%; 
    padding: 15px; 
    border: 1px solid #ccc; 
    border-radius: 15px; 
    box-sizing: border-box; 
    margin: 6px 0px 16px 0px;
    resize: none;
    
}

input[type=submit], input[type=reset]{
    color:black;
    padding: 2.5%;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    margin: 10px 0px 15px 15px;
    font-size: 20px;
}


textarea, input[type=submit], input[type=text], input[type=tel], input[type=email], label, input[type=reset]{
    font-family: "EB Garamond", serif;
    font-size: 20px;
}

label{
    width: 100%;
}
textarea{
    height: 200px;
}


input[type=reset]{
    background-color: #e64e4e;
}

input[type=submit]{
    background-color: #0edb52;
    
}

input:invalid, textarea:invalid {
    border-color: #900;
    background-color: #fdd;
}

input:focus:invalid {
    outline: none;
}

/* This is the style of our error messages */
.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;
}

table, th, td{
    border: 1px solid green;
    border-collapse: collapse;
    color:rgb(3, 87, 3);
    padding: 3.5%;
    width: 25%;
}

th, td{
    text-align: center;
    margin: auto;
    border-radius: 15px;
}

hr{
    margin: 50px;
}