@import url(../theme/default.css);
@import url(personnal_space.css);
@import url(side_menu.css);
@import url(../template/header.css);
@import url(../tactic.css);
#main {
    display: flex;
    flex-direction: column;
    font-family: var(--font-content);
    height: 100%;
}

#body {
    display: flex;
    flex-direction: row;
    margin: 0;
    height: 100%;
    background-color: var(--home-second-color);
    user-select: none;
}

.data {
    border: 2px solid var(--main-contrast-color);
    background-color: var(--home-main-color);
    border-radius: 0.75cap;
    color: var(--main-contrast-color);
}

.data:hover {
    border-color: var(--accent-color);
    cursor: pointer;
}

.set-button {
    width: 80%;
    margin-left: 5%;
    margin-top: 5%;
}

#tactics-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
}

.tactic-card {
    cursor: pointer;

    position: relative;
    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;
    width: 32%;
}

.tactic-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    pointer-events: none;
    position: absolute;
}

.tactic-card-title {
    user-select: none;
    padding: 0 10px 0 10px;
    border-radius: 200px;
    background: rgba(236, 235, 235, 0.87);
}

.tactic-card-actions * {
    width: 30px;
}

.tactic-card-actions {
    display: flex;
    width: 100%;
    height: 30px;
    gap: 5px;

    align-content: center;
    align-items: center;
    justify-content: center;

    * {
        pointer-events: all;
    }
}

.tactic-card-export-btn {
    height: 100%;

    * {
        fill: var(--accent-color);
    }
}

.tactic-card-remove-btn {
    height: 100%;
}

.tactic-card-preview * {
    pointer-events: none !important;
}

.tactic-card-duplicate-btn {
    fill: #494949;
}

.tactic-card-preview {
    pointer-events: none;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.tactic-card-preview .court-container {
    overflow: hidden;
}

.tactic-card-preview * {
    pointer-events: none;
}

#exports-popup {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
