@font-face {
    font-family: 'ClashDisplay-Extralight';
    src: url('../fonts/ClashDisplay-Extralight.woff2') format('woff2'),
         url('../fonts/ClashDisplay-Extralight.woff') format('woff'),
         url('../fonts/ClashDisplay-Extralight.ttf') format('truetype');
    font-weight: 200;
    font-display: swap;
    font-style: normal;
  }
  @font-face {
    font-family: 'ClashDisplay-Light';
    src: url('../fonts/ClashDisplay-Light.woff2') format('woff2'),
         url('../fonts/ClashDisplay-Light.woff') format('woff'),
         url('../fonts/ClashDisplay-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
    font-style: normal;
  }
  @font-face {
    font-family: 'ClashDisplay-Regular';
    src: url('../fonts/ClashDisplay-Regular.woff2') format('woff2'),
         url('../fonts/ClashDisplay-Regular.woff') format('woff'),
         url('../fonts/ClashDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
  }
  @font-face {
    font-family: 'ClashDisplay-Medium';
    src: url('../fonts/ClashDisplay-Medium.woff2') format('woff2'),
         url('../fonts/ClashDisplay-Medium.woff') format('woff'),
         url('../fonts/ClashDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
  }
  @font-face {
    font-family: 'ClashDisplay-Semibold';
    src: url('../fonts/ClashDisplay-Semibold.woff2') format('woff2'),
         url('../fonts/ClashDisplay-Semibold.woff') format('woff'),
         url('../fonts/ClashDisplay-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
    font-style: normal;
  }
  @font-face {
    font-family: 'ClashDisplay-Bold';
    src: url('../fonts/ClashDisplay-Bold.woff2') format('woff2'),
         url('../fonts/ClashDisplay-Bold.woff') format('woff'),
         url('../fonts/ClashDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
  }



/* General Styles */

html {
    scroll-behavior: smooth;
  }

body {
    /* background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(26,11,239,1) 20%, rgba(0,0,0,1) 40%); */
    display: flex;
    margin: 0;
    background-color: black;
    width: 90vw;
    overflow-x: hidden;
    font-family: 'ClashDisplay-Medium';
    font-weight: 400;
    font-style: normal;
    color: white;
    padding: 5vh 5vw 5vh 5vw;
    flex-direction: column;
    align-content: center;
}

/* You first need to target all scrollbars to override the DOM */
::-webkit-scrollbar {
    -webkit-appearance: auto;
}

/* Then you can target the :horizontal class on it's own */
::-webkit-scrollbar-thumb:horizontal {
    border-radius: 20px;
    background-color: #959595;
    margin-bottom: 1vh;
}

.bg {
    background: rgba(0, 0, 0);
    margin: 0 -5vw 0 -5vw;
    height: 490vh;
    position: relative; /* Required for absolute positioning inside */
}

/* Arrow pointing upward */
.arrow-up {
    position: absolute;
    top: 2vh;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.arrow-up {
  cursor: pointer;
  transition: transform 0.2s;
}

.arrow-up:hover {
  transform: translateX(-50%) scale(1.2);
}

/* Arrow pointing upward */

.true-header {
    margin: -5vh -5vw 0 -5vw;
    padding: 5vh 5vw;
    background: black;
    position: fixed;
    width: 90vw;
    z-index: 1;
}

.header-placeholder {
    height: 10vh;
}

.header_container img {
    position: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    /*top: 0;*/
    left: 0;
    width: 100vw;
}


.full_nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.nav_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}


.logo {
    display: flex;
    justify-content: flex-start;
}

.logo img {
    width: 3vw;
}

.nav_menu_container {
    display: flex;
    justify-content: center;
}

nav.nav_menu_text_container {
    padding-left: 8vw;
}


.nav_menu_text_l {
    display: flex;
}

.nav_menu_text_l li {
    display: flex;
    flex-direction: row;
    padding-left: 5vw;
    padding-right: 5vw;
}

.contact-button a {
    color: white;
    padding: 2vh 4vw 2vh 4vw;

     /* glass effect*/
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.hero-title {
    height: 15vh;
}

.hero-subtitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    z-index: -1;
}

.nav ul {
    display: flex;
    text-decoration: none;
}


.contact-button {
    display: flex;
    justify-content: flex-end;
}


.header-title_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30vh;
    padding-bottom: 27vh;
}

.social-media_container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    position: fixed;
    right: 5vw;
    z-index: -1;
}

.social-media_container img {
    padding-left: 1vw;
}

.social-media_container img {
    width: 3vw;
    height: auto;
}

.about-image img{
    position: absolute;
    width: 20vw;
}


/* language dropdown */

.language-dropdown {
    position: relative;
    display: inline-block;
  }
  
  #language-toggle {
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    min-width: 140px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 1;
  }
  
  .language-dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown-content a {
    padding: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    background-color: black;
  }
  
  .dropdown-content :hover {
    background-color: #f0f0f0;
    color: black;
  }
  
  .flag {
    width: 20px;
    height: 14px;
    margin-right: 8px;
  }
  


/* about me */

section#ABOUT {
    margin-top: 5vh;
    margin-bottom: 5vh;
    padding-top: 10vh;
    padding-bottom: 10vh;
    display: flex;
    justify-content: center;
}

.container-split_text_pic {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin: 0;
    padding: 5vh 4vw 5vh 4vw;
    border-radius: 30px;
    width: 82vw;
    height: 52vh;

    /* glass effect*/
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.container_text_left {
    width: 40vw;
}


a.rounded_button {
    color: black;
    align-items: center;
    background: white;
    padding: 1vh 2.5vw 1vh 2.5vw;
    border-radius: 100px;
    margin-top: 2vh;
}

.button {
    margin-top: 4vh;
}

.small_pic_right {
    display: flex;
}

.small_pic_right img {
    width: auto;
    height: 40vh;
    border-radius: 5%;
}


/* glass effect*/
section#PROJECTS {
    /* padding: 10vh 4vw 10vh 4vw; */
    margin-top: 5vh;
    margin-bottom: 5vh;
    padding-top: 10vh;
    padding-bottom: 10vh;
    /* background: rgba(0, 0, 255); */
}

.container-projects-big {
    display: flex;
    flex-direction: column;
    padding: 0 9vw;
    margin-bottom: 5vh;
}

.container_projects {
    flex-direction: row;
    align-items: center;

    /* gallerie */
    overflow-x: scroll !important;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;

     transform: scaleY(-1);
}

.container_projects_video {
    overflow-x: scroll !important;
    display: flex;
    overflow-x: auto;
    transform: scaleY(-1);
    flex-wrap: wrap;
}

.projects_row {
     transform: scaleY(-1);
}

.projects_img img {
    height: 340px;
    width: auto;
    /* border-radius: 30px; */
    padding-right: 1vw;
    padding-bottom: 1vh;
}

.projects_img iframe {
    height: 340px;
    width: 610px;
    margin-right: 1vw;
    margin-bottom: 1vh;
}

.projects_instagram {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}


.projects_instagram iframe {
    margin-right: 1vw !important;
    height: 460px;
}

.projects_linkedin {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}


.projects_linkedin iframe {
    margin-right: 1vw !important;
    height: 540px;
    width: 330px;
    overflow-x: hidden;
}



/* Footer */
footer {
    position: sticky;
    height: 10vh;
    background: black;
    margin: 0 -5vw -5vh -5vw;
    padding: 5vw;
} 

span.divider-line-footer {
    border-top: 1px solid #808080;
    display: block;
    background: black;
    margin-bottom: 5vh;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-links {
    display: flex;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    margin-right: 5vw;
}

.footer-socials {
    display: flex;
    flex-direction: column;
}

.footer-copyright {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.footer-copyright p {
    letter-spacing: 0.05em;
}


/* font */

h1 {    
    font-family: 'ClashDisplay-Medium';
    font-weight: 500;
    font-display: swap;
    font-style: normal;
    font-size: 5vw;

    margin: 0;
}

h2 {
    font-family: 'ClashDisplay-Light';
    font-weight: 300;
    font-display: swap;
    font-style: normal;
    font-size: 3.1vw;

    margin: 0;
}

h3 {
    font-family: 'ClashDisplay-Regular';
    font-weight: 400;
    font-display: swap;
    font-style: normal;
    font-size: 1.9vw;

    margin-top: 0;
    margin-bottom: 2vh;
}

.container_text h3 {
    margin-bottom: 0;
}

h4 {
    font-family: 'ClashDisplay-Light';
    font-weight: 300;
    font-style: italic;
    font-size: 1.1vw;
    margin: 0;
    color: #959595;
    margin-bottom: 1vh;
    letter-spacing: 0.05em;
}

h4.footer-title {
    font-family: 'ClashDisplay-Medium';
    font-weight: 300;
    font-size: 1.2vw;
    margin: 0 0 1vh 0;
    color: white;
    font-style: normal;
}

a.footer-link {
    font-family: 'ClashDisplay-Light';
    letter-spacing: 0.05em;
}

a {
    color: #808080;
    text-decoration: none;
    font-size: 1.2vw;
}

a:hover {
    color: #a9a9a9;
    text-decoration: none;
    font-size: 1.2vw;
}


p {
    font-family: 'ClashDisplay-Extralight';
    font-weight: 300;
    font-display: swap;
    font-style: normal;
    font-size: 1.2vw;
    margin: 0;
}

.container_text_left p {
    letter-spacing: 0.1em;
}

.container_text p {
    color: #959595;
    margin-bottom: 2vh;
}

.no-show {
    display: none;
}

h2.no-show-subtitle {
    letter-spacing: 0.1em;
    width: 80vw;
}



/* No show at low px*/

@media only screen and (max-width: 1024px) {
    .no-show {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 70vh;
        background: black;
        z-index: 100;
    }

    .no-show-subtitle {
        text-align: center;
    }

    body {
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .bg, .header_container, .header-title_container {
        display: none;
    }
}

@media only screen and (max-width: 3000px) {
    .header_container img {
    top: 0;
    }
}



/* responsive font*/

@media only screen and (max-width: 1700px) {
    p {
        font-size: 1.4vw;
    }

     a {
        font-size: 1.4vw;
    }

    h4.footer-title {
        font-size: 1.4vw;
    }

     h4 {
        font-size: 1.2vw;
    }

    .container-split_text_pic {
        max-height: 35vw
    }

    .bg {
        height: 460vh;
    }

    #page-loader h3 {
    font-size: 2vw;
    }

    #page-loader h3 {
    font-size: 3vw;
    }

    .small_pic_right img {
    width: auto;
    height: 40vh;
}

    .header_container img {
    top: 0;
    }

}




@media only screen and (max-width: 1528px) {
    .container_projects_video {
        flex-wrap: nowrap;
    }
}



@media only screen and (max-width: 1500px) {
    p {
        font-size: 1.5vw;
    }

     a {
        font-size: 1.5vw;
    }

    h4.footer-title {
        font-size: 1.5vw;
    }

     h4 {
        font-size: 1.3vw;
    }

    .container-split_text_pic {
        max-height: 40vw
    }

    .bg {
        height: 470vh;
    }

    #page-loader h3 {
    font-size: 3vw;
    }

    .small_pic_right img {
    width: auto;
    height: 35vh;
}

}



@media only screen and (max-width: 1300px) {
    p {
        font-size: 1.7vw;
    }

    a {
        font-size: 1.7vw;
    }

    h4.footer-title {
        font-size: 1.7vw;
    }

    a.footer-link {
        font-size: 1.7vw;
    }

    h4 {
        font-size: 1.5vw;
    }

    .container-split_text_pic {
        max-height: 45vw
    }

    .bg {
        height: 465vh;
    }

    #page-loader h3 {
    font-size: 3vw;
    }

    .small_pic_right img {
    width: auto;
    height: 25vh;
}


}


@media only screen and (max-width: 1024px) {
    p {
        font-size: 2vw;
    }

    a.footer-link {
        font-size: 2vw;
    }

    h4.footer-title {
        font-size: 2vw;
    }

    .logo img {
        width: 4vw;
    }

     h1.no-show-title {
         font-size: 5vw;
     }

     h2.no-show-subtitle {
         font-size: 3vw;
     }

     #page-loader h3 {
    font-size: 3vw;
    }


}

@media only screen and (max-width: 600px) {
    p {
        font-size: 3vw;
    }

    a {
        font-size: 3vw;
    }

    a.footer-link {
        font-size: 3vw;
    }

    h4.footer-title {
        font-size: 3vw;
    }

    .logo img {
        width: 5vw;
    }

    #page-loader h3 {
    font-size: 3vw;
    }

}






/* Loader wrapper */
#page-loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  flex-direction: column;
}

#page-loader h3 {
    margin-top: 5vh;
    letter-spacing: 0.05em;
}

#page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Watch face */
.watch-face {
  position: relative;
  width: 200px;
  height: 200px;
  border: 5px solid #fff;
  border-radius: 50%;
  background-color: #000;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

/* Hour marks (12) */
.marks {
  position: absolute;
  width: 100%;
  height: 95%;
  top: 0;
  left: 0;
}

.marks .mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 12px;
  background: white;
  transform-origin: center center;
}



/* Center dot */
.center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

/* Hands */
.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 2px;
  transform: translateX(-50%) rotate(0deg);
}

.hour-hand {
  width: 6px;
  height: 55px;
  background-color: #fff;
  z-index: 1;
}

.minute-hand {
  width: 4px;
  height: 85px;
  background-color: #fff;
  z-index: 2;
}

.second-hand {
  width: 2px;
  height: 85px;
  background-color: white;
  z-index: 3;
  transition: transform 0.2s ease-in-out;
}