html, body {
  margin: 0;
  padding: 0;
}

.wrapper {
  height: 110vh;
  width: 100%;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  overflow: hidden;
  position: relative;
}

.star-wrapper {
  width: 0;
  height: 0;
  animation: orbit 40s linear infinite;
}

.starry-background {
  animation: twinkling 10s linear infinite;
  position: relative;
  overflow: hidden; /* keep stars from leaking outside */
}


.starry-background::before,
.starry-background::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #fff;
  border-radius: 50%;
  animation: rotateStar 50s linear infinite;
}

.starry-background::before {
  top: 20%;
  left: 10%;
}

.starry-background::after {
  top: 70%;
  right: 15%;
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.star {
  width: 2px;
  height: 2px;
  background-color: #fff;
  border-radius: 50%;
}

#changing-role {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.fade-out {
  opacity: 0;
}

#title {
  top: 50%;
  left: 0;
  right: 0;
  color: #fff;
  text-align: center;
  font-family: Lato;
  font-weight: 300;
  font-size: 50px;
  letter-spacing: 10px;
  margin-top: -50px;
  padding-left: 10px;
  opacity: 0; /* set initial opacity to 0 */
}

.main {
  background-color: #1b2735;
  max-height: 100%;
  max-width: 100%;
  padding-top: 20px;
  padding-bottom: 50px;
  margin-bottom: 0;
}

.box {
  width: 450px;
  background: rgba(0, 0, 0, 0.4);
  padding: 15px;
  text-align: center;
  margin: auto;
  margin-top: 5%;
  margin-bottom: 0;
  color: white;
  font-family: "Century Gothic", sans-serif;
}

.box-img {
  border-radius: 50%;
  width: 200px;
  height: 200px;
}

.box h1 {
  font-size: 40px;
  letter-spacing: 4px;
  font-weight: 100px;
}


.box h5 {
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 100;
}

.ul {
  margin: 0;
  padding: 0;
}

.box li {
  display: inline-block;
  margin: 6px;
  list-style: none;
}

.box li a {
  color: white;
  text-decoration: none;
  font-size: 60px;
}

/*ABOUT ME */
.main1 {
  display: relative;
  height: 40vh;
  margin: 0;
  padding: 0;
  background-color: #1b2735;
  position: relative;
}

.boxz {
  width: 80%;
  max-width: 1000px;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
  color: white;
  font-family: "Century Gothic", sans-serif;
}

.portfolio {
  background-color: #1b2735;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 0px;
}

/* profile boxes info*/
.left-align {
  margin-left: 30%;
  margin-right: auto;
  text-align: center;
  width: 600px;
}

.right-align {
  margin-left: auto;
  margin-right: 30%;
  text-align: center;
  width: 600px;
}

.center-align {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}



/* profile picture */
.boxz-img {
  width: 150px;
  height: auto;
  border-radius: 100px; /* optional for rounded corners */
}



/*The science picture above projects*/

.portfolio .main1 .parallax {
  margin-top: 1%;
  background: url(code.jpg) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  height: 200px;
}

/*WORK SECTION*/
#work-section {
  background: rgba(0, 0, 0, 0.4);
  position: relative;
  margin-top: -15vh;
  padding: 20px; /* Add padding to center content */
  min-height: 100vh; /* Ensure section takes up at least viewport height */
  margin-left: 5%; /* Adjust left margin for responsiveness */
  margin-right: 5%; /* Adjust right margin for responsiveness */
}

#work-section .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Media Query for laptops */
@media (max-width: 1650px) {
  #work-section {
    margin-left: 2%; /* Adjust left margin for laptops */
    margin-right: 2%; /* Adjust right margin for laptops */
    height: auto; /* Allow the section to adjust its height based on content */
  }
  
  #work-section .grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns for laptops */
  }
}

/* Media Query for phones */
@media (max-width: 1050px) {
  #work-section {
    padding: 0px;
   margin: 0 auto;
    height: auto; /* Allow the section to adjust its height based on content */
    overflow: hidden;
  }

  #work-section .title{
    text-align: center; /* Center-align the title */
    padding-left: 10px; /* Add left padding to adjust left position */
    padding-right: 1px; /* Add right padding to adjust right position */
  }
  
  #work-section .grid {
    grid-template-columns: repeat(1, 1fr); /* One column for phones */
    max-width: 100%; /* Ensure the grid doesn't exceed the available width */
    overflow: hidden;
  }

}


#work-section .box {
  padding: 20px;
  height: 400px;
  border-radius: 5px;
  background-color: rgba(65, 34, 52, 0);
}

#work-section .box::before {
  background-color: rgba(0, 0, 0, 0.4);
}

#work-section .box:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

#work-section .box h3 {
  margin-top: 0;
  color: #fff;
}

#work-section .box p {
  margin-bottom: 0px;
  color: #fff;
}

#work-section .box .description {
  text-align: center;
}

#work-section .box .description p:first-child {
  margin-right: 10px;
}

#work-section .box .description p:last-child {
  margin-top: 10px;
  margin-left: 40px;
  text-align: left;
}

#work-section .copyright p{
  color:#fff;
  margin-top: 10vh;
  display: flex;
  text-align: center;
  align-items: center; /* Vertically center */
  justify-content: center; /* Horizontally center */
}

#work-section .title {
  color: white;
  text-align: center;
}

h4 {
  margin-top: -70px;
  font-size: 20px;
  margin-bottom: 100px;
}

#work-section .box .links {
  position: relative;
  bottom: -100px;
  left: 0;
  right: 0;
  text-align: center;
}

#work-section h5 {
  font-size: 50px;
  color: #fff;
  letter-spacing: 3px;
  font-weight: 100;
  text-align: center;
}

#work-section .box .links a {
  display: inline-block;
  margin-right: 10px;
}

select {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px;
  font-size: 16px;
  border: none;
  background-color: #f2f2f2;
  border-radius: 5px;
}

/* Style the select options */
option {
  padding: 8px;
  font-size: 16px;
  background-color: #8744da;
  color: #fff;
  border-radius: 5px;
}

/* Style the select when it's focused */
select:focus {
  outline: none;
  box-shadow: 0px 0px 5px #8744da;
}

.Button-module--ButtonStyle--0440c {
  background-color: #8744da;
  border: none;
  border-radius: 2px;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  font-weight: bolder;
  padding: 0.4rem;
  text-decoration: none;
  text-shadow: none;
  transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  word-break: keep-all;
}/*# sourceMappingURL=style.css.map */

.copyright {
  padding-top: 20px;
  padding-bottom: 20px; /* Push it up from bottom edge */
  text-align: center;
  color: #888;
}
