* {
  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: 2.5rem 1.5rem;
  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;
}

.small-para {
  font-size: 1.85rem;
  margin-bottom: 0.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;
}

.user-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.user-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.user-picture {
    width: 225px;
    border-radius: 50%;
}

.username {
    font-size: 1.75rem;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.first-text {
    font-size: 1.25rem;
    color: gray;
}

.second-text {
    font-size: 1.35rem;
    font-weight: 600;
}

.button-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.saved-users {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.saved-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.save-data {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.save-img {
    width: 125px;
    border-radius: 1rem;
}

.save-name, .save-email, .save-number {
    font-size: 1.2rem;
}

#copy-btn {
    font-size: 1rem;
    padding: 10px 20px;
}

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;
}

@media screen and (max-width: 1024px) {
    .section {
        width: 500px;
        padding: 2rem 1.5rem;
    }
    .para {
        font-size: 2.25rem;
    }
    button {
        font-size: 0.85rem;
    }
    .user-picture {
        width: 200px;
    }
}

@media screen and (max-width: 768px) {
    .section {
        width: 400px;
        padding: 1.75rem 1.5rem;
    }
    .para {
        font-size: 1.75rem;
    }
    .button-list {
        flex-direction: column;
    }
    .user-section {
        width: 95%;
    }
    button {
        font-size: 1.05rem;
    }
    .user-picture {
        width: 175px;
    }
    .username {
        font-size: 1.5rem;
    }
    .first-text {
        font-size: 1.15rem;
    }
    .second-text {
        font-size: 1.25rem;
    }
    .small-para {
        font-size: 1.55rem;
    }
    .save-img {
        width: 115px;
    }
    .save-name, .save-email, .save-number {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 468px) {
    .section {
        width: 260px;
        padding: 1.75rem 1.25rem;
    }
    .para {
        font-size: 1.25rem;
    }
    .user-section {
        width: 90%;
    }
    button {
        font-size: 0.9rem;
    }
    .user-picture {
        width: 150px;
    }
    .username {
        font-size: 1.2rem;
    }
    .first-text {
        font-size: 1rem;
    }
    .second-text {
        font-size: 1.05rem;
    }
    .small-para {
        font-size: 1.35rem;
    }
    .save-img {
        width: 100px;
    }
    .save-name, .save-email, .save-number {
        font-size: 1rem;
    }
    #copy-btn {
        font-size: 0.85rem;
    }
}