* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* estilos gerais */
.interface {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 1%;
}

button {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* fim estilos gerais */

/* estilo do cabeçalho */
header {
    background-color: #000000;
    height: 80px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: all 0.3s ease;
}

.menu-mobile {
    display: none;
    width: 50%;
    margin-right: -4px;
    color: #FFFFFF;
    text-align: right;
    position: relative;
    height: 100%;
    cursor: pointer;
}

.menu-mobile i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
}

.logotipo, .menu-desktop {
    display: inline-block;
    margin-right: -4px;
    vertical-align: top;
    position: relative;
    height: 100%;
}

.logotipo {
    width: 20%;
}

.menu-desktop {
    width: 80%;
}

.logotipo img {
    width: 60%;
    max-width: 220px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.menu-desktop ul {
    list-style-type: none;
    text-align: right;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

.menu-desktop ul li {
    display: inline-block;
    margin: 0 20px;
}

.menu-desktop ul li a {
    color: #FFFFFF;
    text-decoration: none;
}

.menu-desktop ul li a button {
    width: 140px;
    height: 40px;
    border-radius: 40px;
}
/* fim estilo cabeçalho */

/* estilo topo do site */
section.topo-site {
    background-image: linear-gradient(45deg, #77007F, #310034);
    padding: 80px 0;
}

.txt-topo, .img-topo {
    display: inline-block;
    margin-right: -4px;
    width: 50%;
    vertical-align: middle;
}

.txt-topo {
    color: #FFFFFF;
}

.txt-topo h1 {
    font-size: 2.6rem;
    line-height: 50px;
}

.txt-topo h1 span {
    display: block;
}

.txt-topo p {
    font-size: 1.1rem;
    margin: 28px 0;
}

.txt-topo button {
    width: 240px;
    height: 50px;
    border-radius: 30px;
}

.img-topo img {
    width: 40%;
    margin-left: 180px;
}
/* fim estilo topo do site */

/* cessao habilidades */
.skills {
    padding: 80px 0;
    margin: 0px 0;
}

.skills .titulo-cessao {
    text-align: center;
}

.skills .titulo-cessao h2 {
    color: #77007F;
    font-size: 2.2rem;
    margin-bottom: 60px;
}

.skills-container {
    width: 100%;
    text-align: center;
}

.skills .skills-box {
    display: inline-block;
    width: 30%;
    border: 2px solid #77007F;
    padding: 80px 0;
    margin: 0 1%;
    border-radius: 0 70px 30px 70px;
    box-shadow: 13px 13px 1px #77007F;
}

.skills .skills-box img {
    width: 60%;
}

.skills .skills-box h3 {
    color: #77007F;
    margin: 10px 0;
    font-size: 1.5rem;
}

.skills .skills-box p {
    font-size: 14px;
}
/* fim cessao habilidades */

/* estilo do portifolio */
section.meus-projetos {
    padding: 80px 0px;
    background-image: linear-gradient(45deg, #77007F, #310034);
}

.txt-projetos, .projetos-container {
    display: inline-block;
    margin-right: -4px;
    vertical-align: top;
    width: 50%;
}

.txt-projetos {
    color: #FFFFFF;
    position: sticky;
    top: 30%;
    left: 0;
}

.txt-projetos h2 {
    font-size: 5rem;
    line-height: 71px;
}

.txt-projetos h2 span {
    display: block;
}

.txt-projetos p {
    font-size: 20px;
    margin: 40px 0 20px 0;
}

.txt-projetos button {
    width: 250px;
    height: 50px;
    font-size: 20px;
    border-radius: 30px;
}

.projetos-container {
    color: #FFFFFF;
    text-align: center;
}

.projetos-content {
    margin-bottom: 50px;
}

.projetos-box {
    display: inline-block;
    width: 320px;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 0 70px 30px 70px;
}

.projetos-box img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 70px 30px 70px;
    object-fit: cover;
    background-color: #FFFFFF;
    animation: slide-vertical 6s linear infinite;
}

@keyframes slide-vertical {
    0% {
        top: 0;
    }
    100% {
        top: -100%;
    }
}

.projetos-box:hover img {
    filter: brightness(1.1);
    transform: scale(1.03);
    transition: all 0.3s ease;
}
/* fim estilo do portifolio */

/* estilo cessao sobre */
section.sobre-mim {
    padding: 90px 0;
}

.img-sobre, .txt-sobre {
    display: inline-block;
    margin-right: -4px;
    vertical-align: middle;
    width: 50%;
}

.sobre-mim .img-sobre img {
    width: 70%;
    border-radius: 0 70px 30px 70px;
    box-shadow: 15px 15px 0 #77007F;
}

.txt-sobre {
    color: #77007F;
}

.txt-sobre h2 {
    font-size: 4.5rem;
    line-height: 63px;
}

.txt-sobre h2 span {
    display: block;
}

.txt-sobre p {
    margin: 40px 0 20px 0;
    font-size: 20px;
    text-align: justify;
    line-height: 30px;
    font-weight: 400;
}

.txt-sobre button {
    background-color: #77007F;
    width: 70px;
    height: 70px;
    font-size: 35px;
    border-radius: 0 20px 10px 20px;
}
/* fim estilo cessao sobre */

/* estilo formulario */
section.contato {
    padding: 80px 0;
    background-image: linear-gradient(45deg, #77007F, #310034);
}

.txt-contato, .form-contato {
    display: inline-block;
    margin-right: -4px;
    vertical-align: top;
    width: 50%;
}

.txt-contato {
    position: sticky;
    top: 50%;
    left: 0;
    color: #FFFFFF;
}

.txt-contato h2 {
    font-size: 4rem;
    line-height: 50px;
}

.txt-contato h2 span {
    display: block;
}

.txt-contato p.p-contato {
    margin: 20px 0;
    font-size: 20px;
}

.txt-contato p.icon-tnt {
    font-size: 18px;
    margin-bottom: 15px;
}

.txt-contato p.icon-tnt i {
    font-size: 25px;
    margin-right: 10px;
}

form {
    width: 80%;
    color: #FFFFFF;
}

form label {
    display: block;
}

form input, form textarea {
    width: 100%;
}

form div {
    margin-bottom: 15px;
}

form input {
    padding: 10px;
    border-radius: 40px;
    background: transparent;
    border: 2px solid #ffffff;
    outline: none;
    color: #FFFFFF;
    font-size: 18px;
}

form textarea {
    padding: 10px;
    border-radius: 20px;
    background: transparent;
    border: 2px solid #ffffff;
    outline: none;
    height: 120px;
    resize: none;
    color: #FFFFFF;
    font-size: 18px;
}

form .btn-enviar {
    text-align: center;
}

form .btn-enviar input {
    width: 130px;
    cursor: pointer;
}
/* fim estilo formulario */

/* estilo footer */
footer {
    padding: 80px 0;
    background-color: #000000;
}

footer .line-footer-top {
    padding-bottom: 20px;
    border-bottom: 2px solid #FFFFFF;
}

footer .line-footer-bottom {
    padding-top: 20px;
}

footer .line-footer-bottom button {
    background-color: transparent;
    width: 60px;
    height: 60px;
    font-size: 35px;
    border-radius: 0 20px 10px 20px;
}

footer .logotipo img {
    width: 70%;
}

.rodape2 {
    display: none;
}
/* fim estilo footer */

/* ESTILO BOTAO MENUMOBILE */
/* Menu lateral */
.side-tab-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    padding-left: 20px;
    transition: transform 0.4s ease, opacity 0.3s ease;
    z-index: 99999;

    /* Sai da tela em 45 graus (diagonal superior direita) */
    transform: translate(100%, -100%);
    opacity: 0;
}

/* Quando menu estiver aberto */
.side-tab-bar.open {
    transform: translate(0, 0);
    opacity: 1;
}

/* Estilo dos links */
.side-tab-bar a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    width: 100%;
    padding: 20px 10px;
    box-sizing: border-box;
    border-bottom: 1px solid #000000;
    transition: background 0.3s;
}

.side-tab-bar a:hover {
    color: #77007F;
}

/* Botão do menu */
.btn-menu {
    font-size: 28px;
    cursor: pointer;
    color: #77007F;
    padding: 10px;
    z-index: 100000; /* acima do menu */
}

/* Ícone animado: list vira x */
.btn-menu i.bi-list {
    display: inline;
}

.btn-menu i.bi-x {
    display: none;
}

.btn-menu.active i.bi-list {
    display: none;
}

.btn-menu.active i.bi-x {
    display: inline;
}
.btn-fechar {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 46px;
  color: #77007F;
  cursor: pointer;
}
.btn-fechar:hover {
  color: #77007F;
}
