@import "gdpr.css";

:root {
    --text: #FFFFFF;
    --textHighlight: #b7b7b7;
    --primary: #FFE44D;
    --primaryHighlight: #f5e27b;
    --background: #07060D;
    --navBackground: #0d0d11;
    --backgroundHighlight: #18181e;
    
  }

body {
    font-family: 'Hanken Grotesk', sans-serif;
    background-color: var(--background);
    color: var(--text);
    padding: 0px;
    margin: 0px;

}  


::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #444347;
}

/* ––––––––––––––––––––––––––––––––––––––––––––––– 
Mobile Version
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/*  Navigation bar
–––––––––––––––––––––––––––––––––––––––––––––––––– */
nav {
    position: fixed;
    top: 0;
    display: flex;
    width: 100%;
    height: 10%;
    justify-content: space-between;
    z-index: 50;

}

nav #left {
    display: flex;
    align-items: center;

}

nav #left img {
    margin: 2%;
    max-height: 70%;
    width: auto;
}

nav #right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20vw;
}

nav #right span {
    background-color: transparent;
    border: transparent;
    color: var(--text);
    font-weight: bolder;
    margin-right: 10px;
}

nav #right a {
    display: none;
}


/*  Side bar
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    background-color:  var(--navBackground);
    backdrop-filter: blur(90%);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    
}
    
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: var(--text);
    display: block;
    transition: 0.3s;
}
    
.sidenav a:hover {
    color: var(--textHighlight);
}

.sidenav #active {
    color: var(--primary);
}
    
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}


/*  Main page content
–––––––––––––––––––––––––––––––––––––––––––––––––– */
main {
    margin-top: 10vh;
}

/*  Welcome
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#welcome {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 80vh;
}

#welcome #text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
}

#welcome #text h1 {
    color: var(--text);
    font-size: 25vw;
    margin: 0;
    line-height: 0.9;
}

.typewrite {
    text-decoration: none;
}

.wrap {
    color: white;
}

#welcome #img {
    display: flex;
    justify-content: center;
    align-items: center;
    translate: none;
    rotate: none; 
    scale: none; 
    width: 100vw;
    height: 80vh;
    overflow: hidden;
}

#welcome #img img{
    translate: none;
    rotate: none; 
    scale: none; 
    width: 100vw;
    height: auto;
    z-index: 2;
    /* transform: translate3d(0px, 0px, 0px) scale(1.4, 1.4); */
    overflow: hidden;
}



/*  Introduction 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#introduction {
    display:flex;
    align-items: center;
    flex-direction: column;
    margin: 2%;
}

#introduction img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

#introduction h1 {
    color: var(--text);
    font-size: 15vw;
    margin: 0;

}

#introduction p {
    color: var(--text);
    font-size: 4vw;
    margin: 10px, 10px;
    text-wrap:balance;
}

/*  Education
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#education {
    display:flex;
    align-items: center;
    flex-direction: column;
    margin: 2%;
}

#education img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

#education h1 {
    color: var(--text);
    font-size: 15vw;
    margin: 0;

}

#education p {
    color: var(--text);
    font-size: 4vw;
    margin: 10px, 10px;
    text-wrap:balance;
}

/*  Skills
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#skills #centered {
    display:flex;
    align-items: center;
    flex-direction: column;
    margin: 2%;
    overflow: hidden;
}

#skills img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

#skills h1 {
    color: var(--text);
    font-size: 15vw;
    margin: 0;

}

#skills h3 {
    color: var(--text);
    font-size: 5vw;
    margin: 0;
}

#skills p {
    color: var(--text);
    font-size: 4vw;
    margin: 10px, 10px;
    text-wrap:balance;
}

.cards {
    display: flex;
    padding: 25px 10px;
    list-style: none;
    overflow-x: scroll;
    justify-self: center;
  }
  
  .card {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    padding: 20px;
    background: var(--backgroundHighlight);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 15%);
    scroll-snap-align: start;
    transition: all 0.2s;
    max-width: 30vw;
  }
  
  .card:not(:last-child) {
    margin-right: 10px;
  }
  
  .card .card-title {
    font-size: 20px;
  }
  
  .card .card-content {
    margin: 20px 0;
    max-width: 85%;
  }

  
/*  Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
footer {
    display: flex;
    justify-content: center;
}

footer p {
    color: var(--textHighlight)

}
  


/* ––––––––––––––––––––––––––––––––––––––––––––––– 
Desktop Version
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media only screen and (min-width: 800px) {

/*  Navigation bar
–––––––––––––––––––––––––––––––––––––––––––––––––– */

nav {
    height: 10vh;
    position: relative;
}

nav #left img {
    width: auto;
    max-height: 5vw;
}

nav span {
    display: none;
}

nav #right {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 40%;
}


nav #right a {
    display: flex;
    padding: 2px 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 1vw;
}

nav #right a:hover {
    color: var(--textHighlight)
}

nav #right #active {
    color: var(--primary);
}



/*  Welcome
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#welcome {
    height: 85vh;
}

#welcome #text h1 {
    font-size: 10vw;
}

#welcome #img {
    display: flex;
    justify-content: center;
    align-items: center;
    translate: none;
    rotate: none; 
    scale: none; 
    width: 70vw;
    height: auto;
    overflow: hidden;
}

#welcome #img img{
    translate: none;
    rotate: none; 
    scale: none; 
    width: 100vw;
    height: auto;
    z-index: 2;
    /* transform: translate3d(0px, 0px, 0px) scale(1.4, 1.4); */
    overflow: hidden;
}


/*  Introduction 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#introduction {
    display: flex;
    flex-direction: row;
    margin-bottom: 30vh;
    justify-content: space-evenly;
}

#introduction img{
    max-width: 40%;
}

#introduction #text{
    max-width: 40%;

}

#introduction h1 {
    font-size: 4vw;

}

#introduction p {
    font-size: 1.2vw;
}


/*  Education
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#education {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 30vh;
    justify-content: space-evenly;
}

#education img{
    max-width: 40%;
}

#education #text{
    max-width: 40%;
}

#education h1 {
    font-size: 4vw;

}

#education p {
    font-size: 1.2vw;
}



/*  Skills
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#skills {
    margin-bottom: 5vh;
}
#skills h1 {
    font-size: 4vw;

}

#skills p {
    font-size: 1vw;
}

#skills h3 {
    font-size: 1.2vw;
}

  
  .card {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    padding: 20px;
    background: var(--backgroundHighlight);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 15%);
    scroll-snap-align: start;
    transition: all 0.2s;
    max-width: 20vw;
  }
  
  .card:not(:last-child) {
    margin-right: 10px;
  }
  
  
  .card .card-content {
    margin: 20px 0;
    max-width: 85%;
  }

.cards::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

/* Track */
.cards::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.cards::-webkit-scrollbar-thumb {
    /* background: #444347; */
    background: transparent;
}


}
  