* {
  padding: 0;
  margin: 0;
}

body {
  background-color: whitesmoke;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid black;
  width: 600px;
  height: auto;
  padding: 3rem 2rem;
  gap: 2.5rem;
  border-radius: 1.5rem;
  background-color: white;
  margin-top: 7rem;
  margin-bottom: 5rem;
}

.para {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: cornflowerblue;
}

.input {
  font-family: "Montserrat", sans-serif;
  height: 45px;
  padding-left: .5rem;
  box-shadow: 0 0 0 1.5px #2b2c37, 0 0 25px -17px #000;
  border: 0;
  border-radius: 12px;
  outline: none;
  transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: text;
  z-index: 0;
}

.input::placeholder {
  color: #bdbecb;
}

.input:hover {
  box-shadow: 0 0 0 2.5px #2f303d, 0px 0px 25px -15px #000;
}

.input:active {
  transform: scale(0.95);
}

.input:focus {
  box-shadow: 0 0 0 2.5px #2f303d;
}

button {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #725AC1;
  background: transparent;
  cursor: pointer;
  transition: ease-out 0.5s;
  border: 2px solid #725AC1;
  border-radius: 10px;
  box-shadow: inset 0 0 0 0 #725AC1;
}

button:hover {
  color: white;
  box-shadow: inset 0 -100px 0 0 #725AC1;
}

button:active {
  transform: scale(0.9);
}

.dark-mode {
  background-color: black;
  color: white;
}

.light-mode {
  background-color: whitesmoke;
  color: black;
}

.search-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.text {
  font-size: 1.25rem;
}

.checkbox {
  width: 1.25rem;
  height: 1.25rem;
}

.profile-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 85%;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    width: 100%;
}

.profile-header {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    width: 100%;
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    width: 100%;

}

.profile-links {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    width: 100%;
}

.profile-design {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    font-size: 1.5rem;
}

.profile-design-1 {
    font-size: 1.5rem;
}

.profile-design-2 {
    font-size: 1.25rem;
}

#user-doesnot-exist {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.small-para {
    font-size: 2.5rem;
    color: gray;
}

.img-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-pic {
    border-radius: 50%;
    width: 250px;
    height: 250px;
}

@media screen and (max-width: 1024px) {
    .section {
        width: 500px;
        padding: 2.7rem 15rem;
    }
    .para {
        font-size: 2.5rem;
    }
    .profile-pic {
        width: 225px;
        height: 225px;
    }
    .small-para {
        font-size: 2.25rem;
    }
}

@media screen and (max-width: 768px) {
    .section {
        width: 380px;
        padding: 2.25rem 1rem;
    }
    .para {
        font-size: 2rem;
    }
    .search-box {
        flex-direction: column;
    }
    .profile-pic {
        width: 200px;
        height: 200px;
    }
    .profile-design, .profile-design-1 {
        font-size: 1.25rem;
    }
    .profile-design-2 {
        font-size: 1.15rem;
    }
    .small-para {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .section {
        width: 280px;
        padding: 1.75rem 0.5rem;
    }
    .para {
        font-size: 1.5rem;
    }
    .search-box {
        flex-direction: column;
    }
    button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .text {
        font-size: 1rem;
    }
    .checkbox {
        width: 1rem;
        height: 1rem;
    }
    .profile-pic {
        width: 175px;
        height: 175px;
    }
    .profile-design, .profile-design-1 {
        font-size: 1.1rem;
    }
    .profile-design-2 {
        font-size: 1rem;
    }
    .small-para {
        font-size: 1.35rem;
    }
}