/*mobile version*/

.page {
    display: flex;
    flex-direction: column;
    font-family: Arial;
    padding: 2% 3%;
    gap: 20px;
}

.personalia {
    background-color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 400px;
    border-radius: 30px;
}

#canvasSection {
    background-color: #faf8f8;
    width: 100%;
    flex: 3;
    border-radius: 30px;
    display: flex;
    min-height: 200px;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}

#canvasContainer {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
}

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

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

.profile-content__category-title {
    color: rgba(39, 140, 39, 0.96);
    font-size: 24px;
    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-size: 20px;
    margin-bottom: 2px;
    margin-top: 6px;
}

.profile-content__period {
    display: none;
}

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

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

}


/*student uitwerking*/

/*font*/
.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
.poppins-regular {
font-family: "Poppins", sans-serif;
font-weight: 400;
font-style: normal;
}

.poppins-medium {
font-family: "Poppins", sans-serif;
font-weight: 500;
font-style: normal;
}

.poppins-semibold {
font-family: "Poppins", sans-serif;
font-weight: 600;
font-style: normal;
}

.poppins-bold {
font-family: "Poppins", sans-serif;
font-weight: 700;
font-style: normal;
}

.poppins-light-italic {
font-family: "Poppins", sans-serif;
font-weight: 300;
font-style: italic;
}

.poppins-regular-italic {
font-family: "Poppins", sans-serif;
font-weight: 400;
font-style: italic;
}

.poppins-medium-italic {
font-family: "Poppins", sans-serif;
font-weight: 500;
font-style: italic;
}

.poppins-semibold-italic {
font-family: "Poppins", sans-serif;
font-weight: 600;
font-style: italic;
}

.poppins-bold-italic {
font-family: "Poppins", sans-serif;
font-weight: 700;
font-style: italic;
}

/*cookies*/
#cookies-window {
    position: absolute;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.cookies-container {
    width: 500px;
    background-color: white;
    border-radius: 10px;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookies-wrapper {
    width: 80%;
    padding: 30px 0;
}

.cookies-wrapper h3 {
    margin-top: 0;
}

.cookies-option-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.cookies-option-buttons button {
    padding: 10px 20px;
    font-size: 18px;
}

#cookies-denied {
    border: 2px gray solid;
    background: none;
    font-size: 16px;
}

#cookies-accepted {
    border: 2px #10AC0A solid;
    background-color: #10AC0A;
    color: white;
}

#cookies-accepted:hover, #cookies-accepted:focus {
    background-color: #099e01;
    border: 2px #099e01 solid;
}

#cookies-denied:hover, #cookies-denied:focus {
    background-color: #eee;
}

/* Content */
body {
    height: 100vh;
    background: linear-gradient(138deg, rgba(2,0,36,1) 0%, rgba(5,92,82,1) 27%, rgba(0,212,255,1) 100%);
}
.nav {
    background-color: white;
    display: flex;
    flex-direction: row;
    padding: 10px;
    justify-content: center;
}

.nav-wrapper {
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:space-between;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 30px;
}

.draw-link {
    padding: 10px 50px;
    border-radius: 10px;
    background: none;
    background-color: none;
    border: 2px #17c411 solid;
    font-size: 1.8rem;
    transition: background-color 0.2s, color 0.2s;
    color: black;
}

.draw-link:hover {
    background-color: #17c411;
    color: white;
    text-transform: none;
    text-decoration: none;
}

.nav-icon {
    font-size: 32px;
}

.logo {
    max-height: 50px;
}

.nav-button {
    background: none;
    border: none;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
    text-align: center;
}

.searchbar-container {
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}


#searchbar {
    padding: 10px;
    font-size: 1.5rem;
    width: 300px;
}

#searchButton {
    padding: 10px 30px;
    background: none;
    border: 2px solid black;
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
}
#searchButton:hover, #searchButton:focus {
    background-color: black;
    color: white;
}
  
  /* Dropdown Content (Hidden by Default) */
.nav-dropdown-content {
    display: none;
    position: absolute;
    transform: translate3d(-100px, 0, 0);
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
  
  /* Links inside the dropdown */
.nav-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
    text-transform: none;
}
.nav-dropdown-content a:hover {
    text-decoration: none;
    color: black;
    text-transform: none;
}

  
.nav-dropdown-content a:hover {background-color: #ddd;}
  
.nav-dropdown:hover .nav-dropdown-content {display: block;}