/* ====================== google fonts ====================== */

/* @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&display=swap");

/* ====================== global declaration section ====================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: "JetBrains Mono", monospace;
  /* font-family: 'Inter', sans-serif; */
}

:root {
  --blue: #0a89ff;
  --white: #ffffff;
  --light-gray: #d7d7d7;
  --gray: #a6a6a4;
  --black: #000000;
}

/* ====================== Theme css ====================== */

.light-theme {
  --white: #000000;
  --black: #ffffff;
  --light-gray: #969696;
  --gray: #515151;
}

/* ====================== body and main css ====================== */

body {
  background-color: var(--black);
  overflow-x: hidden;
}

main {
  background-color: var(--black);
  position: relative;
}

/* ====================== button css ====================== */

.button {
  padding: 10px 15px;
  border-radius: 50px;
  background-color: var(--blue);
  border: 2px solid var(--blue);
  cursor: pointer;
  font-size: 15px;
  text-transform: capitalize;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--white);
  transition: all 0.1s linear;
}

.button:hover {
  background-color: transparent;
}

/* ====================== page css ====================== */

.page {
  height: 300vh;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.background {
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 200px; 
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8); 
  padding: 15px 25px; 
  border-radius: 8px; 
  font-family: inherit;
  color: white;
  font-size: 24px; 
  text-align: center;
  cursor: pointer;
  font-weight: bold; 
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.overlay:hover {
  background-color: rgba(0, 0, 0, 0.9); 
}



#change-theme {
  padding: 10px 15px;
  border-radius: 50px;
  background-color: var(--blue);
  border: 2px solid var(--blue);
  cursor: pointer;
  font-size: 15px;
  text-transform: capitalize;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--white);
  transition: all 0.1s linear;
}

#change-theme:hover {
  background-color: transparent;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  height: 40px;
  width: 40px;
  border-radius: 100%;
  background-color: var(--gray);
  cursor: pointer;
}

.hidden-top-btn {
  display: none;
}

.back-to-top:hover {
  background-color: var(--blue);
  scale: 1.2;
  transition-duration: 0.5s;
}
