@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Average&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'MedievalSharp', cursive;
}

.accordion-button:focus {
    border-color: inherit;
    box-shadow: none;
}

::-webkit-scrollbar {
    width: 0px;
}

::-webkit-scrollbar-track {
    background: black;
}

::-webkit-scrollbar-thumb {
    background: gold;
}

::-webkit-scrollbar-thumb:hover {
    background: goldenrod;
}

.btn-glass, .btn-glass:link, .btn-glass:visited{
    padding: 10px 20px;
    text-decoration: none;
    color: black;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
     
  .btn-glass:hover {
    color: black;    
    text-decoration: none;
    box-shadow: 0 8px 18px 0 rgba(31, 38, 135, 0.37);
  }
  
  .btn-glass:active {
    color: black;    
    text-decoration: none;
    box-shadow: inset 0 1px 1px 1px rgba(31, 38, 135, 0.37);
  }

.glass {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.one {
    padding-top: 60px;
    min-height: 100vh;
    background-image: url(1.svg);
    background-size: contain;
    background-position: left bottom;
    background-repeat: no-repeat;
}

.two {
    background-image: url(2.svg);
    background-size: contain;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.three {
    background-image: url(3.svg);
    background-size: contain;
    background-position: left bottom;
    background-repeat: no-repeat;
}

.four {
    background-image: url(4.svg);
    background-size: contain;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.final {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.logo-titulo {
    position: absolute;
    left: 10px;
    top: 10px;
    margin: 0;
    padding: 0;
    font-size: 33px;
    letter-spacing: 1px;
    line-height: normal;
    color: rgba(0, 0, 0, .1);
}

.logo-subtitulo {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 50%;
    left: 26%;
    font-size: 25px;
    letter-spacing: 1px;
    line-height: normal;
    color: rgba(0, 0, 0, .7)
}

.conteudo-titulo {
    font-size: 18px;
}

.conteudo-subtitulo {
    font-size: 16px;
}

.conteudo-subsubtitulo {
    font-size: 14px;
}

.conteudo-texto {
    font-family: 'Average', serif;
    font-size: 14px;
}

.logo {
    height: 150px;
    width: 150px;
}

.videobkg {
    background: black;
    border-radius: 5px;
    text-align: center;
}

video {
    width: 100%;
    max-width: 800px;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1;
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease-in-out, backdrop-filter 1s ease-in-out;
}

.overlay.show-overlay {
    display: block;
    opacity: 1;
}

.overlay-image {
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}



@media only screen and (max-width: 320px) {
    .logo {
        height: 115px;
        width: 115px;
    }
    .conteudo-titulo {
        font-size: 16px;
        font-style: bold;
    }
    .conteudo-subtitulo {
        font-size: 16px;
    }
    .conteudo-texto {
        font-family: 'Average', serif;
        font-size: 13px;
    }
}

@media (min-width: 576px) {
    .one {
        padding-top: 80px;
    }
    .logo-titulo {
        font-size: 40px;
        letter-spacing: 10px;
    }
    .logo-subtitulo {
        top: 50%;
        left: 40%;
        font-size: 33px;
        letter-spacing: 5px;
    }
}

@media (min-width: 768px) {
    .one {
        padding-top: 100px;
    }
    .logo-titulo {
        font-size: 60px;
        letter-spacing: 10px;
    }
    .logo-subtitulo {
        top: 50%;
        left: 32%;
        font-size: 45px;
        letter-spacing: 10px;
    }
}

@media (min-width: 992px) {
    .one {
        padding-top: 120px;
    }
    .logo-titulo {
        font-size: 80px;
        letter-spacing: 10px;
    }
    .logo-subtitulo {
        top: 50%;
        left: 32%;
        font-size: 65px;
        letter-spacing: 10px;
    }
}

@media (min-width: 1200px) {
    .one {
        padding-top: 150px;
    }
    .logo-titulo {
        font-size: 100px;
        letter-spacing: 10px;
    }
    .logo-subtitulo {
        top: 50%;
        left: 30%;
        font-size: 75px;
        letter-spacing: 15px;
    }
}

@media (min-width: 1400px) {
    .one {
        padding-top: 150px;
    }
    .logo-titulo {
        font-size: 100px;
        letter-spacing: 20px;
    }
    .logo-subtitulo {
        top: 50%;
        left: 30%;
        font-size: 80px;
        letter-spacing: 20px;
    }
}

@media (min-height: 700px) {
    .logo {
        height: 200px;
        width: 200px;
        max-height: 400px;
        max-width: 400px;
    }
}

@media (min-height: 800px) {
    .logo {
        height: 300px;
        width: 300px;
        max-height: 400px;
        max-width: 400px;
    }
}

@media (min-height: 900px) {
    .logo {
        height: 300px;
        width: 300px;
        max-height: 400px;
        max-width: 400px;
    }
}

@media (min-height: 1000px) {
    .logo {
        height: 400px;
        width: 400px;
        max-height: 400px;
        max-width: 400px;
    }
}

@media (min-height: 500px) and (min-width: 768px) {
    .logo {
        height: 400px;
        width: 400px;
    }
}

.photo-container {
    display: grid;
    grid-template-columns: repeat(4, 2fr);
    grid-auto-rows: 150px 300px;
    grid-gap: 0px;
    grid-auto-flow: dense;
}

.gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-item .image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    cursor: pointer;
    transition: .5s ease-in-out;
}

.gallery-item:hover .image img {
    transform: scale(1.5);
}

.gallery-item .text {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 25px;
    pointer-events: none;
    z-index: 4;
    transition: .4s ease-in-out;
    -webkit-backdrop-filter: blur(5px) saturate(1.8);
    backdrop-filter: blur(5px) saturate(1.8);
}

.gallery-item:hover .text {
    opacity: 1;
    animation: move-down .3s linear;
    padding: 1em;
    width: 100%;
}

.w-1 {
    grid-column: span 1;
}

.w-2 {
    grid-column: span 2;
}

.w-3 {
    grid-column: span 3;
}

.w-4 {
    grid-column: span 4;
}

.w-5 {
    grid-column: span 5;
}

.w-6 {
    grid-column: span 6;
}

.h-1 {
    grid-row: span 1;
}

.h-2 {
    grid-row: span 2;
}

.h-3 {
    grid-row: span 3;
}

.h-4 {
    grid-row: span 4;
}

.h-5 {
    grid-row: span 5;
}

.h-6 {
    grid-row: span 6;
}

@media screen and (max-width:500px) {
    .photo-container {
        display: block;
        /* grid-template-columns: repeat(1, 1fr); */
    }
    .w-1,
    .w-2,
    .w-3,
    .w-4,
    .w-5,
    .w-6 {
        -ms-grid-column-span: 1;
    }
}

@keyframes move-down {
    0% {
        top: 10%;
    }
    50% {
        top: 35%;
    }
    100% {
        top: 50%;
    }
}