body {
    background: linear-gradient(135deg, rgb(25, 25, 25), rgb(15, 15, 15));
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    font-family: "Inter";
    overflow-x: hidden;
    margin: 0;
}

#intro {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgb(20,20,20);
    transition: background-color 0.5s ease;
}


#boxblack{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;   
    background: linear-gradient(135deg, rgb(45, 45, 45), rgb(15, 15, 15));
    transition: width 1s cubic-bezier(0.165, 0.84, 0.44, 1) ;
}

#boxblack p{ white-space: nowrap;}
#loadingtext {
    position: absolute;
    right: 50px;
    top: 50%;
    font-weight: 600;
}

#loadingtext:before {
    content: "";
    position: absolute;
    left: -25px;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50px;
    top: 0.4em;
    animation: shrinkgrow 2s infinite;
}

@keyframes shrinkgrow{0% {transform: scale(0);} 50% {transform: scale(1);} 100% {transform: scale(0);}}

#introtext {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateX(100%);
    color: rgb(55, 55, 55);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transition: clip-path 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#introtext #highlight {
    font-weight: 800;
}

#logo {
    z-index: 101;
    position: absolute;
    left: 50%;
    top: 40vh;
    transform: translate(-50%, -50%);
    font-family: "Quicksand";
    font-size: 36px;
    transition: font-size 1s ease, top 1s ease, left 0.5s ease, transform 1s ease;
    margin: 0;
}

#logo img{
    transform: translateY(25%);
    margin-left: 30px;
    margin-right: 15px;
    width: 75px;
    height: 75px;
    transition: width 1s ease, height 1s ease, margin-left 1s ease, margin-right 1s ease;
}

#carousel {
    width: 100%;
    height: 500px;
    position: absolute;
    top: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#carousel #titles {
    position: absolute;
    top: 150px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    font-size: 22px;
    font-weight: 800;
    font-family: "Inter";
    z-index: 2;
    transition: transform 0.5s ease, left 0.5s ease;
    text-shadow: 0px 0px 35px rgba(0, 0, 0, 0.6);
}

#carousel #titles p {
    position: relative;
    margin: 0;
    font-size: 36px;
    width: 300px;
    text-align: center;
    transition: opacity 0.5s ease;
}

#carousel #titles .inactive {
    filter: blur(4px);
    opacity: 0.5;
    transition: filter 0.5s ease;
}


#carousel #titles .inactive:hover {
    filter: blur(0px)!important;
    cursor: pointer;
}

#carousel #titles .hidden {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#carousel #titles .titlestripe:empty {
    width: 50px;
    background-color: white;
    height: 5px;
    transition: width 0.5s ease;
    gap: 0px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
}

#carousel #project {
    position: absolute;
    left: calc(50vw - 400px);
    height: 500px;
    width: 800px;
    background-size: cover;
    background-position-x: center;
    transition: width 1s cubic-bezier(0.645, 0.045, 0.355, 1), left 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}
#carousel #project:hover {
    cursor: pointer;
}


#carousel #project #bottominfo {
    position: absolute;
    bottom: 0px;
    margin: 10px;
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    width: calc(800px - 40px);
    justify-content: space-between;
    align-items: center;
}

#carousel #project #bottominfo p {
    margin: 0;
    width: fit-content;
    font-size: 12px;
    font-family: "IBM Plex Sans";
}
#carousel #project #bottominfo .stripe:empty {
    background-color: white;
    height: 2px;
    width: 500px
}
#carousel #project #bottominfo #projectcta {
    transition: transform 0.5s ease;
}
#carousel #project #bottominfo #projectcta:hover {
    cursor: pointer;
    transform: translateX(5px);
}

#carousel #project #bottominfo #projectID {
    transition: transform 0.3s ease;
}
#carousel #project #bottominfo #projectID:hover {
    cursor: pointer;
    transform: skewX(-20deg);
}


#vscrollbar {
    position: fixed;
    right: 20px;
    top: 50vh;
    transform: translateY(-50%);
    height: 500px;
    width: 3px;
    background-color: rgba(60, 60, 60, 0.7);
    mix-blend-mode: difference;
    border-radius: 5px;
    z-index: 9;

}

#progressbar {
    position: absolute;
    top: 100px;
    height: 100px;
    width: 3px;
    background-color: rgba(197, 197, 197, 0.7);
    margin: 0;
    border-radius: 5px;
    transition: cubic-bezier(0.23, 1, 0.320, 1)
}

@keyframes carouselright {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    60% {
        transform: translateX(25px);
        opacity: 0;
    }
    61% {
        transform: translateX(-25px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes carouselleft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    60% {
        transform: translateX(-25px);
        opacity: 0;
    }
    61% {
        transform: translateX(25px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#container { margin: 0%; }

#circle {pointer-events: none; width: 150px; height: 150px; z-index: 5; position: absolute; color: white!important;}

#circle text { font-family: 'Inter', Arial; font-size: 21px; font-weight: bold; color: white!important; text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);}

#circle svg { color:white; position: absolute; left: 0; top: 0; width: 100%; height: 100%; 

  -webkit-animation-name: rotate;
     -moz-animation-name: rotate;
      -ms-animation-name: rotate;
       -o-animation-name: rotate;
          animation-name: rotate;
  -webkit-animation-duration: 5s;
     -moz-animation-duration: 5s;
      -ms-animation-duration: 5s;
       -o-animation-duration: 5s;
          animation-duration: 5s;
  -webkit-animation-iteration-count: infinite;
     -moz-animation-iteration-count: infinite;
      -ms-animation-iteration-count: infinite;
       -o-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
     -moz-animation-timing-function: linear;
      -ms-animation-timing-function: linear;
       -o-animation-timing-function: linear;
          animation-timing-function: linear;

}

@-webkit-keyframes rotate {
    from { -webkit-transform: rotate(360deg); }
    to { -webkit-transform: rotate(0); }
}
@-moz-keyframes rotate {
    from { -moz-transform: rotate(360deg); }
    to { -moz-transform: rotate(0); }
}
@-ms-keyframes rotate {
    from { -ms-transform: rotate(360deg); }
    to { -ms-transform: rotate(0); }
}
@-o-keyframes rotate {
    from { -o-transform: rotate(360deg); }
    to { -o-transform: rotate(0); }
}
@keyframes rotate {
    from { transform: rotate(360deg); }
    to { transform: rotate(0); }
}

#about {
    --title-offset: 200px;
    min-height: 100%;
    width: 100%;
    position: absolute;
    z-index: 8;
    top: 0;
    left: 0;
    background-color: rgb(20, 20, 20);
}

#about #socials {
    position: absolute;
    left: 25px;
    top: 50vh;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#about #socials .social{
    height: 32px;
    width: 32px;
    border-radius: 16px;
    background-color: white;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    transition: width 0.5s ease;
    color: black;
}
#about #socials .social:hover:nth-child(1){
    width: 120px;
}
#about #socials .social:hover:nth-child(2){
    width: 180px;
}
#about #socials .social:hover:nth-child(3){
    width: 150px;
}

#about #socials .social img{
    height: 16px;
    width: auto;
    margin: 8px;
}
#about #socials .social p{
    font-size: 12px;
    margin: 8px;
    white-space: nowrap;
}

#aboutme {
    height: 500px;
    width: 350px;
    margin-top: 200px;
    background-color: black;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
}

#aboutmetitle {
    position: absolute;
    top: 225px;
    left: calc(50vw - 400px);
    font-size: 88px;
    font-weight: 900;
    margin: 0;
    color: rgba(255, 255, 255, 1);
    filter: blur(1px);

}

.aboutmetext {
    font-size: 14px;
    width: 300px;
    text-align: justify;
    text-justify: inter-word;
    margin: 0;
}

#aboutmetext1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 575px;
    right: 650px

}
#aboutmetext2 {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    top: 200px;
    right: 250px;
    
}
#aboutmetext3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 675px;
    right: 100px;
    
}

p.dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 14px;
    background: white;
    margin: 22px;
}

p.dot:after {
    position: absolute;
    left: -6px;
    top: -6px;
    content: "";
    width: 20px;
    height: 20px;
    border: 1px solid white;
    border-radius: 32px;
}

#dotunder {
    position: absolute;
    bottom: -44px;
    left: 50%;
    
}

#line1 {
    position: absolute;
    right: 575px;
    top: 310px;
}
#line2 {
    position: absolute;
    right: 250px;
    top: 435px;
}

#aboutmeright {

    display: inline-block;
}

#aboutmeleft {
    width: 600px;
    height: 100%;
    margin: 0;
    margin-left: calc(50vw - 600px);
    display: inline-block;
}

#basedin {
    position: relative;
    width: 800px;
    margin-top: 400px;
    margin-left: auto;
    margin-right: auto;
}

#basedintitle {
    text-align: right;
}

#basedin img {
    width: 800px;
}
#basedin h1 {
    font-size:108px;
    font-family: "Inria Sans";
    margin: 0;
    font-weight: 100;
}

#amsterdamtitle {
    position: absolute;
    bottom: 0;
    right: -20px;
    transform-origin: bottom right;
    transform: rotate(90deg);
}

#qualifications {
    position: relative;
    width: 1400px;
    margin-top: 200px;
    margin-left: auto;
    margin-right: auto;
    
}
#qualifications h1{
    font-size: 106px;
}

.quality {
    position: relative;
    margin-top: 100px;
    margin-bottom: 100px;
    width: 900px;
    text-align: justify;
    transition: transform 0.5s 0.5s ease;

}

.quality:hover {
    transform: translateX(50px);
    cursor: pointer;
}

.quality .title {
    font-weight: 900;
}

.quality::after {
    position: absolute;
    bottom: -25px;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: white;
    transition: width 0.25s ease;
}

.quality:hover::after {
    width: 0;
}

.quality::before {
    position: absolute;
    bottom: 0px;
    left: -50px;
    content: "";
    width: 0px;
    height: 100%;
    background-color: white;
    transition: width 0.2s 0.5s ease;
}

.quality:hover:before {
    width: 10px;
}

 #projectnav {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    right: 100px;
    top: 200px;
    width: 200px;
    height: 200px;
    background-image: url(./Images/programming.gif);
    background-size: cover;
    background-position: center center;
    transition: top 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

#projectnav:hover {
    cursor: pointer;
}

#projectnav:hover > p,
#projectnav:hover > img{
    filter: blur(100px);
}

#projectnav img{
    width: 25px;
    height: 25px;
    margin-top: 20px;
    transition: filter 0.3s ease-in-out;
}

#projectnav p{
    font-weight: 600;
    transition: filter 0.3s ease-in-out;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

#contact {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100%;
    background-image: url(./Projects/Images/flow2.png);
    background-size: cover;
    background-position: center;
}

#contacttitle {
    margin-top: 150px;
    margin-left: 200px;
    margin-bottom: 200px;
    font-size: 64px;
    font-weight: 900;
    display: inline-block;
}

#contacttitle span {
    filter: blur(0px);
    transition: filter 0.5s ease, opacity 0.5s ease;
}

#contactform {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: 0;
    bottom: 0;
    padding: 50px 100px;
    height: calc(100vh - 100px);
    width: calc(500px - 100px);
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

#contactform h2 {
    margin: 0;
    margin-bottom: 75px;
    font-size: 28px;
}
#contactfields {margin-bottom: auto;}
#contactfields, #othercontacts {
    display: flex;
    flex-direction: column;
}


#contactform input {
    color: white;
    margin: 0;
    margin-bottom: 50px;
    background-color: transparent;
    border: none;
    height: 30px;
    width: 300px;
    border-bottom: 1px solid white;
}

#contactform input::placeholder {
    color: white;
    font-size: 14px;
    font-family: "Inter";
}

#submitcontact:hover{cursor: pointer;}

#submitcontact:hover img { margin-left: 20px;}

#submitcontact img{
    margin-left: 10px;
    transition: margin-left 0.2s ease 
}

#contactemail {
    margin-bottom: 50px;
}

.contactoption {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.contactoption img {
    width: 32px;
    height: 32px;
    filter: invert(1);
}

.contactoption .vertical {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: 30px;
    justify-content: end;
}


.contactoption .vertical p {
    margin: 0;
    font-size: 14px;
}

.contactoption .vertical p:hover {
    cursor: pointer;
}

.contactoption .vertical p img {
    height: 14px;
    width: 14px;
    margin-left: 5px;
    
}

p.bold {
    font-weight: 800;
}