@import url('https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@400;500;600;700&family=Josefin+Slab:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Mulish:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300;1,400;1,500;1,600&display=swap');

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');


* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

:root {
    --font-primary: "Baloo Da 2", serif;
    --font-secundary: "Josefin Slab", serif;
    --font-action:"Mulish", serif; 
}

html {
    scroll-behavior: smooth;
}
/* HAMBURGUER */

.hamburguer {
    /* background-color: red; */
    width: 2rem;
    height: 2rem;
    position: fixed;
    z-index: 100;
    right: 2rem;
    top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
}

.show-menu .hamburguer {
    right: 16rem;
}

.line {
    width: 100%;
    background-color:#fff;
    box-shadow: 0.1rem 0.1rem 1px black;
    height: 0.1rem;
    transition: transform 1s;
}

.show-menu #line1 {
    transform: rotate(45deg) translate(.4rem, .4rem);
}

.show-menu #line2 {
    opacity: 0;
    visibility: hidden;
}

.show-menu #line3 {
    transform: rotate(-45deg) translate(.2rem, -.5rem);
}

.hamburguer span {
    position: absolute;
    left: 3rem;
    width: 6rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #4b6cb7;
    font-family: var(--font-action);
    color: #fff;
    opacity: 0;

}

.hamburguer span::before{
    content: "";
    position: absolute;
    border-right: .5rem solid #4b6cb7;
    border-top: .5rem solid transparent;
    border-left: .5rem solid transparent;
    border-bottom: .5rem solid transparent;
    left: -1rem;
}

.show-menu .hamburguer:hover span {
    opacity: 1;
}

/* HEADER + animation */

header {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(0,0,0,0.8);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    animation: zoom 25s;
}

@keyframes zoom {
    0%{
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.banner {
    position: absolute;
    top: 30%;
    left: 15%;
}

.banner h1 {
    color: #fff;
    font-size: 3.5rem;
    font-family: var(--font-primary);
    font-weight: 200;
    text-shadow: .3rem .4rem 2px rgba(0,0,0,0.4);
    line-height: 3.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: moveBanner 1s 0.5s forwards;
}

.banner p {
    font-family: var(--font-secundary);
    color: #fff;
    font-size: 2rem;
    text-shadow: .2rem .2rem rgba(0,0,0,0.4);
    margin-bottom: 2rem;
    opacity: 0;
    animation: moveBanner 1s 0.7s forwards;
}

.banner button {
    font-family: var(--font-action);    
    color: #b8b3b3;
    text-transform: uppercase;
    opacity: 0;    
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    letter-spacing: .1rem;
    cursor: pointer;  
    background: #4b6cb7;
    background: -webkit-linear-gradient(to right, #182848, #4b6cb7);
    background: linear-gradient(to right, #182848, #4b6cb7);
    animation: moveBanner 1s 0.9s forwards;
    transition: all 0.7s;
}

.banner button:hover {
    color: #fff;
    box-shadow: 0px 0px 15px 1px rgba(255,255,255,0.67);
}

@keyframes moveBanner {
    0%{
        transform: translateY(35rem) rotateY(-60deg);        
    }
    100%{
        transform: translateY(0) rotateY(0);                
        opacity: 1;
    }
}

/* MENU */

.sidebar {
    width: 20rem;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    right: -20rem;
    transition: all 1s;
    z-index: 99;
}

.show-menu .sidebar {
    right: 0;
}

.menu {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-item {
    text-align: center;
    margin-bottom: 1.3rem;
}

.menu-link {
    font-family: var(--font-action);
    font-size: 2rem;
    color: rgb(143, 141, 141);
    transition: all 0.8s;
}

.menu-link:hover {
    color: #4b6cb7;
    font-size: 2.3rem;
}

.social-media {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.social-media i {
    color: #4b6cb7;
    height: 2.5rem;
    width: 2.5rem;
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 1s;
}

.social-media i:hover {    
    color: #182848;    
}

/* CONHECIMENTOS */

.conhecimentos {
    display: grid;    
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(6, 4rem);
    row-gap: 1rem;
}

.conhecimento:nth-child(1){
    grid-column: 4 / 7;
    grid-row: 1 / 3;
}

.conhecimento:nth-child(2){
    grid-column: 3 / 6;
    grid-row: 3 / 5;
}

.conhecimento:nth-child(3){
    grid-column: 4 / 7;
    grid-row: 5 / -1;
}

.conhecimento:nth-child(4){
    grid-column: 11 / 14;
    grid-row: 1 / 3;
}

.conhecimento:nth-child(5){
    grid-column: 12 / 15;
    grid-row: 3 / 5;
}

.conhecimento:nth-child(6){
    grid-column: 11 / 14;
    grid-row: 5 / -1;
}

.sessao-conhecimentos {
    background-color: #f5f5f5;
}

.sessao-header {
    display: flex;
    justify-content: center;
    align-items: center;

}

.sessao-header h1 {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: #4b4b4b;
    border-bottom: solid 3px #4b6cb7;
    margin-bottom: 1.5rem;
    margin-top: 7rem;
}

.conhecimento-header {
    display: flex;
    align-items: center; 
    color: #4b4b4b;
}

.conhecimento-header i {
    font-size: 2.5rem;
}

.conhecimento-header h3 {
    font-family: var(--font-secundary);
    font-size: 2rem;
    padding-left: 1rem;
}

.conhecimento-text {
    font-family: var(--font-secundary);
    margin-top: 1rem;
}

.conhecimentos-img-wrapper {
    grid-column: 7 / 11;
    grid-row: 2 / 6;
    width: 100%;
}

.conhecimentos-img-wrapper img {
    object-fit: cover;
    width: 100%;
}

/* SOBRE */

.sobre {
    font-family: var(--font-secundary);
    font-size: 1.4rem;
    height: 50vh;        
    line-height: 0.75cm;
    text-align: justify;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.sobre-text {
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.otherthings {
    margin-top: 2rem;   
}

.imgs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 2rem; 
}


/* PROJETOS */

.projetos {
    height: 80vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.card {
    width: 22rem;
    height: 35rem;
    position: relative;
}

.card-img-wrapper {
    width: 100%;
    height: 100%;
    background-color: #202020;
    border-radius: 0.5rem;
}

.card-img-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    border-radius: 0.5rem;
    transition: opacity 0.3s;
}

.card:hover .card-img-wrapper img {
    opacity: 0.45;
}

.card-info {
    position: absolute;
    bottom: 0;
    padding: 2rem;
    text-shadow: 0.2rem 0.2rem 0.3rem rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.card-info h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
}

.card-info h3 {
    font-family: var(--font-secundary);
    font-weight: bolder;
    color: #73a8c7;
    margin-bottom: 1.5rem;
}

.card-info p {
    font-family: var(--font-secundary);
    color: #f5f5f5;
    font-weight: 600;
    font-size: 1.2rem;
    width: 80%;
    margin-bottom: 2rem;
    letter-spacing: .1rem;
}

.btn {
    background: #4b6cb7;
    background: -webkit-linear-gradient(to right, #182848, #4b6cb7);
    background: linear-gradient(to right, #182848, #4b6cb7);
    font-family: var(--font-action);
    font-size: 1rem;
    color: #b8b3b3;
    border-radius: 0.5rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 .1rem .8rem rgba(0,0,0,0.5);
    transition: all 0.3s;
}

.card-info button {    
    width: 8rem;
    height: 2.5rem;   
}

.card:hover .card-info {
    bottom: 1.3rem;
    opacity: 1;
    visibility: visible;
}

.card-info button:hover {
    color: #fff;
    box-shadow: 0px 0px 15px 1px rgba(255,255,255,0.67);
}

/* CONTATO */

.sessao-contato {
    width: 100%;
    height: 100vh;
    background-color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contato-wrapper {
    width: 60%;
    display: flex;
    height: 40rem;
    box-shadow: 0 2rem 3rem rgba(0,0,0,0.6);
}

.contato-left {
    width: 35%;
    background-image:
     linear-gradient(rgba(95,95,95, 0.3), rgba(55,55,55, 0.9)), 
     url(imgs/contato.jpg);
    background-size: cover;
}

.contato-right {
    width: 65%;
    background-color: #eee;
    padding: 1rem 3rem 3rem 3rem;
}

.sessao-contato h1 {
    width: 100%;
    text-align: center;
    font-family: var(--font-primary);
    color: #333;
    font-size: 3rem;
    font-weight: lighter;
}

.sessao-contato form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group {
    position: relative;
}

.input-group textarea {
    padding-top: 1rem;
    max-width: 30rem;
    max-height: 10rem;
    overflow: hidden;
}

.field {
    background: transparent;
    border: none;
    width: 27rem;
    font-size: 1.5rem;
    font-family: var(--font-secundary);
    border-bottom: 2px dashed #636363;
    height: 3rem;
    outline: none;
    margin: 2rem 0;
}

.field-label {
    position: absolute;
    left: 0;
    top: 3rem;
    font-size: 1.2rem;
    font-family: var(--font-secundary);
    text-transform: uppercase;
    transition: all 0.3s;
}

.field:focus ~ label {
    top: 0;
    font-size: 1rem;
    /* border-bottom: 1px solid black;
    font-weight: 600; */
}

.field:focus {
    border-bottom: 1px solid;
}

.btn-submit {
    text-transform: uppercase;
    margin-top: 1rem;
    width: 70%;
    height: 2rem;
    color: black;
    font-size: 1.2rem;
}

.btn-submit:hover {
    box-shadow: 0rem 0rem 2rem rgba(0,0,0,0.6);
    color: white;
}

/* FOOTER */

footer {
    width: 100%;
    height: 10rem;
    background-color: #17181b;
    display: flex;
    justify-content:center;
    align-items: center;
}

.footer-content {
    width: 60%;
    display: flex;
    justify-content: space-between;
}

.footer-content p {
    font-family: var(--font-secundary);
    color: #a7a7a7;
    font-size: 1.2rem;
}

.social-list a {
    margin: 0 2rem;
    color: #4b6cb7;
    font-size: 1.5rem;
}

.social-list ul {
    display: flex;
}

.social-list a:hover {   
    color: #a7a7a7;
}

/* LINK TOP */

#link-topo {
    position: fixed;
    right: 3rem;
    bottom: 3rem;
    width: 3rem;
    height: 3rem;
    color: #4b6cb7;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #4b6cb7;
    border-radius: 3rem;    
}

/* RESPONSIVIDADE */

@media (max-width: 900px) {
    .sessao-header h1 {
        font-size: 2rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        }
    .conhecimentos {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }    
    .conhecimentos-img-wrapper {
        width: 0;
        height: 0;
    }
}