:root {
    --blue: #0F7AB8;
    --gray: #545454;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

::selection {
    color: #fff;
    background-color: var(--blue);
}

body iframe {
    width: 100%;
}

/* Header */

header {
    min-height: 100vh;
    background: var(--blue) url('../img/header1.png') no-repeat fixed;
    background-size: cover;
    position: relative;
}

.puc-logo {
    display: flex;
    align-items: center;
    float: left;
}

.puc-logo img {
    width: 100%;
    max-width: 85px;
    display: inline-block;
    background-color: rgba(255,255,255);
    padding: 10px;
}

.puc-logo p {
    display: inline-block;
    font-size: 28px;
    color: #fff;
    font-weight: bold;
    max-width: 250px;
    line-height: 1.2;
    margin: 0 0 0 20px;
}

.endowment-logo {
    float: right;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.endowment-logo p {
    margin-bottom: 3px;
    font-size: 12px;
    color: #fff;
}

.endowment-logo img {
    width: 100%;
    max-width: 90px;
    background-color: rgba(255,255,255,1);
}


@media screen and (max-width: 768px) {
    header .container {
        max-width: 1000px;
    }

    header {
        background-size: cover;
        background-position: top;
    }
    
    .puc-logo {
        margin-top: 30px;
        margin-left: 20px;
    }

    .puc-logo p {
        font-size: 16px;
        max-width: 250px;
    }

    .puc-logo img {
        max-width: 80px;
    }

    .endowment-logo {
        margin-top: 60px;
        margin-right: 10px;
    }

    .endowment-logo img {
        max-width: 70px;
    }

    .endowment-logo p {
        font-size: 10px;
    }
}

@media screen and (max-width: 450px) {
    .puc-logo {
        margin-left: 0px;
    }
}

@media screen and (max-width: 350px) {
    .endowment-logo {
        clear: both;
        float: left;
        margin-top: 20px;
        margin-left: 0px;
    }

    .button-container {
        right: 15px !important;
    }
}


/* Header - Menu */

.nav-menu, .nav-menu-projetos {
    display: block;
    margin: 0 auto;
}

.nav-menu ul, .nav-menu-projetos ul {
    width: 800px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 0 auto;
    padding: 30px 0;
}

.nav-menu a, .nav-menu-projetos a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.nav-menu ul a, .nav-menu-projetos ul a {
    position: relative;
}

.nav-menu ul a:hover:after, .nav-menu-projetos ul a:hover:after {
    width: 100%;
}

.nav-menu ul a:after, .nav-menu-projetos ul a:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: #fff;
    transition: 0.2s;
}

.button-container {
    display: none;
}

@media screen and (max-width: 992px) {
    
    .nav-menu ul, .nav-menu-projetos ul {
        width: 100%;
    }

}

@media screen and (max-width: 768px) {

    .nav-menu ul, .nav-menu-projetos ul {
        visibility: hidden;
        position: fixed;
        background: rgba(15, 122, 184, 0.9);
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        opacity: 0;
        z-index: 99;

        visibility: hidden;
        transition: opacity 0.35s, visibility 0.35s, height 0.35s;
        overflow: hidden;
    }

    .noscroll {
        overflow: hidden;
    }

    .nav-menu ul, .nav-menu-projetos ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 60vh;
    }

    .nav-menu ul li, .nav-menu-projetos ul li {
        margin-bottom: 20px;
    }
    
    .overlay {
        opacity: 1 !important;
        visibility: visible !important;
        height: 100% !important;
    }

    .button-container {
        display: block !important;
        position: absolute;
        right: 30px;
        top: 20px;
        height: 25px;
        width: 35px;
        z-index: 100;
        transition: opacity 0.2s;
    }

    .button-container:hover {
        opacity: 0.7;
        cursor: pointer;
    }

    .button-container span {
        display: block;
        position: absolute;
        border: none;
        border-radius: 20px;
        top: 0px;
        left: 0px;
        height: 4px;
        width: 100%;
        background-color: #fff;
        transition: all 0.3s ease-out;
    }

    .button-container .middle {
        top: 10px;
      }
    
    .button-container .bottom {
        top: 20px;
    }

    .button-container.active .top {
        transform: translateX(0) translateY(11px) rotate(45deg);
        background-color: #fff;
    }

    .button-container.active .middle {
        opacity: 0;
    }

    .button-container.active .bottom {
        transform: translateX(0) translateY(-9px) rotate(-45deg);
        background-color: #fff;
    }

}

/* Header - Missão */

.missao {
    position: absolute;
    bottom: 20%;
    max-width: 400px;
    margin: 0 15px 0 0;
}

.missao p:first-child {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 0;
}

.missao p:last-child {
    background-color: #fff;
    color: var(--gray);
    padding: 20px 30px;
    font-size: 16px;
    line-height: 1.4;
}

@media screen and (max-height: 664px) {
    .missao {
        bottom: 50px;
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 525px) and (max-height: 590px) {

    .puc-logo {
        margin-top: 0;
        padding-top: 30px;
        float: none;
        clear: both;
    }

    .endowment-logo {
        max-width: 80px;
        float: none;
        clear: both;
        margin: 10px 0 0 0px;
    }

    .missao {
        position: relative;
        bottom: 0;
        margin-top: 50px;
    }
}

@media screen and (min-width: 525px) and (max-height: 600px) {
    .endowment-logo {
        position: absolute;
        top: 70px;
        right: 50px;
    }
}

@media screen and (max-width: 765px) {
    .endowment-logo {
        top: 10px;
        right: 20px;
    }
}

@media screen and (max-height: 600px) and (min-width: 525px) {
    .missao {
        padding-bottom: 0;
        position: relative;
        bottom: 0;
        padding: 20px 0 50px 10px;
    }

    .puc-logo {
        float: none;
        clear: both;
        margin-top: 0;
        padding-top: 20px;
    }

}

/* Header - Arrow */

.arrow-position {
    position: absolute;
    bottom: 30px;
    left: 50%;
    margin-left: -15px;
}

.arrow {
    width: 20px;
    position: relative;
}

.arrow span {
    display: block;
    position: absolute;
    border: none;
    border-radius: 20px;
    top: 0px;
    left: 0px;
    height: 5px;
    width: 100%;
    background-color: #fff;
}

.arrow span:first-child {
    transform: translateX(-5px) rotate(45deg);
    animation: transparency 2s infinite;
}

.arrow span:nth-child(2) {
    transform: translateX(6px) rotate(-45deg);
    animation: transparency 2s infinite;
}

.arrow span:nth-child(3) {
    transform: translateX(-22px) rotate(45deg) translateY(-24px);
    animation: transparency2 2s infinite;
}

.arrow span:nth-child(4) {
    transform: translateX(23px) rotate(-45deg) translateY(-24px);
    animation: transparency2 2s infinite;
}

@keyframes transparency {
    0%   {opacity: 0.4;}
    50%  {opacity: 1;}
    100% {opacity: 0.4;}
}

@keyframes transparency2 {
    0%   {opacity: 0.8;}
    50%  {opacity: 0.3;}
    100% {opacity: 0.8;}
}




/* Intro Text */

.intro-text {
    min-height: 50vh;
    max-height: 500px;
    margin: 0px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-text p { 
    color: var(--gray);
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .intro-text {
        margin: 80px 10px;
    }
}


/* Quero ajudar */

.quero-ajudar {
    margin:0;
    text-align: center;
}

.quero-ajudar p:first-child {
    font-size: 34px;
    color:var(--blue);
    font-weight: bold;
    margin: 0 auto;
}

.quero-ajudar p {
    color: var(--gray);
    margin-top: 5px;
    margin-bottom: 20px;
}

.ajudar-list, .quem-somos-icons {
    display: flex;
    justify-content: space-evenly;
    max-width: 900px;
    margin: 40px auto;
}

.ajudar-list li, .quem-somos-icons li {
    border-radius: 0 20px 0 20px;
    box-shadow: 1px 1px 6px var(--blue);
    max-width: 250px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.ajudar-list li img, .quem-somos-icons li img {
    width: 100%;
    max-width: 80px;
    margin-bottom: 20px;
}

.ajudar-list li p {
    color: var(--gray);
    margin-bottom: 0;
    line-height: 1.4;
}

.ajudar-list .ajudar-title, .quem-somos-icons .quem-somos-icon-title {
    color: var(--blue);
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

.ajudar-list li a {
    color: var(--blue);
}

.ajudar-list li a:hover {
    background-color: var(--blue);
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 992px) {
    .ajudar-list, .quem-somos-icons {
        flex-direction: column;
    }

    .ajudar-list li, .quem-somos-icons li {
        margin-bottom: 40px;
    }
}


/* Projetos */

.projetos {
    padding-top: 50px;
}

.conheca-projetos {
    background-color: var(--blue);
    background: linear-gradient(90deg, rgba(15,122,184,1) 0%, rgba(9,141,217,1) 100%);
}

.projetos-text {
    display: flex;
    min-height: 200px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
}

.projetos-text p {
    margin: 0;
    color: #fff;
}

.projetos-text p:last-child {
    max-width: 500px;
    text-align: right;
    letter-spacing: 1px;
    font-size: 14px;
}

.projetos-text p:first-child, .quem-somos-titulo, .endowment-title {
    font-size: 32px;
    max-width: 200px;
    line-height: 1.1;
    font-weight: bold;
}

.projetos-destaque {
    font-size: 42px;
}

@media screen and (max-width: 992px) {
    .projetos-text {
        flex-direction: column;
    }

    .projetos-text p {
        margin: 20px auto;
    }

    .projetos-text p:last-child {
        text-align: left;
    }
}


/* Quem Somos */

.quem-somos {
    background-color: var(--blue);
    background: linear-gradient(90deg, rgba(15,122,184,1) 0%, rgba(9,141,217,1) 100%);
    color: #fff;
    padding-bottom: 0px;
}

.quem-somos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    z-index: -1;
}

.quem-somos-texto {
    max-width: 660px;
}

.quem-somos-header a {
    background-color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 30px;
    color: var(--blue);
    font-weight: bold;
    font-size: 16px;
    box-shadow: 2px 2px 1px rgba(0,0,0,0.2);
    transition: background-color 0.4s;
}

.quem-somos-header a:hover {
    text-decoration: none;
    background-color: #cfedff;
}



/* .quem-somos-icons {
    margin-top: -60px;
    z-index: 99;
    max-width: 960px;
}

.quem-somos-icons li {
    background-color: #fff;
    min-width: 240px;
}

.quem-somos-icon-title {
    text-align: center;
    line-height: 1.1;
} */


    @media screen and (max-width: 992px) {
    .quem-somos-header {
        flex-direction: column;
    }

    .quem-somos-header a {
        margin-top: 10px;
    }

    .quem-somos-texto {
        max-width: 100%;
    }
}


/* Endowment PUC-Rio */

.endowment {
    color: var(--blue);
    padding-top: 40px;
    padding-bottom: 00px;
}

.endowment-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.endowment-text {
    color: var(--gray);
}

.doe-agora {
    text-align: center;
    margin-top: 20px;
}

.doe-agora p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.doe-agora a {
    background-color: var(--blue);
    background: linear-gradient(90deg, rgba(15,122,184,1) 0%, rgba(9,141,217,1) 100%);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    /* letter-spacing: 2px; */
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    transition: all 0.4s;
    display: inline-block;
}

.doe-agora a:hover {
    text-decoration: none;
    transform: scale(1.1);
}


/* Footer */

footer {
    background-color: var(--blue);
    background: linear-gradient(90deg, rgba(15,122,184,1) 0%, rgba(9,141,217,1) 100%);
    padding: 20px 0;
    color: #fff;
    margin-top: 40px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    
}

.footer-logo-puc {
    display: flex;
    align-items: center;
}

.footer-logo-puc p {
    font-weight: bold;
    margin: 0;
    margin-left: 10px;
}

.footer-logo-puc img {
    max-width: 70px;
    background-color: rgba(255,255,255,1);
    padding: 4px;
}

.footer-logo-aaa {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 30px;
}

.footer-logo-aaa img {
    background-color:#fff;
    max-width: 80px;
}

.footer-logo-aaa p {
    margin: 0;
    font-size: 10px;
}

@media screen and (max-width: 340px) {
    .footer-flex {
        flex-direction: column;
    }

    .footer-logo-aaa {
        margin: 0;
        margin-top: 20px;
    }

    .footer-logo-puc {
        justify-content: center;
    }
}



/* Lista de projetos */

.lista-projetos {
    padding: 40px 0;
}

.project-card {
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 320px;
    border-radius: 20px;
    /* height: 430px; */
    margin: 20px auto;
    padding-bottom: 10px;
    transition: transform 0.4s;
}

.project-card p {
    padding: 0 20px;
}

.project-card .project-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--blue);
    line-height: 1.2;
    margin: 20px 0 10px 0;
    /* height: 60px; */
    display: flex;
    align-items: center;
}

.project-card .project-description {
    font-size: 12px;
    max-height: 85px;
    overflow-y: hidden;
    color: var(--gray);
}

.project-card img {
    width: 100%;
    border-radius: 20px 20px 0 0;
}

.project-card a:hover {
    text-decoration: none;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card button {
    display: block;
    margin: 20px auto;
    border: none;
    background-color: var(--blue);
    background: linear-gradient(90deg, rgba(15,122,184,1) 0%, rgba(9,141,217,1) 100%);
    color: #fff;
    text-align: center;
    padding: 5px 30px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

.project-card button:hover {
    background: var(--blue);
}

#counter {
    color: var(--gray);
    font-size: 12px;
    margin-top: 20px;
}

#ver-mais {
    display: block;
    max-width: 300px;
    text-align: center;
    margin: 20px auto;
    border: 2px solid var(--blue);
    background-color: #fff;
    color: var(--blue);
    padding: 5px 40px;
    font-size: 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

#ver-mais:hover {
    color: #fff;
    background-color: var(--blue);
}

@media screen and (max-width: 992px) {
    .project-card {
        height: auto;
        padding-bottom: 5px;
    }

    .project-card .project-title {
        height: auto;
    }
}




/* ******************
    PÁGINA DE PROJETO

   *******************/


/* Projeto - Menu */

.nav-projetos {
    background: var(--blue) url('../img/header1.png') no-repeat;
    box-shadow: 0px 3px 4px rgba(0,0,0,0.4);
    height: 150px;
}

.menu-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 150px;
}

.puc-logo-projetos {
    display: flex;
    align-items: center;
}

.puc-logo-projetos img {
    width: 60px;
    background-color: rgba(255,255,255);
    padding: 4px;
    margin-right: 5px;
}

.puc-logo-projetos p {
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 5px;
    font-weight: bold;
}

.endowment-logo-projetos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.endowment-logo-projetos img {
    width: 100%;
    max-width: 70px;
    background-color: #fff;
}

.endowment-logo-projetos p {
    margin-bottom: 2px;
    line-height: 1;;
    font-size: 10px;
    color:#fff;
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
    .logos {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 15px;
    }

    .logos .puc-logo-projetos {
        margin-right: 30px;
    }

    .logos .endowment-logo-projetos img {
        max-width: 50px;
    }

    .logos .endowment-logo-projetos p {
        font-size: 8px;
    }
    
    .nav-projetos {
        height: 150px;
    }

    .menu-flex {
        display: block;
        height: 150px;
    }

    .nav-menu-projetos ul {
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .logos {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 15px;
    }

    .logos .puc-logo-projetos {
        margin-right: 10px;
    }

    .logos .endowment-logo-projetos img {
        max-width: 50px;
    }

    .logos .endowment-logo-projetos p {
        font-size: 8px;
    }
}


/* Projeto - Header  */

.projeto-header {
    height: 50vh;
    background: center no-repeat fixed;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    margin-bottom: 50px;
}

@media screen and (max-height: 320px) {
    .projeto-header {
        height: 100vh;
    }
}

.projeto-header p {
    max-width: fit-content;
    background-color: #fff;
    margin-bottom: 40px;
    padding: 20px 40px;
    font-size: 30px;
    font-weight: bold;
    color: var(--blue);
    line-height: 1.2;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .projeto-header p {
        font-size: 22px;
        padding: 10px 20px;
    }
}


/* Projeto - Content */

.modal-title {
    font-weight: bold;
    color: var(--blue);
}

.project-card .tag-departamento {
    padding: 0 20px;
}

.project-card .tag-departamento ul {
    margin-bottom: 5px;
}

.tag-departamento {
    font-size: 12px;
}

.tag-departamento p {
    margin-bottom: 0;
}

.tag-departamento p, ul {
    display: inline-block;
    margin-right: 10px;
}

.tag-departamento ul li {
    display: inline-block;
    margin: 3px 8px 3px 0;
    background-color: var(--blue);
    /* font-size: 12px; */
    padding: 0px 8px;
    color: #fff;
    /* border-radius: 50px; */
}

.projeto-intro {
    margin-bottom: 40px;
}

.projeto-intro p, .projeto-info p, .projeto-info li {
    color: var(--gray);
    line-height: 1.8;
}

.projeto-buttons {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 50px;
    text-align: center;
    margin-bottom: 20px;
}

.one-button {
    display: block !important;
}

.projeto-buttons a {
    background-color: var(--blue);
    background: linear-gradient(90deg, rgba(15,122,184,1) 0%, rgba(9,141,217,1) 100%);
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    display: inline-block;
    font-weight: bold;
    padding: 20px 40px;
    border-radius: 50px;
    width: 100%;
    max-width: 320px;
    margin-bottom: 30px;
    transition: transform 0.2s;
}

.projeto-buttons a:hover {
    text-decoration: none;
    transform: scale(1.05);
}

@media screen and (min-width: 768px) {
    .projeto-buttons {
        display: flex;
        justify-content: space-between;
    }
}


.projeto-info-title {
    font-size: 18px;
    border-bottom: 2px solid var(--blue);
    font-weight: bold;
    color: var(--blue) !important;
    margin-bottom: 30px;
}

.projeto-topic {
    font-weight: bold;
    margin-top: 40px;
}

.projeto-info a, .projeto-intro a {
    color: var(--blue);
    transition: all 0.2s;
}

.projeto-info a:hover, .projeto-intro a:hover {
    background-color: var(--blue);
    text-decoration: none;
    color: #fff;
}

.projeto-info ul {
    padding-left: 20px;
    list-style: var(--blue);
    text-indent: 20px;
}

.projeto-galeria {
    margin-top: 40px;
}

.projeto-videos {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 20px;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 30px;
}

.projeto-imagens {
    display: block;
    text-align: center;
}

.projeto-imagens a:hover {
    text-decoration: none;
}

.gallery-link {
    display: inline-block;
    width: 100%;
    max-width: 340px;
    height: 200px;
    /* background-size: 100% 100%; */
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 12px;
    margin: 10px;
    transition: transform 0.4s;
}

.projeto-imagens a:hover .gallery-link {
    transform: scale(1.03);
}

@media screen and (max-width: 992px) {
    .gallery-link {
        max-width: 320px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .gallery-link {
        margin: 10px 0;
    }
}

.projeto-final {
    padding: 80px 0;
}

.projeto-final p {
    margin-bottom: -30px;
    font-size: 16px;
    font-weight: bold;
    color: var(--blue);
    text-align: center;
}