* {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: white;
}

html {
scroll-behavior: smooth;
}

body {
  background-image: url(/images/space.webp);
  background-size: cover;
  background-attachment: fixed;
}

/* --- NAV BUTTONS ---*/
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 70px 10px;
  z-index: 1000;
  transition: background-color 0.5s ease-in-out;
}

.nav {
top: 1px;
position: sticky;
}

.top {
top: 101px;
position: sticky;
z-index: 10000;
}


.nav-colored {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}


nav img {
  width: 80px;
  height: auto;
  border: 1px solid white;

}

nav a{
  text-decoration: none;
  font-size: 20px;
  padding: 0px 20px;
  display: inline-block;
  transition: 0.5s;
  transform: scale(1);
  color: white;
}

nav a:hover {
  transition: 0.5s;
  filter:blur(0.2px);
  text-shadow: 0 0 15px purple, 0 0 15px purple, 0 0 15px purple;
  text-decoration: underline;
}

/* --- WHITE LINE --- */
.white-line {
  margin: 0px 60px 0px;
  border: white solid;
  border-width: thin;
}

.white-line2 {
  margin: 80px 150px 0px;
  border: white solid;
  border-width: thin;
  opacity: 0.5;
}

/* --- INTRODUCTION SECTION --- */

.introduction {
  display: flex;
  margin: 20px 80px;
}

.introduction img {
  width: auto;
  height: 600px;
  padding: 100px 100px 0px 0px;
}

.introduction .info {
  text-align: justify; 
  padding: 50px 200px 0px 200px;
  flex-direction: column;
  
}


h1 {
font-size: 60px;
background-image: linear-gradient(to right, #cdc9d4, #6f7cc6);
color: transparent;
background-clip: text;
filter: blur(0.5px); 
white-space: normal; 
word-wrap: break-word; 
overflow-wrap: break-word; 
text-align: left; 
max-width: 100%; 
}

.introduction a {
color: #0073e6;
text-decoration: none; 
font-weight: bold; 
font-size: 18px;
}

.introduction a:hover {
text-decoration: underline;
color: rgb(127, 180, 234);
}


.info p {
font-size: 18px;
margin: 50px 0px 40px;
flex-grow: 1;
line-height: 35px;

}

.info .links {
margin-top: 0px;
font-size: 20px;
}

/* --- BIOGRAPHY --- */

.biography {
display: flex;
text-align: center;
padding: 20px 100px;
align-items: flex-start; 
min-height: 150vh; 
}

.biography .info {
text-align: justify; 
padding: 100px 200px 0px 200px;
flex-direction: column;
line-height: 35px;
flex: 1; 
}

.biography h1 {
font-size: 40px;
}

.biography img {
width: 400px;
height: auto;
padding: 100px 0px 0px 175px;
border-radius: 50%;
}

.biography .image {
display: flex;
flex-direction: column;
position: sticky; 
top: 175px; 
text-align: center;
flex: 0 0 auto; 
}

sub {
padding: 10px 60px 0px 100px;}



.stop-sticky {
position: relative !important; 
top: auto !important;
}

/* --- SKILLS --- */
.skills {
padding: 20px 0px;
display: flex; 
flex-direction: column; 
align-items: center; 
}

.skills h1 {
font-size: 40px;
text-align: center;
}

.skills .info p {
font-size: 18px;
margin: 20px 0px 40px;
flex-grow: 1;
}

.content {
display: flex;
margin: 50px 80px;
text-align: justify; 
line-height: 35px;
}

.content h1 {
font-size: 30px;
background-image: linear-gradient(to right, #321a63, #2a5298, #5c9fdb);
text-shadow: 0.5px 0.5px 0.5px linear-gradient(to right, #321a63, #2a5298, #5c9fdb);
color: transparent;
background-clip: text;
filter: blur(0); 
-webkit-text-stroke: 0.2px black; 
}


.content p {
margin: 0px;
padding: 0px;
}

.s1, .s2 {
margin: 0px 100px;
position: relative;
border: white solid 2px;
border-radius: 15px;
padding: 50px 100px;
text-align: center;
background-color: rgba(240, 248, 255, 0.215);
}

ul {
display: flex;
justify-content: center;  
gap: 30px;
text-align: center;
align-items: center;
margin: 0; 
padding: 10px 0px 0px 0px; 
overflow: visible;
}

.s2 li {
padding-top: 10px;
}

li {
text-align: center;
font-size: 20px;
overflow: auto;
white-space: nowrap; 
}

/* --- PROJECTS --- */

.projects {
padding: 20px 0px;
display: flex; 
flex-direction: column; 
align-items: center; 
}

.projects h1 {
font-size: 40px;
text-align: center;
}

.projects .info p {
font-size: 18px;
margin: 20px 0px 40px;
flex-grow: 1;
}

.content {
display: flex;
margin: 50px 80px;
text-align: justify; 
line-height: 35px;
}

.content h1 {
font-size: 30px;
background-image: linear-gradient(to right, #321a63, #2a5298, #5c9fdb);
text-shadow: 0.5px 0.5px 0.5px linear-gradient(to right, #321a63, #2a5298, #5c9fdb);
color: transparent;
background-clip: text;
filter: blur(0); 
-webkit-text-stroke: 0.2px black; 
}


.content p {
margin: 0px;
padding: 0px;
}

.projects p {
  text-align: left;
}

.projects .s1, .projects .s2 {
margin: 0px 50px;
position: relative;
border: white solid 2px;
border-radius: 15px;
padding: 50px 50px;
text-align: center;
background-color: rgba(240, 248, 255, 0.215);
}

iframe {
height: 280px;
width: 500px;
}
.contact {
background-color: rgba(240, 248, 255, 0.215);
padding: 20px;
border-radius: 8px; 
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
text-align: center; 
max-width: 400px;
margin: 20px auto; 
}

.contact h3 {
font-size: 18px; 
color: white; 
margin: 10px 0; 
}


.contact a {
color: #0073e6;
text-decoration: none; 
font-weight: bold; 
font-size: 18px;
}

.contact a:hover {
text-decoration: underline;
color: rgb(127, 180, 234);
}

button {
background-color: transparent;  
border: none;  
padding: 0;  
color:  #0073e6; 
font-size: 18px;  
cursor: pointer; 
}

button:hover {
color: rgb(127, 180, 234);  
text-decoration: underline; 
cursor: pointer;
}

h2 {
  float: left;
}

@media (max-width:1000px) {
  h2 {
    float: left;
    padding: 0px;
    margin: 0px;
  }
  body {
    background-image: url(/images/repeatingStars.webp);
    background-repeat: repeat;
    background-size: 700px 500px;

}

h1 {
  font-size: 40px;
  filter: blur(0px); 
}

.info h1 {
  line-height: 50px;
}


  .introduction .info {
    text-align: justify; 
    padding: 50px 50px 0px 50px;
    flex-direction: column;
  }

  .image img {
    width: 300px;
    height: auto;
    border-radius: 0px;
  }

  img {
    width: 500px;
    height: auto;
  }
  .s1, .s2 {
    margin: 0px 25px;
    padding: 0px 10px;
  }

  .skills .info p, .projects .info p {
    font-size: 20px;
    text-align: center;
  }

  .projects .s1, .projects .s2 {
    margin: 0px 10px;
    padding: 0px 10px;
  }

  .biography .info {
    padding: 0px 70px;
  }

  .projects img {
    height: auto;
  }

}
/* Phone */
@media (max-width:1171px) {
  
.projects img {
  height: auto;
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  position: relative;
}

.nav img {
  top: 10px; 
  z-index: 1000;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; /* Adjust spacing between items */
  width: 100%;
  max-width: 200px; /* Adjust max width as needed */
}

.nav a {
  font-size: 10px;
  width: 45%; /* Ensures two items per row */
  text-align: center;
  box-sizing: border-box;
  padding: 5px;
}

.top {
  opacity: 0;
  position: 10000px;
}

  /* --- INTRODUCTION SECTION --- */

  img {
    width: 50px;
    height: auto;
  }

.introduction {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 20px;
}

.introduction img {
  width: 200px;
  height: auto;
  padding: 20px 0;
}

.introduction .info {
  text-align: justify;
  padding: 20px;
}

.info p {
  font-size: 16px;
  line-height: 30px;
  margin: 20px 0;
}


h1 {
font-size: 30px;
background-image: linear-gradient(to right, #cdc9d4, #6f7cc6);
background-clip: normal;
filter: blur(0.5px); 
white-space: normal; 
word-wrap: normal; 
overflow-wrap: normal; 
text-align: center; 
max-width: 100%; 
}

.introduction a {
color: #0073e6;
text-decoration: none; 
font-weight: bold; 
font-size: 12px;
text-align: left;
}

.introduction a:hover {
text-decoration: underline;
color: rgb(127, 180, 234);
}


.info p {
font-size: 12px;
margin: 20px 0px 40px;
flex-grow: 1;
line-height: 25px;

}

.info .links {
margin-top: 0px;
font-size: 12px;
}


button {
font-size: 12px;
}

.white-line2 {
margin: 80px 0px 0px;
padding: 0px 100px;
border: white solid;
border-width: thin;
opacity: 0.5;
}

/* --- BIOGRAPHY --- */

.biography {
display: flex;
text-align: center;
padding: 20px 100px;
align-items: flex-start;
min-height: 150vh;
}

.biography .info {
text-align: justify;
padding: 100px 200px 0px 200px;
flex-direction: column;
line-height: 35px;
flex: 1;
}

.biography h1 {
font-size: 40px;
}

.biography .image {
display: flex;
flex-direction: column;
position: sticky;
top: 175px;
text-align: center;
flex: 0 0 auto;
}

.skills h3 {
font-size: 30px;
}

.projects p {
  text-align: justify;
  padding: 5px 20px;
  font-size: 16px;
}

.projects img {
  width: 200px !important;
  height:  auto !important;
}

.contact {
  float: left;
}


.contact h3 {
  margin: 5px 20px;
}

}
@media (max-width: 1171px) {

body {
  overflow-x: hidden;
}
.biography {
  flex-direction: column;
  align-items: center;
  padding: 0px;
  margin-top: 0px;
}

.biography .info {
  padding: 30px;
}

.biography img {
  height: auto;
  width: 200px;
  padding: 20px 0;
}

.biography .image {
  position: relative;
  padding: 0px 30px 100px;
}

.biography sub {
  position: relative;
  padding: 0px 0px 60px;
}


/* --- SKILLS & PROJECTS --- */

.skills, .projects {
padding: 20px 0px;
display: flex;
flex-direction: column;
align-items: center;
}

h1 {
font-size: 40px;
text-align: center;
}

.skills .info p, .projects .info p {
font-size: 10px;
margin: 20px 0px 40px;
}

.content {
display: flex;
margin: 20px 20px;
text-align: justify;
line-height: 25px;

}

.top {
  height: 0px;
}

.s1, .s2 {
margin: 10px 50px;
padding: 10px 0px;
background-color: transparent;
border: none;
}

li {
font-size: 10px;
}

ul {
gap: 10px;
padding: 0px;
}

iframe {
width: 350px;
height: 250px;
}
.projects .s1, .projects .s2 {
margin: 10px;
background-color: transparent;
border: none;
}

.content {
padding: 0px;
margin: 0px;
}

.projects a img {
width: 400px !important; 
height: 300px !important;
}
}
@media (max-width: 1171px) {
.content {
  flex-direction: column;
  margin: 0px;
}

.skills .info p, .projects .info p {
  font-size: 10px;
  text-align: center;
}

.projects p {
  text-align: justify;
  font-size: 16px;
}
}

/* --- CONTACT --- */

.contact {
background-color: rgba(240, 248, 255, 0.215);
padding: 20px;
border-radius: 8px;
text-align: center;
max-width: 400px;
margin: 20px auto;
}

.contact {
  max-width: 300px;
  padding: 15px;
}


@media (max-width: 1171px) {
body {
  overflow-x: hidden;
}

.biography {
  flex-direction: column;
  align-items: center;
  padding: 0px;
  margin-top: 0px;
}

.biography .info {
  padding: 30px;
  font-size: 15px;
}

.biography img {
  width: 200px;
  padding: 20px 0;
}

.biography .image {
  position: relative;
  padding: 0px 30px 100px;
}

.biography sub {
  position: relative;
  padding: 0px 0px 60px;
}

.nav a {
  font-size: 20px;
}

.info p {
  font-size: 15px;
  line-height: 30px;
}

.introduction a {
  font-size: 20px;
}

.info .links {
  font-size: 20px;
}

button {
  font-size: 20px;
}

.biography h1 {
  font-size: 40px;
}

.skills h3 {
  font-size: 40px;
}

.skills h1, .projects h1 {
  font-size: 40px;
  line-height: 40px;
}

.skills .info p, .projects .info p {
  font-size: 20px;
  text-align: center;
}

li {
  font-size: 20px;
}

.contact {
    background-color:transparent;
    border:none;
    text-align:left;
}

.contact h3, .contact a, .contact button{
  font-size: 30px;
}
}

@media (max-width: 650px) {
  body {
    overflow-x: hidden;
  }
  
  .biography {
    flex-direction: column;
    align-items: center;
    padding: 0px;
    margin-top: 0px;
  }
  
  .biography .info {
    padding: 30px;
    font-size: 15px;
  }
  
  .biography img {
    width: 200px;
    padding: 20px 0;
  }
  
  .biography .image {
    position: relative;
    padding: 0px 30px 100px;
  }
  
  .biography sub {
    position: relative;
    padding: 0px 0px 60px;
  }
  
  .nav a {
    font-size: 20px;
  }
  
  .info p {
    font-size: 15px;
    line-height: 30px;
  }
  
  .introduction a {
    font-size: 20px;
  }
  
  .info .links {
    font-size: 20px;
  }
  
  button {
    font-size: 20px;
  }
  
  .biography h1 {
    font-size: 20px;
  }
  
  .skills h3 {
    font-size: 20px;
  }
  
  .skills h1, .projects h1 {
    font-size: 20px;
    line-height: 40px;
  }
  
  .skills .info p, .projects .info p {
    font-size: 15px;
    text-align: center;
  }
  
  li {
    font-size: 10px;
  }
  
  .contact {
    font-size: 15px;
  }

  .contact a, .contact h3, .contact button{
    font-size: 15px;
  }

  .projects img {
    height: auto;
  }
 }



