/* Header ======================== */

header {
    height: 56px;
    display: flex;
    align-items: center;
}
header .wrapper {
    display: flex;
    justify-content: space-between;
    height: 2.6rem;
    width: 100%;
}
header .name {
    font-size: 1.8rem;
    line-height: 3.2rem;
    font-family: "Comfortaa";
    font-weight: 700;
}
header nav ul {
    list-style: none;
    display: flex;
    width: 400px;
    justify-content: space-between;
}
header nav ul li a {
    font-size: 1.6rem;
    line-height: 2.8rem;
    font-family: "Raleway";
    font-weight: 500;
    color: var(--line);
}
/* .mid-all ====================== */
.mid-all .wrapper h2 {
    font-family: "Playfair Display";
    font-weight: 700;
    font-size: 4.8rem;
    line-height: 7.2rem;
    margin-top: 2.2rem;
    text-align: center;
}
.mid-all .wrapper .line {
    background-color: var(--yellow);
    width: 10rem;
    height: 0.4rem;
    margin-inline: auto;
}
/* Project-text ================== */

.mid-all .wrapper .project {
    background-color: var(--white);
    margin: 8rem auto 8rem auto;
    display: flex;
}
.mid-all .wrapper .project .project-img {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #9e9e9e;
}
.mid-all .wrapper .project .project-text {
    padding: 14rem 4rem;
    width: 50%;
    background-color: var(--white);
}
.mid-all .wrapper .project .project-text .inside-left h2 {
    margin: 0;

    font-size: 4rem;

    line-height: 6rem;

    font-style: normal;

    text-align: initial;
}

.mid-all .wrapper .project .project-text .inside-left p {
    font-family: "Nunito";

    font-weight: 400;

    font-style: normal;

    font-size: 1.8rem;

    line-height: 2.7rem;

    color: var(--dark-gray);

    margin: 2.2rem 0 3.5rem 0;
}
.mid-all .wrapper .project .project-text .inside-left a {
    border: 1px solid #25282b;

    font-family: "Roboto";

    font-weight: 500;

    font-size: 1.8rem;

    line-height: 2.7rem;

    padding: 1rem 2.6rem;

    border-radius: 2.4rem;

    color: var(--line);
}

/* Footer ======================== */

footer {
    /* position: absolute; */
    width: 100%;
    margin-top: 3rem;
}
footer .mid-picture {
    margin-inline: 3.2rem;
}
footer .contact-footer {
    text-align: center;
}
footer .last-text {
    text-align: center;
    font-family: "Nunito";
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 2.1rem;
    color: var(--dark-gray);
    margin: 1.2rem 0 2rem 0;
}
footer .last-text .mid-last{
    
margin: .7rem;
}
/* Hover ========================= */

header nav li :hover {
    color: var(--yellow);
}
.mid-all .left-side .buttons :hover {
    filter: brightness(1.2);
}
.mid-all .left-side .buttons .linkedin :hover {
    background-color: burlywood;
}

/* Responsivo ========================= */

@media (max-width: 1240px) {
    body {
        padding: 0px 30px;
    }
}

@media (max-width: 1097px) {
    footer {
        position: relative;
        width: 100%;
        margin-top: 6rem;
    }
    .mid-all .wrapper .project {
        background-color: var(--white);
        margin: 8rem auto 8rem auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .project-img img {
        width: 100%;
    }
    .mid-all .wrapper .project .project-img {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #9e9e9e;
    }
    .project-img img {
        width: 88%;
    }
    .mid-all .wrapper .project .project-text {
        padding: 14rem 9rem;
        width: 100%;
        background-color: var(--white);
    }
}

@media (max-width: 648px) {
    header nav ul {
        list-style: none;
        display: flex;
        width: 29.6rem;
        justify-content: space-between;
    }
    html {
        font-size: 50%;
    }
}

@media (max-width: 490px) {

    html {
        font-size: 40%;
    }
}
@media (max-width: 350px) {
    html {
        font-size: 30%;
    }
}