@font-face {
  font-family: "A6";
  src: url("fonts/asix.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "FontOne";
  src: url("fonts/bcbase.otf") format("opentype");
}

@font-face {
  font-family: "FontNine";
  src: url("fonts/cofo.otf") format("opentype");
}

@font-face {
  font-family: "FontTwo";
  src: url("fonts/bk.otf") format("opentype");
}
@font-face {
  font-family: "FontThree";
  src: url("fonts/baste.otf") format("opentype");
}
@font-face {
  font-family: "FontFour";
  src: url("fonts/fust.otf") format("opentype");
}

@font-face {
    font-family: "FontFive";
    src: url("fonts/gooz.otf") format("opentype");
  }

  @font-face {
    font-family: "FontSix";
    src: url("fonts/pool.ttf") format("opentype");
  }

  @font-face {
    font-family: "FontSeven";
    src: url("fonts/road.otf") format("opentype");
  }

  @font-face {
    font-family: "FontEight";
    src: url("fonts/zak.otf") format("opentype");
  }

  @font-face {
    font-family: "FontTen";
    src: url("fonts/delphia.otf") format("opentype");
  }

body {
  font-family: Georgia, Times, "Times New Roman", serif;
  background-size: cover;
  margin: 0;
  overflow: hidden;
  transition: background-image 1s none;
}

.container {
  position: absolute;
  z-index: -500;
  width: 100vw;
  height: 100vh;
}
.random-img {
  position: absolute;
  transition: transform 2s ease-in-out;
  animation: pulse 5s infinite alternate ease-in-out;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
  }
}

h2 {
  z-index: 1000;
  position: absolute;
  color: red;
  text-align: center;
  transition: font-family 0.5s ease-in-out;
  
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14vw; 
  white-space: nowrap; 
}

.star {
  color: white;
  z-index: -1000;
  position: absolute;
  font-size: 30px; 
  animation: pulse 2s infinite alternate ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
  }
}

.nav-container {
  position: relative;
  display: block;
  justify-content: flex-start;
  width: 100%;
}

.circle-btn {
  position: absolute;
  top: 3%;
  
  width: 80px;
  height: 80px;
  background-color: red;
  color: white;
  font-size: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: width 0.5s ease, font-size 0.3s ease;
}

.nav-links {
  display: flex; 
  justify-content: space-evenly;
  gap: 5px;
  opacity: 1;
  color: red;
  padding: 10px;
  border-radius: 10px;
  position: absolute;
  left: 0;
  z-index: 999;
}

.nav-link {
  color: red;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.5vw;
}

.nav-link:hover {
  color: white;
}


#contactBar {
  position: fixed;
  bottom: 35%;
  left: 0;
  width: 100%;
  text-shadow: black 0px 0px 30px, black 0px 0px 10px; 
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 1.5vw;
  z-index: 99;
}

#contactBar a {
  color: white;
  text-decoration: underline;
}

#contactBar a:hover {
  text-decoration: none;
}

.nav-links .close-btn {
  display: none;
}


.close-btn {
  color: black;
  padding: 10px 20px;
  font-size: 10px;
  text-decoration: none;
  position: absolute;
  top: -50px; 
  right: 10px;
  cursor: pointer;
}

.close-btn:hover {
  color: red;
}

.link-bar {
  position: fixed;
  bottom: 20px; 
  right: 20px; 
  display: flex;
  gap: 30px; 
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.link-icon img {
  width: 50px; 
  height: 50px;
  object-fit: cover;
}

.link-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.link-bar a:hover {
  transform: scale(1.1); 
}

.circle-btn.active {
  width: 0px; 
  border-radius: 0; 
}

.circle-btn.active + .nav-links {
  opacity: 1; 
  pointer-events: auto; 
}

.content {
  z-index: 3000;
  position: absolute;
  top: 30%;
  left: 20%;
  display: none;
  box-shadow: 0px 0px 25px 25px rgba(255, 255, 255, 0.8);
  background-color: rgba(255,255,255, 0.8);
  padding: 20px;
  margin-top: 20px;
  width: 60%;
  border-radius: 10px;
  overflow: scroll;
}

.content.active {
  display: block;
}

.content .close-btn {
  font-size: 30px;
  position: absolute;
  top: 5px;
  right: 0px;
  cursor: pointer;
}

#resume{
    position: absolute;
    z-index:1000;
    top: 5%;
    left: 45%;
    width: 35%;
    height: 80%;
}
.pdf{
    z-index:2000;
   
    width: 90%;
     height:100%;
}

#about{
    top: 20%;
    font-size: 120%;
    padding: 5%;
    overflow: scroll;
}

iframe {
  width: 95%;
  height: 100%;
  border: none; 
}

#info{
    position: absolute;
    top: 15%;
    left: 20%;
    width: 60%;
    height: 60%;

}

#desktopHide{
  display: none;
}


@media (max-width: 768px) {

  body {
    font-family: Georgia, Times, "Times New Roman", serif;
    background-color: black;
    background-image: none;
    margin: 0;
    overflow: hidden;
    transition: background-image 1s none;
  }

  .nav-links {
    flex-direction: flex; 
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 9999;
    flex-wrap: wrap;
   
  }

  .nav-link {
    
    font-size: 7vw; 
    padding: 10px;
  }

  #contactBar {
    
    font-size: 4vw; 
    padding: 1px 0;
  }

  #mobileHide{
    display: none;;
  }

  h2 {
    z-index: 1000;
    position: absolute;
    color: red;
    text-align: center;
    transition: font-family 0.5s ease-in-out;
    
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24vw; 
    white-space: wrap; 
  }

  .content {
    padding: 10px;
  }

  iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9; 
  }

  #desktopHide{
    display: block;;
  }
  
  .container {
    top: 5%;
    left: -15%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
    gap: 0px;
    padding: 0px;
  }

  #contactBar {
   
    bottom: 25%;
    
  }

  .random-img {
    width: 10px; 
    height: auto;
  }

  .content {
    z-index: 3000;
    position: absolute;
    top: 20%;
    left: 20%;
    display: none;
    box-shadow: 0px 0px 25px 25px rgba(255, 255, 255, 0.8);
    background-color: rgba(255,255,255, 0.8);
    padding: 20px;
    margin-top: 20px;
    width: 60%;
    border-radius: 10px;
    overflow: scroll;
  }

  #resume {
    position: absolute;
    z-index: 1000;
    top: 13%;
    left: 5%;
    width: 80%;
    height: 60%;
    background-color: white; 
    border: 1px solid #ccc; 
    overflow: hidden; 
}

.pdf {
    width: 100%;
    height: 100%;
    border: none;
}

#about {
  position: absolute;;
  top: 20%;
  left: 3%;
  font-size: 120%;
  width: 80%;
  height: 50%;
  padding: 5%;
  overflow-y: scroll;
  overflow-x: hidden;
}

#info{
    position: absolute;
    left: 5%;
    width: 80%;
}

.content .close-btn {
  font-size: 30px;
  position: absolute;
  top: -10px;
  right: -10px;
  cursor: pointer;
}

.link-bar {
  position: fixed;
  bottom: 20px; 
  right: 20px; 
  display: flex;
  gap: 20px; 
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.link-icon img {
  width: 50px; 
  height: 50px;
  object-fit: cover;
}

.link-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.link-bar a:hover {
  transform: scale(1.1); 
}


iframe {
  width: 95%;
  height: 95%;
  border: none; 
}

  .link-bar {
    right: 0; 
    left: 0; 
    justify-content: center; 
    bottom: 10px; 
  }

  .link-bar a {
    margin: 0 10px; 
  }



}