:root {
    --main-color: #00C91A;
    --main-color2: #00C91A;
    --font-color: #C8C6C2;
    --gray-color: #8C8C8C;
}

/*Color of nav detail:*/
.nav-menu ul .center-nav li a::after, .nav-menu ul .end-nav li a::after {
    background-color: var(--main-color2);
}

.content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content .apresentation {
    width: 100%;
}

.content .image img {
    width: 30rem;
    display: block;
    background-image: none;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10rem var(--main-color2));
}

.content .image {
    padding: 20rem 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.content .title {
    display: block;
    position: absolute;
    z-index: 3;
    top: 49%;
    color: var(--main-color2);
    font-size: 9em;
    text-align: center;
}

.text-apresentation {
    font-size: 2rem;
    text-align: center;
    width: 80%;
    padding: 1rem 0 10rem 0;
    border-bottom: 0.2rem solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(0.25turn, black, var(--font-color), black);
}

.text-apresentation p {
    display: block;
    width: 60rem;
    margin: 0 auto;
}

/* ---------------------

section abilitys

--------------------- */


#about-content .abilitys > div {
    display: flex;
    gap: 10rem;
    justify-content: center;
    padding: 10rem;
}

#about-content .abilitys > div:last-child {
    border-bottom: 0.2rem solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(0.25turn, black, var(--font-color), black);
}

#about-content .abilitys > div .ability-description {
    width: 40%;
    align-items: center;
    margin-top: 2rem;
}

#about-content .title-ability {
    font-size: 3.5rem;
    color: var(--main-color2);
}

#about-content .abilitys > div .ability-description p {
    font-size: 2rem;
    display: block;
    width: 40rem;
    text-align: left;
}

#about-content .abilitys > div img {
    width: 40rem;
    border: 0;
    border-radius: 0.5rem;
}

#about-content .news {
    width: 100%;
    padding: 20rem 0 10rem 0;
    position: relative;
}

#about-content .news::after {
    content: '';
    position: absolute;
    right:0;
    bottom: 0;
    top: 0;
    z-index: 5;
    width: 20rem;
    background: linear-gradient(to left, black 40%, transparent 100%);
}

#about-content .news::before {
    content: '';
    position: absolute;
    left:0;
    bottom: 0;
    top: 0;
    z-index: 5;
    width: 20rem;
    background: linear-gradient(to right, black 40%, transparent 100%);
}

#about-content .news .content-news h3 {
    text-align: center;
}

#about-content .news .content-news .carousel {
    display: flex;
    overflow-x: auto;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0 1rem 0;
    height: 55rem;
}

#about-content .news .content-news .carousel::-webkit-scrollbar {
    display: none;
}

#about-content .news .content-news .carousel > a {
    display: block;
    position: relative; 
    color: var(--font-color);
    width: 30rem;
    height: 45rem;
    flex: 0 0 auto;
}

#about-content .news .content-news .carousel > .none-item {
    width: 5rem;
    height: 30rem;
    display: block;
    flex-shrink: 0;
}

#about-content .news .carousel > a img {
    filter: brightness(30%);
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    object-fit: cover;
}

#about-content .news .carousel > a > div {
    position: absolute;
    z-index: 4;
    justify-content: center;
    width: 25rem;
    top: 60%;
    left: 50%;
    transform: translate(-50%, 0%);
}

#about-content .news .carousel > a .material-symbols-outlined {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 4;
    transform: rotate(-50deg);
}

#about-content .news .carousel a:hover, #about-content .news .carousel > .active {

    transform: scale(1.05);
    transition: all 1s ease-in-out;

    .material-symbols-outlined {
        transition: all 1s ease-in-out;
        color: var(--main-color2);
        transform: rotate(-50deg);
    }
    
}

#about-content .news .carousel > a > div h4 {
    text-align: center;
    font-size: 2.5rem;
}

#about-content .news .carousel > a > div p, #about-content .news .carousel > div > div .read-more{
    font-size: 1rem;
    text-align: center;
}

#about-content .news .carousel > a > div .read-more {
    color: var(--main-color2);
    margin-top: 2rem;
}

#about-content .news .arrows {
    display: flex;
    justify-self: center;
    gap: 2rem;
}

#about-content .news .arrows span {
    font-size: 4rem;
}

#about-content .news .arrows span:hover {
    cursor: pointer;
    transform: scale(1.7);
    color: var(--main-color2);
    transition: all 1s ease-in-out;
}

#about-content .news .arrows span:nth-child(1) {
    transform: rotate(145deg);
}

#about-content .news .arrows span:nth-child(2) {
    transform: rotate(-40deg);
}

/* ---------------------

section portfólio

--------------------- */

#about-content .portfolio > div {
    padding-top: 10rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#about-content .portfolio div img {
    width: 30rem;
    margin-bottom: 2rem;
}

#about-content .portfolio div h3 {
    width: 60%;
    font-size: 3rem;
}

#about-content .portfolio div .link {
    position: relative;
}

#about-content .portfolio div .link a {
    color: var(--gray-color);
    padding: 0.4rem 7rem;
    font-size: 3rem;
    border: 0.5px solid var(--gray-color);
    border-radius: 4rem;
    margin: 5rem 0;
    position: relative;
    text-decoration: none;
    z-index: 3;
    display: block;
    background-color: black;
}

#about-content .portfolio > div .link::before {
    content: '';
    display: block;
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 45%;
    left: 45%;
    z-index: 0;
    transform: translate(45%, 45%);
    box-shadow: 0rem 0rem 5rem 3rem var(--gray-color);
}

#about-content .portfolio div p {
    font-size: 1.5rem;
    margin-top: 2rem;
}

#about-content .portfolio div p span {
    color: var(--main-color2);
}


/*
---------------------------
#  About us medium screen  #
#          Laptop          #
---------------------------*/
@media (min-width: 769px) and (max-width: 1024px) {
    .content .image img {
        width: 30rem;
    }

    .content .title {
        font-size: 8rem;
    }

    #about-content .text-apresentation p {
        width: 60vw;
    }

    #about-content .text-apresentation {
        font-size: 1.7rem;
    }

    #about-content .title-ability {
        font-size: 4.5vw;
        margin-bottom: 1rem;
    }

    #about-content .ability-description .title-ability {
        margin-bottom: 1rem;
    }

    #about-content .abilitys > div .ability-description p {
        font-size: 2.2vw;
        line-height: 3.5vw;
        width: 100%;
    }

    #about-content .abilitys > div .ability-description {
        width: 42vw;
    }

    #about-content .abilitys > div img {
        width: 35vw;
        margin-top: 2rem;
    }

    #about-content .abilitys {
        width: 100%;
    }

    #about-content .abilitys > div {
        display: flex;
        gap: 5vw;
        align-items: center;
        padding: 10rem 2rem;
    }

    #about-content .news .content-news .carousel > a {
        width: 30vw;
        height: 40vw;
        flex: 0 0 auto;
        position: relative;
    }

    #about-content .news::before, #about-content .news::after {
        width: 10rem;
    }

    #about-content .news .content-news .carousel {
        height: 60vw;
        padding: 0;
    }

    #about-content .news .carousel > a > div h4 {
        font-size: 3vw;
        display: block;
        justify-self: center;
    }

    #about-content .news .carousel > a > div p, #about-content .news .carousel > div > div .read-more {
        font-size: 1.3rem;
        display: block;
        width: 15rem;
        justify-self: center;
    }

    #about-content .news .carousel > a > div .read-more {
        margin-top: 1rem;
    }

    #about-content .news .carousel > a > div { 
        top: 52%;
    }

    #about-content .portfolio div h3 {
        width: 70%;
        font-size: 4vw;
    }

    #about-content .portfolio div .link a {
        font-size: 5vw;
        margin: 3.5rem;
    }

}


/*
---------------------------
#  About us medium screen  #
#          tablet          #
---------------------------*/
@media (min-width: 481px) and (max-width: 768px) {
    .content .image img {
        width: 20rem;
    }

    .content .title {
        font-size: 7rem;
    }

    #about-content .text-apresentation p {
        width: 60vw;
    }

    #about-content .text-apresentation {
        font-size: 1.5rem;
    }

    #about-content .title-ability {
        font-size: 4.5vw;
        margin-bottom: 1rem;
    }

    #about-content .ability-description .title-ability {
        margin-bottom: 1rem;
    }

    #about-content .abilitys > div .ability-description p {
        font-size: 2.2vw;
        line-height: 3.5vw;
        width: 100%;
    }

    #about-content .abilitys > div .ability-description {
        width: 42vw;
    }

    #about-content .abilitys > div img {
        width: 35vw;
        margin-top: 2rem;
    }

    #about-content .abilitys {
        width: 100%;
    }

    #about-content .abilitys > div {
        display: flex;
        gap: 5vw;
        align-items: center;
        padding: 10rem 2rem;
    }

    #about-content .news .content-news .carousel > a {
        width: 35vw;
        height: 55vw;
        flex: 0 0 auto;
        position: relative;
    }

    #about-content .news::before, #about-content .news::after {
        width: 10rem;
    }

    #about-content .news .content-news .carousel {
        height: 70vw;
        padding: 0;
    }

    #about-content .news .carousel > a > div h4 {
        font-size: 3.3vw;
        object-fit: contain;
        display: block;
        width: 25vw;
        justify-self: center;
    }

    #about-content .news .carousel > a > div p, #about-content .news .carousel > div > div .read-more {
        font-size: 1rem;
        display: block;
        width: 15rem;
        justify-self: center;
    }

    #about-content .news .carousel > a > div .read-more {
        margin-top: 1rem;
    }

    #about-content .news .carousel > a > div { 
        top: 52%;
    }

    #about-content .portfolio div h3 {
        width: 70%;
        font-size: 4vw;
    }

    #about-content .portfolio div .link a {
        font-size: 5vw;
        margin: 3.5rem;
    }

}




/*
---------------------------
#  About us small screen  #
#      smartphones        #
---------------------------*/
@media (min-width: 320px) and (max-width: 480px) {
    
    /*
    --------------------------
     Section Abilitys - Small
    --------------------------
    */

    #about-content .abilitys > div {
        flex-direction: column;
        gap: 3rem;
        width: 90%;
        padding: 3rem;
        justify-self: center;
    }

    #about-content .abilitys > div .ability-description {
        width: 100%;
        align-items: center;
        justify-self: center;
        margin-top: 2rem;
    }

    #about-content .title-ability {
        font-size: 2.3rem;
        margin-bottom: 2rem;
    }

    #about-content .abilitys > div .ability-description p {
        width: 100%;
        line-height: 2.2rem;
        font-size: 1.5rem;
    }

    #about-content .abilitys > div img {
        margin: auto;
        width: 90%;
    }

    
    #about-content .news {
        padding: 10rem 0 5rem 0;
    }
    
    #about-content .news::after, #about-content .news::before {
        width: 5rem;
    }

    #about-content .news::before{
        background: linear-gradient(to right, black 25%, transparent 100%);
    }
    #about-content .news::after{
        background: linear-gradient(to left, black 25%, transparent 100%);
    }

    /*
    --------------------------
     Section Portfólio - Small
    --------------------------
    */
    #about-content .portfolio{
        padding: 0 3rem;
    }

    #about-content .portfolio div img {
        width: 60%;
    }

    #about-content .portfolio  div h3 {
        width: 80%;
        font-size: 2.3rem;
    }

    #about-content .portfolio div .link {
        width: 70%;
    }

    #about-content .portfolio div .link a {
        font-size: 2rem;
        padding: 0.4rem 0;
    }

    #about-content .portfolio > div .link::before {
        box-shadow: 0rem 0rem 3rem 2rem var(--gray-color);
    }



}
