body {
  padding-top: 50px;
  background-color: #ffffff;
  color: #757575;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
}

/* Utilities */
ul {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}

.button {
  padding: 0;
  border: none;
  background: none;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

a {
  list-style: none;
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* container */
.container {
  position: relative;
  max-width: 1200px;
  padding-left: 15px;
  padding-right: 15px;

  margin-left: auto;
  margin-right: auto;
}

title {
  display: inline-block;

  color: #030914;

  font-size: 34px;
  font-weight: 700;
}
@media screen and (max-width: 920px) {
  title {
    font-size: 24px;
  }
}
.upper-side {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  margin-bottom: 24px;
}

.input-container {
  width: 430px;
  display: flex;
  justify-content: space-between;
}

input[type="color"] {
  width: 54px;
  height: 54px;

  background-color: transparent;
  border-color: transparent;

  border-radius: 6px;
}

#input {
  max-width: 200px;
  flex: 1;
  padding-left: 24px;

  border: none;
  outline: none;
  background: transparent;

  border-radius: 6px;
  background-color: #eff0f6;
}
@media screen and (max-width: 920px) {
  #input {
    max-width: 150px;
  }
}

#input::placeholder {
  margin-top: auto;
  margin-bottom: auto;

  color: #a0a3bd;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.75px;
}

.input-button {
  box-sizing: border-box;
  border: none;
  outline: none;
  cursor: pointer;

  padding: 0px 31px;

  border-radius: 6px;
  background-color: #1f8505;

  color: #fff;
  font-size: 20px;
  font-weight: 500;
}
.input-button:hover {
  filter: drop-shadow(3px 3px 15px rgba(0, 0, 0, 0.3));
}

@media screen and (max-width: 920px) {
  .input-button {
    margin: 0 14px;
  }
}

.random-button {
  box-sizing: border-box;
  border: none;
  outline: none;
  cursor: pointer;
  height: 54px;
  width: 183px;

  background-color: transparent;
  border-radius: 12px;
  border: 2px solid #000;
  background: rgba(217, 217, 217, 0);

  color: #000;
  font-size: 16px;
  font-weight: 600;
}

.random-button:hover,
.random-button:focus {
  background-color: #000;
  color: #fff;
}
@media screen and (max-width: 920px) {
  .random-button {
    width: 120px;
    font-size: 12px;
  }
}

@media screen and (max-width: 800px) {
  .random-button {
    opacity: 0;
    width: 0;
    height: 0;
  }
}
/* main */
.main-schemes {
  display: flex;
  justify-content: space-between;

  margin-bottom: 46px;
}

@media screen and (max-width: 1170px) {
  .main-schemes {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;

    margin-bottom: 46px;
  }
}
/* analogic colors */
.analogic-colors {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  height: 100%;
}

.analogic-colors-title {
  margin-bottom: 32px;
  color: #4c4d50;

  font-size: 18px;
  font-weight: 600;
}

.analogic-scheme {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
@media screen and (max-width: 1170px) {
  .analogic-scheme {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
}

.analogic-color {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 20px;
  margin-bottom: 12px;

  width: 240px;
  height: 34px;

  border-radius: 20px;

  cursor: pointer;
}
@media screen and (max-width: 1170px) {
  .analogic-color {
    min-width: 250px;
  }
}

.analogic-color:last-of-type {
  margin-bottom: 0px;
}

.analogic-hex,
.analogic-rgb {
  color: #fcfbfa;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.603px;
}

.palette {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 100%;
}

.white-palette,
.black-palette {
  display: block;
}
@media screen and (max-width: 1170px) {
  .white-palette,
  .black-palette {
    margin-bottom: 20px;
  }
}
.palette-title {
  margin-bottom: 24px;

  color: #030914;
  font-size: 24px;
  font-weight: 600;
}

.swatches {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 870px) {
  .swatches {
    flex-wrap: wrap;
  }
}
.swatch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  margin-right: 8px;
}

.swatch:last-of-type {
  margin-right: 0px;
}

.swatch-color {
  margin-bottom: 14px;
  width: 96px;
  height: 70px;

  border-radius: 6px;

  cursor: pointer;
}
@media screen and (max-width: 870px) {
  .swatch {
    width: calc(100% / 4);
    margin-right: 0px;
    margin-bottom: 10px;
  }
  .swatch-color {
    width: 150px;
  }
}
@media screen and (max-width: 680px) {
  .swatch-color {
    width: 100px;
  }
}

.swatch-hex {
  color: #6e6e71;

  font-size: 14px;
  font-weight: 500;
}

/* secondary-schemes */

.secondary-schemes {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 1170px) {
  .secondary-schemes {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 980px) {
  .secondary-schemes {
    align-items: center;
    justify-content: center;
  }
}
.secondary-scheme {
  position: relative;
  box-sizing: content-box;

  padding: 44px;
  width: 210px;
  height: 98px;

  border-radius: 12px;
  cursor: pointer;
}
@media screen and (max-width: 1170px) {
  .secondary-scheme {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 980px) {
  .secondary-scheme {
    width: 500px;
  }
}
.secondary-title {
  display: block;
  margin-bottom: 8px;

  color: #000;

  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.secondary-color-second {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 45%;
  height: 72px;

  border-radius: 12px;

  text-align: center;
}

.secondary-color-third {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 45%;
  height: 72px;

  border-radius: 12px;

  text-align: center;
}

.secondary-thumb-title {
  display: block;

  margin-top: 1px;

  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

/* random colors */
.random-colors {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
@media screen and (max-width: 1170px) {
  .random-colors {
    opacity: 0;
    width: 0;
    height: 0;
  }
}
.random-colors-title {
  color: #030914;
  font-size: 14px;
  font-weight: 600;
}
.random-color-first,
.random-color-second {
  width: 187px;
  height: 75px;
  flex-shrink: 0;

  border-radius: 12px;
  background: #fff;
  box-shadow: 0px 19.300859451293945px 36.189109802246094px 0px
    rgba(89, 113, 99, 0.1);

  cursor: pointer;
}
.random-color-first {
  margin-bottom: 8px;
}
.random-color-swatch {
  margin-bottom: 12px;
  height: 39px;
  border-radius: 12px;
}

.random-color-hex {
  display: block;
  margin-left: 8px;

  color: #6e7191;

  font-size: 10px;
  font-weight: 400;
}

/* alert settings */
.alertify-notifier.ajs-right .ajs-message.ajs-visible {
  border-radius: 10px;
}
.alertify-notifier .ajs-message.ajs-success {
  background: rgba(91, 189, 114, 0.95);
  color: #fff;
}
