body,
.canvaSans {
    font-family: 'CanvaSans', sans-serif !important;
}

h1,
h2,
h3,
.dkLiquidEmbrace {
    font-family: 'DKLiquidEmbrace', sans-serif !important;
}

.parallax {
    background-color: white !important;
    padding-bottom: 75px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    justify-content: center;
    padding-bottom: 0;
}

.parallax.top {
    background-image: url('/images/homepage/top_bg.png');
    background-position: center calc(80%);
    /*background-size: 115% auto;*/
    background-size: cover;
    color: var(--white);
    display: block;
}

.top>div {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.top img {
    width: 60%;
}

.parallax.o_que_somos {
    background-color: var(--light-blue) !important;
    color: var(--dark-blue);
}

.o_que_somos>div {
    display: flex;
    width: 60%;
    gap: 1em;
}

.o_que_somos .aRolisboa {
    flex: 1;
}

.o_que_somos h1,
.o_que_somos p {
    text-align: center;
}

.o_que_somos .videoCarousel {
    position: relative;
    flex: 2;
}

.o_que_somos .carouselViewport {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.o_que_somos .carouselTrack {
    display: flex;
    transition: transform .3s ease;
    height: 100%;
}

.o_que_somos .videoSlide {
    height: 100%;
    flex: 0 0 100%;
}

.o_que_somos .videoSlide iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 3px solid var(--dark-blue);
    border-radius: 25px;
}

.o_que_somos .carouselArrow {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 14px));
    z-index: 10;

    width: 30px;
    height: 30px;

    border: none;
    cursor: pointer;

    background: rgba(255, 255, 255, .6);
    color: var(--dark-blue);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
}

.o_que_somos .carouselArrow svg {
    width: 30px;
    height: 30px;
    display: block;
    stroke-width: 4;
    fill: none;
    stroke: currentColor;
}

.o_que_somos .prev {
    left: 10px;
}

.o_que_somos .next {
    right: 10px;
}

.o_que_somos .carouselDots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.o_que_somos .dot {
    width: 12px;
    height: 12px;

    border: none;
    border-radius: 50%;
    cursor: pointer;

    background: var(--light-grey);
}

.o_que_somos .dot.active {
    background: var(--dark-blue);
}

.parallax.tiles {
    background: linear-gradient(rgb(from var(--yellow) r g b / 50%), rgb(from var(--yellow) r g b / 50%)), url('/images/homepage/tiles_bg.jpg');
    color: var(--white);
    background-repeat: no-repeat;
    background-size: cover;
}

.tiles .blocosImagens {
    display: flex;
    align-items: center;
    width: 80%;
}

.tiles .blocosImagens div {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    flex-grow: 1;
    padding: 10px;
    pointer-events: none;
    height: 60%;
}

.tiles .blocosImagens div a {
    position: relative;
    color: var(--white);
    height: 100%;
}

.tiles .blocosImagens div a img {
    max-width: 100%;
    /*max-height: 210px;*/
    display: block;
    margin: 0px auto;
    /* padding-bottom: 10px; */
    pointer-events: all;
    border: 4px solid var(--dark-blue);
    border-radius: 25px;
    object-fit: cover;
    height: 100%;
}

.tiles .blocosImagens div a span {
    pointer-events: all;
    background-color: var(--dark-blue);
    border: 2px solid var(--white);
    border-radius: 25px;
    position: absolute;
    bottom: 10px;
    padding: 5px;
    width: 75%;
    transform: translate(-50%, 0);
}

.parallax.login {
    background-color: var(--dark-blue) !important;
    align-items: center;
}

.login>div {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 80%;
    gap: 1em;
}

.login-img {
    width: 100%;
    height: 100%;
    background-image: url(/images/homepage/login_img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border: 4px solid var(--white);
    border-radius: 25px;
}

.login .login-form {
    max-width: 280px;
    background: white;
}

.login .login-form form {
    padding: 0 10px;
}

.bottom {
    position: fixed;
    bottom: 0;
    background-color: var(--dark-grey);
    width: 100%;
    padding: 10px;
    justify-content: space-between;
    z-index: 180;
}

.blocosImagens div div a,
.bottom div span,
.bottom div a {
    color: white;
    text-decoration: unset;
}

.socials {
    display: flex;
    gap: 10px;
    justify-content: space-evenly;
}

.socials a {
    width: auto;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.socials a svg {
    width: 100%;
    height: 100%;
    fill: var(--white);
}

.socials a:hover svg {
    fill: var(--yellow);
}

@media only screen and (max-width: 830px) {
    .parallax.top {
        min-height: fit-content;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-position: center calc(80%);
        background-size: 100% auto;
    }

    .top>div {
        padding-bottom: 200px;
    }

    .top img {
        width: 80%;
    }

    .top h1>span:first-of-type,
    .top h1>span:last-of-type {
        white-space: nowrap;
        display: block;
        font-size: x-large;
    }

    .top h1>span:not(first-of-type):not(last-of-type) {
        display: none;
    }

    .o_que_somos>div,
    .tiles .blocosImagens {
        flex-direction: column;
        justify-content: center;
        width: 80%;
    }

    .o_que_somos .aRolisboa,
    .o_que_somos .videoCarousel {
        flex: 0;
    }

    .tiles .blocosImagens div {
        flex-grow: 0;
        height: unset;
    }

    .login>div {
        gap: 0;
        /*padding-bottom: 40px;*/
    }

    .login-img {
        display: none;
    }

    .bottom {
        justify-content: center;
        gap: 15px;
        padding-bottom: 20px;
    }

    .last-parallax {
        padding-bottom: 100px;
    }
}