* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/*  Resets */

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

ul{
  padding: 0;
  list-style: none;
}

/*
DISTANCES: 18, 25, 30, 48, 65, 155
*/

/*
FONT SIZES: 16, 30
*/

:root{

  --color-suggestions: #171e36;
  --color-disabled-input: #96A0BC;
  --color-input-active: #30364a;
  --bg-input-disabled: #E5E7EC;
  --bg-input-active: #f7f7fa;
  --bg-item: #0D2167;
  --bg-inner: #FFFFFF;
  --bg-outer: #E1ECFF;
}

html{
  font-size: 62.5%;
}

body{
  padding: 0;
  height: 100vh;
  background-color: #f0f6ff;
  font-family: "Inter", "Roboto", sans-serif;
  box-sizing: border-box;
}

.app-header__title{
  margin: 10rem auto 4.7rem;
  text-align: center;
  font-size: 3.7rem;
}

main{
  width: 100%;
  max-width: 72rem;
  margin: 2rem auto;
  background-color: #ffffff;
  padding: 6.5rem;
  border-radius: 1rem;
  box-shadow: 1rem 0.5rem 2.5rem #e1ecff;
}

main{
  display: flex;
  gap: 6.5rem;
}

/* #region app*/

.app__list{
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
  position: relative;
}

.app{
  flex-grow: 3.2;
}

.skills{
  flex-grow: 1;
}

.app__item {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--bg-item);
  color: #fff;
  font-size: 1.6rem;
  padding: 2rem 2rem;
  border-radius: 8px;
  cursor: crosshair;
  transition: opacity 0.6s ease;
}

.app__item:hover {
  opacity: 0.8;
}


.app__item-ordinal{
  margin-right: 10px;
}

.app__icon{
  margin-left: auto;
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.app__icon--drop{
  stroke: darkblue;
  position: absolute;
  right: 1.8rem;

}

.app__item--input{
  padding: 0;
  height: 6rem;
  background-color: transparent;
  position: relative;
}

.app__box-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgb(193, 131, 100);
  border-radius: 7px;
  box-shadow: 3px 3px 15px rgb(0 0 0 / 20%);
  z-index: 9999;
  opacity: 0;
  max-height: 8px;
  overflow: hidden;
  transform: translateY(10px);
  transition:
    opacity 1s ease-out,
    transform 0.5s ease-out,
    max-height 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s;
    cursor: pointer;
}

.app__box-wrapper--visible {
  opacity: 1;
  z-index: 100;
  transform: translateY(0);
  max-height: 150px; /* grows only AFTER it arrives */
}

.app__skill-item{
  color: inherit;
  padding: 4px 0;
}


.app__suggestion-box{
padding: 20px;
list-style: none;
}


.app__input{
  width: 100%;
  height: 100%;
  border-radius: 7px;
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 1.6rem;
  font-family: Lato, sans-serif;
}

.app__input:focus-visible{
  outline: none;
}

.app__input--active{
  background-color: var(--bg-input-active);
  border: 1px solid var(--bg-input-disabled);
  color: var(--color-input-active);
  font-weight: 600;
}

.app__input--disabled{
  background-color: var(--bg-input-disabled);
  border: none;
  color: var(--color-disabled-input);
  font-weight: 600;
}

.app__input--disabled + .app__icon{
  display: none;
}
/*#endregion*/

/* .skills*/

.skills__list{
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skills__item{
  cursor: pointer;
}

.skilss__item:focus,
.skills__item:hover{
  background-color: #e3e3e3;
}

.skills__item--title:focus,
.skills__item--title:hover{
  background-color: transparent;
}


.skills__item--title{
  font-size: 1.6rem;
  color: var(--color-suggestions);
  font-weight: 600;
  cursor:auto;
}

.clonedItem{
  opacity: 0.2;
  background-color: red;
  box-shadow: 3px 0 7px rgba(255, 255, 255, 0.5);
  position: absolute;
  z-index: 100;
  width: 100%;
}

.drag-marker{
  width: 100%;
  background: #000;
  height: 5px;
  left: 0;
  position: absolute;
}


