html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/faded_gallery-JEludq8wsD8-unsplash.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  color: white;
  padding-top: 60px;
}
html {
  scroll-behavior: smooth;
}
.elaborate {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 20px;
  max-width: 900px;
  height: 400px;
  margin: auto;
  margin-top: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.elaborate h2.knowabout {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}

.elaborate h2#yash {
  font-size: 24px;
  font-weight: normal;
  color: #444;
  margin-top: 0;
}

.elaborate p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-top: 10px;
}

.github-link {
  color: #24292e;
  font-weight: bold;
  text-decoration: none;
}

.github-link:hover {
  text-decoration: underline;
}
.education {
  color: black;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
#school {
  color: #000;
  font-family: cursive;
  text-align: center;
}
.linko {
  color: black;
  font-size: 10px;
}
.schoolo {
  display : flex;
  justify-content: center;
  align-items: center;
}
.schoolo img {
  height: 50px;

}

h1, h2 {
  margin-top: 20px;
  text-align: center;
}
#none {
  color: #14b8a6;
  font-family: 'Times New Roman', Times, serif;
}
h3, h4, h5 {
  color: #334155;
  text-align: center;
}

#noi {
  background-color: #e0f2fe;
  padding: 20px;
  border-radius: 10px;
  margin: 30px auto;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
  color: #0f172a;
  font-weight: bold;
}

textarea, select {
  width: 100%;
  margin: 10px 0 20px;
  padding: 10px;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  font-size: 14px;
}

input[type="submit"] {
  background-color: #0ea5e9;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

input[type="submit"]:hover {
  background-color: #0284c7;
}
.card {
  border-radius: 12px;
  background-color: white;
  color: black;
  padding: 30px 20px;
  text-align: center;
  width: 40%;
  max-width: 400px;
  margin: 40px auto;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  box-shadow: 10px 10px 15px rgb(250, 20, 182);
}

#repog {
  color: orange;
  font-size: 26px;
  margin-top: auto;
}
.fa-hand-point-up {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10px;
}

.all {
  display: flex;
}
#box3 {
  color: green;
  font-size: 26px;
  display: block;
  text-align: center;
  margin-top: 5px;
  transition: transform 0.3s ease-in, box-shadow 0.9s ease-out;

}
.getlost {
  color: greenyellow;
  font-size: larger;
}
#box3:hover {
  transform: scale(1.2);
  color: yellowgreen;
}

#two {
  background-color: #1e293b;
  padding: 20px;
  margin: 30px auto;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  text-align: center;
}

.navbar {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: white;
  font-weight: bold;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin-right: 30px;
}

.navbar a:hover {
  color: yellow;
  border: 2px solid white;
  border-radius: 5px;
  text-decoration: none;
}

#oo {
  color: #fbbf24;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

#orc {
  color: whitesmoke;
  font-family: Georgia, serif;
  text-align: center;
  margin-top: 40px;
  font-size: 22px;
}

#foot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #0f172a;
  color: #f8fafc;
  padding: 20px;
  gap: 10px;
  text-align: center;
}

footer .made {
  font-size: 16px;
}
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0ea5e9;
  color: white;
  padding: 16px 24px;
  border-radius: 50px;  
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background 0.3s, transform 0.2s;
  margin: 30px auto 0 auto;
  width: fit-content;
}

.btn:hover {
  background-color: #0284c7;
  transform: scale(1.08);
  text-decoration: none;
}
.openai {
  font-size: 14px;
  line-height: 1.6;
}

.openai p {
  margin: 5px 0;
}

a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.loader-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 20px solid #FFE66D;
  border-top: 20px solid #4ECDC4;
  animation: spinAnimate 0.90s ease-in-out infinite;
}

#ose {
  margin-top: 20px;
  font-size: 18px;
  color: aqua;
  font-family: sans-serif;
}

@keyframes spinAnimate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


.ladder {
  background-image: url('images/bgtech.jpg'); 
  background-repeat: no-repeat;
  background-size: contain;
}



.t {
  color: blue;
}

#ama {
  font-size: 30px;
}

#ama:hover {
  transform: skew(200deg);
}

@media (max-width: 600px) and (min-width: 90px) {
  #foot {
    padding: 30px 10px;
    font-size: 14px;
  }
}

#noi {
  width: 95%;
}

textarea {
  width: 100%;
}



#sos {
  color: deeppink;
}

.mode,
.coding-hours,
.vi {
  border-radius: 12px;
  background-color: white;
  color: black;
  padding: 30px 20px;
  text-align: center;
  width: 40%;
  max-width: 400px;
  margin: 40px auto;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.mode {
  box-shadow: 10px 10px 15px rgba(0, 255, 255, 0.6);
}

.coding-hours {
  box-shadow: 10px 10px 15px rgba(255, 0, 100, 0.6);
}

.vi {
  box-shadow: 10px 10px 15px rgba(255, 165, 0, 0.6);
}

.mode h2 {
  font-size: 32px;
  color: #0ea5e9;
  margin: 10px 0;
}

.coding-hours h3 {
  font-size: 24px;
  color: #6B7280;
  margin-top: 10px;
}

.vi h2 {
  font-size: 28px;
  color: #14b8a6;
  margin: 10px 0;
}

.mode:hover,
.coding-hours:hover,
.vi:hover {
  transform: scale(1.2);
}

.form-center {
  width: 80%;
  max-width: 600px;
  background: linear-gradient(135deg, #a5f3fc, #fbcfe8);
  padding: 40px;
  margin: 40px auto;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
}

.form-center label {
  color: #1e293b;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.form-center input,
.form-center select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  font-size: 16px;
  border: 2px solid #7dd3fc;
  border-radius: 8px;
  background-color: #f0f9ff;
  transition: 0.3s ease;
}

.form-center input:focus,
.form-center select:focus {
  outline: none;
  border-color: #0ea5e9;
  background-color: #fff;
}

#sub {
  background-color: #c2410c;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.4s ease;
}

#sub:hover {
  background-color: #0284c7;
  transform: scale(1.1);
}


.about {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-image: url('images/ok.jpg'); 
  background-repeat: no-repeat;
  height: 900px;
  background-position: center;
  padding: 20px;
  color: white;
}

.about h1 {
  color: red;
  font-family: Georgia, 'Times New Roman', Times, serif;
}



#mes {
  height: 100px;
  text-align: center;
}

.wave {
  display: inline-block;
  font-size: 80px;
  animation: waveEmoji 0.1s infinite;
  transform-origin: 70% 70%;
}

@keyframes waveEmoji {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(19deg); }
  20%  { transform: rotate(-8deg); }
  30%  { transform: rotate(14deg); }
  40%  { transform: rotate(-4deg); }
  50%  { transform: rotate(12deg); }
  60%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.diff {
  font-size: 24px;
}

.wiki {
  animation: spinThenFloat 3s ease-in-out infinite;
  position: relative;
  border-radius: 12px;
  border: 2px solid white;
  transition: height 6s ease-in-out, transform 0.1s ease-in-out;
}

@keyframes spinThenFloat {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(360deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

.eo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.wiki:hover {
  height: 250px;
  transform: rotate(30deg);
  animation: none;
}

.ostic {
  display: block;
  text-align: center;
  color: white;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.5em;
}

.projects {
  background-image: none;
  background-color: whitesmoke;
} 

li {
  list-style: square;
  color: black;
}

#pixels {
  display: block;
  background-color: white;
  border-radius: 300px;
  font-weight: bolder;
  font-family: cursive;
  color: black;
  font-size: 30px;
}
#pixels:hover {
  text-decoration: none;
}

.more {
  color: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;  
}