@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;

}

:root {

    --bg-color: #000000;
    --segundo-bg-color: #161616;
    --text-color: #fff;
    --main-color: #f28e03;  

}

.tema-branco {

    --segundo-bg-color: #000000;
    --text-color: #161616;
    --bg-color: #fff;
    --main-color: #f28e03;
    --text-color1: #fff;

}

html {

    font-size: 62.5%;
    overflow-x: hidden;

}

body {

    background: var(--bg-color);
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);

}

html::-webkit-scrollbar {

    width: 0.8rem;

}

html::-webkit-scrollbar-track {

    background: var(--bg-color);

}

html::-webkit-scrollbar-thumb {

    background: var(--main-color);

}

.header {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 3rem 9%;
    background: rgba(0, 0, 0, 0.7);
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;

}

.logo {

    font-size: 2rem;
    color: var(--main-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;

}

.logo:hover {

    transform: scale(1.1);
}

#icon {

    cursor: pointer;
    margin-left: 50px;
  
}

.navegador a {

    font-size: 1.8rem;
    color: var(--text-color1);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;


}

.navegador a:hover,
.navegador a.active {

    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);

}

#menu-icon {

    font-size: 3.6rem;
    color: var(--main-color);
    display: none;

}

@media (max-width:995px) {

    #menu-icon {
        display: block;
    }

    .navegador {

        position: absolute;
        top: 0%;
        right: 0;
        width: 20%;
        border-left: 3px solid var(--main-color);
        border-bottom: 3px solid var(--main-color);
        border-bottom-left-radius: 2rem;
        padding: 1rem 1%;
        background-color: var(--segundo-bg-color);
        border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
        

    }

    .navegador.active {
        display: block;
    }

    .navegador a {

        display: block;
        font-size: 1.5rem;
        margin: 4rem 0;

    }

    .navegador a:hover,
    .navegador a.active {

        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid var(--main-color);

    }
}

selection {

    min-height: 100vh;
    padding: 5rem 9% 5rem;

}

.casa {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background: var(--bg-color);

}

.casa .casa-content h1 {

    font-size: 5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;

}

span {
    color: var(--main-color);
}

.casa-content h2 {

    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;

}


.casa-img img {

    position: relative;
    border-radius: 50%;
    cursor: pointer;

}

.casa-img img:hover {

    transform: scale(1.01);
    filter: drop-shadow(0 0 20px var(--main-color));

}

.casa-content p {

    font-size: 1.8rem;
    font-weight: 500;

}

.social-icon a {

    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    font-size: 2rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;


}

.social-icon a:hover {

    color: #fff;
    transform: scale(1.3) translateY(-5px);
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);

}

.btn {

    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--bg-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;

}

.btn:hover {

    transform: scale(1.03);
    background-color: var(--main-color);
    color: var(--text-color);
    box-shadow: 0 0 25px var(--main-color);

}

.tipo-texto {

    font-size: 34px;
    font-weight: 600;
    min-width: 280;

}

.tipo-texto span {

    position: relative;

}

.tipo-texto span::before {

    content: 'Designer Gráfico';
    color: var(--main-color);
    animation: words 20s infinite;

}

.tipo-texto span::after {

    content: ' ';
    background: var(--bg-color);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid var(--bg-color);
    right: -8;
    animation: cursor 0.6s infinite, tipo 15s steps(14) infinite;

}

@keyframes cursor {

    to {
        border-left: 3px solid var(--main-color);
    }

}

@keyframes words {

    0%,
    20% {
        content: 'Youtuber';
    }

    21%,
    40% {
        content: 'Otaku';
    }

    41%,
    60% {
        content: 'Designer Web';
    }

    61%,
    80% {
        content: 'Gamer';
    }

    81%,
    100% {
        content: 'Editor de Video';
    }


}

@keyframes tipo {

    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95% {

        width: 0;

    }

    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85% {

        width: calc(100% + 7px);

    }

}

@media (max-width:1000px) {

    .casa {
        gap: 4rem;
    }
}

@media (max-width:995px) {

    .casa {
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .casa .casa-content h3 {
        font-size: 2.5rem;
    }

    .casa-content h1 {
        font-size: 5rem;
    }

    .casa-img img {
        width: 70vw;
        margin-top: 4rem;
    }

}

.servicos {
    background: var(--segundo-bg-color);
}

.heading{

    text-align: center;
    align-items: center;
    margin-bottom: 50px;
    font-size: 25px;

}
 
.servicos-container {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 3.5rem;
    margin-bottom: 90px;
    margin: auto;
    padding: 2rem;

}

.servicos-caixa {

    background-color: var(--main-color);
    height: 400px;
    border-radius: 2rem;
    cursor: pointer;
    transition: 0.3s ease;

}

.servicos-caixa:hover {

    background: var(--bg-color);
    color: var(--main-color);
    transform: scale(1.03);
    border: 1px solid var(--main-color);

}

.servicos-caixa .servicos-info {

    display: flex;
    flex-direction: column;
    text-align: left;
    max-height: 200px;
    justify-content: center;
    align-items: baseline;
    padding: 5rem;

}

.servicos-info h4 {

    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;

}

.servicos-info p {

    font-size: 1.6rem;
    font-weight: 400;
    max-height: 100px;
    margin: auto;
    color: var(--text-color);

}


@media (max-width:991px) {

    section {

        padding: 10rem 3% 2rem;

    }

    .servicos {

        padding-bottom: 7rem;

    }
}

@media (max-width:895px) {

    .servicos h2 {
        margin-bottom: 3rem;

    }

    .servicos-container {

        grid-template-columns: repeat(1,1fr);

    }
}

.habilidades {
    background: var(--bg-color);
}

.habilidades .container {

    background: #e1352c54;
    color: var(--text-color);
    border-radius: 1rem;
    padding: 2rem;
    width: 70%;
    margin: auto;
    margin-top: 5rem;
    
}

.habilidades .container .row {

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    flex-wrap: wrap;
    gap: 0.8rem;

}

.habilidades .container .bar {

    margin-bottom: 15px;
    padding: 10px;
    border-radius: 1rem;
    background: var(--bg-color); 
    transition: 0.3s ease;
    cursor: pointer;

}

.habilidades .container .bar:hover {
    box-shadow: 0 4px 10px var(--main-color);
    transform: scale(1.03);
}

.habilidades .container .bar .info {

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;

}

@media screen and (max-width:600px) {

    .habilidades .container {
        margin: 1rem;
        padding: 0;
    }

    .habilidades .container .row {

        grid-template-columns: repeat(2, 1fr);
        margin: 1rem;
        padding: 2rem 0.2rem 2rem 0.2rem;
        gap: 1rem;

    }

    .habilidades .container {

        margin-top: 5px;
        width: 100%;

    }
    
}

.educacao {

    
    margin-top: 60px;
    margin-bottom: 30px;

}

.educacao h5 {

    margin-top: 10px;
}

.educacao .linhatempo {

    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    

}

.educacao .linhatempo::after {

    content: '';
    position: absolute;
    width: 6px;
    background: rgb(90, 64, 64);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -2px;

} 



.educacao .container {

   padding: 10px 40px;
   position: relative;
   background-color: inherit;
   width: 50%; 

}

.educacao .content:hover {

    background: var(--text-color);
    color: var(--main-color);
 
 }

.educacao .container::after {

    padding: '\f501';
    position: absolute;
    width: 25px;
    height: 25px;
    line-height: 25px;
    right: -17px;
    background-color: rgb(252, 252, 252);
    border: 4px solid var(--main-color);
    top: 15px;
    border-radius: 50%;
    z-index: 100;
    font-size: 1.89rem;
    text-align: center;
    font-weight: 600;
    font-family: "Font Awesome\ 5 free";
    color: rgb(90, 64, 64);


}

.educacao .esquerda {
    left: 0;
}

.educacao .direito {
    left: 50%;
}

.educacao .esquerda::before {

    content: '';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--main-color);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--main-color);

}

.educacao .direito::before {

    content: '';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--main-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent transparent transparent var(--main-color);

}

.educacao .direito::after {
    left: -16px;
}

.educacao .content {

    background: var(--main-color);
    position: relative;
    border-radius: 6px;

}

.educacao .content .tag {

    font-size: 1.5rem;
    padding-top: 1.5rem;
    padding-left: 1.5rem;

}

.educacao .content .tag h2 {

    text-align: center;
    margin-bottom: 20px;

}

.educacao .content .decs {

    font-size: 1.5rem;
    padding-bottom: 1rem;

}

.educacao .content .decs h3 {

    font-size: 1.5rem;
    font-weight: 500;
    
}

.educacao .content .decs p {

    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;

}

@media screen and (max-width:600px) {

    .educacao .linhatempo {
        margin-top: 2rem;
    }

    .educacao .linhatempo::after {
        left: 31px;
    }

    .educacao .container {

        width: 100%;
        padding-left:  8rem;
        padding-right: 2rem;

    }

    .educacao .container::after {
        font-size: 2.2rem;
    }

    .educacao .container::before {

        left: 61px;
        border: medium solid var(--main-color);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--main-color) transparent transparent;


    }

    .educacao .esquerda::after {
        left: 15px;
    }

    .educacao .direito::after {
        left: 15px;
    }

    .educacao .direito {
        left: 0%;
    }
    
}

.contacto h2 {

    margin-bottom: 3rem;
    color: var(--text-color);

}

.contacto form{

    max-width: 70rem;
    margin: 1rem auto;
    margin-bottom: 3rem;
    text-align: center;

}

.contacto form .input-caixa {

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}

.contacto form .input-caixa input,
.contacto form textarea {

    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: 0.8rem;
    border: 2px solid var(--main-color);
    margin: 1rem 0;
    resize: none;

}

.contacto form .btn {
    margin-top: 2rem;
}

.footer{

    position: relative;
    bottom: 0;
    width: 100%;
    padding: 50px 0;
    background-color: var(--main-color);
    align-items: center;
    text-align: center;
    

}

.footer .social a {

    font-size: 25px;
    color: #000000;
    border: 2px solid black;
    width: 44px;
    height: 44px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease;
    margin-bottom: 19px;

}

.footer .social a:hover {

    transform: scale(1.2) translateY(-5px);
    background: #000000;
    color: var(--main-color);

}

.footer ul{

    margin-top: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: center;

}

.footer ul li a {

    color: #000000;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease;

}

.footer ul li a:hover {

    border-bottom: 3px solid black;

}

.footer ul li {

    display: inline-block;
    padding: 0 15px;

}

h4 {

    align-items: center;
    text-align: center;
    margin-top: 12px;
}

@media (max-width:1285px) {

    html {
        font-size: 55%;
    }

    .servicos-container {

        padding-bottom: 7rem;
        grid-template-columns: repeat(1, 1fr);
        margin: 0 5rem;

    }
}

@media (max-width:991px) {

    .header {
        padding: 10rem 3% 2rem;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .servicos {
        padding-bottom: 7rem;
    }

    .footer {
        padding: 2rem 3%;
    }
    
}

@media (max-width: 895) {

    .servicos h2 {
        margin-bottom: 3rem;
    }

    .servicos-container {
        grid-template-columns: repeat(1,1fr);
    }
}

