@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap');
@import url('https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i&display=swap');


body {
    background-color: #f8f8f8;
    color: #545454;
}

/* TEXTOS */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #545454;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 16px;
    margin: 0;
    line-height: 30px;
}
h1 .extraLight {
    font-weight: 400;

}
h2 {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    color: #545454;
    font-size: 20px;
    margin-bottom: 14px;
}
h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #545454;
    font-size: 16px;
    letter-spacing: 6px;
}
p {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.5px;
    max-width: 400px;
    margin: 10px 0;
}
p.legenda {
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 2px;
}

/* LINKS E BOTOES */
a {
    cursor: pointer;
}
a:hover {
    text-decoration: none;
}

.btn {
    font-family: 'Nunito', sans-serif;
    border-radius: 25px;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 400;
    height: 50px;
    padding: 0 30px;
}
.btn-primary {   
    background-color: #80D99E;
    border: none;
    color: #FFF;
    box-shadow: none !important;
    outline: none !important;
}
    .btn-primary:hover,
    .btn-primary:active {   
        background-color: #72BE8C !important;
        border: none !important;
        color: #FFF;
    }
    .btn-primary.imageSecondary {
        margin-bottom: -30%;
    }
.lines1 {
    background: url(../img/lines_01.svg) no-repeat;
    height: 320px;
    width: 100%;
}

.lines2 {
    background: url(../img/lines_02.svg) no-repeat;
    position: absolute;
    width: 40%;
    height: 1px;
    left: 30%;
    z-index: -10;
}

/* NAVBAR - TOPO */
.navbar {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    padding: 32px 0;
}


/* TRABALHOS */
.containerWorks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 104px 0;
}
.cardWork {
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
    .cardWork:hover {
        transition: all 0.2s ease-in-out;
    }

    .work {
        border-radius: 8px;
        filter: opacity(0.9) saturate(0);
        background-size: 700%;
        background-position: top;
        background-repeat: no-repeat;
    }
        .cardWork:hover .work {
            background-size: 200%;
            background-position: center;
            transition: all 0.2s ease-in-out;
            filter: opacity(1) saturate(1);
        }

    .cardWork .size01 {       
        height: 400px;
        width: 296px;    
    }

    .cardWork .size02 {
        height: 400px;
        width: 480px;
    }

    .cardWork .size03 {
        height: 400px;
        width: 640px;
    }


/* DESIGNER */
.containerDesigner {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 40px 15px 0;
}
.informacoes {
    align-self: center;
    margin: 80px;
}
    .informacoes img {
        height: 40px;
        margin: 30px 10px 0 0;
        opacity: 0.6;
    }
    
.imagemPerfil {
    background: url(../img/imagemPerfil_2.png) no-repeat;
    background-size: 260px;
    background-position: center 20px;
    height: 600px;
    width: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 120px;
}
    .imagemPerfil .ballPerfil {
        position: absolute;
        background-color: #F6D24B;
        width: 300px;
        height: 300px;
        border-radius: 40px;
        top: 60px;
        z-index: -10;
    }

.legendaWorks {
    text-align: center;
    margin: auto;
}

.spinner-border {
    position: absolute;
    z-index: 50;
    width: 80px;
    height: 80px;
    border: 8px solid currentColor;
    border-right-color: transparent;
}

/* MODAIS */
.modal-lg {
    max-width: 100%;
    margin: 0;
    border: solid 24px #f8f8f8;
}
.modal-backdrop {
    background-color: #f8f8f8;
}
    .modal-backdrop.fade {
        background-color: #f8f8f8;
        opacity: 0;
    }
    .modal-backdrop.show {
        background-color: #f8f8f8;
        opacity: 1;
    }

.modal-content {
    border: 0;
    border-radius: 24px;
    outline: 40px solid #f8f8f8;
    box-shadow: none;
    background-color: #f8f8f8;
    overflow: hidden;
}
.modal.fade .modal-dialog {
    transform: translate(0,0) scale(1);   
    -webkit-transform: translate(0,0) scale(0);
    
}
.modal.show .modal-dialog {
    transform: translate(0,0) scale(0);   
    -webkit-transform: translate(0,0) scale(1);
}
.modal-header {
    border-bottom: none;
    position: absolute;
    right: 8px;
    z-index: 100;
}
.close {
    font-size: 24px;
    font-weight: 400;
    opacity: 1;
    text-shadow: none;
}
    .close:focus, .close:hover {
        outline: none;
    }
.btn_close {
    color: #545454 !important;
    font-weight: 500;
    border: solid 2px #545454;
    padding: 8px 16px;
    border-radius: 16px;
    background-color: #f8f8f8;
    cursor: pointer;
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 10;
}
    .btn_close:focus {
        outline: none;
    }

.modal-body,
.modal-body .container-fluid {
    padding: 0;
}

.modalLine {
    display: flex;
    flex-direction: column;
}
    .modalLine div {
        display: flex;
        flex-direction: row;
    }

.buttonTop {
    position: fixed;
    bottom: 56px;
    right: 38px;
    z-index: 99;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease-in-out;
}
    .buttonTop img {
        width: 40px;
        height: 40px;
    }
.buttonTop.show {
    opacity: 1;
    transform: scale(1);
}

/* Scroll */
.scroll-btn {
    scale: 0.7;
    position: absolute;
    height: 64px;
    width: 40px;
    border: 3px solid #545454;
    bottom: -56px;
    right: 40px;
    border-radius: 24px;
}
.scroll-btn:before {
    position: absolute;
    content: "";
    margin: auto;
    left: 0;
    right: 0;
    top: 8px;
    height: 16px;
    width: 8px;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-top: 12px solid #545454;
    border-radius: 4px;
    animation: move-down 1.5s infinite;
}
.scroll-btn.white {
    border-color:#f8f8f8;  
}.scroll-btn.white::before{
    border-top: 12px solid #f8f8f8;  
}

@keyframes move-down {

    100% {
        transform: translateY(24px);
        opacity: 0;
    }
}

/* FOOTER */
.footerCustom {
    background-color: #F7F7F7;
    padding: 16px;
}

/* iPad */
@media (max-width: 1365px) {
    .cardWork .work {
        background-size: 200%;
        background-position: center;
        filter: opacity(1) saturate(1);
    }
}

/* ---------------------------------- */
/* MOBILE */
@media (max-width: 414px) {
    
    .navbar {
        padding: 24px 32px;
    }
    .navbar-brand {
        white-space: normal;
    }
    h1 {
        letter-spacing: 10px;
    }
    .lines1 {
        height: 150px;
    }
    .lines2 {
        display: none;
    }

    .containerWorks {
        display: block;
        margin: 8px;
        padding: 104px 0 0;
    }
    /* .cardWork .work {
        background-size: 200%;
        background-position: center;
        filter: opacity(1) saturate(1);
    } */
    .cardWork .size01,
    .cardWork .size02,
    .cardWork .size03 {       
        height: 200px;
        width: 100%;    
    }

    .informacoes {
        margin: 0 24px;
    }
        .informacoes img {
            margin-bottom: 40px;
        }
        .informacoes h1 {
            margin-top: 40px;
        }

    .imagemPerfil {
        margin-top: 0;
        width: 100%;
        height: 460px;
    }
    .imagemPerfil .ballPerfil {
        width: 260px;
        height: 260px;
        top: 90px;
        right: auto;
    }
    .buttonTop {
        bottom: 56px;
    }

    /* MODAIS */
    .scroll-btn {
        display: none;
    }
        .modalLine div {
            border-radius: 0;
            height: 300px;
            background-size: 140%;
        }
    .imageSecondary {
        width: 100%;
        height: 300px;
        background-size: 140%;
    }
}