/*
Theme Name: About Bloco
Author: Pedro Estarque
Author URI: https://pedro.estarque.com.br
Description: Tema About Bloco para <a href="https://www.agenciamotiva.com.br/">Agência Motiva</a>
*/

html, body { height: 100%; width: 100%; scroll-behavior: smooth;}
* {border: 0px;margin: 0px;padding: 0px;vertical-align: baseline;/* outline:none; */outline-color: gray;box-sizing: border-box;-webkit-text-size-adjust:100%;} 

:root {
    --about-laranja: #F23827;
    --about-roxo: #333374;
    --about-creme: #FFF1CC;
    --about-vermelho: #F23827;
}

body {
    background-color: #F1F1F1;
    font-family: 'bornaregular', sans-serif;
    font-size: 16px;
    background-image: url(images/bg-bloco2.svg);
    background-size: 4000px;
    background-position-x: -1000px;
    background-position-y: 70vh;
    background-repeat: no-repeat;
}

h1, h2, h3, h4, b, strong {
    font-family: 'bornamedium', sans-serif;
}

a { color: #333; text-decoration: none;}

#logo {
    position: absolute;
    left: 50px;
    top: 50px;
    width: 190px;
    height: 74px;
    background: url(images/logoAboutCarnavalWhite.svg);
    background-size: cover;
    z-index: 1;
}

body:not(.page-template-home-carnaval) #logo {
    filter: invert() brightness(0);
}

.menu-container {
    position: absolute;
    z-index: 1;
    left: 395px;
    top: 64px;
}

.menu {
    list-style-type:none;
    display: flex;
    gap: 35px;
    font-size: 20px;
}

.menu a {
    color: white;
}

.menu a:hover {
    text-decoration: underline;
}

.menu-mobile+button {
    display: none;
}

.social-header {
    position: absolute;
    display: flex;
    gap: 20px;
    right: 3vw;
    top: 64px;
    z-index: 1;
}

.social-header a, footer .social a {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s all;
}

.social-header a:hover, footer .social a:hover {
    transform: scale(1.1);
}

.about-vejamais,
.about-voltar {
    display: flex;
    padding: 20px 40px;
    border: 2px solid;
    border-radius: 40px;
    text-align: center;
    margin: auto;
    width: fit-content;
    background: var(--about-creme);
    font-size: 28px;
    font-family: 'bornamedium';
    transition: 0.3s all;
}

.about-vejamais:hover,
.about-voltar:hover {
    background: rgb(242 185 15);
}

.about-voltar {
    width: min-content!important;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.about-voltar:before {
    content: "";
    height: 12px;
    width: 5px;
    display: inline-block;
    background: url(images/smallArrow.svg);
    margin-right: 20px;
}

footer #muitos-abouts {
    transform: translateY(-150px);
}

footer #muitos-abouts h2 {
    font-size: 32px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

footer #muitos-abouts h2:before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 35px;
    margin-right: 15px;
    background: url(images/Bimbo.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

footer #muitos-abouts h2:after {
    content: "";
    display: inline-block;
    width: 37px;
    height: 32px;
    margin-left: 15px;
    background: url(images/arrow_about.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

footer #muitos-abouts > div {
    display: flex;
    gap: 15px;
    padding: 40px 30px;
    overflow: scroll;
    margin-left: -30px;
    scrollbar-width: none;
}

footer #muitos-abouts > div > a {
    position: relative;
    transition: 0.3s all;
}

footer #muitos-abouts > div p {
    position: absolute;
    font-size: 44px;
    line-height: 53px;
    font-family: 'bornabold';
    color: white;
    top: 145px;
    left: 40px;
}

footer {
    position: relative;
    background: black;
    padding: 0 50px 250px 50px;
    margin-top: 450px;
}

footer .logo {
    position: absolute;
    left: 10vw;
    top: 634px;
    width: 190px;
    height: 74px;
    background: url(images/logoAboutCarnavalWhite.svg);
    background-size: cover;
}

footer .social {
    position: absolute;
    right: 10vw;
    top: 665px;
    display: flex;
    gap: 20px;
    color: white;
}

footer .social > p {
    position: absolute;
    right: 0;
    top: -35px;
    font-size: 19px;
    font-family: 'bornabold';
}



/* Videos */

.videos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
    max-width: 1350px;
    margin: auto;
}

body .videos > div {
    cursor: pointer;
}

body .videos img {
    width: 100%;
    height: 326px;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
}

.videos h4 {
        font-size: 32px;
    margin: 30px 20px 15px 20px;
}

.videos p {
    font-size: 20px;
    margin: 0 20px;
}

.videos picture {
    display: block;
    position: relative;
    background: linear-gradient(0deg, #FF6E16, transparent);
}

.videos picture:before {
    content: "";
    width: 155px;
    height: 133px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 2;
    background-image: url(images/oval-bloco.svg);
    background-size: contain;
    transition: 0.3s all;
    opacity: 0.85;
}

body .videos > div:hover picture:before {
    opacity: 1;
}

body .videos picture:after {
    content: "";
    width: 46px;
    height: 53px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 2;
    background-image: url(images/play.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(5px);
}

.aboutplayer {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: hsl(265deg 47% 35% / 80%);
    z-index: 3;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.aboutplayer iframe {
    width: 90%;
    height: 90%;
}

/* Vídeos */

/* Embaixadores */

body.archive.post-type-archive-embaixador .content {
    max-width: 100%;
    position: relative;
    margin: 200px auto;
}

body.archive.post-type-archive-embaixador:before {
    content: "";
    background: #F2B90F;
    width: 100%;
    height: 600px;
    position: absolute;
    opacity: 0.3;
    top: 700px;
    bottom: 0;
}

body.archive section#embaixadores h2 {
    position: relative;
    font-size: 90px;
    display: flex;
    align-items: flex-start;
    max-width: 1000px;
    margin-left: 130px;
}

body.archive section#embaixadores h2:after {
  content: "";
  background-color: #FFF1CC;
  position: absolute;
  left: 95px;
  right: 0;
  top: 0;
  bottom: 0;
  mix-blend-mode: darken;
}

body.archive section#embaixadores h2:before {
  background-image: url(images/embaixadores-square.svg);
  width: 95px;
  height: 95px;
  flex-shrink: 0;
}

section#embaixadores > div {
    margin: 150px 0;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 50px;
    position: relative;
}

body.archive.post-type-archive-embaixador:after {
    content: "";
    width: 540px;
    height: 68px;
    position: absolute;
    top: 1267px;
    left: 50px;
    background-image: url(images/pattern-carnaval.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

section#embaixadores article {
    max-width: 240px;
    text-align: center;
}

section#embaixadores article img {
    width: 240px;
    height: 210px;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    mask-image: url(images/mascara.svg);
    mask-repeat: no-repeat;
    display: block;
}

section#embaixadores article img+img {
    display: none;
}

section#embaixadores article:hover img {
     display: none;   
}

section#embaixadores article:hover img+img {
    display: block;
}

section#embaixadores article h3 {
    background: #414194;
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    padding: 5px;
    position: relative;
    width: fit-content;
    margin: -30px auto auto auto;
}

section#embaixadores article h3 a {
    display: block;
    text-transform: lowercase;
    color: white;
    font-size: 12px;
}

section#embaixadores article h3 a:hover {
    text-decoration: underline;
}

section#embaixadores article .minibio {
    margin-top: -25px;
    font-size: 16px;
    border: 2px solid white;
    padding: 40px 10px 10px 10px;
}

section#embaixadores article .minibio > * {
    font-size: 16px;
    line-height: 24px;
}

section#embaixadores article .minibio:hover {
    background: white;
}

i[title=fechar] {
    width: 30px;
    height: 30px;
    position: fixed;
    top: 20px;
    right: 20px;
    background: black;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(45deg);
    cursor: pointer;
}

i[title=fechar]::before,
i[title=fechar]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: white;
  transform: translate(-50%, -50%);
}

i[title=fechar]::before {
  width: 12px;
  height: 2px;
}

i[title=fechar]::after {
  width: 2px;
  height: 12px;
}


/* Bloco */

.hero {
    padding-top: 260px;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.hero > div {
    position: absolute;
    bottom: 200px;
    background: hsl(0deg 0% 100% / 80%);
    width: 790px;
    padding: 50px 30px;
    border-bottom-left-radius: 60px;
    border-top-right-radius: 60px;
    left: 400px;
}

.hero h1 {
    font-size: 100px;
    font-family: 'bornabold';
}

.hero h3 {
    font-size: 32px;
    font-family: 'bornaregular';
}

.about-button {
    padding: 15px 50px;
    border-radius: 50px;
    border: 2px solid #FF6E14;
    color: #FF6E14;
    background: white;
    font-size: 28px;
    display: block;
    width: fit-content;
}

.about-button:hover {
    background: #FF6E14;
    color: white;
}

.hero > .about-button {
    position: absolute;
    bottom: 0;
    right: 0;
}

section#sobre {
    margin: 300px auto 120px auto;
    max-width: 1350px;
    display: flex;
    gap: 130px;
    align-items: flex-start;
}

section#sobre p {
    font-size: 20px;
    margin-bottom: 35px;
    line-height: 1.4;
}

section.seu-evento {
    /* background: #333374; */
    /* mix-blend-mode: multiply; */
    position: relative;
    padding: 160px 30px;
    color: white;
}

section.seu-evento::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333374;
    mix-blend-mode: multiply;
    z-index: -1;
}

section.seu-evento .txt {
    display: flex;
    justify-content: space-between;
    max-width: 1350px;
    margin: auto;
    margin-bottom: 160px;
}

section.seu-evento .txt > h2 {
    color: #FF6E16;
    font-size: 64px;
    max-width: 570px;
    line-height: 77px;
    margin-top: -12px;
}

section.seu-evento .txt > div {
    max-width: 786px;
    line-height: 24px;
}

section.seu-evento .txt h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

section.seu-evento .txt .about-button {
    margin-top: 40px;
}

.galeria {
    max-width: 1100px;
    /* margin-top: -20px; */
    /* margin-left: -30px; */
}

.galeria img {
    max-width: 100%;
    display: block;
    border-radius: 30px;
    max-height: 600px;
    margin: auto;
}

.galeria .slick-slide {
    display: flex;
    align-content: center;
    align-items: center;
    height: 640px;
}

.galeria.slick-initialized .slick-slide {
    display: flex;
}

.slick-dots li.slick-active button {
    background: #FF6E16!important;
}

.slick-dots li button {
    border-color: #FF6E16!important;
}

section#nossobloco {
    position: relative;
    padding: 160px 30px;
    color: white;
}

section#nossobloco::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 350px;
    background: #333374;
    mix-blend-mode: multiply;
    z-index: -1;
}

section#nossobloco > div {
    max-width: 1450px;
    margin: auto;
}

section#nossobloco > div > div {
    display: flex;
    justify-content: center;
}

section#nossobloco h2 {
    font-size: 64px;
    color: #FF6E16;
    max-width: 620px;
    font-family: 'bornasemibold';
    margin-bottom: 50px;
}

section#nossobloco h3 {
    font-size: 64px;
    font-family: 'bornaregular';
    max-width: 340px;
}

#novidades {
    padding: 0;
    max-width: 1350px;
    margin: auto;
}

#novidades > h2 {
    padding-left: 20px;
    font-size: 64px;
    text-transform: uppercase;
    font-size: 64px;
    display: flex;
    align-items: center;
}

#novidades h2:before {
    content: "";
    content: "";
    display: inline-block;
    width: 64px;
    height: 64px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 20px;
    background-image: url(images/Icon_News.svg);
}

#novidades > div {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding: 120px 0;
    justify-content: center;
}

#novidades > div > a {
    width: 440px;
    height: 465px;
    max-width: 90%;
    background: #FF6E14;
    border-radius: 15px;
    overflow: hidden;
}

#novidades > div > a img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    transition: 0.3s all;
}

#novidades > div > a:hover img {
    filter: brightness(0.8);
}

#novidades section {
    color: white;
    padding: 20px;
}

#novidades h3 {
    font-size: 28px;
    line-height: 34px;
    font-family: 'bornabold';
    text-transform: uppercase;
    margin-bottom: 20px;
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

#novidades p {
    font-family: 'bornamedium';
    line-height: 19px;
    max-height: 57px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


@media (max-width:1000px) {
    
    #logo {
        width: 57px;
        height: 50px;
        background-image: url(images/Bimbo.svg);
        filter: invert() brightness(2);
        left: 20px;
        top: 20px;
    }

    .social-header {
        display: none;
    }

    html.menu-open .social-header {
        display: flex;
        z-index: 1;
        right: calc(74px + 50%);
        transform: translateX(50%);
        top: 390px;
    }

    .menu-container {
        display: none;
    }

    html.menu-open .menu-container {
        display: block;
        left: 50%;
        transform: translateX(-50%);
        top: 105px;
        z-index: 2;
    }

    footer #muitos-abouts h2 {
        font-size: 27px;
        font-family: 'bornabold';
    }

    footer #muitos-abouts h2:before {
        width: 36px;
        height: 32px;
    }

    footer #muitos-abouts h2:after {
        width: 33px;
        height: 29px;
    }
    
    footer #muitos-abouts {
        /* transform: translateY(-100px); */
    }

    footer {
        padding: 20px;
        margin-top: 240px;
    }

    footer .logo {
        position: relative;
        left: auto;
        top: -50px;
        display: block;
        margin: auto;
    }

    footer .social {
        position: relative;
        right: auto;
        top: auto;
        margin: 120px auto;
        display: flex;
        justify-content: center;
    }

    footer .social > p {
        /* position: relative; */
        right: 0;
        left: 0;
        top: -50px;
        margin: auto;
        text-align: center;
    }

    .menu-mobile {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 90px;
        height: 75px;
        background: var(--about-roxo);
        z-index: 1;
        border-radius: 47%;
        cursor: pointer;
        transition: 0.3s all cubic-bezier(0,0.8,0.2,2);
    }

    html.menu-open .menu-mobile {
        transform: scale(10) translateY(10px);
        right: 400px;
    }

    .menu-mobile+button {
        appearance: none;
        background: none;
        position: absolute;
        width: 90px;
        height: 75px;
        top: 20px;
        right: 20px;
        z-index: 1;
        display: block;
    }

    .menu-mobile+button i {
        width: 50px;
        height: 4px;
        border-radius: 5px;
        background: white;
        transition: 0.3s all;
        opacity: 1;
        display: block;
        position: absolute;
        left: 20px;
        top: 35px;
    }

    html.menu-open .menu-mobile+button i {
        width: 0;
        /* opacity: 0; */
    }

    .menu-mobile+button i:before, .menu-mobile+button i:after {
        content: "";
        position: absolute;
        width: 50px;
        height: 4px;
        border-radius: 5px;
        left: 0;
        top: -15px;
        transition: 0.3s all;
        background: white;
    }

    .menu-mobile+button i:after {
        top: 15px;
    }

    html.menu-open .menu-mobile+button i:before {
        transform: translateY(10px) rotate(45deg);
     }

    html.menu-open .menu-mobile+button i:after {
        transform: translateY(-20px) rotate(-45deg);
    }

    .menu {
        display: flex;
        flex-direction: column;
        font-size: 40px;
        font-family: 'bornabold';
        gap: 20px;
    }

    body > .content > h1.title {
        font-size: 40px;    
    }

    body.admin-bar #logo,
    body.admin-bar .menu-mobile,
    body.admin-bar .menu-mobile+button {
        margin-top: 46px;
    }


    .videos {
        grid-template-columns: 1fr;
        margin-top: 50px;
        gap: 50px;
        justify-items: center;
    }

    .videos img {
        max-width: 100%;
    }

    .videos h4 {
        margin: 20px auto;
    }

    .videos p {
        margin: 20px auto;
    }

    .aboutplayer iframe {
      max-width: 90vw;
      max-height: 90vh;
    }

    .hero {padding-top: 200px;}

    .hero > div {
        position: relative;
        width: auto;
        left: auto;
        bottom: auto;
        width: 94%;
        margin: -140px auto 30px auto;
    }

    .hero img {max-width: 100%;}

    .hero h1 {
        font-size: 50px;
    }

    .hero h3 {
        font-size: 23px;
    }
    
    .hero > .about-button {
        position: static;
        font-size: 21px;
        margin: auto;
        max-width: 90%;
        padding: 15px 15px;
    }

    section#sobre {
        flex-direction: column;
        padding: 20px;
        gap: 50px;
        margin: 150px auto 80px auto;
    }
    section#sobre img {
        /* width: 80%; */
        max-width: 100%;
    }

    section#nossobloco h2 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    section#nossobloco h3 {
        font-size: 40px;
    }

    .galeria {
        max-width: 100%;
        margin: 60px auto;
    }

    section#nossobloco > div > div {
        flex-direction: column;
    }

    section.seu-evento .txt {
        flex-direction: column;
        margin-bottom: 50px;
    }

    section#nossobloco {
        padding: 50px 20px;
        margin: 0 auto 60px auto;
    }

    .galeria .slick-slide {
        height: 400px;
        height: auto;
    }

    .galeria img {
        /* margin-bottom: 70px; */
    }

    #novidades > h2 {
        font-size: 28px;
    }

    #novidades > h2:before {
        width: 34px;
        height: 34px;
    }

    #novidades > div {
        padding: 60px 0;
    }

    section.seu-evento {
        padding: 50px 30px;
    }
    
    section.seu-evento .txt > h2 {
        font-size: 40px;
        line-height: 1.2;
        margin: 0 auto 40px auto;
    }

    section.seu-evento .txt h3 {
        line-height: 1.15;
    }

    section.seu-evento .txt .about-button {
        font-size: 20px;
        margin: 50px auto 20px auto;,
        animation-range-start: ;
    }

    section#nossobloco::before {
        bottom: 0;
    }
    
}

@media (max-width:450px) {
    html.menu-open .menu-mobile {
        right: 0;
    }
}

@media (max-width:400px) {
  .hero h1 {
    font-size: 40px;
  }
}

/* large screen */
@media ( min-width: 1001px ) {
    #logo:hover {
        background: url(images/logo_aboutcarnaval_white_blink.svg);
    }
    body:not(.page-template-home-carnaval) .menu a {
        color: #121212;
    }
    body:not(.page-template-home-carnaval) .social-header a {
        filter: invert();
    }
}
