@import url('https://fonts.googleapis.com/css2?family=Arvo:wght@400;700&display=swap');

.viewport-start {
    height: 100vh;
}


.image-container {
    background: url("../img/expo_2023_fotofinal.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 85%;
}

.viewport-start .image-container {
    display: grid;
    grid-template-areas: 
    "box1 box1 box1"
    "box2 box2 box2";
    align-items: flex-start;
    justify-content: center;
}
.viewport-start .image-container .message-box {
    position: relative;
    margin-top: 40px;
    width: 80%;
    justify-self: center;
    grid-area: box1;
}
.viewport-start .image-container .message-box::before {
    content: "";
    position: absolute;
    height: 35px;
    width: 35px;
    background-color: #0DFA74;
    opacity: 0.76;
    top: 0;
    left: 0;
    border-radius: 6px;
}
.viewport-start .image-container .message-box::after {
    content: "";
    position: absolute;
    height: 35px;
    width: 35px;
    background-color: #0DFA74;
    opacity: 0.76;
    bottom: 0;
    right: 0;
    border-radius: 6px;
}

.viewport-start .image-container .message-box .content {
    margin: 12px;
    color: #fff;
    background-color: #5F5F5F;
    opacity: 0.76;
    padding: 30px 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 5px;
}
.viewport-start .image-container .message-box .content .title {
    font-size: 1.2rem;
}
.viewport-start .image-container .message-box .content .text {
    font-size: 20px;
    font-weight: bold;
}
.scroll-down {
    text-align: center;
    align-self: flex-end;
    grid-area: box2;
    color: #fff;
    font-weight: bold;
    margin-bottom: 40px;
}

/* PROJECTS REDIRECT CONTAINER */

.projects-redirect-container {
    background: linear-gradient(180deg, #212529 10%, #353535 80%);
    padding: 10px 30px;
}
.projects-redirect-container > .title > h1 {
    text-align: center;
    padding: 10px 0px;
    color: #fff;
}
.projects-boxes {
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 90px;
}

@media screen and (max-width: 990px) {
    .projects-boxes {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 740px) {
    .projects-boxes {
        display: flex;
        flex-direction: column;
    }
}

.projects-boxes .box {
    background-color: #fff;
    justify-content: space-between;
    padding: 25px;
    height: 470px;
    border-radius: 8px;
} 
.projects-boxes .box > .top > h2 {
    text-align: center;
}
.box .image {
    width: 150px;
    margin: auto;
    margin-top: 20px;
    border-radius: 50%;
    padding: 15px 10px;
    position: relative;
    text-align: center;
}
.box .image > img {
    max-width: 100px;
}
.box .image::before {
    position: absolute;
    content: "";
    height: 50px;
    width: 50px;
    top: 0px;
    left: 0px;
    border-top-left-radius: 80px;
    border-left: 4px solid #0DFA74;
    border-top: 4px solid #0DFA74;
}
.box .image::after {
    position: absolute;
    content: "";
    height: 50px;
    width: 50px;
    right: 0px;
    bottom: 0px;
    border-bottom-right-radius: 80px;
    border-right: 4px solid #0DFA74;
    border-bottom: 4px solid #0DFA74;
}

.box > .content {
    text-align: center;
    font-size: 22px;
}
.box > .btn-box {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}
.box > .btn-box > a {
    /* background: linear-gradient(180deg, #212529, #31363c); */
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    font-size: 20px;
    color: #212529;
    border: 2px solid #25282c;
    position: relative;
    z-index: 1;
    border-radius: 6px;
    transition: color .3s ease;
}
.box > .btn-box::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #212529 10%, #353535 80%);
    transition: all 0.3s ease;
    z-index: 0;
}
.box > .btn-box:hover a {
    color: #fff;
}
.box > .btn-box:hover:after {
    bottom: 0;
    height: 100%;
}
.gallery-container > .left {
    width: 50%;
    height: 100vh;
    background-image: url(../img/trio_kaue_&_marcos.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.gallery-container > .left > .message-box {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    align-items: center;
}
.gallery-container > .left > .message-box > .top {
    height: 40%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-container > .left > .message-box > .top > h1,
.story-container > .right > .box > h1 {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 80%;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    z-index: 0;
}
.gallery-container > .left > .message-box > .top > h1::before,
.story-container > .right > .box > h1::before {
    content: "";
    position: absolute;
    height: 80px;
    width: 140px;
    top: -12px;
    left: -12px;
    border-left: 2px solid #0DFA74;
    border-top: 2px solid #0DFA74;
    border-top-left-radius: 15px;
}
.gallery-container > .left > .message-box > .top > h1::after,
.story-container > .right > .box > h1::after {
    content: "";
    position: absolute;
    height: 80px;
    width: 140px;
    right: -12px;
    bottom: -12px;
    border-bottom-right-radius: 15px;
    border-right: 2px solid #0DFA74;
    border-bottom: 2px solid #0DFA74;
}

@media screen and (max-width: 970px) {
    .gallery-container {
        flex-direction: column;
    }
    .gallery-container > .left,
    .gallery-container > .right {
        width: 100% !important;
    }
    .gallery-container > .left {
        height: 400px;
    }
    .gallery-container > .right > .content > .quote {
        margin-bottom: 10px;
    }

    .story-container {
        flex-direction: column-reverse;
    }
    .story-container > .left,
    .story-container > .right {
        width: 100% !important;
    }
    .story-container > .right {
        height: 300px;
    }
}

.gallery-container > .left > .message-box > .btn-gallery {
    width: 100%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-container > .left > .message-box > .btn-gallery > a {
    background-color: #069946;
    padding: 15px 25px;
    border-radius: 100px;
    font-size: 1.2rem;
    transition: all .2s ease;
    border: 2px solid #069946;
}
.gallery-container > .left > .message-box > .btn-gallery > a:hover {
    /* transform: scale(1.05); */
    background-color: transparent;
    color: #069946;
    border: 2px solid #069946;
}


.gallery-container > .right > .title,
.story-container > .left > .title {
    background-color: #212529;
    border-radius: 50px;
    color: #fff;
    width: 90%;
    margin: 30px auto 0px auto;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #069946;
}
.gallery-container > .right > .title > h1 {
    text-align: center;
}
.gallery-container > .right > .content {
    font-size: 1.3em;
    line-height: 150%;
    text-align: justify;
    padding: 0px 10px;
    height: 100%;
    /* background-color: lightblue; */
    justify-content: space-evenly;
    padding: 15px;
}
.gallery-container > .right > .content > .quote {
    background-color: #efefef;
    padding: 15px 25px 15px 30px;
    border-left: 2px solid;
    /* border-right: 2px solid; */
    position: relative;
}
.gallery-container > .right > .content > .quote > .fa-quote-left {
    position: absolute;
    left: 10px;
    top: 18px;
    font-size: 1rem;
    color: #069946;
}
.gallery-container > .right > .content > .quote > .author {
    width: 100%;
    text-align: right;
    font-size: 0.8em;
}

/* .story-container {
    background-color: lightgreen;
} */
.story-container > .left,
.story-container > .right {
    width: 50%;
}
.story-container > .right {
    background-image: url(../img/jornada.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.story-container > .right > .box {
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.story-container > .left > .content {
    background-color: #efefef;
    margin: 20px 20px;
    border-right: 2px solid;
    padding: 10px 15px;
}
.story-container > .left > .content > article > p {
    text-indent: 30px;
    text-align: justify;
    line-height: 150%;
}

/* Slide Show dos Professores */
.teachers-container {
    align-items: center;
    background: #25282c;
    padding: 30px;
}
.teachers-container > .title {
    /* padding: 20px 0px; */
    margin-bottom: 30px;
    color: #fff;
}
.teachers-container > .title > h1 {
    position: relative;
    width: fit-content;
    text-align: center;
    margin: 0 auto;
}
.teachers-container > .title > h1::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 2px;
    background-color: #069946;
    left: 0;
    bottom: 0px;
}
.teachers-container > .title > h1::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    background-color: #069946;
    left: 0;
    bottom: -8px;
}
.teachers-container > .container {
    position: relative;
    padding: 15px;
    max-width: 640px;
    margin: 0 auto;
    height: 80%;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    /* background-color: #353535; */
}
.container > .gallery-wrapper {
    overflow-x: auto;
    border-radius: 30px;
}
.container > .gallery-wrapper::-webkit-scrollbar {
    display: none;
}
.container > .gallery-wrapper > .gallery {
    display: flex;
    flex-flow: row nowrap;
    gap: 15px;
}

.container > .arrow-left,
.container > .arrow-right {
    position: absolute;
    top: 100px;
    left: -15px;
    right: auto;
    bottom: 100px;
    font-size: 20px;
    width: 40px;
    color: #fff;
    cursor: pointer;
    border: none;
    background-color: #069946;
    /*   opacity: 0.4; */
    transition: all .6s ease-in-out;
    z-index: 1;
    border-radius: 100px;
}
.container .arrow-right {
    position: absolute;
    left: auto;
    right: -15px;
}
.container > .arrow-left:hover,
.container > .arrow-right:hover {
    opacity: 1;
}
.container > .gallery-wrapper > .gallery > .item {
    width: 500px;
    height: 300px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: all 300ms ease-in-out; 
    background-color: #fff; 
    border-radius: 30px;
    overflow: hidden;
}
.container > .gallery-wrapper > .gallery > .item > .top {
    justify-content: space-between;
    align-items: center;
    padding: 0px 15px;
    font-size: 1.3em;
    height: 25%;
    align-items: center;
}
.container > .gallery-wrapper > .gallery > .item > .top > .photo {
    height: 50px;
    aspect-ratio: 16/16;
    border-radius: 50%;
    overflow: hidden;
}

.container > .gallery-wrapper > .gallery > .item > .quote {
    font-size: 1.4rem;
    align-items: center;
    justify-content: center;
    height: 75%;
    position: relative;
}
.container > .gallery-wrapper > .gallery > .item > .quote > i {
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 1.4em;
    color: #069946;
}
.container > .gallery-wrapper > .gallery > .item > .quote >  span {
    width: 80%;
    text-align: center;
}
.container > .gallery-wrapper > .gallery > .current-item {
    opacity: 1;
}

@media screen and (max-width: 620px) {
    .container > .gallery-wrapper > .gallery > .item {
        width: 100%;
    }
    .gallery-container > .left > .message-box{
        font-size:10px;
    }
    .viewport-start .image-container .message-box .content .title{
        font-size:15px;
    }
    .viewport-start .image-container .message-box .content .text{
        font-size:15px;
        line-height: 20px;
    }
    nav .center{
        text-align:center;
        font-size:20px;
    }
    nav .right{
        text-align:center;
        font-size:15px;
    }
}