/*mobile version*/
@import "cookies.css";
@import "button.css";
@import "loading.css";

body {
    overflow-y: auto;
    margin:0;
    padding:0
}

img {
    height: 300px;
    width: 300px;
    object-fit: cover;
}

.CharCount {
    float: inline-end;
    padding-top: 7px;
}

.error {
    visibility: visible;
    width: 100%;
    padding: 0;
    display: block;
    font-size: 80%;
    color: white;
    background-color: #900;
    border-radius: 15px;
    border: 4px;
    box-sizing: border-box;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.conformation {
    visibility: visible;
    margin-left: calc(50% - 40%);
    width: 80%;
    padding: 0;
    display: block;
    font-size: 80%;
    color: white;
    background-color: rgb(0, 128, 17);
    border-radius: 15px;
    border: 4px;
    box-sizing: border-box;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.page {
    background-image: url("../images/1.jpg");
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial;
    overflow-y: scroll;
}


.personalia {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2.5%;
    background-color: hsla(210, 5%, 20%, 0.75);
    border: double 10px hsla(210, 5%, 25%);
    border-radius: 40px;
}

.person-name {
    color: white;
}

.person-info {
    display: flex;
    flex-direction: column;
    align-items: left;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 10px;
    margin: 5px;
    /* border: 2px solid gray;
    background-color: #faf8f8;
    border-radius: 15px 15px 15px 15px; */
    width: fit-content;
    max-width: 500px;

}

.person-info__group {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-content: center;
    font-size: 20px;
    font-weight: bold;

}

.person-info hr {
    border: 0px;
    clear:both;
    display:block;
    width: 96%;               
    background-color:white;
    height: 1px;
}


.person-info__text{
    margin: 0px;
    padding-top: 10px;
    color: white;
}

.person-info__logo {
    width: 40px;
    height: 40px;
    padding-right: 10px;
    filter: invert(1);
}

.profile {
    width: auto;
    margin: 2.5%;
    background-color: hsla(210, 5%, 20%, 0.75);
    border: double 10px hsla(210, 5%, 25%);
    border-radius: 40px;
    
}

.person-logo {
    border-radius: 50%;
    margin: 15px 0px 15px 0px;
    animation: glow 3s ease alternate;
    box-shadow: 15px 15px 100px black;
}

.profile-content {
    position: relative;
    padding: 15px;
    font-size: 20px;
    height: fit-content;
}

.profile-content__description {
    color: rgb(231, 231, 231);
}

.profile-section{
    position: relative;
    width: calc(100% - 30px);
}

.profile-contact__row {
    width: 100%;
    display: flex;
    flex: row;  
}

.name {
    width: 100%;
}

.profile-contact__input {
    width: 100%;
}


.profile-contact__input textarea{
    width: 100%;
    height: 60px;
    resize: vertical;
    box-sizing: border-box;
    text-align: start;
}

.profile-content__category-title {
    color: #b8b8b8;
}

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

.profile-content__element-header ul{
    display: inline;
    color: rgb(231, 231, 231);
}

.profile-content__element-header b{
    color: #9a9a9a;
}

.profile-content__element--hidden-mobile {
    height: min-content;
}

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

.profile-content__period {
    color: rbg(231,231,231);
    display: none;
}

.profile-content__institute {
    color: rgba(112, 112, 112, 0.96);
    margin-top: 0px;
    font-size: 14px;
}
label {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    color: #838a90;
    margin-left: 5px;
    margin-right: 5px;
}
input {
    background-color: transparent;
    color: white;
    margin-bottom: 10px;
    border: 0px;
    border-bottom: 2px solid #9a9a9a;
    margin-left: 8px;
    margin-right: 8px;
    height: 25px;
    width: calc(100% - 16px);
}

input[type=submit]{
    margin-left: 0px;
    margin-right: 0px;
    position: relative;
    padding: 0.5em 1em;
    width: 100%;
    min-width: fit-content;
    height: 50px;
    border: 0px;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 15px;
    background-color: #003171;
    color: white;
    font-size: 10px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.5);
}

input[type=submit]:disabled{
    margin-left: 0px;
    margin-right: 0px;
    position: relative;
    padding: 0.5em 1em;
    width: 100%;
    min-width: fit-content;
    height: 50px;
    border: 0px;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 15px;
    background-color: #9a9a9a;
    color: #cfcccc;
    font-size: 10px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.5);
}

input[tpye=submit]:active,
.active{
    top: 2px;
    left: 1px;
    box-shadow: none;
}

span {
    visibility: hidden;
}

textarea {
    background-color: transparent;
    color: white;
    border: 0px;
    border-bottom: 2px solid #9a9a9a;
    margin-left: 8px;
    margin-right: 8px;
    width: calc(80% - 16px);
    max-width: calc(100% - 8px);
}


@media only screen and (min-width: 800px) {
    
    .page {
        flex-direction: row;
        overflow-y: hidden;
        height: 100vh;
    }

    .personalia {
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: auto;
        background-color: #5c6166;
        margin: 2%;
        background-color: hsla(210, 5%, 20%, 0.8);
        border: double 10px hsla(210, 5%, 25%);
        border-radius: 40px;
    }

    .profile {
        width: 100%;
        overflow: hidden;
        margin: 2%;
        background-color: hsla(210, 5%, 20%, 0.8);
        border: double 10px hsla(210, 5%, 25%);
        border-radius: 40px;
    }

    .profile-buttons {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .profile-buttons__button {
        position: relative;
        padding: 0.5em 1em;
        width: 20%;
        min-width: fit-content;
        height: 40px;
        border: 0px;
        cursor: pointer;
        margin-top: 15px;
        background-color: #003171;
        color: white;
        font-size: 12px;
        font-weight: bold;
        display: inline-block;
        box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.5);
    }

    .profile-content{
        background-color: transparent;
        position: relative;
        padding: 15px;
        font-size: 20px;
    }

    .profile-section{
        background-color: transparent;
        margin:15px;
        left: 0;
        right: 0;
        position: absolute;
        width:calc(100% - 30px);
    }

    .person-name{
        order: -1;
        color: white;
    }

    .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*/

