/* Classic Style */
.linktree-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 100%;
}

.linktree-container  > .linktree-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 64px;
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #d6d6d6;
    margin-bottom: 25px;
    transition: 650ms;
    text-decoration: none;
}

.linktree-container  > .linktree-item:hover {
    cursor: pointer;
    background-color: #d6d6d6;
    border: none;
    transition: 0.4s ease-in-out;
}

.linktree-container  > .linktree-item > .linktree-icon  {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.linktree-container  > .linktree-item > h3 {
    color: #000000;
    font-size: 24px;
}

@media (max-width: 480px) {
    .linktree-container > .linktree-item {
        height: 48px;
    }

    .linktree-container  > .linktree-item > .linktree-icon {
        width: 32px;
        height: 32px;
    }

    .linktree-container  > .linktree-item > h3 {
        font-size: 18px;
    }
}

/* Card Style */
.linktree-container.card {
    display: grid;
    grid-template-columns: 3fr 3fr 3fr;
    grid-gap: 20px;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 100%;
}

.linktree-container.card  > .linktree-item-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 300px;
    border-radius: 5px;
    border: 1px solid #d6d6d6;
    background-position: center;
    background-size: cover;
    transition: 650ms;
}
.linktree-container.card  > .linktree-item-card:hover {
    cursor: pointer;
    opacity: 0.8;
    transition: 0.4s ease-in-out;
}

.linktree-container.card  > .linktree-item-card > h3 {
    position: absolute;
    font-size: 1.25em;
    text-align: center;
    margin-top: 10px;
    width: 95%;
    top: 50%;
    left: 50%;
    color: #ffffff;
    transform: translate(-50%, -50%);
}

@media (max-width: 480px) {
    .linktree-container.card {
        grid-template-columns: 1fr;
    }

    .linktree-container.card  > .linktree-item-card {
        height: 200px;
    }

    .linktree-container.card  > .linktree-item-card > h3 {
        font-size: 1em;
    }
}
