html,
body {
  margin: 0;
  padding: 0;
  background-color: #0d021e;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  min-height: 3000px;
}
.navbarBurger {
  display: none;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #00000099;
  padding: 5px 20px;
  position: relative;
  z-index: 10;
  border-radius: 40px;
  width: 90%;
  margin: 10px auto;
  gap: 10px;
}

.navName img {
  width: 150px;
  border: none;
  background: #0d021e;
}

.navLinks {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  flex: 2 1 auto;
}

.links-group {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.link {
  text-decoration: none;
  color: #fffff0;
  font-size: 20px;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
}

.theme-toggle-container {
  display: flex;
  position: absolute;
  z-index: 10;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: flex-end;
  right: 80px;
 
}

.link:hover {
  color: #98edf3;
}

.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 10px;
  border: 2px solid #8f009c;
  border-radius: 34px;
  background: none;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  transition: 0.5s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 1px;
  background-color: #8f009c;
  border-radius: 50%;
  border: 2px solid #8f009c; 
  transition:0.5s;
}

.no-animation .slider:before {
  transition: none !important;
}

input:checked + .slider:before {
  transform: translateX(23px);
}

.theme-label {
  color: #fffff0;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

.introSection {
  position: relative;
  height: 90vh;
}

.background-blur {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    #f68dff 0%,
    #d8a031 10%,
    #d52fd7 30%,
    #8103ff 60%,
    #0b1f82 90%
  );
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 40% 90%;
  filter: blur(80px);
}

.intro {
  justify-content: center;
}

.header {
  font-size: 4rem;
  color: #fffff0;
  margin-left: 30px;
  font-family: "K2D", sans-serif;
  position: relative;
  z-index: 2;
}

.textType {
  font-size: 22px;
  color: #fffff0;
  max-width: 500px;
  margin-top: 30px;
  margin-left: 40px;
  font-family: "Inter", sans-serif;
}

.cvDownload {
  position: absolute;
  left: 180px;
  width: 100%;
  z-index: 3;
}

.cvBtn {
  border: none;
  background: none;
  cursor: pointer;
}

.cvBtn img {
  width: 100px;
  height: 100px;
  display: block;
  transition: transform 0.3s ease;
}

.cvBtn:hover img {
  transform: scale(1.1);
}

.linkedInProfile {
  position: absolute;
  left: 50px;
  z-index: 3;
}
.linkedInBtn {
  border: none;
  background: none;
  cursor: pointer;
}
.linkedInBtn img {
  width: 100px;
  height: 100px;
  transition: transform 0.3s ease;
}
.linkedInBtn:hover img {
  transform: scale(1.1);
}

.largeBall {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  z-index: 2;
  background-color: #3498db;
  top: 45%;
  left: 50%;
  transform: translate(-20%, -20%);
  opacity: 0.8;
  background: radial-gradient(
    circle at 25% 35%,
    #ffffff 0%,
    #98edf3 25%,
    #e05df5 60%,
    #f949e2 100%,
    #d094f8 80%,
    #9702fb 100%
  );
  box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.4);
}

.smallBall {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 25% 35%,
    #ffffff 0%,
    #98edf3 25%,
    #e05df5 60%,
    #f949e2 100%,
    #d094f8 80%
  );
  box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.4);
  top: calc(60% - 275px);
  left: calc(50% + 110px);
  transform: translate(40%, -50%);
  z-index: 3;
}

.backgroundCircles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.largeBall,
.smallBall {
  position: absolute;
}

#aboutContainer {
  color: #fffff0;
  z-index: 11;
  position: relative;
}

.headerAbout {
  text-align: center;
}
.about {
  font-size: 64px;
  font-family: "K2D", sans-serif;
  color: #fffff0;
}
.projects {
  position:relative;
  z-index: 1;
}
h1.contact {
  font-size: 64px;
  font-family: "K2D", sans-serif;
  margin-top: 25px;
  margin-bottom: 0px;
}
.introAbout {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap; 
}
.introAbout img {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  margin: 0;
  box-shadow: -15px -8px 25px rgba(244, 241, 244, 0.4);
}

.aboutPar {
  font-size: 20px;
  line-height: 2;
  text-align: left;
  font-family: "Inter", sans-serif;
  white-space: pre-line;
  max-width: 500px;
}
.btn {
  display: flex;
  justify-content: center; 
}

.contactBtn {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #8f009c;
  color: white;
  border: none;
  font-size: 22px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 0 #570062, 0 8px 15px rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease-in-out;
  position: relative;
  top: 0;
}

.contactBtn a {
  text-decoration: none;
  color: #fffff0;
}

.smallerBall {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 25% 35%,
    #ffffff 0%,
    #98edf3 25%,
    #e05df5 60%,
    #f949e2 100%,
    #d094f8 80%
  );
  box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  left: 50%;
  top: 5px;
  z-index: 3;
}

.skillsContainer {
  color: #fffff0;
  z-index: 11;
  position: relative;
}
.languageSkill {
  display: flex;
  justify-self: center;
}
.skillList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.skillBall {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 25% 35%,
    #ffffff 0%,
    #b7f8fd 25%,
    #e05df5 60%,
    #fb8aec 100%,
    #4d0180 80%
  );
  box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative; 
  z-index: 3;
}

.aboutSkills {
  font-size: 48px;
  font-family: "K2D", sans-serif;
  padding: 0px;
}

#projectContainer {
  color: #fffff0;
  z-index: 11;
  position: relative;
  margin: auto;
}

.projectInfo {
  text-align: center;
  font-family: "Inter", sans-serif;
  white-space: pre-line;
    font-size: 22px;
    line-height: 2;
}

.contactForm {
  display: flex;
  justify-content: center;
  font-size: 30px;
  font-family: "K2D", sans-serif;
}
#contactContainer {
  color: #fffff0;
  z-index: 11;
  position: relative;
}

.formContainer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  overflow: hidden;
}

form {
  position: relative;
  z-index: 1;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 20px;
  border-radius: 10px;
  color: #fffff0;
  margin: 0;
}
label {
  font-weight: 400;
  word-spacing: 5px;
  padding: 5px;
  font-size: 20px;
  margin-left: 20px;
  flex-direction: column;
  color: #fffff0;
}
.text-input {
  width: 300px;
  padding: 10px;
  display: flex;
  border-radius: 10px;
  margin: 10px;
  font-size: 20px;
  color: #0d021e;
}
.message {
  height: 120px;
  font-size: 20px;
  font-family: "Inter", sans-serif;
}
.btnSubmit {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #8f009c; 
  color: white;
  border: none;
  font-size: 22px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 0 #570062, 0 8px 15px rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease-in-out;
  position: relative;
  top: 0;
}

.returnBtn {
  display: flex;
  justify-self: flex-end;
  margin-right: 150px;
}
#upBtn {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 100;
  border: none;
  outline: none;
  background-color: #fffff051;
  color: rgb(25, 5, 244);
  cursor: pointer;
  padding: 5px 5px;
  width: 50px;
  border-radius: 50%;
  transition: background-color 0.3s;
  display: none;
}

.projectName {
  font-family: "K2D", sans-serif;
  font-weight: bold;
  font-size: 20px;
  margin: 0;
}

h3 {
  font-size: 16px;
  white-space: nowrap;
  padding-bottom: 5px;
  color: #fffff0;
}
.projectPreview {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 20px;
}

.projectRow {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 60px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.projectDescr {
  display: flex;
  flex-direction: column;
  justify-content: center;  
  height: 100%; 
align-self: center;
color: #fffff0;
font-family: "Inter", sans-serif;
}

.projectSection {
  max-width: 400px;
  flex: 1;
}

.projectCover {
  width: 100%;
  border-radius: 3%;
}

.projectCode {
  font-style: italic;
  color: #d0d0d0;
font-family: monospace;
font-size: 16px;
}

.projectSection button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #8f009c;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 0 #570062, 0 8px 15px rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease-in-out;
  position: relative;
  top: 0;
}

.contactBtn:hover, .btnSubmit:hover, .projectSection button:hover {
  box-shadow: 0 4px 0 #3a0043, 0 10px 20px rgba(255, 255, 255, 0.4);
  top: -2px;
}

.light-theme {
  background-color: #fffff0;
}

.light-theme .link:hover {
  color: #0c0297;
}

.light-theme .theme-label,
.light-theme .link,
.light-theme .about,
.light-theme .header,
.light-theme .textType,
.light-theme .aboutPar,
.light-theme .aboutSkills,
.light-theme .projectCode,
.light-theme .projectName,
.light-theme label, 
.light-theme p,
.light-theme .contact-header,
.light-theme .contactInfo a{
  color: #0d021e;
}

.light-theme .navbar {
  background: radial-gradient(
    circle at 50% 50%,
    #ffffff 0%,
    #e05df5 25%,
    #98edf3 100%,
    #d094f8 80%
  );
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #272626;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  bottom: -35%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  pointer-events: none;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.site-footer {
  color: #fff;
  padding: 5px;
  text-align: center;
}
.contactInfo a {
  color: #3fc9ff;
  text-decoration: none;
  margin: 0 5px;
}

.contactInfo {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 2;
  margin: 0;
}
.footer-content {
  margin: auto;
  font-family: "Inter", sans-serif;
}

#contactContainer {
  padding: 40px;
}

.contact-header {
  text-align: center;
  font-family: "K2D", sans-serif;
  font-size: 48px;
  margin-bottom: 30px;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.formContainer,
.contactInfo {
  flex: 1;
  min-width: 300px;
}

.contactInfo p {
  font-size: 22px;
}


@media all and (min-width: 650px) and (max-width: 821px) {
  .largeBall {
    left: 30%;
  }

  .smallBall {
    left: 55%;
    top: 1%;
  }

  .aboutPar {
    font-size: 24px;
    max-width: 500px;
  }
  .textType {
    font-size: 24px;
  }
  .projectName {
    font-size: 20px;
  }
  .projectCode {
    font-size: 16px;
  }
  .projectPreview {
    margin: 10px;
  }
  .text-input {
  width: 300px;
  padding: 10px;
  font-size: 18px;
  color: #0d021e;
}
  .btnSubmit {
    padding: 10px;
    font-size: 20px;
  }

  .contactBtn {
    margin-top: 30px;
  }
}

@media all and (min-width: 539px) and (max-width: 649px) {

  .burger {
    font-size: 40px;
    background: none;
    color: #f756ff;
    border: none;
    cursor: pointer;
    margin-left: 10px;
  }
  .navbar {
    display: none;
  }
  .navbarBurger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    padding: 10px;
    position: relative;
    margin-top: 10px;
  }

  .navLinksBurger {
    display: none;
    flex-direction: row;
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 998;
    justify-content: center;
  }
  .navLinksBurger.show {
    display: flex;
    justify-self: flex-end;
  }
  .navLinksBurger a {
    color: white;
    padding: 10px;
    text-decoration: none;
    text-align: right;
    font-size: 16px;
  }
  .header {
    font-size: 45px;
  }
  .theme-toggle-container {
    margin-top: -35px;
  }

  .cvBtn img,
  .linkedInBtn img {
    width: 80px;
    height: 80px;
  }
  .textType {
    font-size: 20px;
    margin-left: 30px;
  }
  .about {
    font-size: 40px;
  }

  .largeBall {
    width: 350px;
    height: 350px;
    top: 60%;
    left: 30%;
  }
  .smallBall {
    width: 80px;
    height: 80px;
    top: 1%;
    left: 60%;
    transform: translate(40%, -50%);
  }

  .aboutPar {
    max-width: 380px;
    font-size: 20px;
  }
  .introAbout img {
    width: 250px;
    height:250px;
    margin: 20px 0px 20px;
  }
  .aboutSkills {
    font-size: 24px;
  }
  .skillBall {
    width: 80px;
    height: 80px;
  }
  .skillBall img {
    width: 60px;
  }
  .projectPreview {
    margin: 40px 10px 0px 10px;
  }
 
  .skillList {
    padding: 10px;
  }
  .projectCode {
    margin-bottom: 30px;
  }
  .smallerBall {
    width: 40px;
    height: 40px;
  }
  
}


@media all and (min-width: 400px) and (max-width: 541px) {
  

  
  .burger {
    font-size: 40px;
    background: none;
    color: #f756ff;
    border: none;
    cursor: pointer;
    margin-left: 10px;
  }
  .navbar {
    display: none;
  }
  .navbarBurger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    padding: 10px;
    position: relative;
    margin-top: 10px;
  }

   .theme-toggle-container {
    margin-top: -35px;
  }

  .navLinksBurger {
    display: none;
    flex-direction: row;
    justify-content: flex-end;

    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 998;
    justify-content: center;
  }
  .navLinksBurger.show {
    display: flex;
    justify-self: flex-end;
  }
  .navLinksBurger a {
    color: white;
    padding: 10px;
    text-decoration: none;
    text-align: right;
    font-size: 16px;
  }
  .header {
    font-size: 45px;
  }

  .cvBtn img,
  .linkedInBtn img {
    width: 80px;
    height: 80px;
  }
  .textType {
    font-size: 18px;
    margin-left: 30px;
  }

  .about {
    font-size: 40px;
  }

  .largeBall {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 25%;
  }
  .smallBall {
    width: 70px;
    height: 70px;
    top: 1%;
    left: 60%;
    transform: translate(40%, -50%);
  }

  .aboutPar {
    max-width: 350px;
    font-size: 18px;
  }
  .introAbout img {
    width: 250px;
    height: 250px;
    margin: 20px 0px 20px;
  }
  .aboutSkills {
    font-size: 24px;
  }
  .skillBall {
    width: 70px;
    height: 70px;
  }
  .skillBall img {
    width: 50px;
  }
 
 
  .skillList {
    padding: 10px;
  }

  .smallerBall {
    width: 40px;
    height: 40px;
  }
    label {
  padding: 5px;
  font-size: 18px;
  flex-direction: column;
  color: #fffff0;
   margin-left:20px

}
.text-input {
  width: 300px;
  border-radius: 8px;
  margin:3px;
  font-size: 18px;
  
}
}


@media all and (min-width: 320px) and (max-width: 415px) {
  body {
    overflow-x: hidden;
  }

   .theme-toggle-container {
    margin-top: -35px;
  }

.switch {
 width: 18px;
 padding:8px;
 margin:2px;
 height: 0.5px;}

 .slider:before {
  height: 10px;
  width: 10px;
  left: 1px;
  bottom: 1px;}

  input:checked + .slider:before {
  transform: translateX(18px);
}

  .theme-label {
  font-size: 12px;}

  .burger {
    font-size: 30px;
    background: none;
    color: #f756ff;
    border: none;
    cursor: pointer;
    margin-left: 10px;
  }
  .navbar {
    display: none;
  }
  .navbarBurger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    padding: 10px;
    position: relative;
    margin-top: 10px;
  }

  .navLinksBurger {
    display: none;
    flex-direction: row;
    justify-content: flex-end;
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 998;
    justify-content: center;
  }
  .navLinksBurger.show {
    display: flex;
    justify-self: flex-end;
  }
  .navLinksBurger a {
    color: white;
    padding: 10px;
    text-decoration: none;
    text-align: right;
  }

  .navName img {
    width: 80px;
  }
  .navLinks {
    flex-direction: column;
    align-items: flex-start;
  }


  .skillBall {
    width: 60px;
    height: 60px;
  }
  .skillList {
    margin: 10px;
  }
  .skillBall img {
    width: 50px;
  }

  a.link {
    font-size: 13px;
  }
  .theme-label {
    font-size: 14px;
  }

  .header {
    font-size: 45px;
  }
  .cvBtn img,
  .linkedInBtn img {
    width: 50px;
    height: 50px;
  }

  .textType {
    font-size: 16px;
    margin-left: 20px;
  }

  .about {
    font-size: 40px;
  }

  .intro {
    padding: 10px;
  }

  .cvDownload {
    left: 280px;
    top: 20%;
  }

  .linkedInProfile {
    left: 280px;
    top: 8%;
  }

  .largeBall {
    width: 250px;
    height: 250px;
    top: 60%;
    left: 30%;
    margin-bottom: 30px;
  }


  .smallBall {
    width: 60px;
    height: 60px;
    top: 1%;
    left: 60%;
    transform: translate(40%, -50%);
  }

  .aboutPar {
    max-width: 320px;
    font-size: 18px;
  }

  .introAbout img {
    width: 250px;
    height: 250px;
    margin: 20px 0px 20px;
  }
  .contactBtn {
    padding: 10px;
  }
  .about {
    margin: 20px;
  }
  .aboutSkills {
    font-size: 22px;
    padding: 10px;
  }

  label {
    font-size: 16px;
    padding: 10px;
    margin-right: 20px;
  }
  .text-input {
    width: 270px;
    font-size: 16px;
    margin:5px;
  }
 
  .skillList {
    padding: 20px;
  }
.formContainer {
  justify-content: center;
  align-items: center;
  align-self: center;
}

  .smallerBall {
    width: 40px;
    height: 40px;
  }

 .projectRow {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }

  .projectRow.reverse .projectSection:first-child {
    order: 2;
  }

  .projectRow.reverse .projectSection:last-child {
    order: 1;
  }

  .projectSection {
    max-width: 90%;
  }

  .projectCover {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .projectCode {
    margin: 10px 0;
    font-size: 14px;
  }

  .projectSection button {
    font-size: 14px;
    padding: 10px 20px;
  }

  .projectName {
    font-size: 20px;
    margin-top: 10px;
  }

  label {
  padding: 5px;
  font-size: 18px;
  flex-direction: column;
  color: #fffff0;
}
}

@media all and (max-width: 320px) {
  body {
    overflow-x: hidden;
  }
  .cvDownload {
    left: 250px;
    top: 15%;
  }
   

  .linkedInProfile {
    left: 250px;
    top: 5%;
  }
  .header {
    font-size: 35px;
  }

  .aboutPar {
    max-width: 280px;
    font-size: 14px;
  }
  .contactBtn {
    padding: 8px;
    font-size: 22px;
  }
  label {
    font-size: 16px;
    margin-left: 20px;
  }

  .smallBall {
    width: 40px;
    height:40px
  }
  .largeBall {
    width:200px;
    height:200px;
    top:65%
  }

  .cvDownload {
    top:19%
  }

.contact-content {
  display: flex;
  justify-self: center;
}

.contactInfo p {
  font-size: 16px;
}
  .text-input {
    width: 230px;
    

  }
}