    /*-- About Container --*/

.about-container {
    text-align: center;
    padding: 0 4vw;
}

        /*--Skills--*/

.skills-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px 0;
    padding: 60px 0;
}

.icon-skills-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: min(4vw, 36px);
    margin: 60px auto 36px auto;
}

.icon-skills {
    border: 1px solid var(--light-s-green);
    border-radius: 10px;
    padding: 24px;
}

.icon-skills img {
    margin-bottom: 4px;
}

        /*--Services--*/
.card-services-container {
    margin-top: 60px;
}

.card-services {
    width: min(480px, 100%);
    margin: 32px auto;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.28);
}


/*-- Portfólio --*/

.portfolio-container {
    width: 100%;
    background-color: var(--midnight-green);
    text-align: center;
    margin: 120px 0 60px 0;
    padding: 72px 0;
}

.projects-container {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 48px auto 0 auto;
    padding: 0 40px;
}

.projects-card {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    box-shadow: 0 2px 8px 2px rgba(0,0,0,.28);
}

.projects-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.opacity-project-card {
    position: absolute;
    background-color: var(--rich-black);
    inset: 0;
    opacity: 0.12;
}

.projects-card figcaption {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    inset: 0;
    background-color: var(--rich-black);
    padding: 0 20px;
    opacity: 0;
    transition: 0.25s;
}

.link-project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.projects-card:hover figcaption, .projects-card:focus-within figcaption, .card-em-breve figcaption{
    opacity: 1;
}

/*-- Contato --*/

.contact-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding-top: 60px;
    margin-bottom: 120px;
} 

.form-input-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
}

.form-input {
    width: 500px;
    padding: 12px;
    background-color: var(--rich-black);
    color: #fff;
    border: 1px solid var(--light-s-green);
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,.5);
    outline: none;
    transition: 0.15s ease-in-out;
}

#message {
    height: 96px;
}

.form-input::placeholder {
    color: #837B71;
}

.form-input:focus  {
    transform: scale(1.05);
}

/*-- BTNS --*/

    /*-- Portfolio --*/

.lk-project {
    width: fit-content;
    font-size: 0.9rem;
    color: var(--light-s-green);
    background-color: var(--midnight-green);
    border: none;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,.28);
    text-decoration: none;
    transform-origin: center;
    transition: 0.1s ease;
}

.lk-project.clicked {
    transform: scale(0.9);
}

        /*-- Link Repositorio GitHub --*/

.link-repository-ghub {
    display: flex;
    justify-content: flex-end;
    margin-top: 60px;
    padding-right: 20px;
}

#lk-repository {
    color: var(--orange);
    background-color: var(--rich-black);
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,.5);
    transition: 0.2s;
}

#lk-repository.active {
    transform: scale(1.03);
}

    /*-- BTN-Form --*/

#btn-form {
    width: 100%;
    max-width: 500px;
    font-size: 1rem;
    font-weight: bold;
    margin: 12px 0;
    padding: 12px 0;
    color: var(--rich-black);
    background-color: var(--light-s-green);
    border: none;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,.5);
    transition: 0.1s ease-in-out;
}

#btn-form.active {
    cursor: pointer;
    background-color: var(--midnight-green);
    color: #fff;
    filter: brightness(0.8);
}

/*-- Typography--*/
    /*-- Title Decoration --*/

.title-container {
    width: fit-content;
    margin: auto;
}

.title-decoration {
    display: block;
    width: 80%;
    height: 2px;
    background-color: var(--light-s-green);
    margin: auto;
}

.title-decoration-services {
    margin-top: 0;
}

.title-decoration-portfolio {
    background-color: var(--orange);
}

.title-decoration-contact {
    background-color: #fff;
}

    /*-- Typography About Container --*/

.about-container h2, .more-skills em, .card-services h3 {
    color: var(--light-s-green);
}

.card-services h3 {
    margin-bottom: 12px;
}

.card-services p {
    font-weight: 200;
}

    /*-- Typography Portfolio --*/

.portfolio-text h2 {
    color: var(--orange);
}

.portfolio-text p {
    font-weight: 200;
    margin-top: 8px;
}

        /*-- Card Em Breve --*/

.card-em-breve #em-breve {
    font-size: 1.5rem;
}

        /*-- Portfolio Figure Figcaption --*/

.projects-card figcaption h3 {
    color: var(--light-s-green);
}

.projects-card figcaption p {
    font-weight: 200;
}

/*-- Medias Queries --*/

@media (max-width: 1280px) {
    /*-- BTN --*/

    .link-project-card {
        gap: 4px;
    }
   
}

@media (max-width: 1024px) {
    /*-- Portfólio --*/

    .projects-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    /*-- Portfolio --*/

    .projects-container {
        grid-template-columns: 1fr;
        padding: 0 40px;
        gap: 20px;
    }

    /*-- Contact --*/

    .form-input {
        width: 90vw;
    }

    /*-- BTN --*/

    .link-repository-ghub {
        justify-content: center;
        padding: 0;
    }

    #btn-form {
        max-width: 100%;
    }

    /*--  Typography --*/

    .projects-card figcaption p {
        font-size: 1rem;
    }

    footer {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .projects-container {
        padding: 0 10px;
    }
        .projects-card figcaption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    /*-- About --*/
    .skills-container {
        margin: 0;
        padding: 80px 0;
    }

    /*-- Portfólio --*/

    .portfolio-container {
        margin: 60px 0;
        padding: 60px 0;
    }

    /*-- Contato --*/

    .contact-container{
        margin-bottom: 60px;
    }

    /*-- Typography --*/

    .projects-card figcaption p {
        font-size: 0.75rem;
    }
    
    .hide-text {
        display: none;
    }
}

@media (max-width: 300px) {   
    /*-- Typography --*/

    .projects-card figcaption p {
        display: none;
    }    
}