@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.fixed-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    color: whitesmoke;
    padding: 12px 12px;
    z-index: 10;
    text-align: center;
    width: 100%;
    background-color: rgb(35, 35, 35, 0.8);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding-left: 80px;
    padding-right: 80px;
}

#logo {
    height: 40px;
    display: flex;
    align-self: center;
}

.nav-links {
    list-style: none;
    display: flex;
    align-self: center;
}

.nav-links li {
    margin: 0px 20px;
}

.nav-links a {
    color: #E6BE8A;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links {
    position: relative;
}

.nav-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    background-color: #E6BE8A;
    transition: all 0.3s ease;
    width: 0;
    pointer-events: none;
}

.nav-links a.active {
    color: whitesmoke;
}

.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
    text-decoration: none;
}


.dropdown-content {
    position: absolute;
    background-color: rgb(35, 35, 35, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 180px;
    z-index: 1;
    text-align: left;
    font-size: 12pt;
    left: 0;
    top: 52px;
    right: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.dropdown-content li {
    list-style: none;
    margin: 0;
    padding-top: 6px;
    padding-left: 12px;
}

.dropdown-content li a {
    color: #E6BE8A;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content li a:hover {
    color: whitesmoke;
}

.dropdown:hover .dropdown-content {
    max-height: 100px;
    opacity: 1;
}

body {
    color: whitesmoke;
    background-color: black;
    font-family: 'Montserrat', sans-serif;
    font-size: 12pt;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    overflow-x: hidden;
}

a {
    color: #E6BE8A;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
}

a:hover {
    color: whitesmoke;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
}

h1 {
    color: whitesmoke;
    font-family: 'Montserrat', sans-serif;
    font-size: 48pt;
    font-weight: 500;
    line-height: normal;
}

h2 {
    color: whitesmoke;
    font-family: 'Montserrat', sans-serif;
    font-size: 24pt;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

h3 {
    color: whitesmoke;
    font-family: 'Montserrat', sans-serif;
    font-size: 48pt;
    font-weight: 500;
    line-height: normal;
}

h4 {
    color: #E6BE8A;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5vh;
    font-weight: 500;
    line-height: normal;
    text-transform: none;
    margin: 6px 20px;
}

h5 {
    color: whitesmoke;
    font-family: 'Montserrat', sans-serif;
    font-size: 2vh;
    font-weight: 400;
    line-height: normal;
    text-transform: none;
    margin: 6px 20px;
}

h6 {
    color: whitesmoke;
    font-family: 'Montserrat', sans-serif;
    font-size: 32pt;
    font-weight: 400;
    line-height: normal;
}


header {
    background-color: #232323;
    height: 100vh;
    padding-top: 20px;
    padding-left: 120px;
    padding-right: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    box-sizing: border-box;
}

.profile {
    width: 100%;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    box-sizing: border-box;
}

.intro {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

header p {
    color: whitesmoke;
    font-family: 'Montserrat', sans-serif;
    font-size: 32pt;
    font-weight: 400;
    margin: 0%;
}

#profile {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    box-sizing: border-box;
}

.icons {
    max-width: 100%;
    padding-bottom: 20px;
    padding-top: 60px;
    gap: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.icons img {
    max-height: 64px;
    max-width: 100%;
    min-width: 0;
    height: auto;
    width: auto;
    box-sizing: border-box;
}

.connect {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 60px;
}

.platform {
    gap: 12px;
    display: flex;
    align-items: center;
}

.platform img {
    height: 24px;
    width: auto;
}

.platform p {
    font-size: 12pt;
}

.platform a {
    text-transform: none;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 1.5s infinite;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.scroll-down-indicator img {
    height: 24px;
    width: auto;
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.5;
    }

    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

#aboutme {
    scroll-margin-top: 120px;
}

.aboutme {
    padding-top: 40px;
    padding-left: 120px;
    padding-right: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-image: url("img/backgroundvisual.png");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 60%;
}

.aboutme p {
    padding-left: 80px;
    padding-right: 80px;
    text-align: left;
}

#manifesto {
    scroll-margin-top: 120px;
}

.manifesto {
    min-height: 720px;
    padding: 40px 120px 40px 120px;
    background-image: url("img/backgroundvisual4.png");
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 50%;
}

.manifesto h3 {
    font-size: 48pt;
    font-weight: 500;
    text-align: center;
    margin-bottom: 80px;
    color: whitesmoke;
}

.manifesto-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    object-fit: contain;
}

.manifesto-cards {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2vw;
    object-fit: contain;
}

.manifesto-card {
    background-color: #2a2a2a;
    border: 2px solid #E6BE8A;
    padding: 2vh;
    gap: 2vh;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 200px;
    min-width: 120px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.manifesto-card img {
    height: 10vh;
    width: auto;
}

.manifesto-card:hover {
    border-color: whitesmoke;
    flex-shrink: 0;
    flex-grow: 0;
}

.manifesto-card.active {
    border-color: whitesmoke;
    flex-shrink: 0;
    flex-grow: 0;
}

.card-title {
    font-size: 12pt;
    font-weight: 500;
    text-transform: uppercase;
    color: whitesmoke;
    line-height: 1.2;
    width: 12vw;
}

.manifesto-text {
    position: fixed;
    left: 120px;
    right: 120px;
    padding-top: 40px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: visible;
}

.manifesto-text.visible {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.manifesto-text h4 {
    font-size: 32pt;
    font-weight: 500;
    color: whitesmoke;
    margin-bottom: 20px;
    margin-left: 0px;
}

.manifesto-text p {
    font-size: 12pt;
    font-weight: 400;
    color: whitesmoke;
    line-height: 1.6;
}

.background {
    padding-top: 40px;
    padding-left: 120px;
    padding-right: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-image: url("img/backgroundvisual2.png");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 50%;
}

#backgr {
    scroll-margin-top: 120px;
}

#background {
    align-self: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
}

#background1,
#background2-3 {
    max-width: 36vw;
    min-height: 0;
    min-width: 0;
    width: auto;
    height: auto;
    padding-bottom: 40px;
    box-sizing: border-box;
}

#background2-3 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cvbutton {
    color: black;
    background-color: #E6BE8A;
    height: 40px;
    width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.cvbutton:hover {
    background-color: whitesmoke;
}


#project {
    scroll-margin-top: 120px;
}

#project20,
#project24,
#project25 {
    scroll-margin-top: 260px;
}

.projectmain {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.project {
    padding-top: 40px;
    padding-left: 120px;
    padding-right: 120px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.projectboxbig {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    gap: 2vw;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 8vh;
}

.projectbox {
    background-color: #232323;
    height: 60vh;
    box-sizing: border-box;
    display: flex;
    align-content: stretch;
    flex: 1;
    min-width: 160px;
}

.projectbox a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-decoration: none;
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.projectbox img {
    max-width: 100%;
    width: 100%;
    height: 60%;
    margin-bottom: 10px;
    box-sizing: border-box;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

.projectinfo {
    height: 40%;
    width: 100%;
    box-sizing: border-box;
}

.projectbox:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.year {
    max-height: 40px;
    padding-bottom: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 20px;
    box-sizing: border-box;
}

.line {
    background-color: #E6BE8A;
    height: 2px;
    width: max-content;
    flex-grow: 1;
    box-sizing: border-box;
}

footer {
    height: 200px;
    padding-left: 120px;
    padding-right: 120px;
    padding-bottom: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    background-image: url("img/backgroundvisual3.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 75%;
}

.hamburger {
    display: none;
}

@media screen and (max-width: 1024px) {
    * {
        box-sizing: border-box;
    }

    .nav-container,
    header,
    .aboutme,
    .manifesto,
    .background,
    #background,
    .project,
    .projecttable,
    .manifesto,
    footer {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .fixed-nav {
        background-color: #232323;
    }

    .nav-container {
        flex-direction: row-reverse;
        padding: 0;
        width: 100vw;
    }

    .nav-underline {
        display: none;
        pointer-events: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #232323;
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        padding-left: 0;
        padding-bottom: 20px;
        z-index: 9;
        font-size: 16pt;
    }

    .nav-links.show {
        display: flex;
        align-items: center;
        overflow: visible;
    }

    .hamburger {
        width: 36px;
        height: 30px;
        position: relative;
        cursor: pointer;
        z-index: 11;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .bar {
        position: absolute;
        width: 36px;
        height: 4px;
        background-color: #E6BE8A;
        transition: all 0.3s ease;
    }


    .nav-links li {
        margin: 20px 0 20px;
    }

    .bar:nth-child(1) {
        top: 0;
    }

    .bar:nth-child(2) {
        top: 13px;
    }

    .bar:nth-child(3) {
        top: 26px;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg);
        top: 13px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg);
        top: 13px;
    }

    .scroll-down-indicator {
        display: none;
    }

    .dropdown-content {
        display: none;
        max-height: none !important;
    }

    .dropdown-content.show {
        position: static;
        width: 100%;
        background-color: #232323;
        max-height: none;
        opacity: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
        overflow: visible;
    }

    .dropdown-content.show li {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .dropdown-content.show li a {
        display: block;
        width: 100%;
        color: #E6BE8A;
        text-align: center;
        font-size: 12pt;
        text-align: center;
        padding: 0;
    }

    .dropbtn {
        width: 100%;
        text-align: center;
    }

    h1 {
        font-size: 42pt;
    }

    h2 {
        font-size: 16pt;
    }

    h3 {
        font-size: 32pt;
    }

    h6 {
        font-size: 20pt;
    }

    header {
        height: auto;
    }

    .profile {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
        gap: 40px;
    }

    header p {
        font-size: 20pt;
    }

    #profile {
        max-width: 100%;
        min-width: 0;
        max-height: 500px;
        min-height: 0;
        width: auto;
        height: auto;
        box-sizing: border-box;
    }

    .intro {
        max-width: none;
    }

    .icons {
        max-width: 100%;
        gap: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        flex-wrap: nowrap;
    }

    .connect {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding-bottom: 60px;
    }

    .platform {
        gap: 12px;
        display: flex;
        align-items: center;
    }

    .platform img {
        height: 20px;
        width: auto;
    }

    .platform p {
        font-size: 10pt;
    }

    .platform a {
        font-size: 10pt;
    }

    .aboutme {
        height: auto;
        background-size: 100%;
        background-position: top;
    }

    .aboutme p {
        padding-left: 0;
        padding-right: 0;
    }

    .manifesto {
        padding-top: 40px;
        background-image: none;
    }

    .manifesto h3 {
        font-size: 32pt;
        margin-bottom: 40px;
    }

    .manifesto-cards {
        flex-direction: column;
        gap: 20px;
    }

    .card-wrapper {
        display: flex;
        flex-direction: column;
    }

    .manifesto-card {
        min-height: 10vh;
        padding: 10px;
        margin-bottom: 0;
        flex-direction: row;
        justify-content: center;
    }

    .card-title {
        width: 50%;
        font-size: 2vh;
    }

    .manifesto-text {
        padding: 30px 20px;
        min-height: auto;
        position: static;
    }

    .manifesto-text h4 {
        font-size: 20pt;
    }

    .manifesto-text p {
        font-size: 12pt;
    }

    .background {
        background-size: 100%;
    }

    #background {
        gap: 0;
        width: 100%;
    }

    #background1,
    #background2-3 {
        max-width: 480px;
        min-height: 0;
        min-width: 0;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

    .year {
        gap: 10px;
        box-sizing: border-box;
    }

    .projectboxbig {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column-reverse;
        gap: 4vh;
        align-items: center;
    }

    .projectbox {
        height: auto;
        min-height: 50vh;
        width: 80%;
    }

    .projectbox img {
        height: 40vh;
        max-height: 40vh;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .projectinfo {
        height: auto;
        width: 100%;
        box-sizing: border-box;
    }

    footer {
        height: auto;
        padding-bottom: 20px;
        padding-top: 40px;
        display: flex;
        justify-content: center;
    }
}