/* Standaard instellingen/variabelen */
:root {
    --color-borders: purple;
    --color-text-button: whitesmoke;
    --standard-dark-purple: rgba(83, 39, 140, 0.96);
    --standard-purple: #ccb5db;
    --standard-faded-white: #faf8f8;
    --light-purple-pink: #f0daff;
}

/*mobile version*/
body{
    margin: 0px;
    margin-top: 46px;
    padding: 0px;
}

h1{
    font-size: 32px;
    color: var(--standard-dark-purple);
    text-shadow: -2px 2px 1px black;
}

/*Header*/
ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--standard-dark-purple);
}

ul.topnav li.right {float: right;} 
ul.topnav li {float: left;}
  
ul.topnav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
  
ul.topnav li a:hover:not(.active) {background-color: #260035;}
  
ul.topnav li a.active {background-color: #04AA6D;}

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

.personalia {
    background-color: var(--standard-purple);
    min-width: none;
    max-width: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile {
    background-color: var(--standard-faded-white);
    width: 100%;
}

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

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

.profile-content__category-title {
    color: var(--standard-dark-purple);
    font-weight: bold;
}

.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: var(--standard-dark-purple);
    margin-top: 0px;
    font-size: 14px;
}

.text-block {
    color: white !important;
    background-color: var(--standard-dark-purple) !important;
    border-radius: 4px;
    display: inline-block;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    margin-left: 4px;
}

hr {
    display: block;
    unicode-bidi: isolate;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    overflow: hidden;
    border-style: solid;
    border-width: 2px;
    border-color: var(--standard-dark-purple);
}

@media only screen and (min-width: 800px) {
    ul.topnav li.right,
    ul.topnav li {float: left;}
    
    .page {
        flex-direction: row;
    }

    .person-name{
        order: -1;
    }

    .personalia {
        min-width: 00px;
        max-width: 500px;
    }

    .person-logo {
        width: 190px;
    }

    .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 form*/
.gdpr-consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    margin: 5px;
    border: 5px solid var(--standard-dark-purple);
    border-radius: 15px 15px 15px 15px;
    background-color: var(--light-purple-pink);
}

.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 {
    border: none;
    color: var(--color-fg);
    width: auto;
    height: 3em;
    line-height: 2em;
    text-align: center;
    background: linear-gradient(90deg, rgba(83, 39, 140, 0.96), #f441a5, #f441a5, rgba(83, 39, 140, 0.96));
    background-size: 300%;
    border-radius: 30px;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 1;
}

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

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

.hide{
    display: none;
}

.show{
    display: block;
}


/*Buttons*/
.button1 {
    min-width: 100px;
    width:auto;
    padding: 1px 10px;
    border-radius: 12px;
    background-color: var(--color-bg);
    color: white;
    border: 2px solid var(--color-borders);
}
.button1:hover {
    animation: animation 8s linear infinite;
    border: 2px solid var(--color-borders);
}
@keyframes animation {
    0% { background-position: 0%; }
    100% { background-position: 400% }
}

/* Skill Bars */
* {box-sizing:border-box}

.skillbar-container {
    width: 100%; /* Full width */
    background-color: #ddd; /* Grey background */
    border-radius: 5px;
  }

.skills {
    text-align: right; /* Right-align text */
    padding-top: 10px; /* Add top padding */
    padding-bottom: 10px; /* Add bottom padding */
    padding-right: 10px;
    border-radius: 5px;
    color: white; /* White text color */
}
  
.html {width: 90%; background-color: var(--standard-dark-purple);}
.css {width: 80%; background-color: var(--standard-dark-purple);}
.js {width: 40%; background-color: var(--standard-dark-purple);}
.php {width: 60%; background-color: var(--standard-dark-purple);}