/* STYLE */

* {
    /* outline:1px solid #f00; */
    transition: 0.5s ease-in-out;
    box-sizing: border-box;
}

body, html {
    font-family: "jaf-domus";
    position: relative;
    color: #44506F;
}

b, strong {
    font-weight: 700;
}

h1 {
    margin: 0px;
    position: absolute;
    left: 100px;
    top: 100px;
    color: #44506F;
    font-size: 31px;
    font-weight: 300;
}

h1:before {
    content: '';
    height: 3px;
    width: 100px;
    background: #00C89B;
    margin-bottom: 18px;
    display: block;
}

.legenda {
    position: absolute;
    right: 100px;
    top: 100px;
}

.logo {
    position: absolute;
    right: 100px;
    bottom: 70px;
}

.desktop {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: -50px;
    margin-top: -13px;
    width: 1020px;
}

.item {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index:2;
}

.item i {
    position: absolute;
    padding: 4px 24px;
    font-size: 18px;
    line-height: 100%;
    border-radius: 10px;
    color: #44506F;
    text-decoration: none;
    text-align: center;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    font-style: normal;
    white-space: nowrap;
    margin-bottom: 10px;
    font-weight: 700;
}

.item.bottom i{
    bottom:-10px;
}

.item.bottomer i{
    bottom:-20px;
}

.item.left i{
    left:auto;
    right:70%;
    transform: none;
    bottom:60%;
}

.item.left.bottom i{
    left:auto;
    right:60%;
    transform: none;
    bottom:10px;
}

.item.right i{
    transform: translateY(50%);
    left:85%;
    bottom:40%;
    text-align: left;
}

.item.right.top i{
    transform: translateY(50%);
    left:70%;
    bottom:70%;
    text-align: left;
}

.item.right.bottom i{
    transform: translateY(50%);
    left:70%;
    bottom:24px;
    text-align: left;
}

.item img {
    position: relative;
    display: block;
    transition: 0.3s ease-in-out;
    transform: scale(1);
}

.item:hover img {
    transform: scale(1.1);
}

.holder {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

@media(max-height:899px) {
    .holder {
        transform: scale(0.9);
    }
}

@media(max-width:1499px) {
    h1 {
        left: 40px;
    }

    .legenda, .logo {
        right: 40px;
    }

    .holder {
        transform: scale(0.9);
    }
}

@media(max-height:799px) {
    .holder {
        transform: scale(0.78);
    }
}

@media(max-width:1399px) {
    h1 {
        left: 40px;
        top: 40px;
    }

    .legenda {
        top: 40px;
        width: 200px;
    }

    .logo {
        bottom: 40px;
        width: 100px;
    }

    .holder {
        transform: scale(0.78);
    }
}

@media(max-height:699px) {
    .holder {
        transform: scale(0.65);
    }
}

@media(max-width:1199px) {
    h1 {
        left: 40px;
        top: 40px;
    }

    .legenda {
        top: 40px;
        width: 140px;
    }

    .logo {
        bottom: 40px;
        width: 100px;
    }

    .holder {
        transform: scale(0.65);
    }
}

@media(max-height:599px) {
    .holder {
        transform: scale(0.50);
    }
}

@media(max-width:991px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block !important;
    }

    body {
        padding: 20px;
    }

    h1, .logo {
        position: relative;
        right: auto;
        bottom: auto;
        top: 0px;
        left: 0px;
    }

    h1 {
        margin-bottom: 48px;
    }

    .logo {
        margin: 0px auto;
        display: block;
        margin-top: 48px;
        margin-bottom: 48px;
    }
}

/* MOBILE */

.mobile {
    display: none;
}

.item_mobile {
    display: flex;
    cursor: pointer;
    border: 1px solid #eee;
    border-radius: 10px;
    position: relative;
    gap: 10px;
    padding: 0px 10px;
    align-items: center;
    margin-bottom: 10px;
    text-decoration: none;
    font-weight: 600;
    padding-right: 20px;
    overflow: hidden;
}

.item_mobile i {
    font-size: 24px;
    font-style: normal;
    color: #44506F;
}

.item_mobile img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    position: relative;
    top: 5px;
}

@media(max-width:767px) {

    .item_mobile i {
        font-size: 16px;
        font-style: normal;
        color: #44506F;
    }
}

/* MODAL */

.overlay {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    z-index: 10;
    transition: 0s;
    display: none;
}

.modal {
    position: fixed;
    left: 0px;
    top: 50%;
    width: 100%;
    max-height: 100%;
    z-index: 10;
    overflow: auto;
    padding: 40px;
    transform: translateY(-50%);
    transition: 0s;
    pointer-events: none;
    display: none;
}

.modal_item {
    max-width: 100%;
    width: 1200px;
    border-radius: 20px;
    overflow: hidden;
    margin: 40px 0px;
    margin-bottom: 80px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    transition: 0s;
    pointer-events: all;
    display: none;
}

.modal_item_header {
    background: #aaa;
    padding: 40px;
    position: relative;
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    line-height: 37px;
}

.modal_item_header img {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.modal_item_header_close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal_item_header_close:before, .modal_item_header_close:after {
    content: '';
    width: 10px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal_item_header_close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal_item_content {
    padding: 40px;
    background: rgba(240, 240, 240, 0.5);
    backdrop-filter: blur(20px);
    background:#fff;
}

.modal_item_content p {
    margin:0px;
    padding:0px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 140%;
}

.modal_item_content p:last-child {
    margin-bottom: 0px;
}

.modal_item_content a {
    font-weight: 700;
    color:#FF8200;
    font-size: 16px;
    line-height: 140%;
    text-decoration: underline;
}

.modal_item_content.center {
    justify-content: center;
}

.modal_item_content_item {
    min-height: 190px;
    background: #fff;
    border-radius: 30px;
    flex-grow: 1;
    flex: 0 0 calc(25% - 15px);
    position: relative;
    padding:24px;
    padding-bottom:48px;
    font-size: 18px;
}

.modal_item_content_item.big {
    flex: 0 0 calc(75% - 15px);
}

.modal_item_content_item.medium {
    flex: 0 0 calc(50% - 15px);
}

.modal_item_content_item:before {
    content:'';
    left:24px;
    bottom:24px;
    position: absolute;
    width:100px;
    height:3px;
    background:#FF8200;
}

@media(max-width:1199px){
    .modal_item_content_item {
        flex: 0 0 calc(33.33% - 13.33px);
    }

    .modal_item_content_item.big {
        flex: 0 0 100%;
    }
    
    .modal_item_content_item.medium {
        flex: 0 0 100%;
    }
}

@media(max-width:991px){
    .modal_item_content_item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media(max-width:767px){
    .modal{
        padding:10px;
    }
    .modal_item_content_item {
        flex: 0 0 100%;
        min-height: 0px;
    }
    .modal_item_header{
        padding:24px;
        padding-right:100px;
    }
    .modal_item_content{
        padding:24px;
        justify-content: flex-start;
    }
}