@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0px           ;
    padding: 0px          ;
    box-sizing: border-box;
}

:root {
    --color-black  : #272727  ;
    --color-white  : #fff     ;
    --color-purple : #8b3546  ;
}

html {
    font-size: 10px;
}

*, html {
    scroll-behavior: smooth !important;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #272727;
}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    padding: 15px 30px;
    position: fixed;
    z-index: 2;
    background: transparent;

    transition: all .7s ease;
}

.header-title {
    text-decoration: none;
}

.header-title h1{
    color: var(--color-white);
    font-size: 2rem;
}

.header-title h1:hover{
    opacity: .8;
    transition: opacity .3s ease;
}

.navBar {
    max-width: 350px;
    width: 100%;
}

.navbar-links {
    list-style: none;

    display: flex;
    align-items: center;
    justify-content: space-around;

    width: 100%;
}

.navbar-links li a {
    text-decoration: none;
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 700;
    transition: all .2s ease-in-out;
}

.menu-hamburguer {
    display: none;
}

@media (max-width:560px) {

    .navBar {
        display: flex;
        justify-content: end;
    }

    .navbar-links {
        display: flex;
        flex-direction: column;

        width: 50%;
        height: 100vh;
        position: fixed;
        right: 0;
        top: 0;

        background-color: #333;

        transition: all .6s ease-out;

        clip-path: circle(100px at 90% -20%);
        pointer-events: none;
    }

    .menu-hamburguer {
        display: block;
        padding: 0;
        margin-bottom: .4rem;
        background-color: transparent;
        border:none;
    
        border-top: 3px solid white;
        transition: all .3 ease-in-out;
        z-index: 1;
    }
    
    .menu-hamburguer:hover {
        opacity: .8;
        cursor: pointer;
    }

    .menu-hamburguer::before,
    .menu-hamburguer::after {
        content: "";
        display: block;
        width: 25px;
        height: 3px;
        margin-top: .6rem;
        background: var(--color-white);
    }

    .navBar.active .menu-hamburguer {
        border-top-color:transparent
    }
    .navBar.active .menu-hamburguer::before {
        transition: all .2s ease-in-out;
        transform: rotate(-45deg) translate(-2px,-1px);
    }
    .navBar.active .menu-hamburguer::after {
        transition: all .2s ease-in-out;
        transform: rotate(45deg) translate(-7px,-5px);
    }

    .navBar.active .navbar-links {
        clip-path: circle(1400px at 90% -18%);
        pointer-events: all;
    }
}

@media (min-width:1840px) {

    .header-title h1 {
        font-size: calc(1vw + .8rem);
    }

    .navBar {
        max-width: 25vw;
    }

    .navbar-links li {
        margin: 1rem;
    }

    .navbar-links li a {
        font-size: calc(1vw + .3rem);
    }

}

#person {
    height: 100vh;
    width: 100%  ;
    display: flex      ;
    align-items: center;
}

#person .person-content {
    height: 100%            ;
    width: 50%              ;

    display: flex           ;
    flex-direction: column  ;
    justify-content: center ;
    align-items: center     ;

    background-color: var(--color-black);
}

.person-name {
    margin-top: 11rem;
    padding: 0px 20px;
}

.person-content div h1, .person-content div p {
    color: transparent     ;
    padding: 0px 4px       ;
   
    font-size: calc(1vw + 1.5rem);
    line-height: calc(2vw + 1.8rem);
    
    width: fit-content;
    position: relative;

    animation: written_text .5s ease forwards; 
}

.person-content div h1:nth-child(1) {
    animation-delay: 0.4;
}

.person-content div h1:nth-child(2) {
    animation-delay: 0.9s;
}

.person-content div h1:nth-child(3) {
    animation: written_text_name .5s ease forwards;
    animation-delay: 1.5s;
}

.person-content div p {
    animation: written_text_name .5s ease forwards;
    animation-delay: 2.0s;
}

@keyframes written_text {
    100% {
        color: var(--color-white);
    }
}

@keyframes written_text_name {
    100% {
        color: #8b3546
    }
}

.stacks-content {
    padding: 0px 20px;
    display: flex          ;
    flex-direction: column ; 
    margin-top: 6rem       ;
    margin: 5rem 0rem 2rem ;
}

.stacks-content h3 {
    color: var(--color-white);
    font-size: 1.80rem;
    margin-left: 20px;

    font-size: calc(.85vw + .5rem);

}

.stacks {
    max-width:  30vw;
    display: flex       ;
    flex-direction: row ;
    justify-content: center;
    flex-wrap: wrap;
}

.stacks li {
    display: flex          ;
    align-items: center    ;
    position: relative;
    margin: 10px ;
    padding: 10px;
    list-style: none;
}

.stacks img {
    width: calc(2.5vw + 0.5rem);
    height: auto ;
    transition: transform .2s ease;
}

.stacks img:hover {
    cursor: pointer;
    transform: scale(1.2);
}

/* .stacks ul li div:hover::after {
    content: attr(data);
    position: absolute;
    top: 50px;
    left: 10px;

    width: 20px;
    height: 20px;

    color: var(--color-white);
} */

.person-background {
    height: 100vh         ;
    width: 50vw            ;

    display: flex          ;
    flex-direction: column ;
    justify-content: center;
    align-items: center    ;

    background-image: url(./img/background.jpg);
    background-size: cover      ;
    background-position: top    ;

    position: relative;

    z-index: 1;
}

.person-background::after {
    content: ""       ;
    position: absolute;
    top:0             ;
    left: 0           ;

    width: 100%       ;
    height: 100%      ;

    background: linear-gradient(180deg, transparent 5%, var(--color-black));

    z-index: -1;
    
}

.links a img {
    width: calc(2vw + 0.8rem);
    height: calc(2vw + 0.8rem);
    margin: calc(0.8vw + 0.8rem);
    filter: brightness(0.7);
    transition: all 0.3s ease;
}

.links img:hover {
    transform: scale(1.2);
    cursor: pointer;
    filter: brightness(1);
}

.wrapper-profile-photo {
    display: flex;
    justify-content: center;
    align-items: center;

    padding:calc(1vw + 0.2rem);
    margin: 20px 15px;

    border-radius: 50%;

    background: 
        radial-gradient(rgba(0,0,0,0.15) 60%, transparent 0),
        radial-gradient(#000 68%, transparent 0),
        linear-gradient(to top right, #8b3546 0%, #341018);
}

.wrapper-profile-photo img {
    max-width: 320px;
    width: 200px;
    height: 200px;
    border-radius: 50%; 
}

#about {

    scroll-margin-top: 1rem;
    scroll-behavior: smooth;
    height: auto;
    width: 100%;
    background-color: var(--color-black);

    display: flex;
    color: var(--color-white);
}

.background-about {
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-wrapper {
    height: 100%;
    width: 100% ;

    position: relative;
}

.img-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    height: 100%;
    width: 100%;

    background: 
        linear-gradient(.25turn, transparent 30%, var(--color-black)),
        linear-gradient(.5turn, transparent 30%, var(--color-black)),
        linear-gradient(1turn, transparent 60%, var(--color-black));
}

.img-wrapper img {
    height: 100%;
    width: 100%;

    object-fit: cover;
}

.box-about {
    display: flex;
    justify-content: center;
    flex-direction: column;

    width: 50%;
    padding: 3rem 5vw;
    margin: 6rem 0rem;

}

.section-subtitle h2 p {
    display: inline-block;
    font-size: 3rem;
    font-size: calc(1.4vw + 1.2rem);
}

.section-subtitle h2 p:nth-child(2) span {
    padding: 3px 5px;
    border-radius: 4px;
    /* background-color: #fff; */
    /* color: var(--color-black); */
}

.about-intro,
.about-block {
    position: relative;
    max-width: 680px;
    padding-left: 2rem;
    border-left: 2px solid var(--color-purple);
}

.about-intro {
    margin: 3rem 0 2.5rem;
}

.about-block {
    margin: 2.5rem 0;
    padding-top: .2rem;
    padding-bottom: .2rem;
}

.about-kicker {
    display: block;
    margin-bottom: 1rem;
    color: #d77789;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .16rem;
    text-transform: uppercase;
}

.about-intro p,
.about-block p {
    color: rgba(255, 255, 255, .86);
    font-size: calc(.45vw + .9rem);
    line-height: 1.8;
}

.about-intro p {
    color: var(--color-white);
    font-size: calc(.55vw + 1rem);
    font-weight: 600;
    line-height: 1.7;
}

.about-block p + p {
    margin-top: 1.2rem;
}

.about-cv {
    margin-top: 2rem;
    color: rgba(255, 255, 255, .7);
    font-size: calc(.4vw + .8rem);
    line-height: 1.6;
}

.about-cv span {
    display: block;
    margin-top: .2rem;
    color: var(--color-white);
    font-weight: 700;
}

.button-cta {
    display: flex;
    max-width: 190px;
    margin: 4rem 3rem;
}

.button-cta a {
    display: inline-block;
    /* width: 100%; */
    /* max-width: 172px; */

    padding: calc(0.2vw + 0.8rem) calc(2vw + 0.8rem);
    margin-bottom: 3rem;

    font-family: "Inter", sans-serif;
    font-size: calc(.7vw + .55rem);
    font-weight: 700;
    letter-spacing: .15rem;
    border-radius: 10px;
    cursor: pointer;
    border: none;

    background: var(--color-white);
    color: var(--color-black);
    text-align: center;
    text-decoration: none;

    transition: all .3s ease;
}

.button-cta a:hover {
    filter: brightness(.8);
}

#projects {

    /* scroll-margin-top: 2rem; */
    height: auto;
    width: 100%  ;
    background-color: var(--color-black);

    display: flex         ;
    flex-direction: column;
}

.projects-title h2 {
    text-align: center;
    margin: 60px 60px 2rem;
    padding: 1rem;

    font-size: 3rem;
    color: var(--color-white);
}

.projects-group {
    width: 100%;
    padding: 2rem 0 5rem;
}

.projects-production {
    background: linear-gradient(180deg, #272727 0%, #321d23 100%);
}

.projects-academic {
    background-color: #202020;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.projects-group-heading {
    width: min(1020px, calc(100% - 6rem));
    margin: 0 auto;
}

.projects-kicker {
    display: block;
    margin-bottom: .8rem;
    color: #d77789;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .16rem;
    text-transform: uppercase;
}

.projects-group-heading h3 {
    color: var(--color-white);
    font-size: 2.4rem;
}

.projects-group-heading p {
    max-width: 720px;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .72);
    font-size: 1.3rem;
    line-height: 1.7;
}

.container-projects {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 15px;
}

.swiper {
    height: 500px;
    width: 100%;
    max-width: 1020;
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 2rem;
    height: 500px;
    padding: 0px 20px;
}

.card-project {
    /* width: 420px;
    height: 400px; */
    height: 100%;
    width: 100% ;
    padding: 30px 20px 20px;
    /* margin: 0px 10px; */
    background-color: var(--color-white);
    z-index: 1  ;

    display: flex;
    align-items: center;
    flex-direction: column;

    border-radius: 20px;
    position: relative;
    text-align: center;
}

.card-project::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    height: 40% ;
    width: 100% ;
    background-color: var(--color-purple);
    border-radius: 20px 20px 0px 0px;

    z-index: -1;
}

.image-project {
    height: 240px;
    width: 350px;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;

    /* height: 100%;
    width: 100%; */
    max-width: 100%;

    margin-bottom: 30px;
}

.image-project img {

    padding: 10px;
    width: 100% ;
    height: 100%;
    border-radius: 10px;

    border: 2px solid white;

    position:absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;

    transition: transform .3s ease-out;
    cursor: pointer;

    background-color: #8b3546;
}

.image-project img:hover{
    transform: scale(1.06);
}

.card-project span {
    color: var(--color-black);
    font-weight: bold;
    font-size: 1.7rem;
}

.card-project p {
    color: #3d3d4b;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0rem .75rem;

    margin-bottom: 30px;
}

.cta-project {
    width: auto;
    max-width: 100%;
    margin: auto ;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.cta-project a {
    padding: 5px 16px;
    font-size: 1.25rem;
    background:var(--color-purple);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: opacity .3s ease;
}

.cta-project a:hover {
    opacity: .7;
}

.cta-project .cta-production {
    background-color: #272727;
}

#contacts {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    align-items: center;
    background-color: var(--color-black);
    color: white;

    margin: 3vw 0vw 5vw;
}

.contact-icon-content h2 {
    margin: 3rem 3rem 3rem 0rem;
    padding: 1rem 1rem 1rem 0rem;
    font-size: 3rem;
    color: white;
}

.contact-icons-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* flex-direction: column; */
}

.contact-icon-content {
    display: flex;
    align-items: center;
    margin: 0rem 3rem;
    padding: 1rem;
}

.contact-icon {
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

    margin-right: 2rem;
    background-color: var(--color-white);
    padding: 1rem;
    border-radius: 50%;
}

.contact-icon i {
    font-size: 2rem;
    color: #8b3546
}

.contact-info span {
    font-size: 1.2rem;
    font-weight: bold;
}

.contact-info p {
    margin: .25rem 0rem;
}

.contact-info a {
    margin: .25rem 0rem;
    text-decoration: none;
    color: var(--color-white);
    display: block;
}

.contact-info a:hover {
    color: var(--color-purple);
    transition: color .3s ease;
}

#footer {
    display: flex;
    width: 100%;
    height: auto;

    justify-content: center;
    align-items: center;

    padding: calc(1vw + 1rem) 0vw;

    margin-top: auto;
    background-color: #191919;
}

.container-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    color: var(--color-white);
}

@media (max-width: 375px) {
    .swiper-slide span {
        font-size: 1.5rem;
    }

    .swiper-slide p {
        font-size: 1rem;
    }
}

@media (max-width:376px) {
    .stacks-content {
        padding: 0px 20px;
    }

    .person-name h1 {
        font-size: 1rem;
    }

    .stacks-content h3 {
        margin-left: 10px;
    }

    .stacks {
        margin-top: 10;
    }

    .stacks li {
        margin: 0px;
    }

    .person-name {
        padding: 0px 10px;
    }

    .stacks li img {
        width: calc(3.5vw + .5rem);
    }

    .wrapper-profile-photo img {
        width: 100px;
        height: 100px;
    }

    .box-about {
        padding: 1rem;
    }

    .section-subtitle p {
        font-size: 2rem;
    }

    .box-about h3 {
        margin: 2rem 1rem;
    }

    .box-about h4 {
        margin: 1rem;
    }

}

@media (min-width:377px) and (max-width:768px) {

    .person-name {
        padding: 0px 10px;
    }

    .person-name h1 {
        font-size: 1rem; /* Adicione essa linha */
    }

    .stacks-content {
        padding: 0px 15px;
    }

    .stacks li img {
        width: calc(3.2vw + .5rem);
    }

    .stacks-content h3 {
        margin-left: 10px;
    }

    .stacks {
        margin-top: 10px;
        margin-bottom: 60px;
    }

    .stacks li {
        margin: 0px;
    }

    .wrapper-profile-photo img {
        width: 100px;
        height: 100px;
    }

    .box-about {
        padding: 1.3rem;
    }

    .box-about h3 {
        margin: 1.5rem 1rem;
    }

    .box-about h4 {
        margin: 1.5rem;
    }

    .section-subtitle p{
        font-size: 2rem;
    }
}

@media (max-width:768px) {
    #about {
        flex-direction: column;
    }

    .background-about {
        width: 100%;
        height: 35vh;
    }

    .box-about {
        width: 100%;
        padding: 2rem 2.5rem 4rem;
        margin: 0;
    }

    .about-intro,
    .about-block {
        max-width: none;
    }

    .about-intro p,
    .about-block p {
        font-size: 1.25rem;
    }

    .links a img {
        width: 20px;
        height: 20px;
    }
}

@media (min-width:768px) and (max-width:1440px) {

    .box-about {
        padding: 1.8rem;
    }

    .box-about h3 {
        margin: 2rem 1rem;
    }

    .box-about h4 {
        margin: 1.5rem;
    }

    .section-subtitle p {
        font-size: 2.5rem;
    }

}

@media (max-width:1440px) and (orientation:landscape) {
    /* .wrapper-profile-photo img {
        width: 45vw;
    } */
}

@media (min-width:1440px) {
    .wrapper-profile-photo img {
        width: 200px;
        max-width: initial;
    }
}

@media (max-width:1000px) and (orientation:landscape) {
    .stacks-content h3 {
        font-size: 1vw;
    }
}

@media (min-width: 1840px) {

    .contact-icon-content h2 {
        font-size: calc(1.4vw + 1.8rem);
    }

    .contact-icon {
        width: 3vw;
        height: 3vw;
    }

    .contact-icon i {
        font-size: 1vw;
    }

    .contact-info span {
        font-size: 1.1vw;
    }

    .contact-info p {
        font-size: .7vw;
    }

    .contact-info a {
        font-size: .7vw;
    }

    .container-footer h2{
        font-size: calc(1vw + .2rem);
    }

    .container-footer h3 {
        font-size: .8vw;
    }

}

@media (max-width:1000px) {
    .swiper {
        max-width: 700px;
    }
}

@media (max-width:700px) {
    .swiper {
        max-width: 350px;
    }

    .container-projects {
        padding: 10px;
    }
}

@media (min-width:1840px) {
    .projects-title h2 {
        font-size: calc(1.4vw + 1.8rem);
    }

    .swiper {
        max-width: calc(50vw + 15rem + 30%);
        height: calc(20vw + 22.5rem);
    }

    .image-project {
        width: calc(18vw + 11rem);
        height: calc(10vw + 10rem);
        max-width: calc(18vw + 11rem);
        max-height: calc(10vw + 10rem);
    }
        
    .card-project span {
        font-size: calc(1.1vw + .25rem);
        margin: 0.5vw auto 0.5vw;
    }

    .card-project p {
        font-size: calc(1vw + .2rem);
    }

    .cta-project {
        width: auto;
    }

    .card-project a {
        padding: 1rem 2rem;
        font-size: 0.8vw;
        margin-right: 1vw;
    }
}

