@import 'reset.css';
@import 'color-variables.css';
@import 'layout.css';
@import 'photo-slider.css';

.curva > svg, .curva-invertida > svg{
    display: block;
}
.curva-invertida{
    width: 100%;
}
.curva > svg, .curva-interna > svg{
    display: block;
}
.curva-interna{
    width: 100%;
}
.desktop-only {
    display: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text);
    transition: background 500ms ease-in-out, color 1000ms ease-in-out;
}
.responsive-img {
    max-width: 100%;
}
span.icons {
    display: flex;
}
.nav-item {
    margin-left: 1em;
}
.navbar {
    background: black;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.navbar .redes {
    color: white;
    display: flex;
    justify-content: space-evenly;
    margin: 1em auto;
    border-top: 1px solid var(--lightpurple);
    max-width: 40%;
    padding: 1em 0;
}

.navbar ul {
    overflow: hidden;
}

.menu > li > .menu-item {
    color: white;
    padding: 1em;
    display: block;
}

.disabled-menu-item {
    opacity: 0.4;
    pointer-events: none;
}

.navbar > ul > li > a:hover,
.navbar .menu-btn:hover {
    opacity: 0.5;
}
.navbar .menu {
    clear: both;
    max-height: 0;
    width: 100%;
    transition: max-height .2s ease-out;
  }
.navbar > .menu-icon {
    cursor: pointer;
    padding: 2em;
    user-select: none;
    align-self: flex-end;
  }
.navbar > .menu-icon .navicon {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
  }
.navbar .menu-icon .navicon:before,
.navbar .menu-icon .navicon:after {
background: var(--white);
content: '';
display: block;
height: 100%;
position: absolute;
transition: all .2s ease-out;
width: 100%;
}

.navbar .menu-icon .navicon:before {
top: 5px;
}

.navbar .menu-icon .navicon:after {
top: -5px;
}
.navbar .menu-btn {
    display: none;
  }
  .navbar .menu-btn:checked ~ .menu {
    max-height: 520px;
  }
  .navbar .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
  }
  
  .navbar .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }
  
  .navbar .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }
  
  .navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
  .navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
  }

  .navbar .menu-icon span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: var(--gray0);
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
    }

.navbar .menu-icon span:first-child
{
  transform-origin: 0% 0%;
}

.navbar .menu-icon span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

.navbar .menu-btn:checked ~ .menu-icon span:first-child
{
  opacity: 1;
  transform: rotate(45deg) translate(1px, -1px);
  background: var(--lightpurple);
}

.navbar .menu-btn:checked ~ .menu-icon span:nth-child(2)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

.navbar .menu-btn:checked ~ .menu-icon span:last-child
{
  opacity: 1;
  transform: rotate(-45deg) translate(-3px, -1px);
  background: var(--lightpurple);
}

.ico-insta {
    background: url(../img/icons-sprite.png) -100px -1px no-repeat;
    width: 20px;
    height: 20px;
    padding: 0;
}
.ico-face {
    background: url(../img/icons-sprite.png) -80px -1px no-repeat;
    width: 20px;
    height: 20px;
    padding: 0;
}
.ico-whats {
    background: url(../img/icons-sprite.png) -20px -1px no-repeat;
    width: 20px;
    height: 20px;
    padding: 0;
}

header {
    padding: 0 0 6em 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    clip-path: polygon(100% 0px, 100% 90%, 50% 100%, 0px 90%, 0px 0px);
}
.interna header {
    padding: 0 0 6em 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    margin-bottom: 1em;
    text-align: center;
    clip-path: polygon(100% 0px, 100% 85%, 50% 100%, 0px 85%, 0px 0px);
}
.abre-home {
    background-image: linear-gradient(to top, rgb(88 47 99), rgb(168 117 176 / 90%)), url(../img/doacoes-palafitas.jpg);
}
.sobre-o-projeto {
    background-image: linear-gradient(to top, rgb(88 47 99), rgb(168 117 176 / 75%)), url(../img/abre-sobre-o-projeto.jpg);
}
.seja-voluntario {
    background-image: linear-gradient(to top, rgb(88 47 99), rgb(168 117 176 / 75%)), url(../img/abre-seja-voluntario.jpg);
}
.amigo-acao {
    background-image: linear-gradient(to top, rgb(88 47 99), rgb(168 117 176 / 75%)), url(../img/abre-amigo-acao.jpg);
}
.prestacao-de-contas {
    background-image: linear-gradient(to top, rgb(88 47 99), rgb(168 117 176 / 75%)), url(../img/abre-prestacao-de-contas.jpg);
}
.logo {
    margin-bottom: 2.5em;
    border-radius: 100px;
}
.hero-section h1 {
    color: var(--white);
}
.hero-section h2 {
    color: white;
    font-weight: 300;
}
h3 {
    color: var(--black);
}
.destaque {
    background: var(--black);
    color: rgb(247 172 40);
    padding: 0 6px;
    font-weight: 700;
}
.hero-section {
    margin: 0 1.5em 0;
    color: var(--text);
}
.interna .hero-section {
    margin: 0 1.5em 0;
    color: var(--text);
}
.hero-section .full-button{
    margin-right: 1em;
}
.full-button {
    background: var(--black);
    padding: 1rem;
    border-radius: 15px;
    display: inline-block;
    color: var(--white);
    border: 3px solid var(--black);
    margin: 2em 0 0 1em;
    text-align: center;
}

.transparent-button {
    padding: 1rem;
    border-radius: 15px;
    display: inline-block;
    color: var(--white);
    border: 2px solid var(--white);
    margin-top: 2em;
}
.purple-transp-button {
    padding: 1rem;
    border-radius: 15px;
    display: inline-block;
    color: var(--purple);
    border: 2px solid var(--purple);
    margin-top: 2em;
}
.main-section {
    margin: 3em 0;
    padding: 0 1.5em;
    text-align: center;
}
.main-section h1{
    line-height: 1.8rem;
    margin-bottom: 0.5em;
}
.main-section .col, .main-section .col p{
    margin-bottom: 1.5em;
}
.main-section .apoie p{
    margin-bottom: 0;
}
.volunteer-section {
    padding: 6em 0 2em;
    background: var(--black);
    clip-path: polygon(100% 0px, 100% 95%, 50% 100%, 0px 95%, 0px 0px);
    text-align: center;
    margin-top: -0.5em;
}
.volunteer-section img{
    border-radius: 150px;
}
.tri-col {
    padding: 0 1.5em;
    margin: 0 0 4em;
    color: var(--white);
}
.full-purp-button {
    background: var(--black);
    padding: 1em;
    border-radius: 15px;
    display: inline-block;
    color: var(--white);
    border: 3px solid var(--black);
    margin: 1em 0;
}
.tri-col .full-purp-button {
    background: rgb(168 117 176);
}
.store-section {
    background: url(../img/bg-produtos-esq.jpg) left top no-repeat;
    background-size: 80%;
    width: 100%;
    margin: 3em 0;
}
.store-bg-content{
    background: url(../img/bg-produtos-dir.jpg) right bottom no-repeat;
    background-size: 80%;
    width: 100%;
}
.single-sm-col {
    align-items: center;
    text-align: center;
    padding: 16em 1em;
}
.single-sm-col .full-button {
    max-width: 220px;
}

footer {
    color: var(--white);
    text-align: center;
    background-image: linear-gradient(to top, rgb(109 44 128 / 85%), rgb(168 117 176 / 90%)), url(../img/bg-voluntarios.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 2em 1em 2em;
    margin-top: 8em;
}
footer a {
    text-decoration: underline;
}
.footer-info {
    border-radius: 4em 4em 0 0;
    background: black;
    clip-path: polygon(100% 0px, 100% 85%, 50% 100%, 0px 85%, 0px 0px);
    padding: 2em 1em 4em;
    margin: 1em;
    text-align: center;
    margin-top: -6.5em;
}
.footer-info .full-purp-button {
    background: rgb(247 172 40);
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
}

.volunteers-section {
    text-align: center;
}
.volunteers-cards li {
    max-width: 38%;
    display: inline-block;
    margin: 1em;
    vertical-align: top;
}
.values li{
    margin-bottom: 1em;
}

.lista-premios {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lista-premios li {
    width: 70%;
    background: var(--black);
    margin: 1em 0;
    padding: 0.5em;
    color: var(--white);
    text-align: center;
}
.extratos li {
    margin: 2em 0;
}
.extratos li a {
    text-decoration: underline;
    color: var(--purple);
    font-weight: 700;
}

.mb2 {
    margin-bottom: 2em;
}

/* 700px - Ipads*/
@media (min-width: 43.75em) {
    .store-section {
        background-size: 70%;
        margin: 1em 0;
    }
    .store-bg-content {
        background-size: 70%;
    }
    .single-sm-col {
        padding: 28em 1em;
    }
    .small-col {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .tri-col {
        flex: 1;
    }
    footer {
        background-image: linear-gradient(to top, rgb(53 22 61 / 94%), rgb(168 117 176 / 90%)), url(../img/bg-voluntarios.jpg);
        background-position: center 14em;
    }
}

/* 992px - Ipad landscape and small laptops screens*/
@media (min-width: 62em) {
    .store-section {
        background-size: 50%;
    }
    .store-bg-content {
        background-size: 50%;
    }
    .single-sm-col {
        padding: 26em 1em 24em;
    }
}

/* 1360px */
@media (min-width: 85em) {
    .prestacao-de-contas {
        background-image: linear-gradient(to top, rgb(88 47 99), rgb(168 117 176 / 75%)), url(../img/abre-prestacao-de-contas.jpg);
    }
    .seja-voluntario {
        background-image: linear-gradient(to top, rgb(88 47 99), rgb(168 117 176 / 75%)), url(../img/abre-seja-voluntario-desktop.jpg);
    }
    .sobre-o-projeto {
        background-image: linear-gradient(to top, rgb(88 47 99), rgb(168 117 176 / 75%)), url(../img/abre-sobre-o-projeto-desktop.jpg);
    }
    .volunteers-section {
        padding: 3em 0;
    }
    .volunteer-home-button {
        display: block;
        z-index: 3;
        position: relative;
        padding: 1rem 0.5rem;
        transition: all 0.6s;
    }
    .volunteer-home-button:hover {
        background: var(--lightblack);
        border-radius: 10px;
        transition: all 0.6s;
    }
    .volunteer-home-button:hover img {
        opacity: 0.7;
        transition: all 0.6s;
    }
    .curva-invertida {
        margin-top: -2em;
    }
    .desktop-only {
        display: block;
    }
    .navbar {
        align-items: inherit;
        position: relative;
        z-index: 2;
        padding-top: 1em;
    }
    .navbar .menu {
        max-height: none;
        display: flex;
        justify-content: space-evenly;
    }
    .navbar .menu-icon, .navbar .redes {
        display: none;
    }
    .navbar .menu a {
        transition: all .35s;
    }
    .curva {
        margin-top: -4em;
    }
    body {
        font-family: 'Montserrat', sans-serif;
        font-size: 1em;
        line-height: 1.6;
        color: var(--text);
        transition: background 500ms ease-in-out, color 1000ms ease-in-out;
    }
    .pl10 {
        padding-left: 10%;
    }
    .pl20 {
        padding: 0 0em 0 18em;
    }
    span.icons {
        display: flex;
    }
    .nav-item {
        margin-left: 1em;
    }
    header {
        margin-bottom: 1em;
    }

    .interna header {
        height: 70vh;
    }
    .logo {
        margin-bottom: 2.5em;
        border-radius: 100px;
    }
    .hero-section {
        margin: -12em 0 0;
        padding: 1em 0;
        color: var(--text);
    }
    .hero-section .full-button{
        margin-right: 1em;
    }
    .interna .hero-section {
        margin: -12em 1.5em 0;
    }
    .full-purp-button {
        background: var(--black);
        padding: 1rem;
        border-radius: 15px;
        display: inline-block;
        color: var(--white);
        border: 3px solid var(--black);
        margin: 2em 0 0 1em;
    }
    .transparent-button {
        padding: 1rem;
        border-radius: 15px;
        display: inline-block;
        color: var(--white);
        border: 2px solid var(--white);
        margin-top: 2em;
    }
    .purple-transp-button {
        padding: 1rem;
        border-radius: 15px;
        display: inline-block;
        color: var(--purple);
        border: 2px solid var(--purple);
        margin-top: 2em;
    }
    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .main-section {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        margin: 3em 0 0 0;
    }
    .main-section .col{
        width: 50%;
    }
    .internal .main-section {
        width: 80%;
        align-items: flex-start
    }
    .internal .main-section .col{
        width: 40%;
        display: flex;
        flex-direction: column;
    }
    .volunteer-section {
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 2em 0 3em 0;
        margin-top: -3em;
        background: var(--black);
        text-align: center;
        clip-path: polygon(100% 0px, 100% 85%, 50% 100%, 0px 85%, 0px 0px);
        width: 100%;
    }
    .small-col {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        max-width: 970px;
    }
    .store-section {
        background: url(../img/bg-produtos-esq.jpg) left top no-repeat;
        background-size: 25%;
        width: 100%;
        margin: 4em 0 0;
    }
    .store-bg-content{
        background: url(../img/bg-produtos-dir.jpg) right top no-repeat;
        background-size: 25%;
        width: 100%;
        display: flex;
        justify-content: center;
        padding-bottom: 7em;
    }
    .single-sm-col{
        width: 40%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding: 1em;
    }
    .single-sm-col .full-button {
        max-width: 220px;
    }
    
    footer {
        color: var(--white);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        background-image: linear-gradient(to bottom, rgb(38 0 49 / 100%), rgb(168 117 176 / 90%)), url(../img/bg-voluntarios.jpg);
        background-position: 0 5em;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        padding-bottom: 3em;
        margin-top: 3em;
    }
    footer a {
        text-decoration: underline;
    }
    .footer-info {
        border-radius: 30px 30px 0 0;
        background-image: linear-gradient(to top, rgb(38 0 49), rgb(0 0 0 / 98%));
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        clip-path: polygon(100% 0px, 100% 85%, 50% 100%, 0px 85%, 0px 0px);
        padding: 2em 2em 4em;
        max-width: 610px;
        width: 100%;
        margin-bottom: 3em;
        text-align: center;
    }
    .lista-premios {
        display: flex;
        flex-direction: row;
        align-items: unset;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    .lista-premios li {
        width: 40%;
        text-align: left;
    }
}