:root {
 
    --bg-color-menu: #FCF8E1; /* light-yellow */

    --bg-color-1: #D4E4F7; /*#ADC8E4;*/ /* light-blue */
    --bg-color-2: #FCF8E1; /* light-yellow */
 
    --fg-color: #335F81; /* texto sobre branco */
    --fg-color-dark: #033A63; /* texto sobre cor */
    --fg-color-darker: #01223B; /* texto sobre cor */
    --footer-color: #335F81;

    --negative-text-color: #FFFFFF; /* e.g. no footer */

    /* --page-height: 2000px; será redefinida por script */
    /* --page-width: 800px; será redefinida por script */

}

/* typefaces */
header, .nav-bar ul, body, .btn{
    font-family: "Barlow Condensed", sans-serif;
}

*:where(:not(iframe, canvas, img, svg, video):not(svg *)) {
    all: unset;
    display: revert;
}
*, *::before, *::after {
    box-sizing: border-box;    
}

ol, ul {
    list-style: none;
}


/* -----------< section ---------- */
section {
    width: 50%;
    margin: auto;
}
@media only screen and (max-width: 1200px) {
    section {
        width: 60%;
    }
}
@media only screen and (max-width: 767px) {
    section {
        width: 80%;
    }
}
@media only screen and (max-width: 575px) {
    section {
        width: 90%;
    }
}
/* ----------- section >---------- */

img {
/*    max-width: 100%;*/
}

header{
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
    position: absolute;
}

html{
    overflow-x: hidden; /* importante por causa dos blobs */
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

a{
    cursor: pointer;
}

body {
    color: var(--fg-color-darker);
}

/*  espaços entre secções */

#programa{
    margin-top: 2.5rem;
}
#oradores{
    margin-top: 5rem;
}
#organizacao{
    margin-top: 5rem;
    margin-bottom: 5rem;
}

/*  -------------------- */
.hamburger{
    display:none;
}
@media only screen and (max-width: 767px) {
    .hamburger{
        display: block;
        cursor: pointer;
    }
    .line1, .line2, .line3{
        width: 30px;
        height: 3px;
        background: var(--bg-color-2);
        margin: 6px;
        transition: .7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }
    .hamburger.active .line2{
        opacity: 0%;
    }
    .hamburger.active .line1{
        position: relative;
        top:10px;
        transform: rotate(45deg);
    }
    .hamburger.active .line3{
        position: relative;
        top:-8px;
        transform: rotate(-45deg);
    }

    .header{
        background-color: none;
        transition: 0.3s;
    }
    .header.active{
        background-color: var(--fg-color-dark);
        transition: 0.1s;
    }
    .nav-bar{
        background-color:var(--fg-color-dark);
        height: 0;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        width: 100vw;
        transition: 0.2s;
        overflow: hidden; /* preciso? */
        z-index: 2;
    }
    .nav-bar.active{
        height: auto; 
    }
    .nav-bar ul{
        opacity: 0;
    }
    .nav-bar.active ul{
        width: 80%;
        margin: auto; /* para centrar os botões*/
        /* text-align: center; para centrar _dentro_ dos botões*/
        display: block;
        opacity: 1;
    }
    .nav-bar ul li{
        margin: 1rem auto;
    }    
    .nav-bar ul li a{
    }

    #com-img {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }
}
@media only screen and (max-width: 575px) {
    .nav-bar.active ul{
        width: 90%; 
    }
}

.img_logo{
    display:none; // hide
    width: 150%;
    height: 150%;
}

.nav-bar ul{
    display: flex;
}
.nav-bar ul li a:not(#nav-bar-exception){
    display: block;
    font-size: 1.05rem;
    padding: 1rem 2rem 1.1rem 2rem;
    border-radius: 2rem;
    margin: 0 0.33rem;
    color: var(--fg-color-dark);
    background-color: var(--bg-color-menu);
}
#com-img {
    display: flex;
    align-items: center;
}
#com-img img{
    padding-left: 0.75rem;
    height: 1.75rem;
}

#inscricao {
    min-width:33%;
    margin-top: -5rem;
    margin-bottom: 2rem;
}
@media only screen and (max-width: 479px) {
    #inscricao {
        min-width:50%;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
}

.btn {
    text-decoration: none;
    display: inline-block;
    padding: 15px 40px;
    border-radius: 40px;
    background-color: var(--fg-color);
    color: white;
    font-size: 1.05rem;
    margin-bottom: 1%;
    margin-top: 4%;
}

.apresentacao{
    height:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    position:relative;
    text-align: center;
}

.img-pessoa{
    width: 100px;
    height: 100px;
    margin:1rem;
}
@media only screen and (max-width: 575px) {
    .img-pessoa{
        width: 200px;
        height: 200px;
    }
}

.text{
    align-self:center;
    /*margin-left: 4px;*/
    overflow-wrap: break-word;
    margin: 1rem;
/*    margin-right: 1rem;
    margin-left: 1rem;*/
}


.text-intro{
    font-size: 1.25rem;
    font-weight: 200;
    color: var(--fg-color-darker);
}

.text-date{
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--fg-color);
}

.text-hora{
    font-size:1.25rem;
    font-weight: 200;
}

.text-pessoa{
    font-size:1.25rem;
    font-weight: 500;
}

.text-descricao{
    font-size:1.05rem;
    font-weight: 300;
}

.text-bio{
    font-size:1.05rem;
    font-weight: 300;
}

.text-organizacao{
    font-size:1.15rem;
    font-weight: 200;
}

.card-programa {
    width: 100%;
    border-radius:16px;
    margin-bottom: 0.5rem;
    display: flex;
}
@media only screen and (max-width: 575px) {
    .card-programa.card-orador {
        display: inline-block;
/*        text-align: center; */
    }
    .card-programa .img-pessoa-div {
        text-align: center; 
    }   
}

.card-color-1 {
    background-color: var(--bg-color-1); 
}
.card-color-2 {
    background-color: var(--bg-color-2); 
}

footer  {
    padding: 1rem;
    padding-right: 20%;
    padding-left: 20%;

    justify-content: center;
    text-align: center;

    background-color: var(--footer-color);
    color:var(--negative-text-color);
}
footer .row {
    display: flex;
    align-items: center;
}
footer .column {
  float: left;
}
footer .left {
  width: 33%;
}
footer .middle {
  width: 33%;
}
footer .right {
  width: 33%;
}
footer img {
    max-height: 3rem;
}
footer .social{
    max-height: 1.75rem;
}
@media only screen and (max-width: 575px) {
    footer  {
        padding: 1rem;
        padding-right: 5%;
        padding-left: 5%;
    }
    footer .left {
        width: 50%;
        margin-right: 0.5rem;
    }
    footer .middle {
        width: 15%;
        margin: 0 0.5rem;
    }
    footer .right {
        width: 35%;
        margin-left: 0.5rem;
    }

}

/* -----------< hero image ---------- */
.img-hero-mobile, .img-hero-desktop-smaller, .img-hero-desktop {
    position:initial;
    width: 100%;
}
.img-hero-mobile, .img-hero-desktop-smaller {
    display:none;
}
@media only screen and (max-width: 1199px) { /* 991 */
    .img-hero-mobile, .img-hero-desktop{
        display:none;
    }
    .img-hero-desktop-smaller {
        display:block;
    }
}
@media only screen and (max-width: 575px) {
    .img-hero-desktop, .img-hero-desktop-smaller{
        display:none;
    }
    .img-hero-mobile {
        display:block;
    }
}


/* ----------- hero image >---------- */

#back2top {
    z-index: 99;
    display: block; /*none;*/
    position: fixed;
    bottom: 1rem;
    right: 1.25rem;
    margin: 2%;
    padding: 16px 21px;
    border-radius: 40px;
    border: 2px var(--negative-text-color) solid;
    background-color: var(--fg-color);
    opacity: 0.75;
    color: var(--negative-text-color);
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
}
#back2top:hover {
    background-color: var(--fg-color);
    opacity: 1;
}

/* -----------< aux ---------- */
.mt-0 {
    margin-top: 0% !important;
}
.mb-0 {
    margin-bottom: 0% !important;
}
.mt-few {
    margin-top: 4px;
}
.mb-few {
    margin-bottom: 4px;
}
.mt-superimpose {
    margin-top: -1px;
}

/* ----------- aux >---------- */
