@import url('./variables.css');
@import url('./normalize.css');
@import url('./fonts.css');
@import url('./index.css');


ul {
    margin: 0;
    padding: 0;
}
.inner__section {
    display: grid;
    grid-template-columns: 1.5fr 3fr 1.5fr;
    justify-content: center;
    grid-gap: 20px 40px;
    list-style-type: none;
    margin: 0 40px;
    padding: 0;
}

.inner__content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.inner__section {
    width: 100%; /* Ширина секции (можно задать фиксированную ширину, если нужно) */
    max-width: 1920px; /* Ограничение максимальной ширины для удобства чтения */
}

.navbar__add-button {
    border: 2px solid #000;
}

.navbar__add-button:hover {
    border: 0 solid #000;
}

.project-card, .all-projects{
    font-family: 'Inter', Arial, sans-serif;
    color: white;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: var(--nav-border);
    position: relative;
    overflow: hidden;
}

.project-card__description {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 25px 20px 0 20px;
}

.card__create-button {
    width: 18px;
    height: 18px;
    background: transparent url('./images/create-icon.svg') center no-repeat;
    /*Потом это будет из модификатора*/
    background-size: 20px 20px;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 18px;
    right: 47px;
    padding: 0;
    margin: 0;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.card__create-button:hover {
    opacity: 0.6;
}

.card__subsystem-button {
    position: absolute;
    top: 18px;
    right: 83px;
    padding: 0;
    margin: 0;
    width: 18px;
    height: 18px;
    background: transparent url('./images/subsystem.svg') center no-repeat;
    background-size: 22px 22px;
    border: none;
    cursor: pointer;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.card__subsystem-button:hover {
    opacity: 0.6;
}

.card__subsystem-button-2 {
    position: absolute;
    top: 18px;
    right: 120px;
    padding: 0;
    margin: 0;
    width: 18px;
    height: 18px;
    background: transparent url('./images/subsystem.svg') center no-repeat;
    background-size: 22px 22px;
    border: none;
    cursor: pointer;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.card__subsystem-button-2:hover {
    opacity: 0.6;
}

.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card__input-element {
    display: flex;
    flex-direction: column;
    width: 43%;
    gap:10px;
}

.popup__card-form {
    font-family: 'Inter', Arial, sans-serif;
    display: flex;
    justify-content: center;
    gap: 35px;
}

.popup__card-input {
    width: 100%;
    height: 47px;
    border: 1px solid rgba(255, 255, 255, 1.0);
    font-size: 16px;
    line-height: 18px;
    color:white;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 20px;
    margin-right: 20px;
    background: #000;
}

.popup__card-input:last-of-type {
    margin-right: 0;
}

.all-projects {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.all-projects__title {
    color: var(--accent-color);
}

.all-projects__list {
    width: 85%;
}

.all-projects__item {
    display: flex;
    list-style: none;
    align-items: start;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 5px;
}

.all-projects__item-name {
    font-weight: 400;
    margin: 0;
    width: 100%;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}
.all-projects__item-icon {
    width: auto;
    height: 20px;
}
.all-projects__item-icon:hover {
    opacity: 0.6;
    cursor: pointer;
}

.all-projects__separator {
    margin-bottom: 15px;
}

.separator {
    list-style: none;
}

.separator:last-child {
    margin-bottom: 20px;
}

.all-projects__item-link:hover {
    color: var(--accent-color);
}
