@import url('https://fonts.googleapis.com/css2?family=Julius+Sans+One&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Krub&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krub:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krub:wght@200&display=swap');

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 5px;
    border-radius: 20px;
  }

::-webkit-scalbar-thumb {
    background: #1e1e1e;
    border-radius: 20px;
}

.startingPage {
    position: relative;
}

.startingPage video {
    right: 0;
    top: 0;
    width: 100vw;
    z-index: -1;
    position: absolute;
}

nav {
    background-color: rgba(0, 0, 0, 0.3);
    /* background-image: url("../images/Clouds.png");
    background-size: contain, cover;
    background-repeat: no-repeat; */
    position: fixed;
    /* height: 400px; */
    z-index: 10;
    width: 100%;
}

nav ul{
    padding-top: 5px;
    padding-bottom: 5px ;
    display: inline-block;
    justify-content: center;
    text-align: center;
    background-color: (255,255,255,0.5);
}

nav ul li {
    display: inline-block;
    margin: 10px 15px;
}

nav ul li a {
    font-family: 'Julius Sans One', sans-serif;
    color: rgb(255, 255, 255);
    font-size: 20px;
    text-decoration: none; 
    transition: 0.3s;  
}

nav ul li a:hover {
    color: #6092ff;
}

nav ul li a:nth-child(5) {
    color: rgb(0, 0, 0);
}

/* STARTING PAGE */
header {
    padding-bottom: 15px;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    color: white;
}

header .forest img {
    z-index: 3;
    width: 100%;
    height: 50px;
    max-height: 30%;
    bottom: 0;
    left: 0;
    position: absolute;
}

header .headerText {
    padding-top: 100px;
    padding-bottom: 30px;
    z-index: 4;
}

header h1 {
    font-size: 6vw;
    font-weight: lighter;
}

header h3 {
    padding-top: 10px;
    font-size: 4vw;
    font-weight: lighter;
}

/* ABOUT ME */
.aboutMe {
    padding: 50px 8vw 0px 8vw;
    background-color: #EEEEEE;
}

.aboutMe section {
    padding-bottom: 20px;
}

.aboutMe section h2 {
    padding-bottom: 30px;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 7vw;
}

.aboutMe section p {
    font-family: 'Krub', sans-serif;
    text-align: justify;
}

span {
    color: #3d62b1;
}

.aboutMe .self-image img {
    width: 300px;
    justify-content: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.forest2 {
    background-color: #EEEEEE;
    display: block;
    line-height: 0;
    overflow: hidden;
}

figure .forest2 img {
    min-width: 100%;
    max-height: 40%;
    display: block;
}

/* PROJECTS */
.projects {
    background-color: #f5f5f5;
    padding: 0 10vw 50px 10vw;
    justify-content: center;
    overflow-y: hidden;
}

.projects h2 {
    text-align: center;
    padding-bottom: 20px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 7vw;
    font-weight: 600;
}

.projects li h2 {
    font-family: 'Josefin Sans', sans-serif;
}

.projects .gallery-cell h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 30px;
    padding-bottom: 1vw;
    padding-top: 2vw;
    text-align: center;
}

.projects .gallery-cell p {
    font-family: 'Krub', sans-serif;
    text-align: justify;
}

.projects .singleProject {
    padding-left: 10vw;
    padding-right: 10vw;
    scroll-snap-align: center;
}

.projects .singleProject img {
    width: 80vw;
}

.projects .singleProject .text {
    padding-left: 1vw;
}

.projects .singleProject .text  div {
    font-family: 'Julius Sans One', sans-serif;
    text-decoration: none;
    margin-top: 2vw;
    color: #000000;
    text-align: center;
}

.projects .singleProject .text div button {
    font-family: 'Julius Sans One', sans-serif;
    text-decoration: none;
    color: white;
    background-color: #3d62b1;
    border-radius: 1rem;
    width: 200px;
    height: 30px;
    border: #1785c9;
    transition: 0.2s;
}

.projects .singleProject .text button:hover {
    background: #273f73;
    letter-spacing: 1px;
}

.projects .buttonactive {
    box-shadow: 0 0 1px 0.2rem var(--accentgreen);
    transition: 0.3s;
}

#groupProjects {
    padding-bottom: 75px;
}

#personalProjects {
    padding-top: 75px;
}

hr {
    margin-left: 20%;
    margin-right: 20%;
}

.allProjects {
    background-color: #f5f5f5;
}

.imgcarousel {
    position: relative;
    overflow: hidden;
    /* border-radius: 0.2rem 0.2rem 0.2rem 0.2rem; */
}

.imgcarousel .frame {
    display: none;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.imgcarousel .frame.active {
    display: inline-block;
}

.slideshow {
    display: flex;
    justify-content: space-between;
    height: 20%;
    width: 100%;
}

.projects .singleProject .slideshow img {
    box-sizing: border-box;
    height: 60%;
    width: 19vw;
    object-fit: cover;
}

.town img{
    background-color: #f5f5f5;
    width: 100%;
    display: block;
}


/* SKILLS & SOFTWARE */
.skillsSoftware {
    padding: 50px;
    background: black;
    justify-content: center;
}

.skillsSoftware div {
    justify-content: center;
}

.skillsSoftware h2 {
    color: white;
    text-align: center;
    padding-bottom: 60px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 32px;
    font-weight: 400;
}

.skillsSoftware section {
    padding: 0px 80px;
}

.skillsSoftware h3 {
    font-family: 'Josefin Sans', sans-serif;
    color: white;
}

.skillsSoftware ul {
    padding: 30px 0px;
    list-style: none;
}

.skillsSoftware li:first-child {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    color: #3495df;
    font-size: large;
}

.skillsSoftware li {
    font-family: 'Krub', sans-serif;
    color: white;
}


/* CONTACT ME */
footer {
    background-color: black;
    color: white;
    text-align: center;
    position: relative;
    padding-top: 50px;
}

footer h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 8vw;
    font-weight: 500;
    z-index: 5;
    position: relative;
}

footer ul {
    justify-content: center;
    list-style: none;
    z-index: 5;
    position: relative;
}

footer ul li {
    padding: 20px 0px 50px 0px;
    font-family: 'Krub', sans-serif;
}

footer ul li h3 {
    font-weight: 200;
    font-size: 20px;
    padding-bottom: 10px;
}

footer ul li a {
    text-decoration: none;
    color: white;
    font-weight: 200;
    font-size: 20px;
}

footer ul li a:hover {
    color: rgb(104, 120, 227);
}

footer .LinkedIn img {
    width: 50px;
}

footer .cave {
    position: absolute;
    bottom: 0;
    z-index: 0;
}

footer .cave img {
    width: 100vw;
    overflow-x: hidden;
}

/* PROJECT PAGES */

/* #projectNav {
    background-color: #f5f5f5;
    top: 0;
    padding-bottom: 20px;
    padding-top:10px;
}

#projectNav a {
    color: #000000;
}

#projectNav ul li a:hover {
    color: #3d62b1;
} */

.birds img {
    z-index: 2;
    width: 300px;
    max-width: 20%;
    top: 5%;
    left: 5%;
    position: absolute;
    pointer-events: none;
}

#Intro {
    background-color: #f5f5f5;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 120px;
    margin: auto;
}

#Intro .Left h2 {
    color: #e98800;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    padding-bottom: 20px;
}

#Intro h3 {
    padding-top: 20px;
    padding-bottom: 5px;
    color: #e98800;
    font-family: 'Josefin Sans', sans-serif;  
}

#Intro .Left p {
    font-family: 'Krub', sans-serif;
    text-align: justify;
}

#Intro .list {
    margin-top: 40px;
    margin-bottom: 30px;
}

#Intro li {
    font-family: 'Krub', sans-serif;
    font-weight: 250;
    list-style: none;
}

#Intro section {
    justify-content: space-around;
    text-align: center;
}

#Intro .Right figure video {
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
}

#Intro .Right figure img {
    width: 40vw;
}

#Intro .Links {
    text-align: center;
    justify-content: center;
}

#Intro .Links ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

#Intro .Links img {
    width: 50px;
}

.gallery {
    background-color: black;
}

.gallery h2 {
    color: white;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    padding-top: 20px; 
    padding-bottom: 20px;
}

.gallery ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 80%;
    margin: auto;
}

.gallery li{
    width: 90%;
}

.gallery img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

@media only screen and (min-width: 768px) {

.startingPage {
    /* background-color: #3d62b1; */
    position: relative;
}

.startingPage video {
    right: 0;
    top: 0;
    z-index: -1;
    position: absolute;
}

nav {
    background-color: rgba(0, 0, 0, 0.3);
    /* background-image: url("../images/Clouds.png");
    background-size: contain, cover;
    background-repeat: no-repeat; */
    position: fixed;
    width: 100%;
    /* height: 400px; */
    z-index: 10;
}

nav ul{
    padding-top: 5px;
    padding-bottom: 5px ;
    display: flex;
    justify-content: center;
    background-color: (255,255,255,0.5);
}

nav ul li {
    display: inline;
    margin: 10px 35px;
}

nav ul li a {
    font-family: 'Julius Sans One', sans-serif;
    color: rgb(255, 255, 255);
    font-size: 20px;
    text-decoration: none; 
    transition: 0.3s;  
}

nav ul li a:hover {
    color: #6092ff;
}

nav ul li a:nth-child(5) {
    color: rgb(0, 0, 0);
}

/* STARTING PAGE */
header {
    padding-bottom: 185px;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    color: white;
}

/* header .mountains img {
    z-index: 0;
    width: 100vw;
    max-width: 105%;
    bottom: 0;
    left: -5%;
    position: absolute;
    pointer-events: none;
}

header .castle img {
    z-index: 1;
    width: 41vw;
    max-width: 50%;
    max-height:96%;
    bottom: 0;
    right: -90px;
    position: absolute;
    overflow: hidden;
    pointer-events: none;
    resize: none;
}


header .birds img {
    z-index: 2;
    width: 300px;
    max-width: 20%;
    bottom: 55vh;
    right: 15%;
    position: absolute;
    pointer-events: none;
}

header .dragon img {
    z-index: 4;
    width: 100px;
    max-width: 20%;
    bottom: 20vh;
    left: 10vw;
    position: absolute;
    color: black;
    pointer-events: none;
}

header .hippogriff img {
    position: absolute;
    width: 100px;
    bottom: 65vh;
    left: 25vw;
    pointer-events: none;
} */

header .forest img {
    z-index: 3;
    width: 100vw;
    max-width: 100%;
    height: auto;
    bottom: -65px;
    left: 0;
    position: absolute;
}

header .headerText {
    padding-top: 150px;
    z-index: 4;
}

header h1 {
    font-size: 6vw;
    font-weight: lighter;
}

header h3 {
    padding-top: 10px;
    font-size: 2.5vw;
    font-weight: lighter;
}


/* ABOUT ME */
.aboutMe {
    display: flex;
    padding: 100px 20vw 0px 20vw;
    background-color: #EEEEEE;
}

.aboutMe section {
    padding-right: 40px;
}

.aboutMe section h2 {
    padding-bottom: 30px;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
}

.aboutMe section p {
    font-family: 'Krub', sans-serif;
    text-align: left;
}

.aboutMe .self-image img {
    width: 300px;
}

.forest2 {
    background-color: #EEEEEE;
    display: block;
    line-height: 0;
    overflow: hidden;
}

figure .forest2 img {
    min-width: 100%;
    max-height: 40%;
    display: block;
}

/* PROJECTS */
.projects {
    background-color: #f5f5f5;
    padding: 0 10vw 50px 10vw;
    justify-content: center;
    overflow-y: hidden;
}

.projects h2 {
    text-align: center;
    padding-bottom: 40px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
}

/* .projects .projectList {
    scroll-behavior: smooth;
    overflow-x: auto;
    overscroll-behavior-x: contain;
} */

/* .projects ul {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: row;
    width: 300%;

    overflow-x: auto;
    overscroll-behavior-x: contain;

    scroll-snap-type: x mandatory;
} */

/* .projects li {
    width: 100%;
    padding: 0;
    list-style: none;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
} */

.projects li h2 {
    font-family: 'Josefin Sans', sans-serif;
}

.projects .gallery-cell h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 30px;
    padding-bottom: 1vw;
    padding-top: 0vw;
    text-align: center;
}

.projects .gallery-cell p {
    font-family: 'Krub', sans-serif;
    text-align: left;
}

.projects .singleProject {
    display: flex;
    padding-left: 10vw;
    padding-right: 10vw;
    scroll-snap-align: center;
}

.projects .singleProject img {
    width: 30vw;
}

.projects .singleProject .text {
    padding-left: 1vw;
}

.projects .singleProject .text  div {
    font-family: 'Julius Sans One', sans-serif;
    text-decoration: none;
    margin-top: 2vw;
    color: #000000;
    text-align: center;
}

.projects .singleProject .text div button {
    font-family: 'Julius Sans One', sans-serif;
    text-decoration: none;
    color: white;
    background-color: #3d62b1;
    border-radius: 1rem;
    width: 200px;
    height: 30px;
    border: #1785c9;
    transition: 0.2s;
}

.projects .singleProject .text button:hover {
    background: #273f73;
    letter-spacing: 1px;
}

.projects .buttonactive {
    box-shadow: 0 0 1px 0.2rem var(--accentgreen);
    transition: 0.3s;
}

#groupProjects {
    padding-bottom: 75px;
}

#personalProjects {
    padding-top: 75px;
}

hr {
    margin-left: 20%;
    margin-right: 20%;
}

.allProjects {
    background-color: #f5f5f5;
}

/* .overlay {
    position: fixed;
    display: none;
    width: 80%;
    min-width: 700px;
    height: 80%;
    background-color:rgba(0,0,0);
    z-index: 5; 
    cursor: pointer;
    justify-content: center;
    top: 10%;
    left: 10%;
}

#overlayFire, #overlayRat {
    height: 90%;
    top: 5%;
}

.overlay div {
    padding: 50px;
    display: flex;
}

.overlay .backButton{
    background-color: black;
    height: 50px;
    width: 50px;
    position: absolute;
    border-radius: 3rem;
    text-decoration: none;
    border: black;
}

.overlay .backButton:hover {
    border: #1785c9;
}

.overlay .backButton img {
    height: 40px;
}

.overlay .text{
    margin-right: 40px; 
}

.overlay .lists {
    display: flex;
    justify-content: space-between;
}

.overlay h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 32px;
    color: white;
    text-align: center;
}

.overlay h3 {
    font-family: 'Josefin Sans', sans-serif;
    color: white;
    font-weight: 400;
    padding-bottom: 2px;
    padding-top: 40px;
}

.overlay p {
    font-family: 'Krub', sans-serif;
    color: white;
    font-weight: 250;
}

.overlay li {
    font-family: 'Krub', sans-serif;
    color: white;
    font-weight: 250;
}

.overlay li:first-child {
    font-family: 'Josefin Sans', sans-serif;
    color: white;
    font-weight: 400;
    font-size: large;
    padding-bottom: 2px;
    padding-top: 40px;
    list-style: none;
}

.overlay .details {
    list-style: none;
}

.overlay figure video {
    height: 40vh;
    padding-top: 80px;
}

.overlay figure img {
    height: 40vh;
    padding-top: 80px;
} */



/* .imgcarousel-wrapper {
    width: 60%;
    height: 30%;
    display: flex;
    flex-direction: column;
} */

.imgcarousel {
    position: relative;
    overflow: hidden;
    /* border-radius: 0.2rem 0.2rem 0.2rem 0.2rem; */
}

.imgcarousel .frame {
    display: none;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.imgcarousel .frame.active {
    display: inline-block;
}

.slideshow {
    display: flex;
    justify-content: space-between;
    height: 20%;
    width: 100%;
}

.projects .singleProject .slideshow img {
    box-sizing: border-box;
    height: 60%;
    width: 7.3vw;
    object-fit: cover;
}

/* .image-fader {
    width: 300px;
    height: 300px;
  }
  
  .image-fader img {
    position: absolute;
    top: 0px;
    left: 0px;
    animation-name: imagefade;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 8s;
  }
  
  @keyframes imagefade {
    0% {
      opacity:1;
    }
    17% { 
      opacity:1;
    }
    25% {
      opacity:0;
    }
    92% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
  }

  .image-fader img:nth-of-type(1) {
    animation-delay: 6s;
  }
  .image-fader img:nth-of-type(2) {
    animation-delay: 4s;
  }
  .image-fader img:nth-of-type(3) {
    animation-delay: 2s;
  }
  .image-fader img:nth-of-type(4) {
    animation-delay: 0;
  } */

  /*transition*/

.town img{
    background-color: #f5f5f5;
    width: 100%;
    display: block;
}


/* SKILLS & SOFTWARE */
.skillsSoftware {
    padding: 100px 175px;
    background: black;
    justify-content: center;
}

.skillsSoftware div {
    display: flex;
    justify-content: center;
}

.skillsSoftware h2 {
    color: white;
    text-align: center;
    padding-bottom: 60px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 32px;
    font-weight: 400;
}

.skillsSoftware section {
    padding: 0px 80px;
}

.skillsSoftware h3 {
    font-family: 'Josefin Sans', sans-serif;
    color: white;
}

.skillsSoftware ul {
    padding: 30px 0px;
    list-style: none;
}

.skillsSoftware li:first-child {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    color: #3495df;
    font-size: large;
}

.skillsSoftware li {
    font-family: 'Krub', sans-serif;
    color: white;
}


/* CONTACT ME */
footer {
    background-color: black;
    color: white;
    text-align: center;
    position: relative;
    padding-top: 200px;
}

footer h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 45px;
    font-weight: 500;
    z-index: 5;
    position: relative;
}

footer ul {
    display: flex;
    justify-content: center;
    list-style: none;
    z-index: 5;
    position: relative;
}

footer ul li {
    padding: 100px 180px 140px 180px;
    font-family: 'Krub', sans-serif;
}

footer ul li h3 {
    padding-bottom: 50px;
    font-weight: 200;
    font-size: 20px;
    padding-bottom: 5px;
}

footer ul li a {
    text-decoration: none;
    color: white;
    font-weight: 200;
    font-size: 20px;
}

footer ul li a:hover {
    color: rgb(104, 120, 227);
}

footer .LinkedIn img {
    width: 50px;
}

footer .cave {
    position: absolute;
    bottom: 0;
    z-index: 0;
}

footer .cave img {
    width: 100vw;
    min-width: 100%;
    overflow-x: hidden;
}

/* PROJECT PAGES */

/* #projectNav {
    background-color: #f5f5f5;
    top: 0;
    padding-bottom: 20px;
    padding-top:10px;
}

#projectNav a {
    color: #000000;
}

#projectNav ul li a:hover {
    color: #3d62b1;
} */

.birds img {
    z-index: 2;
    width: 300px;
    max-width: 20%;
    top: 0;
    left: 2%;
    position: absolute;
    pointer-events: none;
}

#Intro {
    background-color: #f5f5f5;
    display: flex; 
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 5%;
    margin: auto;
}

#Intro .Left h2 {
    color: #e98800;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    padding-bottom: 20px;
}

#Intro h3 {
    padding-top: 20px;
    padding-bottom: 5px;
    color: #e98800;
    font-family: 'Josefin Sans', sans-serif;  
}

#Intro .Left p {
    font-family: 'Krub', sans-serif;
}

#Intro .list {
    margin-top: 40px;
    margin-bottom: 0px;
}

#Intro li {
    font-family: 'Krub', sans-serif;
    font-weight: 250;
    list-style: circle;
}

#Intro section {
    display: flex;
    justify-content: space-around;
    text-align: left;
}

#Intro .Right {
    padding-left: 20px;
}

#Intro .Right figure video {
    width: 40vw;
}

#Intro .Right figure img {
    width: 40vw;
}

#Intro .Links {
    text-align: center;
    justify-content: center;
}

#Intro .Links ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

#Intro .Links img {
    width: 50px;
}

.gallery {
    background-color: black;
}

.gallery h2 {
    color: white;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    padding-top: 20px; 
    padding-bottom: 20px;
}

.gallery ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 80%;
    margin: auto;
}

.gallery li{
    width: 30%;
    padding: 1rem;
}

.gallery img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

}

@media only screen and (min-width: 3750px) {

    footer .cave img {
        max-height: 50vh;
    }

}