* {
  font-family: sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f5f8;
}

nav {
  display: flex;
  justify-content: space-around;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  align-items: center;
  padding: 18px 0;
}

.logo {
  color: #49a6e9;
  letter-spacing: 1px;
}

ul {
  display: flex;
  list-style: none;
}

ul li a {
  margin: 0 10px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1px;
  color: #222;
  font-size: 15px;
  transition-duration: 0.3s;
}

.nav-active {
  color: #49a6e9;
}

ul li a:hover {
  color: #49a6e9;
}

.content {
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.color-text {
  background-color: #222;
  width: fit-content;
  color: #fff;
  font-weight: bold;
  font-size: 40px;
  padding: 15px;
  border-radius: 10px;
  letter-spacing: 3px;
}

.color {
  color: #49a6e9;
  text-transform: capitalize;
}

.change-color {
  border: 2px solid #222;
  border-radius: 8px;
  font-size: 15px;
  letter-spacing: 3px;
  font-weight: 600;
  padding: 15px 20px;
  background-color: transparent;
  cursor: pointer;
  transition-duration: 0.5s;
  margin-top: 30px;
}

.change-color:hover {
  background-color: #222;
  color: #fff;
}

@media screen and (max-width: 560px) {
  nav {
    padding-left: 10px;
  }

  .color-text {
    font-size: 20px;
  }

  .change-color {
    padding: 10px 15px;
    color: #222;
  }
}

@media screen and (max-width: 670px) {
  .color-text {
    width: 95%;
  }
}