.jobs {
    display: flex;
    justify-content: center;
    padding: 5rem 0 8rem
}

.jobs__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1600px
}

.jobs__subtitle {
    font-family: BlenderPro, sans-serif;
    font-size: 1.6rem;
    font-weight: 100;
    letter-spacing: .1rem;
    view-timeline-name: --jobsSubtitle;
    view-timeline-axis: block;
    animation-timeline: --jobsSubtitle;
    animation-name: fadeInUp;
    animation-range: entry 25% cover 30%;
    animation-fill-mode: both
}

.jobs__title {
    font-family: BlenderPro, sans-serif;
    font-size: 5rem;
    font-weight: 600;
    view-timeline-name: --jobsTitle;
    view-timeline-axis: block;
    animation-timeline: --jobsTitle;
    animation-name: fadeInUp;
    animation-range: entry 25% cover 30%;
    animation-fill-mode: both
}

.dark .jobs__subtitle,
.dark .jobs__title {
    color: #aaa
}

.jobs__section {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1rem;
    aspect-ratio: 9 / 4;
    margin-top: 3rem;
    padding: 0 3rem;
    width: 100%
}

.jobs__item {
    position: relative;
    transform-style: preserve-3d;
    view-timeline-name: --jobsItem;
    view-timeline-axis: block;
    animation-timeline: --jobsItem;
    animation-name: zoomIn;
    animation-range: entry 25% cover 30%;
    animation-fill-mode: both
}

.jobs__face {
    position: absolute;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    border-radius: .5rem;
    transform: perspective(1000px) rotateY(0);
    backface-visibility: hidden;
    transition: .8s ease-in-out
}

.dark .jobs__face {
    border-color: #121212
}

.jobs__front {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #212121;
    user-select: none
}

.jobs__more {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: .5rem 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    background-color: #ffffff1a;
    border-radius: .5rem 0 0;
    transition: all .3s ease-in-out
}

.jobs__more:hover {
    background-color: #fff3;
    transition: all .3s ease-in-out
}

.dark .jobs__front {
    background-color: #0c0c0c;
    background-color: #080808
}

.dark .jobs__front img {
    opacity: .8
}

.jobs__item--active .jobs__front {
    transform: perspective(1000px) rotateY(180deg)
}

.jobs__back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem;
    color: #fff;
    background-color: #161616;
    transform: perspective(1000px) rotateY(180deg)
}

.jobs__item--active .jobs__back {
    transform: perspective(1000px) rotateY(360deg)
}

.jobs__heading {
    font-family: BlenderPro, sans-serif;
    font-size: 1.5rem;
    text-align: center
}

.jobs__date {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
    font-size: .8rem;
    font-style: italic;
    font-weight: 100;
    letter-spacing: .1rem
}

.jobs__icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 510px;
    gap: .4rem;
    margin: 1rem 0;
    user-select: none
}

.jobs__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    background-color: #ffffff1a;
    border-radius: 4px;
    aspect-ratio: 1 / 1
}

.jobs__icon img {
    height: 60%
}

.jobs__bomberos {
    grid-column: span 3;
    grid-row: span 4
}

.jobs__bomberos .jobs__front img {
    width: 80%
}

.jobs__kokovet {
    grid-column: span 6;
    grid-row: span 2
}

.jobs__kokovet .jobs__front img {
    width: 70%
}

.jobs__cotrina {
    grid-column: span 2;
    grid-row: span 2
}

.jobs__cotrina .jobs__front img {
    width: 50%
}

.jobs__eps {
    grid-column: span 4;
    grid-row: span 2
}

.jobs__eps .jobs__front img {
    width: 50%
}

.jobs__button {
    padding: .5rem 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
    font-size: 1rem;
    letter-spacing: .05rem;
    color: #000;
    background-color: #fff;
    text-decoration: none;
    user-select: none
}

@media (max-width: 1520px) {
    .jobs {
        padding-bottom: 6rem
    }

    .jobs__subtitle {
        font-size: 1.4rem
    }

    .jobs__title {
        font-size: 4rem
    }

    .jobs__section {
        gap: .5rem
    }

    .jobs__heading {
        font-size: 1.4rem
    }

    .jobs__date {
        display: none
    }

    .jobs__icons {
        margin: 0 0 .5rem
    }
}

@media (max-width: 1280px) {
    .jobs {
        padding-bottom: 4rem
    }

    .jobs__section {
        padding: 0 2rem
    }
}

@media (max-width: 1024px) {
    .jobs__section {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        aspect-ratio: 3 / 4;
        margin-top: 2rem;
        max-width: 700px;
        width: 100%
    }

    .jobs__bomberos {
        grid-column: span 3;
        grid-row: span 2
    }

    .jobs__bomberos .jobs__front img {
        height: 80%
    }

    .jobs__kokovet {
        grid-column: span 3;
        grid-row: span 1
    }

    .jobs__cotrina {
        grid-column: span 1;
        grid-row: span 1
    }

    .jobs__eps {
        grid-column: span 2;
        grid-row: span 1
    }
}

@media (max-width: 840px) {
    .jobs {
        padding-bottom: 2rem
    }
}

@media (max-width: 768px) {
    .jobs__title {
        font-size: 2rem
    }

    .jobs__section {
        margin-top: 1rem
    }
}

@media (max-width: 720px) {
    .jobs__section {
        gap: .2rem;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(5, 1fr);
        aspect-ratio: 3 / 5
    }

    .jobs__bomberos {
        grid-column: span 3;
        grid-row: span 2
    }

    .jobs__bomberos .jobs__front img {
        height: 85%
    }

    .jobs__kokovet,
    .jobs__cotrina {
        grid-column: span 3;
        grid-row: span 1
    }

    .jobs__cotrina .jobs__front img {
        height: 60%
    }

    .jobs__eps {
        grid-column: span 3;
        grid-row: span 1
    }

    .jobs__eps .jobs__front img {
        height: 70%
    }
}

@media (max-width: 640px) {
    .jobs__section {
        padding: 0 .5rem
    }
}

@media (max-width: 580px) {
    .jobs__section {
        gap: .2rem;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(9, 1fr);
        aspect-ratio: 3 / 9;
        max-width: 400px;
        width: 100%
    }

    .jobs__bomberos {
        grid-column: span 3;
        grid-row: span 3
    }

    .jobs__kokovet,
    .jobs__cotrina,
    .jobs__eps {
        grid-column: span 3;
        grid-row: span 2
    }
}

@media (max-width: 400px) {
    .jobs__title {
        font-size: 1.4rem
    }
}



.projects {
    display: flex;
    justify-content: center;
    padding: 5rem 0 8rem
}

.projects__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px
}

.projects__subtitle {
    font-family: BlenderPro, sans-serif;
    font-size: 1.6rem;
    font-weight: 100;
    letter-spacing: .1rem;
    view-timeline-name: --projectsSubtitle;
    view-timeline-axis: block;
    animation-timeline: --projectsSubtitle;
    animation-name: fadeInUp;
    animation-range: entry 25% cover 30%;
    animation-fill-mode: both
}

.projects__title {
    font-family: BlenderPro, sans-serif;
    font-size: 5rem;
    font-weight: 600;
    view-timeline-name: --projectsTitle;
    view-timeline-axis: block;
    animation-timeline: --projectsTitle;
    animation-name: fadeInUp;
    animation-range: entry 25% cover 30%;
    animation-fill-mode: both
}

.dark .projects__subtitle,
.dark .projects__title {
    color: #aaa
}

.projects__section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 4rem
}

.projects__item {
    margin-top: 4rem;
    padding: 0 2rem 2rem;
    max-width: 560px;
    width: 100%;
    height: max-content;
    background-color: #fff;
    border: 1px solid #424242;
    -webkit-box-shadow: 20px 20px 0 0px #424242;
    -moz-box-shadow: 20px 20px 0 0px #424242;
    box-shadow: 20px 20px #424242;
    view-timeline-name: --projectsItem;
    view-timeline-axis: block;
    animation-timeline: --projectsItem;
    animation-name: fadeInUp;
    animation-range: entry -40% cover 20%;
    animation-fill-mode: both
}

.dark .projects__item {
    background-color: #161616;
    border-color: #424242;
    box-shadow: 20px 20px #444
}

.projects__box {
    transform: translateY(-6rem)
}

.projects__cover {
    width: 100%;
    border: 1px solid #bebebe;
    border-radius: 1rem;
    user-select: none
}

.dark .projects__cover {
    border-color: #424242
}

.projects__heading {
    display: none;
    font-family: BlenderPro, sans-serif;
    font-size: 3rem
}

.projects__paragraph {
    margin: 1rem 0 2rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
    font-size: .9rem;
    line-height: 1.6rem
}

.projects__paragraph p {
    margin-bottom: 1rem
}

.dark .projects__paragraph p {
    color: #aaa
}

.projects__details {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 1.5rem
}

.projects__icons {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    user-select: none
}

.projects__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: .2rem
}

.projects__icon img {
    height: 80%
}

.dark .projects__icon--github img {
    filter: invert(100%)
}

.projects__icon--node img:first-child {
    display: block
}

.projects__icon--node img:last-child {
    display: none
}

.dark .projects__icon--node img:first-child {
    display: none
}

.dark .projects__icon--node img:last-child {
    display: block
}

.projects__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 50px;
    color: #fff;
    background-color: #212121;
    border: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
    font-size: .9rem;
    letter-spacing: .1rem;
    text-decoration: none;
    clip-path: polygon(0 0, 28px 0, 32px 4px, 188px 4px, 192px 0, 220px 0, 220px 8px, 216px 12px, 216px 38px, 220px 42px, 220px 50px, 192px 50px, 188px 46px, 32px 46px, 28px 50px, 0 50px, 0 42px, 4px 38px, 4px 12px, 0 8px);
    user-select: none;
    transition: all .3s ease
}

.dark .projects__button {
    background-color: #ccc;
    color: #161616
}

.projects__button:hover {
    transform: translate(-5px)
}

@media (max-width: 1520px) {
    .projects {
        padding-bottom: 6rem
    }

    .projects__subtitle {
        font-size: 1.4rem
    }

    .projects__title {
        font-size: 4rem
    }

    .projects__section {
        margin: 0 50px
    }

    .projects__item {
        margin-top: 8rem
    }
}

@media (max-width: 1280px) {
    .projects {
        padding-bottom: 4rem
    }
}

@media (max-width: 840px) {
    .projects {
        padding-bottom: 2rem
    }

    .projects__section {
        grid-template-columns: repeat(1, 1fr);
        gap: 4rem;
        margin: 0 2rem 2rem 1rem
    }
}

@media (max-width: 768px) {
    .projects__title {
        font-size: 2rem
    }
}

@media (max-width: 400px) {
    .projects__title {
        font-size: 1.4rem
    }
}