html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-size: 16px;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color: #000;
    font-family: 'Arial', sans-serif;
    
}

.single-day-regular {
    font-family: "Single Day", cursive;
    font-weight: 400;
    font-style: normal;
  }
  
canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

#overlayText {
    position: absolute;
    top: 9.5vh;
    left: 50%;
    font-family: SingleDay;
    transform: translateX(-30%);
    color: white;
    transition: color 0.3s ease-in-out;
    font-size: 3rem;
    z-index: 10;
}

#overlayText:hover{
    color: rgb(161, 110, 255);
}
#defaultText1 {
    position: absolute;
    top: 15vh;
    left: 50%;
    
    transform: translateX(-50%);
    color: rgb(207, 181, 181);
    font-family: SingleDay;
    transition: color 0.3s ease-in-out;
    font-size: 1rem;
    z-index: 10;
}
#defaultText1:hover, #defaultText2:hover {
    color: white
}
#defaultText2 {
    position: absolute;
    top: 26vh;
    left: 50%;

    transform: translateX(-50%);
    color: white;
    font-family: SingleDay;
    transition: color 0.3s ease-in-out;
    font-size: 1.5rem;
    z-index: 11;

}
.button-container, .button-container2, .button-container3 {
    position: absolute;
    
    top: 20vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.button-container2 {
    top: 27vh;
}
.button-container3 {
    top: 34vh
}

.social-button, .social-button2, .social-button3, .social-button4,
.social-button5, .social-button6, .social-button7, .socialbutton8, .social-button-game, .social-button-game2, .social-button-game3 {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    background-color: #333;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: background-color 0.3s, transform 0.3s;
}

.social-button:hover, .social-button2:hover, .social-button3:hover,
.social-button4:hover, .social-button5:hover, .social-button6:hover, 
.social-button7:hover, .social-button8:hover, .social-button-game:hover, .social-button-game2:hover, .social-button-game3:hover {
    background-color: rgba(100, 100, 100, 0);
    transform: scale(1.1);
}

.social-button {
    background-image: url('logo1.png');
}

.social-button2 {
    background-image: url('logo2.png');
}

.social-button3 {
    background-image: url('logo3.png');
}

.social-button6 {
    background-image: url('jimothy\(1\).png');
}

.social-button-game {
    background-image: url('meta.png');
}


.social-button4 {
    background-image: url("logo-light.svg");
}

.aboutme {
    position: absolute;
    top: 65%;
    
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30vw;
    max-height: 40vh;
    padding: 1rem;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 20px;
    background-color: rgba(24, 24, 24, 0.582);
    overflow-y: auto;
    z-index: 10;
    box-sizing: border-box;
    text-align: center;
}

#aboutmetext {
    color: rgb(255, 255, 255);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: SingleDay;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    transition: background-color 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.skills {
    position: absolute;
    top: 30%;
    left: 12%;
    transform: translate(-50%, -50%);
    width: 20vw;
    
    max-height: 40vh;
    padding: 1rem;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 20px;
    background-color: rgba(24, 24, 24, 0.582);
    overflow-y: auto;
    z-index: 10;
    box-sizing: border-box;
    
}


.skilltext {
    color: rgb(255, 255, 255);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: SingleDay;
}

.skilltextLower {
    color: rgb(255,255,255);
    font-size: 1.5rem;
    margin-top: 775px;
    font-family: SingleDay;
}
.abtmt {
    color: rgb(255,255,255);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease-in-out;
    font-family: SingleDay;
}



.abtmt:hover {
    color: #9e69ff; 
}

@font-face {
    font-family: 'SingleDay'; 
    src: url('font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
}


.portfoliobody {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0e0e0e;
  color: #f0f0f0;
}

header {
  background-color: #1a1a1a;
  padding: 2rem;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin: 0;
}

p.subtitle {
  font-size: 1.2rem;
  color: #aaa;
}

section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.project {
  background-color: #1f1f1f;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 10px;
  transition: background-color 0.3s;
}

.project:hover {
  background-color: #2c2c2c;
}

.project h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.project a {
  color: #61dafb;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #555;
}

.a2 {
    transition: all 0.3s ease-in-out;
    color: white;
    text-decoration: none;
}

.a2:hover {
    color: #8a69ff;
    font-size: 1.75rem;
}

.a3 {
    transition: all 0.3s ease-in-out;
    color: white;
    text-decoration: none;
}

.a3:hover {
    font-size: 1.75rem;
    color: #ffc500;
    text-decoration: none;
}