

body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: rgba(255, 255, 255, 0.993);
  /*font-family: 'MyCustomFont', arial, serif; */
  background-color: black;
  animation: body 1s linear;
  font-size: 100%;
  font-family: "Space Mono", serif;
  font-weight: 400;
  font-style: normal;
overflow-y: auto;

}


html, body {
  overflow-y: auto !important;
  height: auto !important;
}





@keyframes slide {
  from {
    transform: translateY(10%);
  }

  to {
    transform: translateY(0%);
  }
}

@media (max-width: 768px) {
  #navLinks {
    display: none;
    position: absolute;
    top: 50px;
    right: 10px;
    background-color: #333;
    padding: 10px;
    border-radius: 5px;
  }

  #navLinks.active {
    display: block;
  }

  .menu-btn {
    display: block;
  }


  #skillsArea {
    padding: 20px;

  }
  #skillsArea div{
   padding-bottom: 5%;
  }

  #skillsArea figure {
    margin: 10px 0;
  }




  #languageDiv img,
  #frameworks img,
  #tools img {
    width: 60%;
    margin: 10px 1px;
  }

  #star{
    display: none;
  }





  #schoolsContainer {
    margin-top: 30px;
    margin-left: 0%;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  /* Modify margins or paddings as necessary */
  #wrapper {
    margin-top: 50px;
    padding: 20px;
  }

  #skillsArea figure {
    display: inline-block;
    margin: 20px;
  }

  #languageDiv img,
  #frameworks img,
  #tools img {
    width: 60%;
  }

}



#landingArea {
  background: rgb(193, 193, 193);
  background: radial-gradient(
    circle at 80% 40%,
    rgba(123, 123, 123, 1) 0%,
    rgba(50, 50, 50, 1) 26%,
    rgba(0, 0, 0, 1) 42%
  );
}

#headerTags {
   margin-left: auto;
  display: flex;
  gap: 3rem;
  padding-right: 1.5%;
}


.hideOnMobile{
  cursor: pointer;
}


.hideOnMobile:hover {
  background: -webkit-linear-gradient(#eee, rgb(55, 163, 235));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#header {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 65%;
position:relative;
}

#cornerLogo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2%;
  margin-left: 4%;
  font-size: 14px;
}

#squig {
  font-size: 40px;
}

#intro {
  font-size: 200%;
  text-align: center;

  display: flex;
  flex-direction: row;
  align-items: center;
  padding-bottom: 0%;
}


#imgcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;


  width: 70%;
  height: 40%;

  border-radius: 50%;
  border: 1px solid white;
  overflow: hidden; 
}

/* On tablets */
@media (max-width: 768px) {
  #imgcontainer {
    width: 30%;
    height: 30%;
  }

  #landingArea {
  background: rgb(193, 193, 193);
  background: radial-gradient(
    circle at 53% 55%,
    rgba(123, 123, 123, 1) 0%,
    rgba(50, 50, 50, 1) 26%,
    rgba(0, 0, 0, 1) 42%
  );
}


}


@media (max-width: 480px) {
  #imgcontainer {
    width: 35%;
    height: 35%;
  }

}


video {
  width: 80vw;   
  max-width: 400px;
  height: auto;
  border-radius: 50%;
}


#im{
  margin-right: 5%;
}
#nameIntro {
  border-right: .10em solid rgb(255, 255, 255);


    animation: 

    blink-caret .75s step-end infinite;
  margin-top: 22%;
  background: -webkit-linear-gradient(#eee, rgb(55, 163, 235));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap; 
  position: relative;

}

#linkedLink {
  background: -webkit-linear-gradient(#eee, rgb(55, 163, 235));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 60%;
  font-family: "Schoolbell", arial, serif;
  color: white;
  position: relative;
  left: 15%;
  margin-bottom: 5%;
  height: 100px;
  width: 100px;
  background-color: rgba(238, 238, 238, 0);
  border: 1px solid white;
  border-image: linear-gradient(to right, rgb(55, 163, 235) 0%, #ffffff 100%) 1;
  border-radius: 50%;
}

#cubeSS{
margin-top: 0%;
}

#description {
  /*
    width: 13%;
  position: relative;
  top: -69px;
  left: 6%;
  */
  border: solid white 1px;
   white-space: nowrap;
  width: 55%;
padding-left: 0.2%;
padding-right: 0.2%;
 


}
#descriptionWrap{
margin-left: 5%;
}
#descriptionWrap h4{
 
}
#description:hover{
  opacity: 1.5;
  background-color: white;
  text-emphasis: 900;
  color: black;
}

#secondDescription {
  /*
  position: relative;
  top: -113px;
  left: 20%;
  */
}
.skillsHeader {
  padding-left: 5%;
  position: relative;
  padding-top: 8%;
  font-size: 55px;
  margin-bottom: -1%;
}


@media (max-width: 768px) {
  #intro {
    margin-left: 5%;
    font-size: 150%;
    flex-direction: column;
  }

  #nameIntro {
    left: -5%; 
    margin-top: 10%;
    font-size:100%;
    width: 62vw;
  }

  #linkedLink {
    left: 0; 
    margin-bottom: 10%;
  }

  #description {
    left: 5%;
    top: 0;
  }

  .skillsHeader {
    font-size: 50px;
    left: 5%;
  }
  .imgJ{
    
 width: 3vw;
 position: relative;
 top: 36%;
margin: 50px 0

  }
  .pLan{margin-bottom: 20%;}

  #skillsArea div{
height:300px;

}

}

.pLan{
  position: absolute;
  top:0;
  text-align: center;
margin-left: 5%;
}



.imgJ{
  margin-top: 20%;
  filter: drop-shadow(0 0 0.99rem rgb(0, 153, 255));
 height: 7vh;
 width: 4vw;
top: 4.7vh;
}

figcaption {
  padding-bottom: 25%;
  position: relative;
  left: 38%;
}

#wrapper {
  display: none;
}

#progress {
  height: 8px;
  width: 0%;
  background-color: #fff;
  position: fixed;
  top: 40%;
  left: 0;
  animation: progress 1s linear;
}

#progress.hide {
  display: none;
}
@keyframes progress {
  to {
    background-color: rgb(38, 194, 255);
    width: 100%;
  }
}

.cube-wrap {
  transform: rotateX(180deg);
  --size: 7vmin;
margin-left: 40vw;
position: absolute;
  top: 40%;
z-index: 30;
  width: 0;
    
  height: 0;
  perspective: 100vmin;
}
.cube {
z-index: 30;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateZ(45deg) rotateY(-45deg);
  animation: cube 2s linear;
position: relative;
  transform-origin: center;
}
@keyframes cube {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
  }
  50% {
    transform: rotateX(360deg) rotateY(-45deg) rotateZ(45deg) scale(1);
  }
  100% {
    transform: rotateX(90deg) rotateY(0deg) rotateZ(0deg) scale(1);
  }
}

.side {
  position: absolute;
  width: var(--size);
  height: var(--size);
  filter: drop-shadow(0 0 0.99rem rgb(0, 153, 255));
  backface-visibility: visible;
  top: calc(var(--size) * -0.5);
  left: calc(var(--size) * -0.5);
}
.top {
  background-color: rgb(255, 255, 255);
  transform: rotateX(90deg) translateZ(calc(var(--size) * 0.5));
}
.bottom {
  color: rgb(5, 142, 255);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgb(255, 255, 255);
  transform: rotateX(90deg) translateZ(calc(var(--size) * -0.5));
}
.left {
  font-size: 2rem;

  background-color: #ccc;
  transform: rotateY(90deg) translateZ(calc(var(--size) * 0.5));
}
.right {
  background-color: #ddd;
  transform: rotateY(90deg) translateZ(calc(var(--size) * -0.5));
}
.front {
  background-color: #aaa;
  transform: translateZ(calc(var(--size) * 0.5));
}
.back {
  background-color: #bbb;
  transform: translateZ(calc(var(--size) * -0.5));
}

:root * {
  animation-play-state: play;
  animation-delay: calc(var(--scroll) * -1s);
  animation-iteration-count: 1;
  animation-fill-mode: both;
}


@keyframes smoothAppearance {
  0% {
    opacity: 0; 
    transform: translateY(20px); 
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#educationArea {
  display: flex;
  flex-direction: column;
  background: radial-gradient(
    circle at 13% 50%,
    rgba(123,123,123,1) 0%,
    rgba(50,50,50,1) 17%,
    rgba(0,0,0,1) 25%
  );

}


#schoolsContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  margin: auto;

  width: 90%;
  max-width: 800px;
  padding-top: 2rem;
}


.schoolItem {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
}


.schoolLogo {
  flex-shrink: 0;
  width: 60px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 0.5rem #fff);
}


.schoolContent {
  display: flex;
  flex-direction: column;
  text-align: left;
}


.schoolContent h2 {
  font-size: 45px;
  background: -webkit-linear-gradient(#eee, rgb(55,163,235));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  cursor: pointer;
}


.schoolInfo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}


.schoolInfo h3,
.schoolInfo h4 {
  margin: 0;
  font-weight: 400;
}


@media (max-width: 600px) {
  #schoolsContainer {
    width: 100%;
    gap: 1.5rem;
    padding: 1rem;

  }
  .schoolItem {
    gap: 1rem;
  }
  .schoolContent h2 {
    margin-bottom: 4%;
    margin-top: 4%;
    font-size: 1.3rem;
  }

  #educationArea {


  background: radial-gradient(
    circle at 30% 25%,
    rgb(86, 86, 86) 0%,
    rgba(50,50,50,1) 17%,
    rgba(0,0,0,1) 25%
  );

}

.cube-wrap{
 display: none;
}
}


#foot {
  display: flex;
  flex-wrap: wrap;
  height: 10vh;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  background: rgba(255, 255, 255, 0.16);
  border-top: 2px dotted #fff;
  box-shadow: 0 4px 30px rgba(218, 218, 218, 0.5);
  backdrop-filter: blur(12px);
}

.footer-top {
  display: flex;
  flex: 1 1 300px;
  align-items: center;
  gap: 2rem;
}

.footer-brand h1 {
  margin: 0;
  font-size: 1.5rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links img {
  width: 32px;
  height: 32px;
  transition: transform 0.2s;
}

.footer-links a:hover img {
  transform: scale(1.1);
}

.footer-actions {
  display: flex;
  flex: 1 1 200px;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;

}

.footer-actions button {
  padding: 0.6rem 1rem;
  height: 7vh;
  font-size: 1.7rem;
  width: 15vw;  
  color: white;
  border: 1px solid white;
  background: rgb(55, 163, 235);
  border-radius: 0.5rem;

  transition: background 0.2s;
}

.footer-actions button:hover {
  background: rgb(40, 122, 177);
}

.footer-stats {
  display: flex;
  flex: 1 1 200px;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-stats span:first-child {
  font-weight: bold;
}


button{
  cursor: pointer;
}


@media (max-width: 600px) {
  #foot {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    height: 20vh;
 margin-right: 0;
  }
  .footer-top,
  .footer-actions,
  .footer-stats {
    justify-content: center !important;
  }
  .footer-stats {
    flex-direction: column;
        display: none;
  }
  .footer-actions{
    display: none;
  }
 
}


#like {
  color: white;
  background-color: gray;
  border-radius: 10%;
  position: absolute;
  display: flex;
  left: 63%;
}
#butt {
  color: white;
  background-color: gray;
  border-radius: 10%;
  position: absolute;
  display: flex;
  left: 5%;
 
}



#likedPage{
display: flex;
}

#projectCard{
  display: flex;
  align-items: center;
  flex-direction: column;
  align-self: center;
  margin-left: 1%;
}

.projPhoto{
 width: 90vw;
  max-width: 420px;
  height: auto;
  border: 3px solid #fff;
}

#openSource{
 height: 5%;
}

::-webkit-scrollbar {
  display: none;
}

/* For Firefox */
html {
  scrollbar-width: none;
}

/* For Internet Explorer and older Edge versions */
html {
  -ms-overflow-style: none;
}


#scroll-container {

  position: relative;
  width: 100%;
  scroll-behavior: smooth;

  white-space: nowrap;
  padding: 10px;
  padding-bottom: 0%;
  display: flex;
margin-left: 1.5%;
}

#scroll-container img {
  padding: 20px;
  opacity: 0.85;
  
}
#scroll-container img:hover {
  opacity: 2;
;
}

#techContain img{
  margin-left: 5%;
  height:40px;
}
#techContain{
  padding: 0%;
 align-content: flex-start;
 align-self: flex-start;
 left: 0%;
 color: rgb(5, 142, 255);
 font-size: 100%;
 margin-left: 5%;
}
.projectName{
  font-size:40px;
 -webkit-animation: glow 1s ease-in-out infinite alternate;
 -moz-animation: glow 1s ease-in-out infinite alternate;
 animation: glow 1s ease-in-out infinite alternate;
}
@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.541), 0 0 20px rgba(255, 255, 255, 0.541), 0 0 30px #00a5e68c, 0 0 40px #00a5e680, 0 0 50px #00a5e680, 0 0 60px #00a5e67e, 0 0 70px #00a5e693;
  }
  to {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.568), 0 0 30px #ffffff88, 0 0 40px #2b87ff8c, 0 0 50px #2b87ff8c, 0 0 60px #2b87ff8c, 0 0 70px #2b87ff8c, 0 0 80px #2b87ff8c;
  }
}
#foot{
  flex-direction: column;
}
#foot img{
  cursor: pointer;
}
#foot img:hover{
  filter: drop-shadow(0 0 0.99rem rgba(255, 255, 255, 0.434));

}
#foot button{
  cursor: pointer;
}
#sideBar{
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  z-index: 999;
  color: white;
  background-color: rgba(255, 255, 255, 0.198);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
}

#sideBar h1{
  width: 100%;
padding-left: 5%;
}

#exitSidebar svg:hover{
  fill: -webkit-linear-gradient(#eee, rgb(55, 163, 235));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#menuButton{
  display: none;
}
@media(max-width: 450px){
  #sideBar{
    width: 500px;
    z-index: 999;
    
  }
}

@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  #menuButton{
    display: block;
   margin-left: 1200%;
  }
  #foot button{
  display: block;
}
  
}

@media(max-width: 1396px){
  #intro{
    font-size: 140%;
  }
}
@media(max-width: 1123px){
  #intro{
    font-size: 105%;
  }
}
@media(max-width: 1322px){

}



#star{
  z-index: -1;
  width: 100%;


  background-size: cover;

  animation: animateBg 50s linear infinite;
}

@keyframes animateBg{
  0%,100%{
      transform: scale(1);
  }
  50%{
      transform: scale(1.2);
  }
}

#str{
  position: absolute;
  top:50%;
  left:50%;
  margin-top: 60%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.062);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.1),0 0 0 8px rgba(255,255,255,0.1),0 0 20px rgba(255,255,255,0.1);
  animation: animate 3s linear infinite;
}
#str::before{
  content:'';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg,rgba(255, 255, 255, 0.671),transparent);
}
@keyframes animate
{
  0%
  {
      transform: rotate(315deg) translateX(-200px);
      opacity: 1;
  }
  70%
  {
      opacity: 1;
  }
  100%
  {
      transform: rotate(315deg) translateX(-500px);
      opacity: 0;
  }
}
#str:nth-child(1){
  top: 0;
  right: 0;
  left: initial;
  animation-delay: 0s;
  animation-duration: 1s;
}

#str:nth-child(3){
  top: 80;
  right: 0px;
  left: initial;
  animation-delay: 0.4s;
  animation-duration: 2s;
}

#str:nth-child(5){
  top: 0;
  right: 400px;
  left: initial;
  animation-delay: 0.8s;
  animation-duration: 2.5s;
}

#str:nth-child(7){
  top: 300px;
  right: 0px;
  left: initial;
  animation-delay: 1.2s;
  animation-duration: 1.75s;
}
#str:nth-child(8){
  top: 0px;
  right: 700px;
  left: initial;
  animation-delay: 1.4s;
  animation-duration: 1.25s;
}

#str:nth-child(9){
  top: 0px;
  right: 450px;
  left: initial;
  animation-delay: 2.75s;
  animation-duration: 2.75s;
}

#projectA{
text-decoration: none;
  font-size: 5.5vh;
 -webkit-animation: glow 1s ease-in-out infinite alternate;
 -moz-animation: glow 1s ease-in-out infinite alternate;

}

.openInNewWindow{
  position: relative;
  left: 5%;
  cursor: pointer;
}

@keyframes fadeOut {
   0% {opacity: 1;}
   25% {opacity: 0.75;}
   50% {opacity: 0.50;}
   75% {opacity: 0.25;}
   100% {opacity: 0;} 
} 

#greeting{

  text-align: center;
  margin-left: 4%;
}

#skillsArea {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2%;         
  padding: 5% 2%;

}


.projectDescription{
  font-size: 2.4vh;
color:white;
text-align: center;

}


#languageDiv,
#frameworks,
#tools {
  position: relative;      
  flex: 1 1 30%;          
  min-width: 240px;     
  background: rgba(109, 109, 109, 0.341);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(218,218,218,0.5);
  backdrop-filter: blur(12px);
  border: 1px solid #fff;
  padding: 1.5rem 1rem;
  display: flex;
  max-width: 300px;
  flex-direction: column;
  align-items: center;
  animation: smoothAppearance 1.5s ease-out forwards;
  transition: filter 0.3s;
   display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2%;         
  padding: 5% 2%;
}
#languageDiv:hover,
#frameworks:hover,
#tools:hover {
  filter: brightness(1.2);
}


#skillsArea h2.pLan {
  font-size: 30px;
  background: -webkit-linear-gradient(#eee, #37a3eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 1rem;
  text-align: center;
}





#skillsArea figure {
  margin: 1rem 0 0;
  text-align: center;
}
#skillsArea figure img {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 0 0.5rem #0099ff);
}
#skillsArea figure figcaption {
  margin-top: 0.5rem;
  font-size: 1rem;
}


@media (max-width: 800px) {
  #skillsArea {
    flex-direction: column;
    gap: 1.5rem;
    margin-left: 10%;
  }
  #languageDiv,
  #frameworks,
  #tools {
    flex: 1 1 auto;
    width: 100%;
    min-width: auto;
    height: 24%;

  }
  #scroll-container {
    flex-direction: column;
    overflow-x: hidden;
    margin-left: 4%;

  }
  .projPhoto{
    width: 85vw;
   height: 90%;
  }
  .projectDescription{
    font-size: 1.7vh;
  }
}


.myName{
  border-right: .10em solid rgb(255, 255, 255);

  width: 100%;
    animation: 

    blink-caret .75s step-end infinite;
}



@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: rgb(255, 255, 255); }
}

#languageDiv > :nth-child(4) {
    filter: none;
  box-shadow: none;
  backdrop-filter: none;
  border: none;
  background-color: none;
}

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  all: unset; 
  text-decoration: none; 
  color: inherit;  
  cursor: pointer;     
}



.glow {
  animation: glowPulse 0.75s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from {
    filter: drop-shadow(0 0 0px #4B9CD3);
  }
  to {
    filter: drop-shadow(0 0 10px #4B9CD3);
  }
}

