* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* font-family:'Waiting for the Sunrise', cursive; */
  font-family:'Courier New', Courier, monospace;
  scroll-behavior: smooth;
  font-family: 'Burbank Big Rg Lt';
}

@font-face {
  font-family: 'bonjournoregular';
  src: url('fonts/fontsfree-net-bonjourno-webfont.woff2') format('woff2');
  src: url('fonts/fontsfree-net-bonjourno-webfont.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'sams_handwritingmedium';
  src: url('fonts/fontsfree-net-sams-handwriting-webfont.woff2') format('woff2');
  src: url('fonts/fontsfree-net-sams-handwriting-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Burbank Big Rg Lt';
  src: url('fonts/BurbankBigRegular-Light.woff2') format('woff2'),
      url('fonts/BurbankBigRegular-Light.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

h1 {
  color: #bebebe;
}

h4 {
  color: #bebebe;
}

/* NavBar */
.nav {
  display: flex;
  justify-content: space-between;
  height: 70px;
  width: 100%;
  z-index: 999;
  top: 0;
}

.nav_container {
  display: flex;
  justify-content: space-between;
  height: 70px;
  width: 100%;
  position: fixed;
  z-index: 999;
  padding: 10px 30px;
  background-color: #000120;
}

.logos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2vw;
}

audio {
  display: none;
}

#bgm {
  font-size: 16px;
  color: #eee;
  width: 50px;
  border: none;
  border-radius: 2px;
  outline: none;
  background: #bebebe;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  opacity: .8;
  cursor: pointer;
  transition: all 0.4s ease-out;
}

#bgm.fade:hover {
  opacity: 0.5;
}

.fade {
  opacity: 0.2;
}

#navbar_logo img {
  max-height: 95%;
  width: auto;
}

.navbar_menu {
  display:flex;
  justify-content: center;
  gap: 2vw;
  align-items: center;
  width: 400px;
  margin: 0;
  list-style-type: none;
}

.navbar_link {
  display:flex;
  align-items: center;
  justify-content: center;
  color: #bebebe;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 22px;
}

.navbar_link:hover {
  background: -webkit-linear-gradient(#FF34CB, #09F8FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

@media screen and (max-width: 820px) {
  .nav_container {
    display: flex;
    justify-content: space-between;
    position: fixed;
    height: 70px;
    width: 100%;
    z-index: 999;
    background-color: #000120;
    padding: 0;
  }

  .navbar_menu {
    display: grid;
    align-content: center;
    grid-template-columns: auto;
    position: absolute;
    width: 100%;
    top: -1000px;
    z-index:-1;
    opacity: 1;
    margin: 0;
    transition: all 0.7s ease-in-out;
    background: black;
  }

  .navbar_menu.active {
    height: 270px;
    top: 100%;
    z-index: 99;
    opacity: 1;
    transition: all 0.7s ease;
    font-size: 1.6rem;
    background: #2b2b2b;
    width: 100%;
  }

  #navbar_logo img {
    max-height: 90%;
    width: auto;
    padding: 1vh 3vw;
  }

  .navbar_toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    background: white;
  }

  .navbar_item {
    width: 100%;
  }

  #bgm {
    margin: 10px 0

  }

  .navbar_link {
    text-align: center;
    padding: .5rem;
    width: 100%;
    font-size: 18px;
    margin: 5px;
  }

  #mobile-menu {
    position: absolute;
    top: 30%;
    right: 5%;
    transform: translate(5%,20%);
  }

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg)
  }

  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg)
  }
}

/*Home*/
#home {
  position: relative;
  text-align: center;
  color: white;
}

.main_img {
  width: 100%;
  filter: blur(2px);
}

.main_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
  width: 40vw;
}

#home .typewriter{
  overflow: hidden;
  font-family: 'bonjournoregular', monospace;
  border-right: .05em solid #0C85ED;
  white-space: nowrap;
  margin: 0 auto;
  font-size: 4vw;
  width: 100%;
  letter-spacing: .15em;
  animation:
    typing 3.5s steps(30, end),
    blink-caret .6s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #0C85ED; }
}

#home p {
  font-size: 1.5vw;
}

#home button {
  padding: 0 .5vw;
}

#home a {
  text-decoration: none;
  color: white;
  font-size: 1.2vw;
  text-align: center;
}

/* About */
#about {
  background-color: #000120;
  width: 100%;
}

#about .profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 70px 0px 0px 20px;
  gap: 20px;
}

#about .profile h2 {
  align-self: flex-start;
  color: #bebebe;
  font-size: 3vw;
}

#about .about_section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 60px;

}

#about img {
  width: 27%;
  height: auto;
  padding-bottom: 40px;
}

#about .about_section .description {
  display: flex;
  flex-direction: column;
  width: 45%;
  color: #bebebe;
}

#about .description h4 {
  font-size: 1.8vw;
}

#about .description p {
  color: #0C85ED;
  font-size: 1.3vw;
}

#about .description a {
  color: #C661D6;
}

/* Projects */
#projects {
  background-color: #000120;
  padding: 70px 0px 0px 20px;
}

#projects h2{
  color: #bebebe;
  font-size: 3vw;
}

#projects .card-body {
  background-color: #bebebe;
  font-size: 1.3vw;
}

#projects .card-body .links {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 1vw;
}

#projects .card-body a {
  font-size: 1.5vw;
}

#projects h5 {
  font-size: 2vw;
}

.project_list {
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: center;
  align-items: center;
  padding: 55px 0px 0px 0px;
}

/* Travel */
#travel {
  background: #000120;
  padding: 70px 20px 20px 20px;
  color: #bebebe;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3vw;
}

#travel h2 {
  font-size: 3vw;
  color: #bebebe;
}

#map {
  height: 60vh;
  width: 60%;
  z-index: 1;
}

@media screen and (max-width: 900px) {
  #map {
    height: 50vw;
  }
}


.gallery {
  display: flex;
  flex-direction: column;

}

.polaroid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 23vw;
  height: 28vw;
  background-color: white;
  border-radius: 5px;
  box-shadow: 5px 5px;
}

.polaroid img {
  width: 93%;
  height: 68%;
}


.polaroid h3 {
  align-self: flex-start;
  padding-left: 1.5vw;
  padding-top: 15px;
  color: #000120;
  font-style: italic;
  font-size: 1.7vw;
}

/* Contact */
#contact {
  background-image: url(images/brickwall.jpeg);
  height: 175px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 15vw;
  align-items: center;
  color:#bebebe;
}

#contact .contact-info {
  color: #C9D1D9;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contact h6 {
  margin: 4px;
  font-size: 1.5vw;
}

#contact h2 {
  background: -webkit-linear-gradient(#FF34CB, #09F8FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: 2.5vw;
}

#contact .websites{
  display: flex;
  flex-direction: row;
  gap: 10px
}

#contact a {
  color: #C9D1D9;
  font-size: 2vw
}


@media screen and (max-width: 900px) {
  #contact h6 {
    margin: 4px;
    font-size: 16px;
  }

  #contact h2 {
    font-size: 26px;
    font-weight: 800;
  }

  #contact a {
    font-size: 16px;
  }
}
