* {
    box-sizing: border-box;
}

/* Header 70 by 25 */
.main-navigation,
footer {
    background-color: var(--wp--preset--color--contrast);
    height: 70px;
}

#burger {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    margin: 8px;
    margin-left: 15px;
    padding: 0 10px;
    font-size: 40px;
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
    border-radius: 5px;
    @media (min-width: 720px) {
        display: none;
    }
    &:hover {
        cursor: pointer;
        
    }
}

.main-nav-list {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 30px;
    width: 80vw;
    @media (min-width: 720px) {
        display: flex;
        flex-direction: row;
    }
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    align-items: center;
    li {
        width: 70px;
        height: 30px;
        padding: 1px 0px;
        border-radius: 2px;
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 99;
        a {
            color: var(--wp--preset--color--base);
            text-decoration: none;
            background-color: var(--wp--preset--color--contrast);
            padding: 4px 15px 3px 15px;
        }
    }
}

#company-logo {
    height: 35px; width: 35px;
}

li:nth-child(2):hover {
    background: linear-gradient(to right, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
}
li:nth-child(3):hover {
    background: linear-gradient(to right, var(--wp--preset--color--secondary), var(--wp--preset--color--tertiary));
}
li:nth-child(4):hover {
    background: linear-gradient(to right, var(--wp--preset--color--tertiary), var(--wp--preset--color--accent));
}
li:nth-child(5):hover {
    background: linear-gradient(to right, var(--wp--preset--color--accent), var(--wp--preset--color--base));
}
li:nth-child(6):hover {
    background: linear-gradient(to right, var(--wp--preset--color--base), var(--wp--preset--color--primary));
}

.mobile-on {
    display: flex;
    background-color: var(--wp--preset--color--contrast);
    height: 80vh;
    position: sticky;
    z-index: 98;
    width: 60vw;
    top: 10px;
    /* right: 10px; */
    font-size: 40px;
    padding: 40px;
}
#company-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
/* Footer */
footer {
    margin: 0 auto;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    a, p {
        text-decoration: none;
        color: var(--wp--preset--color--base);
    }
}

/* Main body */
.page-main,
.elementor-main {
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-items: space-between;
}
body {
    background-color: var(--wp--preset--color--bg-grey);
}

/* Projects archive page */
.container {
    width: 80vw;
    margin: 20px auto;
}

.projects-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    @media (min-width: 720px) {
        flex-basis: 45%;
    }
    @media (min-width: 1200px) {
        flex-basis: 30%;
    }
    border: 10px solid var(--wp--preset--color--contrast);
    border-radius: 10px;
    background-color: var(--wp--preset--color--base);
}

.project-title {
    font-size: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    padding: 10px;
    height: 70px;
    text-decoration: none;
}

.project-thumbnail {
    display: flex;
    justify-content: center;
    align-items: center;
    & img {
        max-height: 250px;
        @media (min-width: 720px) {
        max-height: 300px;
    }
        object-fit: cover;
        width: 100%;
    }
}

.excerpt {
    padding: 10px;
}
.end-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
}
.categories-archive {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    text-align: center;
    flex-wrap: wrap;
    text-wrap: nowrap;
    gap: 5px;
    a {
        border: 1px solid black;
        padding: 6px 10px;
        border-radius: 999px;
        text-transform: uppercase;
        text-decoration: none;
    }
}
.read-more {
    text-align: end;
    text-decoration: none;
}

/* Single Project Page */
#single-project {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}
#title-thumbnail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.project-thumbnail-single {
    display: flex;
    justify-content: start;
    align-items: center;
    margin: 20px 0;
    & img {
        max-height: 250px;
        @media (min-width: 720px) {
            max-height: 400px;
        }
        object-fit: cover;
        width: 100%;
    }
}
.wp-block-paragraph {
    text-align: justify;
}

#testimonial {
    font-family: var(--wp--preset--font--secondary);
    font-style: italic;
}
#quote {
    border: black 1px solid;
    border-radius: 5px;
    padding: 10px;
}
#client-name {
    text-align: right;
}
blockquote {
    margin: 16px 20px;
}

.categories, .service-tags, .robot-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 5px 0px;
    gap: 5px;
    justify-content: center;
    align-items: center;
    a {
        text-decoration: none;
        color: black;
    }
}
.categories {
    a {
        border: 1px solid black;
        padding: 8px 14px;
        border-radius: 999px;
        text-transform: uppercase;
        font-size: 20px;
    }
    :nth-child(1) {
        background-color: var(--wp--preset--color--primary);
    }
    :nth-child(2) {
        background-color: var(--wp--preset--color--secondary);
    }
    :nth-child(3) {
        background-color: var(--wp--preset--color--tertiary);
    }
    :nth-child(4) {
        background-color: var(--wp--preset--color--accent);
    }
}

.service-tags {
    a {
        border: 1px solid black;
        padding: 6px 10px;
        border-radius: 999px;
    }
}
.robot-tags-all, .service-tags-all, .categories-all {
    text-align: center;
    margin-bottom: 40px;
}
.robot-tags {
    a {
        width: 125px;
        display: block;
        padding: 20px;
        border: 1px solid black;
        border-radius: 16px;
        text-decoration: none;
        color: black;
    }
}