﻿/*
    Global
*/
[dom-flowt-is-visible="false"] {
    opacity: 0;
    transition: all 500ms;
}

/*------------------*/
/* Footer */
footer {
    background-color: white;
    border-top: 1px solid #eee;
    padding: 5rem 1rem;
    font-size: .8rem;
    color: #888;

    ul {
        list-style: none;
        list-style-position: outside;
        padding: 0;
        margin: 0;

        li {
            padding: 0;
            margin: 0;

            a {
                text-decoration: none;
                color: inherit;
                display: block;
                padding: .25rem 0;

                &:hover {
                    color: #333;
                }
            }
        }
    }
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1rem;

    @media (max-width: 767px) {
        grid-template-columns: 1fr;
    }
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;

    @media (max-width: 767px) {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-brand-description {
    max-width: 390px;
}

.footer-section-header {
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
    padding-bottom: .5rem;
    letter-spacing: 1px;
    font-size: .725rem;
}

.footer-gap {
    height: 1rem;
}

/* Footer End*/
/* Hero */
.hero {
    height: 100dvh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 10rem 0;
    box-sizing: border-box;
    text-align: center;
    align-items: center;
    background: url('/iomus/images/carlhauser-hBvo88z3lMU-unsplash.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: all 500ms;
}

.hero-content {
    padding: 2rem;
    box-sizing: border-box;
    border-radius: 3rem !important;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: black;
    text-shadow: 1px 1px 0px white;

    @media (max-width: 912px) {
        font-size: 1.8rem;
    }
}


.hero-gradient {
    color: black;
}
.hero-text {
    color: black;
    max-width: 768px;
    margin: 0 auto;
}
/* Hero End */
/* Section */
.section-header {
    display: flex;
    flex-direction: column;
    gap: .5rem;

    h1, h3, p {
        margin: 0;
    }

    h1 {
        font-size: 2.2rem;
        font-weight: 700;
        color: black;
    }

    h3 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #333;
    }

    p {
        color: #555;
    }
}

.section-header-tag {
    color: var(--color-primary) !important;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: cursive; 
    font-style: oblique;
}

.section {
    padding: 5rem 0;
}
/* Section End*/
/* Contact & Service*/
.contact-card, .service-card {
    padding: 2rem 1.5rem;
    background-color: white;
    border-radius: 4rem !important;
    font-size: .8rem;
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem;
    color: #999;
    width: 156px;
}

.service-card-body {
    margin: 0;
    font-weight: 600;
}

.service-card-category {
    margin: 0;
    background-color: #222;
    padding: 4px 7px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
}

.contact-cards, .service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;

    @media (max-width: 813px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 579px) {
        grid-template-columns: 1fr;
    }
}

.contact-card-icon, .service-card-icon {
    padding: 1rem;
    height: 2rem;
    width: 2rem;
    background-color: var(--color-primary);
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
        display: flex;
    }
}

.service-card-icon {
    background-color: var(--color-cyan);
}
/* Contact End*/
/* Modal */
.modal {
    backdrop-filter: blur(1rem);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    background: rgba(0, 0, 0, .2);
    padding: 1rem;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    border-radius: 2rem;
    width: 100%;
    max-width: 412px;
}

.modal-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: .5rem 1.5rem;
    background-color: white;
    border-radius: 2rem 2rem 0 0 ;
    padding-top: 1rem;
    text-align: center;

    h3 {
        font-weight: 600;
        margin: 0;
        font-size: 1rem;
    }
}

.modal-close {
    padding: .5rem;
    border-radius: 2rem;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal-body {
    background-color: white;
    padding: .5rem 1.5rem;
    border-radius: 0 0 2rem 2rem;
    padding-bottom: 1rem;
}

.modal-footer {
    padding: .75rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    background-color: transparent;
}
/* Modal End*/
/* Blog*/

.blog-item {
    color: #999;
    font-size: .8rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1rem 0;
    border-bottom: 2px solid #eee;
    transition: all 300ms;

    &:hover {
        .blog-title {
            color: var(--color-primary);
        }

        border-color: var(--color-primary);
        transform: translateY(-4px);
    }

    p {
        margin: 0;
    }
}
.blog-title {
    margin: 0;
    display: flex;
    gap: .5rem;
    font-weight: 500;
    font-size: 1.1rem;
    align-items: center;
    color: black;

    img {
        display: flex;
    }
}

.blog-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.8rem;

    p {
        margin: 0;
    }
}

.blog-item {
    .blog-body {
        padding: 1rem 1.5rem; 
        background: white;
        border-radius: 2rem;

        .blog-short-desc {
            margin: 0;
            padding: 0;
        }
    }
}

.blog-header-details {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.blog-header-author {
    color: #444;
    font-weight: 600;
    font-size: 1rem;
}

.blog-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    font-weight: 800;
}

.blog-header-published-date {
    color: #999;
}

.blog-tag {
    padding: .2rem .4rem;
    border-radius: .5rem;
    margin: 0;
    font-weight: 600;
    color: #333;
}

.blog-author {

    img {
        border-radius: 2rem;
        height: 4rem;
        width: 4rem;
        object-fit: cover;
        object-position: center;
    }
}

/* Blog End*/
/* Libraries */

.libraries-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;

    @media (max-width: 767px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 579px) {
        grid-template-columns: 1fr;
    }
}

.library-item {
    padding: 1.25rem 2rem;
    font-size: 0.8rem;
    background-color: rgba(255, 255, 255, .7);
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid white;

    p {
        margin: 0;
    }
}

.library-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-weight: 900;
    font-size: .9rem;
}

.library-item-info {
    border-bottom: 1px solid white;
}

.library-item-desc {
    color: #999;
}

.library-item-name {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.library-item-visit {
    display: flex;
    gap: .25rem;
    align-items: center;
}

.library-item-tags {
    display: flex;
    gap: .25rem;
    flex-wrap: wrap;
    color: var(--color-primary);
    font-weight: 700;
    font-size: .7rem;
}

.library-item-tag {
    background-color: rgba(0, 0, 0, .03);
    border-radius: .5rem;
    padding: .2rem .5rem;
}

/* Libraries*/

/* ios-window */
.ios-window {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ios-window-h2 {
    margin-top: 0;
    font-weight: 900;
    font-size: 2.5rem;

}

.ios-window-header {
    background-color: white;
    display: flex;
    border-radius: 2rem;
    gap: .5rem;
    align-items: center;
    padding: .5rem 1rem;
    justify-content: space-between;
    border: 1px solid #eee;

    .ios-window-header-dots {
        display: flex;
        gap: .5rem;
    }

    .ios-window-header-url {
        font-size: .8rem;
        color: #999;
        font-weight: 600;
        background-color: #eee;
        color: #555;
        border-radius: 2rem;
        padding: .5rem 1rem;
    }

    .ios-window-header-dot {
        height: .75rem;
        width: .75rem;
        border-radius: 2rem;
        background-color: #ff5f57;

        &.ios-window-header-dot-yellow {
            background-color: #ffbd2e;
        }

        &.ios-window-header-dot-green {
            background-color: #28c840;
        }
    }
}

.ios-window-body {
    padding: 1rem;
    background-color: white;
    border-radius: 2rem;
    border: 1px solid #eee;
}

.ios-window-footer {
    padding: .5rem 1rem;
    border-top: 1px solid #eee;

}
/* ios-window */
/* apps */

.apps-list {
    display: flex;
    gap: .5rem;
    flex-direction: column;
}

.app-item {
    background: white;
    border-radius: 2rem;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    text-decoration: none;
}

:root {
    --app-item-image-size: 4rem;
}

.app-item-image {
    min-height: var(--app-item-image-size);
    min-width: var(--app-item-image-size);
    height: var(--app-item-image-size);
    width: var(--app-item-image-size);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    object-fit: contain;

    &div {
        background-color: #5843ff;
    }

    &img {
        background-color: transparent !important;
    }
}

.app-item-info {
    font-size: .8rem;
    color: #888;
    display: flex;
    gap: .5rem;
    flex-direction: column;
    p {
    margin: 0;
    }
}

.app-item-name {
    font-size: 1rem;
    color: #333;
    font-weight: 700;
    text-decoration: underline;
}

.app-item-release-date {
    color: #28c840;
    font-weight: bold;
}

/* apps end*/
/*display*/
.display-content-right-type {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;

    @media screen and (max-width: 767px) {
        grid-template-columns: 1fr;
    }

    .display-content-start {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: white;
        border-radius: 3rem;
        min-height: 356px;
        align-self: stretch;
    }
}


/*display end*/
/* glass */
.glass-bg {
    background-color: transparent !important;
    background: linear-gradient(33deg, rgba(255, 255, 255, .65),rgba(255, 255, 255, .35), rgba(255, 255, 255, .85)) !important;
}

.glass {
    background-color: transparent !important;
    background: linear-gradient(33deg, rgba(255, 255, 255, .55),rgba(255, 255, 255, .35), rgba(245, 245, 245, .85)) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 12px rgba(20, 20, 20, 0.07);
    backdrop-filter: blur(24px) saturate(130%);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
    border-radius: 2rem;
    color: black !important;
    transition: background 300ms;

    &.faint {
        background: linear-gradient(33deg, rgba(255, 255, 255, .35),rgba(255, 255, 255, .25), rgba(255, 255, 255, .65)) !important;
    }

    &:hover, &:active, &:focus {
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        background-color: transparent !important;
        background: linear-gradient(130deg, rgba(255, 255, 255, .55),rgba(255, 255, 255, .25), rgba(245, 245, 245, .85)) !important;
    }
}
/* glass end*/

/*colors*/
.bg-onexem-green {
    background-color: var(--color-onexem-green);
}
.text-onexem-green {
    color: var(--color-onexem-green);
}
.text-onexem-primary {
    color: var(--color-onexem-primary);
}
/*colors end*/