/* GENERAL */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* https://fontawesome.com/ */


* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Open Sans", sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

p {
    color: rgb(51, 51, 51);
}

/*
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
*/

/* NOTIFICATION */ 

.notification-bar{
    opacity: 0.9;
    position: fixed;
    top: 0;
    background: #7f0000;
    color: #ffffff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.notification-bar.active{
    transform: translateY(0);
}

.notification{
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-text{
    font-size: 1rem;
    padding-right: 0.5rem;
}

.notification-bar .persondigging{
    font-size: 1.5rem;
    padding: 0.5rem;
}

.notification-bar .close{
    position: absolute;
    right: 0.5rem;
    opacity: 0.5;
    cursor: pointer;
}

.notification-bar .close{
    font-size: 1rem;
    padding: 0.5rem;
    opacity: 0.7;
    cursor: pointer;
}

.notification-bar .close:hover{
    opacity: 1;
}

.notification-bar .progress{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: #ffbebe;
    animation: progress 10s linear forwards;
}

.notification-bar .progress:before{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: #ff0000;
}

.progress.active::before{
    animation: progress 10s linear forwards;
}

@keyframes progress{
    100% {
        right: 100%;
    }
}

/* TRANSITION */

a, .btn {
    transition: all 0.3s ease;
}

/* NAVIGATION */
nav, .nav-links {
    display: flex;
}

nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    text-decoration-color: white;
    color: #333;
}

a:hover {
    color: #7f0000;
    text-decoration: underline;
    text-underline-offset: 8px;
}

.logo {
    font-size: 2rem;
    font-weight: 200;
    color: #000000;
}

.logo:hover {
    cursor: default;
}

/* BURGER MENU */

#burger-nav {
    display: none;
}

.burger-menu {
    position: relative;
    display: inline-block;
}

.burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.burger-icon span {
    width: 100%;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease-in-out;
}

.burger-links {
    position: absolute;
    top: 150%;
    right: 0;
    background-color: #ffffff;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border-radius: 16px;
    box-shadow: #9f9f9f 0px 4px 8px, #9f9f9f 0px 6px 20px;
}

.burger-links a {
    display: block;
    padding: 10px;
    text-align: left;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.burger-links li {
    list-style: none;
}

.burger-links.open {
    max-height: 350px;
}

.burger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.burger-icon.open span:nth-child(2) {
    opacity: 0;
}

.burger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.burger-icon span:first-child {
    transform: none;
}

.burger-icon span:nth-child(2) {
    opacity: 1;
}

.burger-icon span:last-child {
    transform: none;
}

/* SECTION */

section {
    padding: 4vh;
    height: 100%;
    /*margin: 0 10rem;*/
    box-sizing: border-box;
    min-height: fit-content; 
}

.section-container {
    display: flex;
}

.picture-container {
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
}
.picture-container-big {
    display: flex;
    height: 600px;
    width: 600px;
    margin: auto 0;
}

.section-text {
    align-self: center;
    text-align: center;
}

.section-text p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-top: 1rem;
}

.section-text-1 {
    text-align: center;
}

.section-text-2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-text-3 {
    align-self: center;
    text-align: center;
}

.section-text-3 p{
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 1rem;
}

.section-text-4 {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-top: 0;
}

/* PROFILE */

#profile {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
}

img {
    border-radius: 50px;;
}



.title {
    font-size: 2.5rem;
    text-align: center;
    /* white-space: nowrap; */
}

#social-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    max-height: 48px;
}

/* ICON */

.icon {
    cursor: pointer;
    height: 2rem;
    font-size: 32px;
}

/* BUTTONS */

.button-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 10px 20px;
    width: 8rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-clr-1, .btn-clr-2 {
    border: none;

}

.btn-clr-1:hover, .btn-clr-2:hover {
    background-color: #7f0000;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

/* ABOUT */

.about-container {
    display: flex;
    justify-content: center;
    gap: 5rem;
    align-items: center;
}

.about-experience {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 50px;
    margin: 2rem auto 0 auto;
    background: #ffffff;
    border: #333 1px solid;
    border-radius: 50px;
    width: fit-content;
}

.about-experience-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 2rem;
}

.about-experience-container2 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    
}

.experience-element-container {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
}

/* PROJECTS */

.projects-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: fill-available;
    gap: 2rem;
}

.project {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 50px;
    background: #ffffff;
    border: #333 1px solid;
    border-radius: 50px;
}

/* CONTACT */

.contact-section {
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact-container-outer {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: #333 1px solid;
    border-radius: 50px;
    width: fit-content;
}

.contact-info-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 40px;
}