body {
    margin: 0;
    top: 0; 
    width: 100vw; 
    height: 100vh; 
    max-width: 100%;
    max-height: 100%;
    background-color: #ecececec; 
    font-family: Lato, sans-serif;
}

header {
    height: 4vh;
    max-height: 70px;
    max-width: 100%;
    padding: 0.6%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(43, 43, 43);
}


.menu_list {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-right: 7%;
}

.menu_item {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin: 0;
    margin-left: 10%;
    text-decoration: none;

    padding: 10%;
    border-radius: 20px;
    transition: 0.3s;

}

.menu_item:hover {
    background-color: #606060;
    color: #ffffff;
}

.menu_logo {
    margin-left: 7%;
}

.menu_logo a {
    text-decoration: none;
    color: #ffffff;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #000000;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

.close-overlay {
    cursor: pointer;
    font-size: 2em;
    float: right;
    transition: 0.3s;
}

.close-overlay:hover {
    color: #b3b3b3;
}

.blur-overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(65, 65, 65, 0.5);
    z-index: 10;
    backdrop-filter: blur(5px);
}

.overlay {
    position: fixed;
    display: none;
    margin: auto;
    width: 65%;
    height: 75%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(39, 38, 38);
    z-index: 100;
    color: #EEEEFF;
    border-radius: 15px;
    border: 2px solid #506c86;
    padding: 2%;
    padding-right: 5%;
    padding-left: 5%;
}

.smalloverlay {
    position: fixed;
    display: none;
    margin: auto;
    width: 30%;
    height: 20%;
    min-width: 220px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(39, 38, 38);
    z-index: 100;
    color: #EEEEFF;
    border-radius: 15px;
    border: 2px solid #506c86;
    padding: 2%;
    padding-right: 5%;
    padding-left: 5%;
}

@view-transition {
  navigation: auto;
}

@media not (prefers-reduced-motion: reduce) {
  .project-header { view-transition-name: project-header; }
}