body {
    background-color: black;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

#canvas {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

h1 {
    font-size: 50px;
}

header {
    backdrop-filter: blur(8px);
    max-width: calc(100% - 60px);
    margin: 50px auto;
    padding: 15px;
    border-radius: 25px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
}

.name {
  margin-bottom: -15px;
}

#typing::before {
  content: "~$ ";
  margin-left: 5px;
  color: white;
  font-weight: bold;
}

.navigation {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  margin: 1px auto;
  max-width: 500px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
}

.navigation a {
  color: white;
  text-decoration: none;
  padding: 20px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: 16px;
}

.navigation a:hover {
  background-color: white;
  color: black;
  box-shadow: 0 0 10px white;
}

#about,
#hardware,
#skills,
#projects {
    text-align: center;
    align-items: center;
    backdrop-filter: blur(8px);
    width: 50%;
    margin: 40px auto;
    padding: 10px;
    border-radius: 30px;
    border: 3px solid white;
}

#contact {
  text-align: center;
  align-items: center;
  backdrop-filter: blur(8px);
  width: 50%;
  margin: 40px auto;
  padding: 10px;
  border-radius: 30px;
  border: 3px solid white;
  flex-direction: column;
  display: flex;
}

.projects {
  grid-template-columns: repeat(2, 1fr);
  display: grid;
}

.project {
  overflow: hidden;
  margin: 15px;
  border: 2px solid gray;
  border-radius: 20px;
}

#project-content {
  margin: 15px;
}

.project img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

#title-desc {
  color: grey;
  text-decoration: none;

}

#title-desc:hover {
  color: rgb(100, 100, 100);
}

#footer-projects {
  color: darkgray;
}

.skill {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 10px;
  justify-content: center;
}

.skill1 {
  margin: 8px;
  border: 2px solid gray;
  border-radius: 10px;
  width: auto;
  padding: 12px;
  max-width: 300px;
  box-sizing: border-box;
  word-wrap: break-word;
  text-align: center;
  transition: transform 0.3s ease;
}

.skill1:hover {
  transform: scale(1.1);
  transition: all 0.3s ease;
  background-color: white;
  color: black;
  border: 2px solid white;
}

footer {
	color: #94a3b8;
  text-align: center;
	margin-top: 2rem;
	font-size: 0.9rem;
  padding: 1rem;
}

#time {
  background-color: rgba(61, 54, 54, 0.384);
  backdrop-filter: blur(10px);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid gray;
  width: 50%px;
  margin: 30px auto 0 auto;
  box-sizing: border-box;
}

#pc,#laptop {
  display: inline;
  margin: 15px;
}

#pc {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

#weather {
  background-color: rgba(61, 54, 54, 0.384);
  backdrop-filter: blur(10px);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid gray;
  width: 60%px;
  margin: 30px auto 0 auto;
}

#visual {
   position: relative;
   top: 8px;
}

#flaticon {
  color: white;
}

#input-name,
#input-email,
#input-textarea {
  width: 85%;
  padding: 10px;
  margin-bottom: 25px;
  border-radius: 5px;
  border: 2px solid darkgray;
  background-color: rgb(14, 11, 11);
  color: white;
  transition: border 0.3s ease, background-color 0.3s ease;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  height: 25px;
}

#input-name:focus,
#input-email:focus,
#input-textarea:focus {
  outline: none;
  border-color: white;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.8);
}

#input-name::placeholder,
#input-email::placeholder,
#input-textarea::placeholder {
   color: darkgray;
}

#input-textarea {
  resize: none;
  height: 200px;
}

#submit-form-button {
  border-radius: 7px;
  width: 140px;
  backdrop-filter: blur(10px);
  background-color: rgba(24, 22, 22, 0.384);
  color: white;
  border: 2px solid white;
  height: 40px;
  transition: all 0.3s ease;
  font-size: medium;
  cursor: pointer;
}

#submit-form-button:hover {
  border-color: white;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
}

.form {
  padding: 10px;
  width: 90%;
}

#form-p1 {
  margin-top: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
}

#note {
  font-weight: bold;
  margin-top: 0;
}

#note-warning {
  margin-top: -15px;
  margin-bottom: 30px;
}

#error-form {
  padding: 3px;
}

#success-form {
  padding: 3px;
}

#waiting-form {
  padding: 3px;
}

.back-to-top {
  position: fixed;
  bottom: 5%;
  right: 10%;
  background-color: white;
  border-radius: 30px;
  width: 50px;
  height: 50px;
  text-align: center;
  transition: transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  z-index: 9999;
}

.back-to-top a {
  color: black;
  text-decoration: none;
  font-size: 20px;
  display: inline-block;
  padding: 4px 1px;
  padding: 10px;
}

.back-to-top a:hover,
.back-to-top:hover {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.social {
  display: flex;
  justify-content: space-between;
  width: 190px;
}

.social a {
  color: white;
  font-size: 40px;
  border-radius: 15px;
  padding: 5px;
  width: 50px;
}

.social a:hover {
  background-color: white;
  color: black;
  transition: all 0.3s ease;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  display: none;
  z-index: 999;
  transition: opacity 0.2s ease;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  flex-wrap: wrap;
  transform: translate(-50%, -50%);
  background-color: rgb(20, 20, 20);;
  padding: 20px;
  border-radius: 15px;
  z-index: 1000;
  display: none;
  max-width: 400px;
  width: 70%;
  text-align: center;
  transition: opacity 0.2s ease;
}

.popup-btn {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  margin: 10px;
  transition: transform 0.3s ease;
}

.popup-btn:first-child:hover,
.popup-btn:last-child:hover {
  transform: scale(1.2);
  transition: all 0.3s ease;
}

.popup-btn:active {
  background-color: #e0e0e0;
}

.popup-btn:first-child {
  background-color: #409643;
  color: white;
}

.popup-btn:last-child {
  background-color: #6b6b6b;
  color: white;
}

#donate {
  margin: 8px;
  border: 2px solid gray;
  background-color: transparent;
  backdrop-filter: blur(8px);
  font-size: medium;
  color: white;
  border-radius: 10px;
  padding: 12px;
  transition: transform 0.3s ease;
}

#donate:hover {
  transform: scale(1.1);
  transition: all 0.3s ease;
  background-color: white;
  color: black;
  border: 2px solid white;
  cursor: pointer;
}

.donateMe-section {
  text-align: center;
  backdrop-filter: blur(8px);
  width: 85%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 20px;
  color: white;
  font-size: medium;
  overflow: hidden;
  word-break: break-all;
  display: none;
}

.crypto {
  display: inline-block;
  max-width: 50vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  color: #929292;
  cursor: pointer;
  padding: 3px 5px;
  transition: 0.2s ease, transform 0.2s ease;
  direction: ltr;
}

.crypto:hover {
  background-color: rgba(88, 88, 88, 0.5);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.checkmark {
  display: none;
  font-size: 15px;
  margin-left: 10px;
  white-space: nowrap;
}

@media (min-width: 1500px) {
  .donateMe-section {
    width: 40%;
  }
}

@media (max-width: 768px) {
  #about,
  #projects,
  #hardware,
  #contact,
  #skills {
    width: 75%;
  }
}

@media (max-width: 900px) {
  .projects {
    all: unset;
  }
  .project {
    margin: 40px;
  }
}

@media (max-width: 520px) {
  .navigation {
    width: 80%;
  }
}




