*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background: #151515;
  color: aliceblue;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  max-width: 100vw;
}

a{
  text-decoration: none;
  color: aliceblue;
}

ul{
  list-style: none;
}


/* Header */


.section_text{
  line-height: 1.65;
}

.nav{
  width: 41%;
  margin: 0 auto;
  padding: 1.4rem 0;
  gap: 1.4rem;
  display: flex;
  flex-direction: column;
}

.nav_logo span{
  display: inline-block;
  border-bottom: 3px solid #FFD700;
  font-size: 1.2rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 3s steps(8) forwards;
}

@keyframes typing {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

.nav_icon_container{
  display: flex;
  justify-content: space-between;
}

.header_content{
  display: flex;
  flex-direction: column;
}

.header_avatar{
  position: relative;
  margin-bottom: 2.4rem;
}

.header_avatar_container{
  width: 50%;
  margin: 0 auto;
  position: relative;
}

.section_img_header{
  width: 100%;
}


.header_text_content{
  text-align: center;
  margin: 0 1rem;
}

.header_prez{
  font-size: 2.2rem;
  line-height: 1;
}

.header_name {
  border-bottom: 5px solid #FFD700;
}



.header_text{
  margin: 1.5rem 0;
  line-height: 1.65;
}

/* main */

.section_heading{
  font-size: 2rem;
  text-align: center;
  padding: 0 1rem;
  margin-bottom: 1rem;
}


.projects{
  border-top: 1px solid #FFD700;
  border-bottom: 1px solid #FFD700;
  padding: 2.2rem 0.5rem;
  margin: 0.5rem 1rem;
}

.section_img{
  width: 100%;
}

.project_link{
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0.5rem 0;
}

.project_title{
  font-size: 1.6rem;
  margin: 1.2rem 0 0.6rem 0;
}

.project_languages{
  line-height: 2;
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.2rem;
}

.section_grey{
  background-color: #242424;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #151515;
  border: 1px solid #FFD700;
  border-radius: 5%;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
}


@media screen and (min-width: 1100px){

  body{
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 0;
  }

  .nav_icon_container{
    width: 20%;
  }

  .header_content{
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }

  .header_text_content{
    top: 50%;
  }

  .header_prez{
    font-size: 3.5rem;
  }
}


@media screen and (min-width: 660px){

.project_container1{
  display: flex;
  gap: 4rem;
}

.project_content2{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

}


@media screen and (min-width: 550px){

  .nav{
    width: 100%;
    padding: 1.6rem 2rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  } 

  .nav_icon_container{
    width: 33%;
  }

  .header_avatar{
    margin-bottom: unset;
  }

  .header_avatar_container{
    margin-right: unset;
    z-index: 1;
  }

  .header_text_content{
    position: absolute;
    bottom: 45%;
    width: 75%;
    text-align: left;
    padding-left: 2rem;
    z-index: 3;
    margin: 0;
    transform: translateY(-45%);
  }
}

