/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
  background-color: black;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

img {
  pointer-events: none;
  user-select: none;
}

/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}


@font-face {
  font-family: Olivera;
  src: url(../fonts/Olivera.ttf);
}

@font-face {
  font-family: OliveraObl;
  src: url(../fonts/OliveraObl.ttf);
}

@font-face {
  font-family: Perfecto;
  src: url(../fonts/Perfecto.ttf);
}

@font-face {
  font-family: PoppinsReg;
  src: url(../fonts/Poppins-Regular.ttf);
}

@font-face {
  font-family: PoppinsLight;
  src: url(../fonts/Poppins-ExtraLight.ttf);
}


.navbar {
display: flex;
      flex-direction: column;  /* stack items vertically */
      align-items: center;     /* center horizontally */
      gap: 1rem;               /* space between items */
      font-family: sans-serif;
  font-family: PoppinsLight;
  font-size: 30px;
  margin-top: 30px;
  color:white;
}

.navbar #name {
  font-size: 50px;
}

.navbar #pages {
 
}

.navbar a{
  text-decoration: none;
  color: white;
}

.navbar a:hover{
  color: red;
}

.navbar p, .navbar span {
      margin: 0;
}


#landing_img {
  padding-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#landing_img img{
  width: 100%;
  height: auto;
  max-width: 400px;
}

#index_caption {
  color: white;
  padding-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: PoppinsLight;
  font-size: 14px;
}

#about_section{
  padding-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center; 

}

#about_section img{
  width: 100%;
  height: auto;
  max-width: 400px;
}

#bio{
      font-family: sans-serif;
  font-family: PoppinsLight;
  font-size: 24px;
  color:white;
  margin-left: 20px;
}

#about_section a{
  text-decoration: none;
  color: white;
}

#about_section a:hover{
  color: red;
}

.bnw_color{
  padding-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 100px;
  font-size: 24px;
  font-family: PoppinsLight;
}

.bnw_color a{
text-decoration: none;
  color: white;
}

.bnw_color a:hover{
  color:Red;
  }

#main-image {
  width: 600px;
  height: auto;
  margin: auto;
  padding-top: 60px;
}

 .center-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100vh; /* full viewport height */
    }

/*FOR PHONES*/

@media only screen and (max-width: 600px) {
  #about_section{
  padding-top: 30px;
  display: inline-block;
  justify-content: center; 
  margin: auto;
  width: 100%;
  } 

  #about_section img{
    display: block;
    margin:auto;
  width: 100%;
  height: auto;
  max-width: 200px;
  }

  #bio{
      font-family: sans-serif;
  font-family: PoppinsLight;
  font-size: 16px;
  color:white;
  padding-top: 20px;
  }

  }