

body {
    font-family: 'inter', sans-serif;
    position: relative;
    background-image:
     linear-gradient(to right, 
    #0d0d0d 2%, 
    rgba(13,13,13,0.8) 8%, 
    rgba(13,13,13,0.3) 28%, 
    transparent 70%
        ),
        url(../img/david/foto/david\ -\ Copia.png);
    background-color: #0d0d0d;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: right center;
    background-size: 50rem;}

span {
    color: #2d9eff;}




header {
    display: flex;
    align-items: center;
    padding: 13px;
    justify-content: space-between;
    position: fixed;
    gap: 24rem;
    margin-left: 9rem;}

header img {
    width: 30px;
    z-index: 1;}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 40px;
}

.logo-link {
    text-decoration: none;
    color: white;
}

.logo-titulo {
    color: white;
    font-size: 36px;
    letter-spacing: 1px;
    margin-left: 10px;}

nav>a {
    margin: 0px 2rem;
    text-decoration: none;
    color: white;
    font-size: 20px}



.social {
    display: flex;}

.social a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d9eff;
    border-radius: 50%;
    margin: 22px 10px;
    color: white;
    text-decoration: none;
    font-size: 25px;
}

.social a:hover {
    transform: scale(1.3);
    transition: .3s;}




.main {
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1;}




.container {
    padding-top: 15%;
    padding-bottom: 20%;
    padding-left: 10%;
    margin-left: 13rem;}

.container .hero-text {
    margin-bottom: 3rem;
}

.container .hero-text p {
    color: aqua;
    font-size: 2.4rem;
    letter-spacing: 2px;
    font-weight: bold;
}

.container .hero-text h1 {
    color: white;
    margin: 1rem 0rem 1rem;
    font-size: 7.6rem;
}

.container .hero-text :nth-child(3) {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: bold;
}




.sobre {
    width: auto;
    padding: 5%;
    background-color: #191919;
}

.sobre>h2 {
    display: flex;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 4rem;
    margin-bottom: 6.5rem;
    text-transform: capitalize;
}

.sobre>article>img {
    height: auto;
    max-width: 34%;
    border-radius: 4%;
    margin-right: 8%;
}

.sobre-mim {
    width: 61%;
}

.sobre-mim h3 {
    color: white;
    letter-spacing: 2px;
    font-size: 30px;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.sobre-mim p {
    color: aqua;
    letter-spacing: 1px;
    line-height: 35px;
    font-size: 20px;
    margin-bottom: 45px;
    text-align: justify;
    text-indent: 2.5rem;
}




.tecnologias {
    background-color: #101010f3;
    backdrop-filter: blur(6px);
    padding: 5%;
}

.tecnologias h2 {
    color: white;
    display: flex;
    justify-content: center;
    font-weight: bold;
    font-size: 4rem;
    margin-bottom: 2.5rem;
}

.tecnologias>article {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tecnologias-icons {
    display: flex;
    flex-wrap: wrap;
    width: 85%;
    text-align: center;
    background-color: #1d68aab2;
    border-radius: 15px;
    margin: 1rem 22px 4rem 0;
    color: white;
    padding: 1rem 0;
    justify-content: space-around;
}

.icons {
    max-width: 80px;
    height: auto;
    margin: 10px 20px;
    background-color: #8cc9ffad;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(1, 1, 153, 0.815);
}

.titulos-icons {
    margin-bottom: 10px;
}



.projetos {
    background-color: #161623;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.projetos > h2 {
    color: white;
    margin-top: 5%;
    font-weight: bold;
    font-size: 3rem;
    top: -3.5rem;
}

.projeto-card {
    width: 17rem;
    height: 27rem;
    border-radius: 15px;
    margin: 5% 1%;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: white;  
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.5); 
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.projeto-card img {
    margin-top: 20%;
    transition: 0.3s;
}

.projeto-card p {
    text-align: center;
    padding: 5% 10%;
    margin-top: 175px;
    transition: 0.2s;
}

.projeto-card a {
    text-align: center;
    text-decoration: none;
    border: 2px solid  #2d9eff ;
    margin: 0 20%;
    color: white;
    padding: 1rem 0;
    border-radius: 35px;
    transition: 0.2s;
    font-size: 25px;
}

.projeto-card:hover img {
    margin-top: -40px;
    transform: scale(0.8);
}

.projeto-card:hover p {
    margin-top: -30px;
}

.projeto-card a:hover {
    background-color: #2d9eff;
}




.container-gallery {
    position: relative;
    padding: 10px;
    max-width: 100%;
    margin: 0 auto;
}

.gallery-wrapper {
    overflow-x: auto;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-left,
.arrow-right {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    font-size: 35px;
    line-height: 250px;
    width: 75px;
    color: #fff;
    transition: all 600ms ease-in-out;
    background: linear-gradient(to left, transparent 0%, black 200%);
    opacity: 0.1;
    cursor: pointer;
    border: none;
}

.arrow-left:hover,
.arrow-right:hover {
    opacity: 1;
}

.arrow-right {
    right: 0;
    left: auto;
    text-align: right;
    background: linear-gradient(to right, transparent 0%, black 200%);
}

.gallery {
    display: flex;
    flex-flow: row nowrap;
    gap: 3rem;
}

.item {
    flex-shrink: 0;
    transition: all 600ms ease-in-out;
    opacity: 0.5;
}

.current-item {
    opacity: 1;
}

.gallery-wrapper::-webkit-scrollbar {
    display: none;
}

.gallery-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}



footer{
    position: relative;
    width: 100%;
    height: 300px;
    background: #101010;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer > h2{
    font-size: 30px;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}

footer > h3{
    color: white;
    margin-bottom: 20px;
    font-weight: normal;
}

footer > p{
    color: white;
}

.fim{
    position: absolute;
    color: #2d9eff;
    bottom: 35px;
    font-size: 14px;
}



::-webkit-scrollbar{
    width: 0.6rem;
    background-color: #101010;
}

::-webkit-scrollbar-button{
    background-color: #0e3353;
    border-radius: 100%;
}

::-webkit-scrollbar-thumb{
    background-color: #2d9eff;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover{
    background-color: #247dcb;
    border-radius: 5px;
}