@import url('./base-style.css');

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--padding);
}

body {
    gap: 5px;
}

.jobs-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.jobs-timeline svg {
    display: block;
    margin: auto;
    width: 100%;
    overflow-y: scroll;
}

.jobs-timeline-title {
    font-size: 1.25em;
}

.section-text-title {
    text-align: center;
}

.project-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--default-separation);
}

.project {
    padding: var(--padding);
    display: flex;
    width: 20%;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--border-radius);
    gap: 12px;
}

.techs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.techs .box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.techs img {
    width: 1.1em;
}

.project .link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    border-radius: var(--border-radius);
    gap: 10px;
}

.position-description {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.position-description > p {
    overflow-wrap: break-word;
}

.position-description-header {
    display: flex;
    justify-content: space-between;
}
article.project.box > p{
    overflow-wrap: break-word;
}

.modal-content {
    width: 40%;
    max-height: 80vh;
    overflow-y: auto;
}

@media screen and (max-width: 1015px) {
    .project {
        width: 50%;
    }

    .modal-content {
        width: 60%;
    }
}

@media screen and (max-width: 500px) {
    .project {
        width: 70%;
    }
    .modal-content {
        width: 70%;
    }
}

@media screen and (max-width: 380px) {
    .project {
        width: 80%;
    }
    .modal-content {
        width: 80%;
    }
}