html {
    background-image: url(//basehold.it/i/24/FFFFFF);
}

header {
    margin: 16rem 0;
}

.img_margin {
    margin-top: 24px;
}

.menu {
    width: auto;
    height: 48px;
    margin-bottom: 0;
    padding: 16px 0;
    background-color: #515151;
    position: sticky;
    top: 0;
    z-index: 10;
}

.top {
    margin: 0 40px;
    height: 48px;
}

.right {
    float: right;
    display: inline-flex;
}

.right a {
    text-decoration: none;
}

.btn-s {
    box-sizing: border-box;
    height: 48px;
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 2px;
    color: #fff;
    font-weight: 600;
    font-size: 1.6rem;
    padding: 8px 16px;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
}

.btn-s:hover {
    background-color: #00D2D6;
    border: 2px solid #00D2D6;
    color: #fff;
}

.btn-sp {
    margin-right: 8px;
}

.btn-s img {
    margin-bottom: 0;
    margin-top: -1px;
}

header h1 {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    font-family: 'Montserrat', sans-serif;
}

header h3 {
    font-weight: 500;
}

header h5 {
    padding-right: 0;
    letter-spacing: 0.01rem;
    margin-bottom: 0;
}

h6 {
    font-weight: 400;
    font-variant-numeric: lining-nums;
    font-size: 1.8rem;
    letter-spacing: -0.02rem;
    margin-bottom: 1.2rem;
}

.description {
    width: 740px;
    margin: 0;
}

.highlight {
    background-color: #00D2D6;
}

.list {
    display: inline-flex;
    margin-bottom: 0;
    height: 48px;
}

.links {
    display: flex;
    flex-direction: row;
    gap: 16px;
}
.logo-item {
    list-style: none;
    margin-left: 0;
}

.item {
    margin-top: 12px;
    margin-left: 48px;
    list-style: none;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.item a {
    color: #fff;
    text-decoration: none;
}

.item_download {
    margin-top: 12px;
    margin-left: 48px;
    list-style: none;
    font-weight: 600;
    text-decoration: underline;
}

.item_download a {
    color: #fff;
    text-decoration: none;
}

.item a:hover {
    color: #00B9BD;
    text-decoration: underline;
}

.item_download a:hover {
    color: #00B9BD;
}

.item_download svg {
    margin-bottom: 0;
    margin-left: 4px;
}

.logo {
    margin: 0;
    width: 48px;
}

img {
    max-width: 100%;
    height: auto;
    background-size: contain;
    margin-bottom: 24px;
}

.column-txt {
    margin-left: 4%;
}

section {
    margin: 24px 0;
}

@media (min-width: 768px) {
    section {
        margin: 48px 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
}

.first {
    padding-bottom: 24px;
    padding-top: 24px;
}

.last {
    padding-bottom: 48px;
}

.summary {
    padding-bottom: 0;
    padding-top: 144px;
}

.time {
    font-size: 1.4rem;
    line-height: 1.6rem;
    text-align: end;
    margin-bottom: 0;
}

.txt {
    margin-bottom: 48px;
}

.projects h4 {
    font-size: 2rem;
    background-color: #00D2D6;
    width: fit-content;
    text-transform: uppercase;
    line-height: 1.6;
    letter-spacing: .01rem;
    font-weight: 600;
}

.projects span {
    margin-bottom: 0.4rem;
    font-family: 'Montserrat', serif;
    font-size: 1.2rem;
    font-weight: 400;
}

.projects h6 {
    font-size: 2rem;
    font-weight: bolder;
}

.projects a:hover {
    color: #269799;
    text-decoration: underline;
}

.experience {
    padding-top: 144px;
}

span {
    font-family: 'Montserrat', serif;
    font-weight: bold;
}

.pill {
    padding: 24px 24px;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    align-items: center;
}

.pill p {
    margin-bottom: 0;
    display: inline-flex;
}

.pill a:hover {
    color: #269799;
    text-decoration: underline;
}

/* Nueva clase para mostrar el texto dentro del div como un párrafo */
.pill .text-as-paragraph {
    display: block;
    margin-bottom: 16px;
}

footer {
    padding: 48px 0;
    text-align: center;
}

footer p {
    font-size: 12px;
    margin-bottom: 0;
}

.work__header {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    align-items: end;
    & > h6 {
        margin-bottom: 0;
    }
    & > span {
        margin-bottom: 3px;
    }
}
.project {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    & > h4 {
        margin-block-end: 0;
    }
}
.header__time {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

@media (max-width: 768px) {
    .description {
        width: 100%;
    }
    .time {
        text-align: start;
    }
    .top {
        margin: 0 24px;
    }
    .item, .item_download {
        margin-left: 16px;
    }
    .column-txt {
        margin-left: 0;
        & > p {
            margin-bottom: 0;
        }
    }
    .row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .header__time {
        flex-direction: column;
        align-items: self-start;
        gap: 8px;
    }
}