/* General Styles
/* Hide the default scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #a7a7a7;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Optional: Add smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  animation: opacity 1s ease-in;
  margin: 0;
}

.content {
  width: 100%;
  max-width: 40000px;
  margin-top: 80px;
  transition: background-color 0.15s ease-in;
  transition: color 0.15s ease-in;
  display: flex;
}
/* .mode-switch-checkbox{
    
    } */

.mode-switch-button {
  align-self: center;
  cursor: pointer;
}

.mode-switch-checkbox:checked ~ content {
  background-color: rgb(255, 255, 255);
  transition: background-color 0.15s ease-in;
  transition: color 0.15s ease-in;
}
.mode-switch-checkbox:checked ~ header {
  background-color: #f4f6f8;
  transition: background-color 0.15s ease;
  transition: color 0.15s ease-in;
}

.mode-switch-checkbox:checked ~ header label {
  color: black;

  transition: color 0.15s ease-in;
}

.mode-switch-checkbox:checked ~ .sidebar {
  background-color: #f4f6f8;
  color: rgb(255, 3, 3);
  transition: background-color 0.15s ease;
  transition: color 0.15s ease-in;
}

.mode-switch-checkbox:checked ~ content div {
  color: #121212;
  transition: color 0.15s ease-in;
}
.mode-switch-checkbox:checked ~ content span {
  color: black;
  transition: color 0.15s ease-in;
}
.mode-switch-checkbox:checked ~ content h3 {
  color: rgb(0, 0, 0);
  transition: color 0.15s ease-in;
}
.mode-switch-checkbox:checked ~ content a {
  color: #242424;
  transition: color 0.15s ease-in;
}

.mode-switch-checkbox:checked ~ content form {
  background-color: #f4f6f8;
  transition: color 0.15s ease-in;
}

.mode-switch-checkbox:checked ~ content footer {
  background-color: #f4f6f8;
  color: black;
  transition: background-color 0.15s ease;
  transition: color 0.15s ease-in;
}

body {
  background-color: #121212;
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgb(255, 208, 0);
  font-family: "montserrat", sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  font-weight: bold;
  transition: color 0.15s;
  color: rgb(255, 255, 255);
}

a:hover {
  color: rgb(204, 204, 204);
}

.mode-switch-checkbox:checked ~ header a {
  color: black;
}

/* Header CSS */
.header {
  align-self: center;
  background-color: #242424;
  position: fixed;
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  border-radius: 40px;
  margin: 16px;
  top: 0;
  z-index: 3;
  transition: background-color ease-in;
  transition: color 0.15s ease-in;
}

@keyframes opacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.header1 {
  color: rgb(255, 208, 0);
  display: flex;
  justify-content: center;
  margin-right: 20%;
  width: fit;
  font-weight: 800;
  font-size: 30px;
  margin-left: 1em;
  align-items: center;
}

.header-image {
  width: 60px;
  height: 60px;
}

.header2 {
  display: block;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.header2 div {
  margin: 1em;
  cursor: pointer;
  font-weight: 800;
}

.header2 div:hover {
  color: rgb(255, 208, 0);
}

@media screen and (max-width: 600px) {
  .header2 {
    display: none;
  }

  .header {
    background-color: #121212;
    display: flex;
    flex: 1 0.5;
    justify-content: space-between;
    padding: 16px;
    margin: 0px;
    border-radius: 0px;
    height: 80px;
  }
}

/* Sidebar CSS */
.sidebar {
  background-color: #121212;
  position: fixed;
  top: 0;
  right: -650px;
  width: 100%;
  transition: right 0.5s ease-in-out;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  height: 80px;
  padding: 16px;
  align-items: center;
  font-size: 12px;
  z-index: 100;
  transition: right 0.5s ease-out;
}

.sidebar div {
  font-weight: bold;
  color: rgb(255, 208, 0);
}

.sidebar div:hover {
  color: rgb(255, 208, 0);
}

.sidebar-toggle-checkbox {
  display: none;
}

.sidebar-toggle-checkbox:checked ~ .sidebar {
  right: -2px;
  transition: right 0.5s ease;
}

.sidebar-toggle-label2 {
  position: fixed;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  right: 16px;
  top: 42px;
  color: rgb(255, 208, 0);
}

.sidebar-toggle-label2:hover {
  color: rgb(255, 208, 0);
}

@media screen and (min-width: 600px) {
  .sidebar {
    display: none;
  }

  .sidebar-toggle-label2 {
    display: none;
  }
}

/* 
homepage */

.cse {
  color: #a7a7a7;
}

.campus {
  color: #a7a7a7;
}

.home-page {
  width: 100%;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-container {
  width: 100%;
  height: 600px;
}

.intro {
  width: 1000px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.row1 {
  flex-wrap: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.humandada {
  max-width: 400px;
  max-height: 400px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 200px;
  display: none;
}

.spirit-dada {
  max-width: 400px;
  max-height: 400px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 200px;
}

.mode-switch-checkbox:checked ~ content .humandada {
  display: block;
}

.mode-switch-checkbox:checked ~ content .spirit-dada {
  display: none;
}

.row2 {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  justify-content: center;
}

.i-hi {
  font-size: 24px;
}

.i-name {
  display: flex;
  justify-content: start;
  align-items: center;
  height: 30px;
}

.span-name {
  font-size: 40px;
  font-weight: 800;
  color: white;
  padding-right: 2px;
  font-size: 24px; /* Adjust as needed */
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflowing text */
  text-align: left;
}

.i-slogan {
  font-size: 20px;
  margin-bottom: 40px;
  color: #a7a7a7;
}

.icons {
  display: flex;
  flex-direction: row;
}

.fb,
.git,
.ig,
.discord {
  width: 30px;
  height: 30px;
  border-radius: 80px;
  padding: 16px;
}

.icons img:hover {
  opacity: 0.75;
}

.fa.fa-facebook,
.fa.fa-instagram,
.fa.fa-github {
  padding: 8px;
  font-size: 24px;
}

@media screen and (max-width: 1200px) {
  .intro {
    flex-direction: column;
    height: fit;
    width: 100%;
  }

  .row1 {
    display: flex;
    align-items: center;
    flex: 0.25;
    position: relative;
    width: 400px;
    height: 400px;
    margin-top: 250px;
    margin-bottom: 10px;
  }

  .i-hi {
    margin-top: 0px;
    font-size: 20px;
    font-weight: 500;
  }

  .i-name {
    font-size: 22px;
    font-weight: 700;
  }

  .i-slogan {
    font-weight: 500;
    font-size: 14px;
  }

  .row2 {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
  }

  .cse {
    font-size: 18px;
  }

  .campus {
    font-size: 14px;
  }
}

.hire-me {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.hire-me-button {
  width: 180px;
  padding: 10px 36px;
  margin-top: 8px;

  height: 48px;
  border-radius: 40px;
  border: none;
  box-sizing: border-box;
  padding: 12px;
  font-family: "Nunito Sans", sans-serif;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: rgb(12, 12, 12);
  background-color: #f6e05e;
}
.hire-me-button:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

/* 
MODE-SWITCH */
.dark-mode {
  position: fixed;
  top: 100px;
  right: 100px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  z-index: 1000;
  cursor: pointer;
}

.moon {
  width: 60px;
  height: 60px;
  position: relative;
  display: none;
}
.sun {
  width: 60px;
  height: 60px;
  position: relative;
  object-fit: cover;
}

.mode-switch-checkbox {
  margin-top: -100px;
}

.mode-switch-checkbox:checked ~ label .sun {
  display: none;
}

.mode-switch-checkbox:checked ~ label .moon {
  display: block;
}

@media screen and (max-width: 600px) {
  .dark-mode {
    top: 120px;
    right: 40px;
  }
  .sun,
  .moon {
    width: 40px;
    height: 40px;
  }
}   