.mobile-section-content {
    display: flex;
    justify-content: center;
}

.mobile-cover {
    position: relative;
    background-image: url('/src/assets/images/iphone-cover.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 320px;
    height: 675px;
    /* aspect-ratio: 0.5; */
}

.mobile-applications {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 120px 30px 0;
}

.mobile-bg-cover {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 60px;
}

.mobile-app-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
}

.mobile-app-container:active {
    transform: scale(0.97);
}

.mobile-app-icon {
    aspect-ratio: 1;
    background-color: white;
    /* border-radius: 20px; */
    border-radius: 20%;
}

.mobile-app-icon,
.mobile-app-container p {
    width: 50px;

}

.mobile-app-container p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-align: center;
}

/* dialog */

.mobile-modal {
    padding: 16px;
    border-radius: 8px;
    background-color: var(--background-color);
    z-index: 10;
    min-width: min(200px, 80%);
}

::backdrop {
    background-color: var(--primary-color);
    opacity: 0.3;
}

.mobile-modal-container {
    display: flex;
    flex-direction: column;
    position: relative;
}

.mobile-modal h4 {
    text-align: center;
    margin: 4px 0;
    margin-bottom: 12px;
}

.mobile-links {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.mobile-links>a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}

.mobile-links>a:first-child {
    background-color: black;
    color: white;
}

.mobile-links>a:last-child {
    border: 1px solid black;
    background-color: white;
    color: black;
}

.mobile-links img {
    width: 14px;
}

.close-btn {
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    align-self: flex-end;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 24px;
    cursor: pointer;
}

.links-not-available {
    color: var(--ink-blue);
    font-weight: 700;
    font-size: 10px;
    text-align: center;
}

.modal-mobile-description {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    max-width: 400px;
    line-height: 24px;
}

.iphone-clock {
    font-weight: 700;
    color: black;
    position: absolute;
    top: 80px;
    left: 20px;
}

@media screen and (max-width:385px) {

    .mobile-app-icon,
    .mobile-app-container p {
        width: 30px;
    }

    .mobile-app-container p {
        font-size: 10px;
    }

    .mobile-cover {
        min-width: 240px;
        width: 240px;
        height: 505px;
    }

    .iphone-clock {
        top: 58px;
        font-size: 14px
    }
}