/* CUSTOMIZAÇÕES GERAIS */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #1a1a1a;
    color: #fff;
}

body a{
    color: #fff;
}

body span{
    color: #a1272d;
}

button{
    border: none;
    padding: 7px 15px;
    font-size: 18px;
    background-color: #fff;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    transition: .2s;
    cursor: pointer;
}

button:hover{
    background-color: #a1272d;
    color: #fff;
    transform: scale(0.95);
    box-shadow: 0px 0px 5px #a1272d;
    font-weight: 600;
}

html{
    scroll-behavior: smooth;
}

.titulo{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BOTÃO PRA CIMA */
.btn-pra-cima button{
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    font-size: 30px;
}

.btn-pra-cima{
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .2s;
}

.btn-pra-cima.mostrar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* CABEÇALHO */
header{
    display: flex;
    background-color: black;
}

header .img-header{
    width: 33.33%;
    display: flex;
    justify-content: center;
    padding: 15px;
}

header .img-header img{
    height: 70px;
    transition: .2s;
}

header .img-header img:hover{
    transform: scale(0.95);
}

header .menu-desktop{
    width: 33.34%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
}

header .menu-desktop ul{
    list-style-type: none;
}

header .menu-desktop ul li{
    display: inline-block;
}

header .menu-desktop ul li a{
    text-decoration: none;
    padding: 5px 10px;
    transition: .2s;
}

header .menu-desktop ul li a:hover{
    color: black;
    background-color: #fff;
}

header .btn-contato{
    width: 33.33%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CABEÇALHO FLUTUANTE */
.header-flutuante{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .2s;
}

.header-flutuante:hover{
    background-color: black;
}

.header-flutuante.mostrar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header-flutuante .img-header{
    width: 33.33%;
    display: flex;
    justify-content: center;
    padding: 15px;
}

.header-flutuante .img-header img{
    height: 70px;
    transition: .2s;
}

.header-flutuante .img-header img:hover{
    transform: scale(0.95);
}

.header-flutuante .menu-desktop{
    width: 33.34%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
}

.header-flutuante .menu-desktop ul{
    list-style-type: none;
}

.header-flutuante .menu-desktop ul li{
    display: inline-block;
}

.header-flutuante .menu-desktop ul li a{
    text-decoration: none;
    padding: 5px 10px;
    transition: .2s;
}

.header-flutuante .menu-desktop ul li a:hover{
    color: black;
    background-color: #fff;
}

.header-flutuante .btn-contato{
    width: 33.33%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TOPO DO SITE */
section.topo-do-site{
    width: 100%;
    height: 565px;
    display: flex;
    padding: 0px 50px;
    background-image: url("img/backgroun-image.jpg");
}

section.topo-do-site .txt-topo-do-site{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
}

section.topo-do-site .txt-topo-do-site h1{
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding-right: 20px;
    margin-bottom: 10px;
}

section.topo-do-site .txt-topo-do-site h1 span{
    text-shadow: 0px 0px 10px #a1272d82
}

section.topo-do-site .txt-topo-do-site h2{
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: 300;
    padding-right: 20px;
    margin-bottom: 20px;
}

section.topo-do-site .img-topo-do-site{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

section.topo-do-site .img-topo-do-site img{
    height: 100%;
}

.btn-pra-baixo{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-pra-baixo button{
    margin-top: -40px;
    font-size: 30px;
    width: 60px;
    height: 60px;
}

/* ESPECIALIDADES */
section.especialidades{
    height: 500px;
}

section.especialidades h2{
    font-size: 40px;
    line-height: 100px;
    margin-bottom: 70px;
}

.especialidades-cards{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.card-especialidade{
    display: flex;
    justify-content: center;
    width: 350px;
    height: 300px;
    position: relative;
    background-image: url(img/backgroun-image.jpg);
    box-shadow: 0px 35px 80px rgba(0, 0, 0, 0.15);
    transition: .5s;
}

.card-especialidade:hover{
    height: 350px;
}

.card-especialidade .icon{
    position: absolute;
    width: 250px;
    height: auto;
    top: 0px;
    transition: .5s;
}

.card-especialidade:hover .icon{
    top: -100px;
    scale: 0.75;
}

.card-especialidade .icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-especialidade .texto{
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 250px;
    width: 100%;
    padding: 0px 30px;
    text-align: center;
    height: 30px;
    overflow: hidden;
    transition: .5s;
}

.card-especialidade .texto h3{
    font-size: 24px;
}

.card-especialidade .texto p{
    font-size: 18px;
}

.card-especialidade:hover .texto{
    top: 130px;
    height: 250px;
}

/* SOBRE */
section.sobre{
    display: flex;
    margin: 100px;
    gap: 50px;
    align-items: center;
}

.txt-sobre{
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

.txt-sobre button{
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin: 0px 10px;
}

section.sobre h2{
    font-size: 40px;
    margin-bottom: 20px;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
}

section.sobre h2 span{
    display: block;
    text-shadow: 0px 0px 10px rgba(255, 0, 0, 0.5);
}

section.sobre p{
    font-size: 20px;
    margin-bottom: 20px;
}

.img-sobre{
    width: 100%;
    display: flex;
    justify-content: center;
}

.img-sobre img{
    height: 560px;
}

/* PORTFÓLIO */
section.portfolio{
    margin: 0px 100px;
}

section.portfolio h2{
    margin-bottom: 20px;
    font-size: 40px;
}

section.portfolio .edicao-de-video{
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(img/backgroun-image.jpg);
    margin-bottom: 50px;
    padding: 10px;
}

section.portfolio .txt-portfolio{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
}

section.portfolio .txt-portfolio h3{
    color: #a1272d;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-shadow: 0px 0px 15px #a1272d71;
    font-size: 24px;
    margin-bottom: 10px;
}

section.portfolio .txt-portfolio p{
    font-size: 20px;
    padding: 5px 20px;
}

.copyright .titulo{
    color: #a1272d;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-shadow: 0px 0px 15px #a1272d71;
    font-size: 24px;
    margin-top: 70px;
    margin-bottom: 30px;
}

.copyright .posts{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.copyright .exemplo-post{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(img/backgroun-image.jpg);
    width: 400px;
    height: 410px;
    margin-bottom: 30px;
}

.copyright .exemplo-post h4{
    margin: 10px 5px;
    font-size: 18px;
}

.copyright .exemplo-post img{
    width: 100%;
}

.copyright p{
    padding: 30px 50px;
    font-size: 22px;
}


/* FOOTER */
footer{
    display: flex;
    justify-content: center;
    background-color: #000;
}

footer .col-footer{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 100px;
}

footer .txt-footer{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .btn-footer{
    width: 50%;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

/* MENU MOBILE */
.menu-mobile{
    display: none;
    z-index: 1000;
}

section.topo-mobile{
    display: none;
}

/* PLAYER DE VÍDEO */
.player-video-longo{
    position: relative;
    width: 640px;
    height: 360px;
    overflow: hidden;
    background: #000;
}

.player-video-longo video{
    width:100%;
    height:100%;
    object-fit:cover;
}

.player-video-curto{
    position: relative;
    width: 360px;
    height: 640px;
    overflow: hidden;
    background: #000;
}

.player-video-curto video{
    width:100%;
    height:100%;
    object-fit:cover;
}

.controles-do-player{
    position:absolute; 
    bottom:15px;
    right:20px; 
    display:flex;
    gap:10px;
}

.btn-player{
    background-color: #00000076;
    border:none;
    cursor:pointer;
}

.btn-player:hover{
    background-color: #a1272d76;
}


/* RESPONSÍVO */
@media screen and (max-width: 1212px) {
    body{
        width: 100%;
    }

    section.topo-do-site{
        display: none;
    }

    section.topo-mobile{
        background-image: url(img/fundo-mobile.jpg);
        width: 100%;
        background-size: cover;
        background-position: center;
        height: 580px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        gap: 10px;
    }

    section.topo-mobile h1{
        font-family: Georgia, 'Times New Roman', Times, serif;
    }

    section.topo-mobile h2{
        font-weight: 300;
        font-size: 18px;
    }

    header{
        display: none;
    }

    .header-flutuante{
        display: none;
    }

    section.especialidades{
        height: 1300px;
    }

    section.especialidades .especialidades-cards{
        gap: 70px;
        display: flex;
        flex-direction: column;
    }

    section.sobre{
        display: flex;
        flex-direction: column;
        margin: 20px;
    }

    section.sobre h2{
        font-size: 20px;
    }

    section.sobre p{
        font-size: 18px;
    }

    footer .btn-footer{
        transform: scale(0.9);
    }

    footer .col-footer{
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 50px;
        margin-bottom: 90px;
    }

    .txt-footer{
        font-size: 12px;
    }

    .menu-mobile{
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 0;
        background-color: #000;
        width: 100%;
        height: 80px;
        padding-bottom: 20px;
    }

    .menu-mobile button{
        background-color: #000;
        color: #fff;
        width: 60px;
        height: 60px;
    }

    .menu-mobile button:hover{
        background-color: #490f11;
    }

    .edicao-de-video{
        display: flex;
        flex-direction: column-reverse;
        padding-bottom: 15px;
    }

    .player-video-longo{
        width: 100%;
        height: auto;
    }

    .player-video-curto{
        width: 100%;
        height: auto;
    }

    section.portfolio{
        margin: 0px 20px;
    }

    section.portfolio h2{
        margin-top: 30px;
        font-size: 28px;
    }

    section.portfolio h3{
        font-size: 18px;
    }

    section.portfolio .txt-portfolio{
        width: 100%;
    }

    section.portfolio .txt-portfolio h3{
        font-size: 16px;
        margin: 15px;
    }

    section.portfolio .txt-portfolio p{
        font-size: 16px;
    }

    .menu-mobile img{
        width: 30px;
        height: auto;
    }

    section.sobre .img-sobre{
        width: 100%;
        height: auto;
    }

    section.sobre .img-sobre img{
        width: 100%;
        height: auto;
    }

    .copyright{
        text-align: center;
    }

    .copyright .titulo{
        color: #a1272d;
        font-family: Georgia, 'Times New Roman', Times, serif;
        text-shadow: 0px 0px 15px #a1272d71;
        margin-top: 100px;
        margin-bottom: 50px;
    }

    .copyright .posts{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

    .copyright .exemplo-post{
        flex-direction: column;
        width: 350px;
        height: auto;
        padding: 10px;
        text-align: center;
    }

    .copyright .exemplo-post h4{
        margin: 10px 5px;
        font-size: 18px;
    }

    .copyright p{
        padding: 20px 10px;
        font-size: 22px;
    }
}