html::before {
    content: '';
    position: fixed;
    top:0;
    left: 0;
    inset: 0;
    widtH: 100%;
    height: calc(var(--vh, 1vh) * 100);
    background-color: var(--transparent);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

html.lock:not(:has(header.open))::before,
html.lock:has(.project > .iframe-fullscreen)::before {
    background-color: #231F20;
    opacity: 0.9;
    z-index: 4;
}

/************************/
/*********BUTTON*********/
/************************/

section.content.contacts p+a.buttona.button,
section.hp_info button,
section.hp_info span.button,
section.content.project .file a.button {
    font-size: 1.125rem;
    text-transform: uppercase;
    position: relative;
    display: flex;
    gap: 27px;
    width: max-content;
    align-items: center;
    opacity: 1;
    transition: var(--transition);
    max-height: unset;
    margin-top: 63px;
}

section.content.project .file a.button {
    margin-top: 0;
}

section.content.contacts p+a.buttona.button,
section.content.project .file a.button {
    display: flex;
    align-items: center;
}

section.hp_info button.hidden,
section.hp_infospan.button.hidden {
    opacity: 0;
    height: 0;
    overflow: hidden;
    display: none;
}

/* section.hp_info button.button.less,
section.hp_info span.button.less {
    margin-top: 27px;
} */

section.content.contacts p+a.button::after,
section.content.contacts p>a::after,
section.hp_info .button::after,
section.hp_info span.button::after,
section.content.project .file a.button::after {
    content: "";
    mask-image: url(/assets/img/general/SVG/SVG/button_arrow.svg);
    mask-repeat: no-repeat;
    background-color: var(--black);
    width: 50px;
    position: relative;
    height: 10px;
    transform: rotate(180deg);
    transition: var(--transition);
}

section.content.project .file a.button::after {
    content: "";
    height: 10px;
    top: -2px;
}

section.content.contacts p+a.button::after,
section.content.contacts p>a::after,
section.hp_info button.button.less::after,
section.hp_info span.button.less::after {
    content: "";
    transform: rotate(0deg);
    top: 0px;
}

section.content.contacts p+a.button,
section.content.contacts p>a {
    display: flex;
    align-items: center;
    gap: 27px;
    text-transform: uppercase;
    font-size: 21px;
}

section.content.contacts p+a.button::after,
section.content.contacts p>a::after {
    height: 10px;
    top: 0;
}

section.contacts>a.button::after,
section.page-404 a.button::after {
    transform: rotate(0deg);
    top: 6px;
}

p {
    font-size: 30px;
}

p:last-of-type {
    font-size: 30px;
    margin-bottom: 0;
}

@media (max-width: 767px) {

    section.hp_info button.button,
    section.hp_info span.button {
        gap: 22px;
        font-size: 12px;
        margin-top: 40px;
    }

    section.hp_info button.button::after,
    section.hp_info span.button::after {
        content: "";
        width: 22px;
        top: -6px;
    }

    section.content.contacts p+a.button,
    section.content.contacts p>a {
        font-size: 12px;
        gap: 22px;
    }

    section.content.contacts p+a.button::after,
    section.content.contacts p>a::after {
        height: 10px;
        top: 2px;
        width: 22px;
    }

    section.content.project .file a.button {
        gap: 20px;
        text-align: start;
    }
}

@media (min-width: 1024px) {

    section.content.contacts p+a.butto:hover::after,
    section.hp_info button.button:hover::after,
    section.hp_info span.button:hover::after,
    section.content.project .file a.button:hover::after {
        transform: rotate(180deg) translateX(-5px);
    }

    section.content.contacts p+a.button:hover::after,
    section.content.contacts p>a:hover::after,
    section.hp_info button.button.less:hover::after,
    section.hp_info span.button.less:hover::after {
        transform: rotate(0deg) translateX(-5px);
    }

    section.content.contacts p+a.button:hover::after,
    section.contacts>a.button:hover::after,
    section.page-404>a.button:hover::after {
        transform: rotate(00deg) translateX(-5px);
        top: 6px;
    }

    section.content.contacts p+a.button:hover::after {
        top: unset;
    }
}

/**************************/
/**********HEADER**********/
/**************************/

header {
    position: fixed;
    z-index: 3;
    width: 100%;
}

header .desktop {
    display: flex;
    justify-content: space-between;
    padding-left: 25px;
    padding-right: 25px;
    padding-block: 20px;
    height: 120px;
    background-color: var(--white);
    align-items: center;
    top: 0;
    left: 0;
}

header+section {
    margin-top: 120px;
}

header .desktop .mid-container {
    opacity: 1;
    transition: var(--transition);
    margin-right: -30px;
}

header .desktop.mobile .mid-container {
    opacity: 0;
    display: none;
}

header .desktop .left-container a {
    display: block;
    max-width: 258px;
    min-width: 258px;
    width: 100%;
}

header .desktop .left-container a img {
    width: 100%;
    height: auto;
}

header .desktop .mid-container ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

header a {
    position: relative;
}

header a:not(.logo):not(.idiom)::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 1px;
    background-color: var(--black);
    opacity: 0;
    width: 100%;
    transition: var(--transition);
}

header a:not(.logo):not(.idiom):not(.active):hover::before {
    opacity: 1;
}

header .desktop .mid-container ul li {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(var(--black));
}

header .desktop .right-container {
    display: flex;
    gap: 20px;
}

header .desktop .right-container .menu-toggle {
    position: relative;
    margin: auto;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;

    gap: 8px;
    cursor: pointer;
    opacity: 0;
    display: none;
    pointer-events: auto;
    z-index: 99999;
}

header .desktop.mobile .right-container .menu-toggle {
    opacity: 1;
    display: flex;
    pointer-events: auto;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1;
}

header .desktop .right-container .menu-toggle span {
    height: 1px;
    width: 100%;
    background-color: var(--black);
    transition: var(--transition);
    pointer-events: none;
}

header .desktop .right-container .menu-toggle span:first-of-type {
    width: 80%;
}

header .desktop .right-container .menu-toggle:hover span:first-of-type {
    width: 100%;
}

header ul.menu li a.active {
    border-bottom: 1px solid var(--black);
}

header .desktop .right-container ul {
    display: flex;
}

header .desktop .right-container ul li {
    display: inline-flex;
    margin-right: 5px;
    margin-inline: 0;
}

header .desktop .right-container ul li:not(:first-child)::before,
header .side-menu li.idiom:not(:first-child)::before,
section.portfolio .filter-container.mobile .top-bar ul.idiom-container li:not(:first-child)::before {
    content: "|";
    color: inherit;
    margin-right: 5px;
}

header .desktop .right-container ul li a {
    margin-right: 5px;
    border-bottom: 1px solid var(--transparent);
}

header .desktop .right-container ul.idiom-container li.active a {
    font-weight: bold;
    font-family: var(--font-family-2);
}

header .side-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    transition: var(--transition);
    background-color: white;
    z-index: 1;
    will-change: transform;
}

header.open .side-menu {
    transform: translateX(0);
}

header .side-menu {
    height: 100%;
    padding-left: 40px;
    padding-block: 25px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding-right: 20px;
    background-color: var(--white);
}

header .side-menu ul li:not(:first-of-type) {
    display: block;
    margin-top: 32px;
}

header .side-menu .idiom-container .idiom {
    display: inline;
    margin-top: 0px;
}

header .side-menu .idiom-container .idiom ul li a {
    font-size: 9px;
}

header .side-menu .idiom-container ul li {
    margin-top: 0;
}

header .side-menu .idiom-container ul li:not(:first-child)::before {
    content: "|";
    color: inherit;
    margin-right: 5px;
}

header .side-menu .idiom-container ul li a.active {
    font-weight: bold;
}

header .side-menu ul {
    width: 100%;
}

header .side-menu ul li a {
    font-size: 16px;
    text-transform: uppercase;
}

header .side-menu ul li.idiom a {
    font-size: 12px;
}

header .side-menu ul li.idiom.active a {
    font-weight: bold;
}

header .side-menu .top-bar {
    position: absolute;
    top: 16px;
    right: 20px;
    left: 20px;
    display: flex;
    gap: 22px;
    align-items: center;
    width: calc(100% - 32px);
}

header .side-menu .top-bar img {
    width: 148px;
    height: auto;
    margin-right: auto;
    width: 148px;
}

header .side-menu .top-bar .idiom-container {
    margin-top: -2px;
}

header .side-menu .top-bar .menu-toggle {
    position: relative;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
    z-index: 99999;
}

header .side-menu .top-bar .menu-toggle span {
    height: 1px;
    width: 100%;
    background-color: var(--black);
    transition: var(--transition);
    pointer-events: none;
}

/* Second span rotates to form "/" */
header .side-menu .top-bar .menu-toggle span:first-child {
    width: 80%;
}

@media (min-width: 1400px) {
    
    header .desktop {
        padding-left: 70px;
        padding-right: 70px;
    }

}

@media (min-width: 1024px) {
    
    header .desktop .right-container {
        max-width: 258px;
        justify-content: end;
        width: 100%;
    }
}

@media (max-width: 768px) {
    header .side-menu ul li {
        font-size: 9px;
    }

    header .desktop {
        height: max-content;
        padding-top: 16px;
        padding-inline: 30px;
        padding-bottom: 11px;
    }

    header .desktop .mid-container {
        display: none;
    }

    header .desktop .left-container a {
        min-width: 154px;
        max-width: 154px;
    }

    header a:not(.logo):not(.idiom):hover::before {
        opacity: 0;
    }

    header .desktop .right-container .menu-toggle {
        opacity: 1;
    }

    header .desktop .right-container .menu-toggle:hover span:first-of-type {
        width: 80%;
    }

    header .desktop .right-container ul li {
        font-size: 12px;
    }

    header .desktop .right-container ul {
        margin-top: -2px;
    }

    header .desktop .right-container .menu-toggle {
        display: block;
    }
}

@media (min-width: 1024px) {
    header .desktop .right-container ul li a:not(.active):hover {
        border-bottom: 1px solid var(--black);
    }
}

/**************************/
/**********FOOTER**********/
/**************************/

footer {
    width: 100%;
    position: relative;
    margin-top: auto;
}

footer p {
    font-size: 1.385rem;
}

footer a {
    font-size: 18px;
    border-bottom: 1px solid var(--transparent);
}

footer .upper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 80px;
    padding-block: 95px;
    padding-bottom: 50px;
    position: relative;
}

footer .bottom {
    padding: 30px 80px 40px 80px;
    display: flex;
    justify-content: space-between;
    background-color: var(--black);
}

footer .bottom div {
    display: flex;
    align-items: start;
    gap: 5px;
}

footer .bottom p {
    text-transform: uppercase;
    margin: 0;
    color: var(--white);
    font-size: 18px;
}

footer .bottom>div:first-of-type p::after {
    content: " |";
    display: inline-block;
    margin-left: 4px;
    color: var(--white);
}

footer .bottom>div:first-of-type p:last-of-type:after {
    content: none;
    display: inline-block;
    margin-left: 5px;
}

footer .upper::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: var(--black);
}

footer .upper div p,
footer .upper div p {
    width: max-content;
    min-width: unset;
}

footer .upper>div:first-of-type {
    max-width: 365px;
}

footer .upper>div:last-of-type,
footer .upper>div:last-of-type>div:last-of-type {
    display: flex;
    gap: 85px;
}

footer .upper>div:last-of-type>div:last-of-type {
    display: flex;
}

footer .upper div span {
    display: block;
    max-width: 235px;
    margin-top: 0;
}

footer .upper div span+img {
    margin-top: 25px;
    max-width: 365px;
}

footer .upper div>p {
    font-weight: bold;
    font-size: 18px;
    max-width: 455px;
    min-width: 365px;
    margin: 0;
}

footer .newsletter {
    display: flex;
    flex-direction: column;
    margin-top: 0px;
    position: relative;
    max-width: 365px;
    border-bottom: 1px solid var(--black);
}

footer .newsletter>p {
    text-transform: uppercase;
}

footer input {
    all: unset;
    /* Resets most default styles */
    appearance: none;
    /* Removes OS-specific styles */
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    width: auto;
}

footer .newsletter input {
    font-size: 18px;
    margin-top: 35px;
    width: 100%;
}

footer .newsletter form {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

footer .newsletter button {
    margin: 0;
    margin-top: 0px;
    padding: 0;
    display: block;
    width: max-content;
    height: 20px;
    margin-top: 34px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--transparent);
    font-size: 18px;
}

footer .newsletter button[disabled] {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
    border-bottom: 1px solid var(--transparent);
}

footer .newsletter button:not([disabled]) {
    border-bottom: 1px solid var(--black);
}

footer .newsletter>p {
    margin: 0;
}

footer .newsletter+div {
    margin-left: auto;
}

footer .newsletter+div>div {
    width: max-content;
}

footer .newsletter+div>div p {
    min-width: unset;
    max-width: max-content;
}

footer .newsletter+div>div p strong {
    font-size: 15px;
    font-weight: bold;
    font-family: var(--font-family-2);

}

footer div>p,
footer div>p {
    text-transform: uppercase;
}

footer div>p:not(:first-of-type),
footer div>p:not(:first-of-type) {
    margin-top: 25px;
    text-transform: none;
    font-weight: normal;
}

footer div>p:last-of-type {
    margin-top: 11px;
}

footer .upper .newsletter>p,
footer .bottom div>p {
    margin-top: 0;
    text-transform: uppercase;
}

footer .bottom div>p:last-of-type {
    margin-top: 0;
}

footer .bottom div>p:last-of-type a {
    border-bottom: 1px solid var(--transparent);
}


footer .upper .newsletter>p {
    font-size: 15px;
    font-weight: bold;
    margin-top: 0;
    font-family: var(--font-family-2);
    line-height: 1.6;
}

footer .bottom .menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 1400px) {

    footer .upper,
    footer .bottom {
        padding-inline: 40px;
        gap: 50px;
        flex-wrap: wrap;
    }

    footer .upper>div:last-of-type,
    footer .upper>div:last-of-type>div:last-of-type {
        gap: 50px;
        justify-content: end;
        width: 100%;
        display: flex;
    }

    footer a,
    footer p,
    footer .upper div>p {
        font-size: 16px;
    }
}

@media (max-width: 1192px) {
    footer .upper {
        justify-content: start;
    }
}

@media (max-width: 768px) {
    footer {
        margin-top: 5px;
    }

    footer .newsletter button {
        font-size: 11px;
        margin-top: 16px;
    }

    footer .upper>div:last-of-type {
        flex-direction: column;
    }

    footer .upper>div:last-of-type>div:last-of-type {
        justify-content: space-between;
    }

    footer a,
    footer p,
    footer .upper div>p {
        font-size: 15px;
    }

    footer .bottom p,
    footer .bottom a {
        font-size: 12px;
    }

    footer .upper,
    footer .bottom {
        padding-inline: 30px;
    }

    footer .upper {
        gap: 75px;
        padding-top: 95px;
    }

    footer .upper div span {
        max-width: 145px;
    }

    footer .upper div span+p {
        margin-top: 10px;
    }

    footer .newsletter input {
        margin-top: 35px;
        font-size: 11px;
        padding-bottom: 10px;
        width: 100%;
    }

    footer .newsletter::before {
        font-size: 11px;
        bottom: 0px;
    }

    footer div>p:not(:first-of-type),
    footer div>p:not(:first-of-type) {
        margin-top: 10px;
    }

    footer div>p:not(:first-of-type),
    footer div>p:not(:first-of-type) {
        margin-top: 25px;
    }

    footer div>p:last-of-type,
    footer div>p:last-of-type {
        margin-top: 15px;
    }

    footer .bottom {
        padding: 50px 30px;
        flex-direction: column-reverse;
        gap: 38px;
    }
}

@media (max-width: 450px) {
    footer .upper div>p {
        min-width: unset;
    }

    footer .newsletter {
        max-width: 100%;
    }

    footer .bottom div {
        flex-direction: column;
    }

    footer .bottom>div:first-of-type p::after {
        content: none;
    }
}

@media (min-width: 1024px) {
    footer a:hover {
        border-bottom: 1px solid var(--white);
    }

    footer .bottom div>p:last-of-type a:hover {
        border-bottom: 1px solid var(--white);
    }

    footer .upper {
        padding-top: 145px;
    }
}

/********************/
/******CONTACTS******/
/********************/

input,
textarea,
select,
button {
    all: unset;
    /* Resets all properties to their default */
    box-sizing: border-box;
    /* Ensures padding and border are included in width */
    width: 100%;
    /* Optional: Adjust width behavior */
}

/* Optionally, reset focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

.honey-input {
    display: none;
}

.contacts .form {
    border: 2px solid var(--black);
    padding: 45px;
}

.contacts .form input,
.contacts .form textarea {
    font-size: 30px;
    font-weight: 500;
    border-bottom: 1px solid var(--black);
    padding-bottom: 12px;
    font-family: var(--font-family-2);
    font-weight: normal;
}

.contacts .form textarea {
    border-bottom: 1px solid var(--transparent);
}

.contacts .form .input-wrapper {
    position: relative;
}

label {
    position: absolute;
    top: 0px;
    left: 0;
    font-size: 30px;
    transition: var(--transition);
    pointer-events: none;
}

.contacts .form a {
    text-align: end;
    padding: 9px 34px;
    background-color: var(--black);
    color: var(--white);
    transition: var(--transition);
    display: block;
    margin-left: auto;
    font-size: 30px;
}

.contacts .form .row {
    --gap-v: 45px;
}

.select-wrapper:has(.isSelected) label,
.filter-wrapper:has(.isSelected)+label,
input:focus+label,
textarea:focus+label,
.input-wrapper.filled label,
.input-wrapper.filled input:focus+label,
.input-wrapper.filled textarea:focus+label,
.input-wrapper.filled input:not(:focus)+label,
.input-wrapper.filled textarea:not(:focus)+label {
    top: -20px;
    font-size: 11px;
    color: var(--black);
    font-weight: normal;
    z-index: 2;
    font-size: 11px;
    opacity: 1;
    transition: var(--transition);
}

.input-wrapper:has(.isSelected) label {
    z-index: 0;
}

.input-wrapper.filled label {
    top: -5px;
    font-size: 0.7rem;
    opacity: 0.3;
}

.select-wrapper.filled label {
    top: -20px;
    opacity: 1;
}

/* For Chrome, Safari, Edge, and Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.contacts .custom-select .placeholder {
    border-bottom: 1px solid var(--black);
    cursor: pointer;
    font-size: 30px;
    top: -18px;
}

.contacts .custom-select .options>div {
    width: max-content;
    font-size: 24px;
}

.contacts .custom-select:not(.has-reset) .placeholder::before {
    top: -15px;
    right: unset;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    transform: rotate(45deg);
    pointer-events: none;
    left: 120px;
}

.contacts .custom-select.has-reset .placeholder>div.reset {
    top: 0px;
    bottom: 0;
    right: unset;
    margin-inline: 0;
    width: 19px;
    height: 10px;
    overflow: hidden;
    pointer-events: none;
    left: unset;
    right: 0;
}

.contacts.custom-select .options>div.selected,
.contacts .custom-select .options>div:hover {
    display: block;
    width: max-content;
}

.contacts .custom-select.has-reset.isSelected .placeholder>div.reset {
    top: 0px;
    pointer-events: auto;
}

.custom-select:not(.has-reset) .placeholder::before {
    content: "";
    position: absolute;
    top: -2px;
    bottom: 0;
    right: 2px;
    margin: auto;
    width: 6px;
    height: 6px;
    border-right: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
    transform: rotate(45deg);
    pointer-events: none;
}

.contacts .custom-select.has-reset .placeholder>div.reset::before,
.contacts .custom-select.has-reset .placeholder>div.reset::after {
    width: 20px;
    height: 2px;
    transition: var(--transition);
}

.contacts .custom-select.has-reset .placeholder>div.reset::before {
    transform: rotate(60deg);
}

.contacts .custom-select.has-reset .placeholder>div.reset::after {
    transform: rotate(-60deg);
}

.contacts .custom-select.has-reset.open .placeholder>div.reset,
.contacts .custom-select.has-reset.isSelected .placeholder>div.reset {
    /* right: 0; */
    left: unset;
}

.contacts .custom-select .options-wrapper {
    border-left: 1px solid var(--transparent);
    border-right: 1px solid var(--transparent);
    border-bottom: 1px solid var(--transparent);
}

@media (max-width: 1400px) {

    label,
    .contacts .placeholder {
        font-size: 22px;
    }

    .contacts .form {
        padding: 25px;
    }

    .contacts .form input,
    .contacts .form textarea {
        font-size: 22px;
    }

    .contacts .form a {
        font-size: 22px;
    }

    .contacts .custom-select .placeholder {
        font-size: 22px;
    }

    .contacts .custom-select.has-reset .placeholder>div.reset {
        top: 6px;
    }

    section.hp_info.contacts>div:first-of-type {
        max-width: 40%;
    }

    section.hp_info.contacts>div:last-of-type {
        padding: 23px;
        margin-top: 10px;
        padding-inline: 15px;
        padding-bottom: 15px;
    }
}

@media (max-width: 768px) {

    .form label,
    .form input,
    .form textarea,
    .contacts .form a {
        font-size: 14px;
    }

    .contacts .form a {
        padding: 5px 18px;
    }

    .contacts .form input,
    .contacts .form textarea {
        padding-bottom: 8px;
        font-size: 14px;
    }

    .contacts .custom-select .placeholder {
        font-size: 14px;
        padding-block: 12px;
    }

    .contacts .form .row {
        --gap-v: 25px;
    }

    .contacts .custom-select.has-reset .placeholder>div.reset::before,
    .contacts .custom-select.has-reset .placeholder>div.reset::after {
        width: 15px;
        height: 1px;
    }
}

@media (min-width: 1024px) {
    .contacts .form a {
        transition: var(--transition);
        border: 1px solid var(--black);
    }

    .contacts .form a:hover {
        background-color: var(--white);
        color: var(--black);
        border: 1px solid var(--black);
    }
}

/***********************/
/*******PORTEFOLIO******/
/***********************/

section.portfolio,
section.content {
    /* max-width: 1920px; */
    width: 100%;
    padding-inline: 70px;
    margin-inline: auto;
    margin-top: 165px;
}

section.portfolio>div:first-of-type {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    gap: 50px;
    align-items: center;
}

section.portfolio h1 {
    font-family: var(--font-family-2);
    font-size: 2.813rem;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
}

section.portfolio img {
    aspect-ratio: 300 / 456;
}

section.portfolio .filter-container {
    display: flex;
    gap: 0px;
    justify-content: start;
    position: relative;
    align-items: center;
}

section.portfolio.buy .filter-container {
    display: flex;
    gap: 0px;
    justify-content: start;
    position: relative;
    align-items: center;
}

section.portfolio.buy .filter-container ul.open {
    width: unset;
}

section.portfolio .filter-container span {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 42px;
    vertical-align: middle;
    cursor: pointer;
    transition: var(--transition);
}

section.portfolio .filter-container span svg {
    transition: var(--transition);
    pointer-events: none;
}

section.portfolio .filter-container ul {
    display: flex;
    gap: 25px;
    justify-content: start;
    align-items: center;
    max-width: 0;
    opacity: 0;
    transition: var(--transition);
    overflow: hidden;
    transform: translateX(0%);
}

section.portfolio .filter-container ul.open {
    position: relative;
    max-width: 630px;
    opacity: 1;
    transform: translateX(0%);
}

section.portfolio .filter-container ul li {
    font-family: var(--font-family-2);
    font-size: 0.938rem;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
    padding: 2px 9px;
    border: 2px solid var(--black);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

section.portfolio .filter-container ul li.active {
    background-color: var(--black);
    color: white;
}

section.portfolio .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 80px 66px;
    margin-top: 50px;
}

section.portfolio .grid.items:not(:has(.grid-item)) {
    display: block;
}

section.portfolio .grid.items.empty {
    display: block;
}

section.portfolio .grid-item {
    text-align: center;
}

section.portfolio .grid-item>div:last-of-type {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

section.portfolio .grid-item>div:last-of-type span:first-of-type {
    font-size: 1.063rem;
    font-size: 0.875rem;
    font-family: var(--font-family);
    text-transform: uppercase;
    text-align: left;
}

section.portfolio .grid-item>div:last-of-type span:last-of-type {
    font-family: var(--font-family-2);
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 500;
    border: 2px solid var(--black);
    padding: 3.5px 9px 2px;
    line-height: 1;
}

section.portfolio.buy .grid-item>div:last-of-type>span:last-of-type {
    pointer-events: none;
    cursor: default;
}


/* Portfolio Map */
.portfolio-map {
    margin-top: 80px;
}

.portfolio-map #portfolio-map {
    width: 100%;
    height: 600px;
}

/* Reset Google Maps InfoWindow styling */
.portfolio-map .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    max-width: 340px !important;
    background-color: #F0EFEB !important;
}

.portfolio-map .gm-style-iw-d {
    overflow: hidden !important;
    max-height: none !important;
    padding: 0 !important;
}

.portfolio-map .gm-style-iw-tc,
.portfolio-map .gm-style-iw-tc::after {
    display: none;
}

.portfolio-map .gm-ui-hover-effect {
    display: none !important;
}

.portfolio-map .gm-style-iw-chr {
    display: none !important;
}

.portfolio-map .map-popup {
    display: flex;
    flex-direction: row;
    width: 320px;
}

.portfolio-map .map-popup-img {
    width: 140px;
    min-height: 160px;
    flex-shrink: 0;
    overflow: hidden;
}

.portfolio-map .map-popup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-map .map-popup-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.portfolio-map .map-popup-info h3 {
    font-family: var(--font-family-2);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

.portfolio-map .map-popup-info p {
    font-size: 14px;
    margin: 0;
    color: #666;
}

.portfolio-map .map-popup-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    justify-content: space-between;
}

.portfolio-map .map-popup-actions span {
    font-size: 9px;
    font-family: var(--font-family-2);
    text-transform: uppercase;
    padding: 2px 6px;
    border: 1px solid var(--black);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    line-height: 1;
    font-weight: 500;
}

.portfolio-map .map-popup-actions a {
    font-size: 9px;
    font-family: var(--font-family-2);
    text-transform: uppercase;
    padding: 2px 6px;
    border: 1px solid var(--black);
    letter-spacing: 0.5px;
    text-decoration: none;
    color: var(--black);
    transition: var(--transition);
    display: flex;
    align-items: center;
    line-height: 1;
    font-weight: 500;
}

.portfolio-map .map-popup-actions a:hover {
    background-color: var(--black);
    color: var(--white);
}

@media (max-width: 768px) {
    .portfolio-map #portfolio-map {
        height: 400px;
    }

    .portfolio-map .map-popup {
        width: 280px;
    }

    .portfolio-map .map-popup-img {
        width: 110px;
        min-height: 140px;
    }
}

.call-to-action {
    border: 2px solid var(--black);
    padding: 50px 70px;
    margin-top: 120px;
    text-align: right;
}

.call-to-action p {
    text-align: start;
}

.call-to-action h2 {
    font-size: 5rem;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-family-2);
    text-align: start;
    margin: 0;
}

.call-to-action a {
    margin-left: auto;
    text-transform: uppercase;
    font-size: 18px;
    display: inline-flex;
    gap: 27px;
    align-items: center;
    justify-content: start;
    margin-top: 50px;
}

.call-to-action a::after {
    content: "";
    mask-image: url(/assets/img/general/SVG/SVG/button_arrow.svg);
    mask-repeat: no-repeat;
    background-color: var(--black);
    width: 50px;
    height: 10px;
    position: absolute;
    transform: rotate(180deg);
    top: -1px;
    transition: var(--transition);
    top: 0;
    right: -39px;
}


section.portfolio .filter-container>ul+span {
    transition: var(--transition);
    opacity: 1;
    width: 51px;
    height: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

section.portfolio .filter-container>ul+span>span {
    transition: var(--transition);
    opacity: 1;
    width: 50px;
    height: 1px;
    border-radius: 10px;
    background-color: var(--black);
    position: relative;
    pointer-events: none;
}

section.portfolio .filter-container>ul+span>span::before {
    content: "";
    display: inline-block;
    transition: var(--transition);
    width: 7px;
    height: 7px;
    border: 2px solid black;
    background-color: var(--white);
    border-radius: 50%;
    top: -5px;
    position: absolute;
    left: 9px;
}

section.portfolio .filter-container>ul+span>span:first-of-type::before,
section.portfolio .filter-container>ul+span>span:last-of-type::before {
    left: 28px;
}

section.portfolio .filter-container>ul.open+span {
    opacity: 0;
    width: 0;
    pointer-events: none;
}

section.portfolio .filter-container span {
    transition: var(--transition);
}

section.portfolio .filter-container span.close {
    height: 36px;
    width: 29px;
    position: relative;
    display: block;
    background-color: var(--transparent);
}

section.portfolio .filter-container span.close::before,
section.portfolio .filter-container span.close::after {
    content: "";
    height: 4px;
    width: 40px;
    background-color: var(--black);
    position: absolute;
    top: 15px;
    left: -4px;
    right: 0;
    bottom: 0;
    display: block;
    border-radius: 20px;
}

section.portfolio .filter-container span.close::before {
    transform: rotate(50deg);
}

section.portfolio .filter-container span.close::after {
    transform: rotate(-50deg);
}

section.portfolio .filter-container.mobile {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* transform: translateY(100%); */
    background-color: var(--white);
    transition: var(--transition);
    z-index: 3;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
}

section.portfolio .filter-container.mobile .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 20px;
    height: 70px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

section.portfolio .filter-container.mobile .top-bar ul.idiom-container {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    opacity: 1;
    max-width: unset;
    position: relative;
    top: 5px;
}

section.portfolio .filter-container.mobile>span {
    display: block;
    margin-top: 45px;
    left: unset;
    position: relative;
    width: 100%;
    padding: 7px 10px;
    border: 2px solid var(--black);
    font-family: var(--font-family-2);
    font-size: 15px;
    text-transform: uppercase;
    text-align: center;
    height: auto;
}

section.portfolio .filter-container.mobile span.close {
    height: 30px;
    width: 15px;
    top: 0px;
}

section.portfolio .filter-container.mobile span.close::before,
section.portfolio .filter-container.mobile span.close::after {
    content: "";
    height: 2px;
    width: 20px;
    background-color: var(--black);
    position: absolute;
    top: 15px;
    left: -2px;
    right: 0;
    bottom: 0;
    display: block;
}

section.portfolio .filter-container .top-bar+ul {
    opacity: 1;
    display: contents;
    max-width: unset;
    overflow: auto;
    transform: none;
    width: 100%;
}

section.portfolio .filter-container.mobile a {
    display: inline-block;
    width: 154px;
    height: auto;
}

section.portfolio .filter-container.mobile a img {
    display: inline-block;
    width: 154px;
    height: auto;
    aspect-ratio: unset;
}

section.portfolio .filter-container.mobile ul li {
    display: block;
    margin-top: 20px;
    font-size: 15px;
}

section.portfolio .filter-container.mobile .top-bar>div {
    display: flex;
    gap: 22px;
    align-items: start;

}

section.portfolio .filter-container.mobile .top-bar ul.idiom-container li {
    display: inline;
    margin-top: 0;
    font-size: 12px;
    border: none;
    background-color: var(--white);
    color: var(--black);
    padding: 0;
    font-weight: 300;
}

section.portfolio .filter-container.mobile .top-bar ul.idiom-container li.active {
    font-weight: 500;
}

section.portfolio .filter-container.mobile .top-bar ul.idiom-container li a {
    display: inline;
    border: none;
}

section.portfolio .filter-container.mobile ul li:not(:first-of-type) {
    display: block;
    margin-top: 20px;
}

section.portfolio .filter-container.mobile.fixed {
    transform: translateY(0%);
    z-index: 5;
    margin-top: 0;
    opacity: 1;
    pointer-events: all;

}


section.portfolio .img-container {
    position: relative;
}

section.portfolio .img-container>.svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    margin: auto;
    background-color: black;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: var(--transition);
}

section.portfolio .img-container:hover>.svg {
    opacity: 0.7;
}

section.portfolio>div:last-of-type p {
    text-align: start;
}


@media (max-width: 1600px) {

    section.portfolio .grid {
        gap: 35px 25px;
    }

}

@media (max-width: 1400px) {

    section.portfolio h1 {
        font-size: 2.5rem;
    }

    section.portfolio>div:last-of-type p {
        font-size: 24px;
    }

    section.content {
        padding-inline: 30px;
    }


    .call-to-action h2 {
        font-size: 3rem;
    }

    section.portfolio .grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 1024px) {
    section.portfolio>div:first-of-type {
        gap: 15px;
    }

    section.portfolio h1 {
        font-size: 1.6rem;
        max-width: 75%;
    }

    section.portfolio .filter-container {
        gap: 0px;
    }

    section.portfolio .filter-container ul.open {
        width: 396px;
        gap: 10px;
    }

    section.portfolio .filter-container ul li {
        font-size: 10px;
    }

    section.portfolio .filter-container span {
        width: 35px;
        height: 30px;
    }

    section.portfolio .filter-container span.close {
        height: 30px;
        width: 18px;
    }

    section.portfolio .filter-container span.close::before,
    section.portfolio .filter-container span.close::after {
        content: "";
        height: 2px;
        width: 15px;
        top: 13px;
        left: 1px;
    }

    section.portfolio>div:last-of-type {
        padding: 20px;
    }

    section.portfolio>div:last-of-type p {
        font-size: 20px;
    }

    .call-to-action a {
        font-size: 12px;
        gap: 15px;
        margin-top: 36px;
        right: 0px;
        position: relative;
    }

    .call-to-action a::after {
        content: "";
        width: 25px;
        height: 10px;
        top: -1px;
    }
}


@media (min-width: 1750px) {

    section.portfolio .grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}



@media(max-width: 992px) {
            
    section.portfolio .grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

}

@media (max-width: 767px) {
    section.portfolio {
        margin-top: 115px;
        padding-inline: 27px;
    }

    section.portfolio .grid {
        margin-top: 30px;
    }

    section.portfolio>div:first-of-type {
        margin-top: 0px;
        align-items: flex-start;
    }

    section.portfolio.buy>div:first-of-type {
        flex-direction: column;
        align-items: baseline;
    }

    section.portfolio .grid-item>div:last-of-type span:last-of-type {
        border: 1px solid var(--black);
    }

    section.portfolio>div:last-of-type h2 {
        font-size: 30px;
    }

    section.portfolio .filter-container ul li {
        font-size: 10px;
        padding: 1px;
        padding-inline: 6px;
    }

    section.portfolio .filter-container>ul+span.fixed {
        position: fixed;
        right: 36px;
        z-index: 1;
        top: unset;
        left: unset;
    }


    section.portfolio.buy .filter-container>ul+span.fixed {
        left: 12px;
        top: 0px;
    }

    section.portfolio>div:last-of-type {
        margin-top: 85px;
    }

    section.portfolio>div:last-of-type p {
        font-size: 18px;
        margin: 0;
        margin-top: 25px;
    }

    section.portfolio>div:last-of-type a {
        margin-left: 0;
        margin-top: 32px;
        position: relative;
    }

    section.portfolio>div:last-of-type {
        padding: 25px 20px;
    }

    section.portfolio .filter-container>ul+span {
        width: 30px;
        left: -9px;
        top: 0px;
        height: 25px;
        gap: 8px;
    }

    section.portfolio.buy .filter-container>ul+span {
        left: 12px;
        position: absolute;
        top: 0px;
    }

    section.portfolio.buy .filter-container>ul+span {
        left: 12px;
        position: absolute;
        top: 0;
    }

    section.portfolio.buy .filter-container>ul+span.filter {
        left: 0px;
        position: relative;
    }

    section.portfolio .filter-container>ul+span::before {
        content: "";
        position: absolute;
        background-color: var(--white);
        border-radius: 100%;
        width: 50px;
        height: 50px;
        z-index: -1;
        top: -9px;
        left: -10px;
    }

    section.portfolio .filter-container>ul+span>span {
        width: 39px;
        left: -4px;
        top: 3px;
    }

    section.portfolio .filter-container>ul+span>span::before {
        width: 5px;
        height: 5px;
    }

    section.portfolio .filter-container>ul+span>span:first-of-type::before,
    section.portfolio .filter-container>ul+span>span:last-of-type::before {
        left: 22px;
        top: -4px;
    }

    section.portfolio .filter-container>ul+span>span::before {
        left: 6px;
    }

    section.portfolio .filter-container>ul+span>span section.portfolio .filter-container>ul+span>span::before {
        content: "";
        display: inline-block;
        transition: var(--transition);
        width: 5px;
        height: 5px;
        border: 3px solid black;
        background-color: white;
        border-radius: 50%;
        top: -4px;
        position: absolute;
        left: 6px;
    }



    section.content.project .file a.button::after {
        content: "";
        width: 25px;
        height: 5px;
        top: 0;
    }

    section.portfolio .grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }


}


@media (min-width: 1024px) {

    section.portfolio .filter-container span:hover svg path.dot1,
    section.portfolio .filter-container span:hover svg path.dot3 {
        transform: translateX(-3px);
    }

    section.portfolio .filter-container span:hover svg path.dot2 {
        transform: translateX(3px);
    }

    section.portfolio .filter-container span:hover svg path.left {
        transform: scaleX(1.2);
        transform-origin: right;
    }

    section.portfolio .filter-container span:hover svg path.right {
        transform: scaleX(0.9);
        transform-origin: left;
    }

    section.portfolio .img-container:hover::before {
        opacity: 0.7;
    }

    section.portfolio .filter-container>ul+span:hover>span:first-of-type::before,
    section.portfolio .filter-container>ul+span:hover>span:last-of-type::before {
        left: 26px;
    }

    section.portfolio .filter-container>ul+span:hover>span::before {
        left: 11px;
    }

    section.portfolio .filter-container ul li:hover {
        color: var(--white);
        background-color: var(--black);
        transition: var(--transition);
    }

    section.portfolio .grid-item>div:last-of-type span:last-of-type:hover {
        transition: var(--transition);
        color: var(--white);
        background-color: var(--black);
    }

    .call-to-action a:hover::after {
        content: "";
        transform: rotate(180deg) translateX(-5px);
    }

    section.content.project .file a.button:hover::after {
        transform: rotate(180deg) translateX(-5px);
    }

    .call-to-action a::after {
        position: relative;
        right: unset;
    }

}

/*************************/
/*****PAGINA OBRIGADO*****/
/*************************/

.content.contacts .container {
    margin-inline: auto;
    position: relative;
    display: inline-block;
    max-width: unset;
}

.content.contacts .container ul,
.content.page-404 .container ul {
    display: flex;
    gap: 5px;
    justify-content: center;
    font-size: 11px;
    margin-top: 50px;
    position: relative;
}

.content.contacts .container h1,
.content.page-404 .container h1 {
    font-size: 80px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
}

.content.contacts .container>ul li+li::before,
.content.page-404 .container>ul li+li::before,
.content.contacts ul li+li::before {
    content: "/";
    padding-left: 0px;
    padding-right: 7px;
    font-size: 0.563rem;
    font-weight: 200;
    color: var(--black);
}

.content.contacts p,
.content.page-404 p {
    text-align: center;
}

@media (max-width: 1192px) {

    .content.contacts .container h1,
    .content.page-404 .container h1 {
        font-size: 40px;
    }

    .content.contacts p,
    .content.page-404 p {
        font-size: 20px;
        padding-block: 30px;
    }
}

/*************************/
/*****PAGINA PROJETO******/
/*************************/

body.project {
    background-color: var(--white);
}

.project h1,
.about h1 {
    margin: 0;
    margin-top: 157px;
    font-size: 45px;
    font-family: var(--font-family-2);
    font-weight: 500;
    display: block;
    position: relative;
    text-transform: uppercase;
    padding-inline: 70px;
    margin-left: -3px;
}

.project .banner {
    margin-top: 20px;
    width: 100%;
    height: 100%;
    aspect-ratio: 1920 / 860;
}

.project section.content {
    margin-top: 60px;
    padding-inline: 75px;
}

section.project button.button.more+div.closed {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

section.project button.button.more+div {
    margin-top: 28px;
    height: unset;
    opacity: 1;
    overflow: hidden;
}

.project .content section>div {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.project .content section>div:first-of-type {
    width: 100%;
}

.project .content section>div:first-of-type>div:first-of-type {
    width: 100%;
    display: flex;
    gap: 22px;
}

.project .content section>div:first-of-type>div:first-of-type>.list {
    min-width: 50%;
    width: calc(50% - 22px);
}

.project .content section>div:first-of-type>div:first-of-type>.list .button {
    display: inline-flex;
    position: relative;
    gap: 27px;
    width: auto;
}

.project .content section>div:first-of-type>div:first-of-type>.list .button::after {
    content: "";
    mask-image: url(/assets/img/general/SVG/SVG/button_arrow.svg);
    mask-repeat: no-repeat;
    background-color: var(--black);
    width: 50px;
    position: relative;
    transform: rotate(180deg);
    /* top: -6px; */
    transition: var(--transition);
}


.project .content section>div:first-of-type>div:first-of-type>.list:only-child {
    min-width: 100%;
}

.project .content section>div:first-of-type>div:last-of-type:has(p) {
    gap: 20px;
    max-width: 100%;
}

.project .content section > div:first-of-type > div.project-description-wrapper {
    gap: 60px !important;
    max-width: 100%;
}

.project .content section>div:first-of-type>div>div>.list {
    width: 100%;
    width: calc(50% - 22px);
}

.project .content section>div:first-of-type>div>.file {
    min-width: 50%;
    width: calc(50% - 22px);
}

.project .content section>div .file {
    width: 100%;
}

.project .content section>div .file ul li .file a {
    margin-left: auto;
    width: 100% !important;
}

.project .content section>div .file ul li .file a::before {
    content: "";
    position: relative;
    mask-image: url(/assets/img/general/SVG/PDF.svg);
    -webkit-mask-image: url(/assets/img/general/SVG/PDF.svg);
    width: 30px;
    height: 36px;
    background-color: gray;
    mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
    margin-right: auto;

}

.project .content section>div.arrows {
    display: flex;
    position: absolute;
    inset: 0;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    padding-inline: 35px;
    height: 60px;
    pointer-events: none;
}

.project .content section>div.arrows .prev,
.project .content section>div.arrows .next {
    width: 35px;
    height: 70px;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
    overflow: initial;
}

.project .content section>div.arrows .prev::before,
.project .content section>div.arrows .next::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    mask-image: url(/assets/img/general/SVG/SVG/slider_arrow.svg);
    -webkit-mask-image: url(/assets/img/general/SVG/SVG/slider_arrow.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-color: #ffffff;
    transition: var(--transition);
}

.project .content section>div.arrows .next::after {
    transform: rotate(180deg);
}

.project .content section>div>div:last-of-type {
    width: 100%;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

/* .project .content section.gallery>div>div:last-of-type {
    width: 100%;
} */

/* .project .content section.gallery>div>div.next {
    width: 34px;
} */

.project .content section>div>div:only-child:last-of-type {
    max-width: 100%;
    width: 100%;
}

.project .content section>div>.tns-inner:last-of-type,
.project .content section>div>.row:last-of-type,
.project .content section>div>.row:last-of-type {
    overflow: unset;
}

.project .content section>div>div.tns-inner,
.project .content section>div:first-of-type>div.tns-inner {
    max-width: unset;
    max-widtH: unset;
}

.project .content section>div>div:last-of-type .project .content section>div>div:last-of-type {
    max-width: 620px;
    display: block;
}

.project .content section>div>div:first-of-type ul li {
    display: flex;
    font-size: 18px;
    text-transform: uppercase;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--black);
    padding: 23px 10px 24px;
    gap: 20px;
}

.project .content section>div>div:first-of-type .file ul li {
    padding-block: 16px;
}

.project .content section>div>div:first-of-type+.file {
    min-width: 50%;
    width: 50%;
}

.project .content section>div>div:first-of-type ul li:first-of-type {
    border-top: 1px solid var(--black);
}

.project .content section>div>div:first-of-type ul li span {
    opacity: 0.4;
}

.project .content section>div>div:first-of-type ul li p,
.project .content section>div>div:last-of-type ul li p {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
}

.project .content section>div>div:last-of-type p {
    font-size: 18px;
}

.collapsed_description>div:last-of-type.closed {
    overflow: hidden;
    height: 0;
    opacity: 0;
    margin-top: 0;

}

.collapsed_description>div:last-of-type {
    overflow: unset;
    height: unset;
    opacity: 1;
    margin-top: 34px;
}

.project .content section>div>div:last-of-type a {
    display: flex;
    margin-top: 80px;
}

.project .content {
    margin-top: 80px;
}

.project .content section>div>div:last-of-type p {
    font-size: 18px;
    font-family: var(--font-family);
    line-height: 22px;
    margin-bottom: unset;
    margin-top: 25px;
}

.project .content section>div>div:last-of-type p:first-of-type {
    margin-top: 0px;
}

.project .content section>div>div:last-of-type p:last-of-type {
    margin-bottom: 0px;
}

.project .content section.gallery {
    position: relative;
    height: 100%;
    max-height: 450px;
}

.project .content section.gallery>div>div:first-of-type {
    min-width: unset;
}

.project .content section.gallery>div.img-fullscreen>div:first-of-type {
    display: flex;
    align-items: start;
    position: relative;
    margin: 240px;
    gap: 35px;
}

.project .content section.gallery>div.img-fullscreen>div:first-of-type > div:first-of-type{
    height: 100%;
}

@media(max-width:1600px){
    .project .content section.gallery>div.img-fullscreen>div:first-of-type{
        margin: 40px;
        max-height: 100%;
        height: 100%;
    }
}

.project .content section.gallery>.img-fullscreen>div {
    min-width: unset;
}

.project.content .gallery {
    margin-top: 85px;
}

.project.content .gallery .slider {
    display: inline-flex;
}

.project.content .project_description + div,
.project.content .project_description {
    font-size: 18px;
    line-height: 22px;
}

.project.content .gallery .slider-mobile {
    display: none;
}

.project.content .gallery .img-container,
.project.content .gallery img {
    width: auto;
    height: 100%;
    max-height: 450px;
    display: block;
    pointer-events: all;
}

.project.content .gallery img {
    pointer-events: none;
}

.project.content .gallery .img-container {
    cursor: pointer;
}

.project.content .gallery .img-fullscreen {
    position: fixed;
    inset: 0;
    right: 0px;
    width: 100%;
    height: 100%;
    margin: auto;
    display: flex;
    gap: 0;
    z-index: 20;
    opacity: 1;
    padding: 50px 0;
    align-items: center;
    justify-content: center;
    right: -24px;
}

.project.content .gallery .img-fullscreen>div {
    position: fixed;
    width: auto;
    height: auto;
    inset: 0;
    margin: 140px;
    justify-content: center;
    flex-direction: row;
    /* padding: 20px 0;
  padding-left: 200px; */
    max-width: unset;
}

.project.content .gallery .img-fullscreen img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: auto;
    margin: 0;
    max-height: 900px;
}


.project.content .gallery .img-fullscreen span {
    position: absolute;
    display: block;
    min-width: 24px;
    height: 50px;
    background-color: pink;
    opacity: 0.7;
    z-index: 20;
    cursor: pointer;
    transition: var(--transition);
    max-width: 24px;
    top: 0;
    right: 0px;
}

.project.content .gallery .img-fullscreen span.close-btn {
    position: relative;
    width: 11px;
    height: 30px;
    background-color: var(--transparent);
}

.project.content .gallery .img-fullscreen span::before,
.project.content .gallery .img-fullscreen span::after {
    content: "";
    height: 3px;
    width: 32px;
    background-color: var(--white);
    position: absolute;
    top: 22px;
    left: -4px;
    right: 0;
    bottom: 0;
    display: block;
}

.project.content .gallery .img-fullscreen span::before {
    transform: rotate(45deg);
    top: 13px;
}

.project.content .gallery .img-fullscreen span::after {
    transform: rotate(-45deg);
    top: 13px;
}

.project.content .gallery .img-fullscreen>div.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    margin: auto;
    width: calc(100% - 224px);
    padding-inline: 0;
    max-widtH: 100%;
    position: fixed;
    padding-left: unset;
    padding: 20px 0;
}

.project.content .gallery .img-fullscreen>div.navigation span {
    min-width: 33px;
    height: 64px;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
    background-color: var(--transparent);
    right: unset;
}

.project.content .gallery .img-fullscreen>div.navigation span:first-of-type:before,
.project.content .gallery .img-fullscreen>div.navigation span:last-of-type::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    mask-image: url(/assets/img/general/SVG/SVG/slider_arrow.svg);
    -webkit-mask-image: url(/assets/img/general/SVG/SVG/slider_arrow.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-color: #ffffff;
    transition: var(--transition);
}

.project.content .gallery .img-fullscreen>div.navigation span.disabled {
    opacity: 0.2;
    pointer-events: none;
}

.project.content .gallery .img-fullscreen>div.navigation span:first-of-type:after,
.project.content .gallery .img-fullscreen>div.navigation span:last-of-type::after {
    content: none;
}

.project.content .gallery .img-fullscreen>div.navigation span:last-of-type:before {
    transform: rotate(180deg);
}

.project.content .gallery .img-fullscreen>div.navigation span:first-of-type:before {
    transform: none;
}

.project.content .gallery .slider {
    width: 100%;
}

.project.content .gallery .slider .slide {
    display: inline-flex;
    gap: 40px;
    width: 100%;
    height: auto;
}

.project>.iframe-fullscreen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project>.iframe-fullscreen div {
    gap: 10px
}

.project>.iframe-fullscreen div {
    display: flex;
    gap: 35px;
    justify-content: center;
    padding: 70px;
    height: 100%;
    widtH: 100%;
}

.project .iframe-fullscreen iframe {
    min-width: 0 !important;
  width: 100% !important;
    aspect-ratio: 680 / 1200;
}

.project .iframe-fullscreen iframe body {
    background-color: var(--transparent);
}

.project .iframe-fullscreen .close-btn {
    position: relative;
    display: block;
    top: 0px;
    right: 0px;
    width: 30px;
    height: 30px;
    background-color: var(--transparent);
    opacity: 0.7;
    z-index: 20;
    cursor: pointer;
    transition: var(--transition);
}

.project .iframe-fullscreen .close-btn::before,
.project .iframe-fullscreen .close-btn::after {
    content: "";
    height: 3px;
    width: 32px;
    background-color: var(--white);
    position: absolute;
    top: 22px;
    left: -4px;
    right: 0;
    bottom: 0;
    display: block;
}

.project .iframe-fullscreen .close-btn::before {
    transform: rotate(45deg);
    top: 15px;

}

.project .iframe-fullscreen .close-btn::after {
    transform: rotate(-45deg);
    top: 15px;
}

/* .project.content .gallery .img-fullscreen>div:first-of-type {
  margin-block: 224px;
} */

@media(max-width: 1920px) {
    .project .content section>div:first-of-type>div:first-of-type {
        flex-direction: column;
    }

    .project .content section>div:first-of-type>div:first-of-type {
        flex-direction: row;
        /* gap: 30px; */
        width: 100%;
    }

    .project .content section>div>div:last-of-type {
        /* width: 52vw; */
        width: 100%;
        position: relative;
        transition: var(--transition);
        overflow: hidden;
    }
}

@media(max-width: 1600px) {

    .project .content section>div {
        gap: 50px;
    }

    .project .content section>div>div:last-of-type {
        width: 100%;
    }

    .project .content section>div:first-of-type>div:first-of-type>.list {
        width: 100%;
    }

    .project .content section>div:first-of-type>div>.file {
        width: 100%;
    }
}

@media(max-width: 1250px) {

    .project.content .gallery .img-fullscreen>div.navigation {
        width: calc(100% - 60px);
    }

    .project.content .gallery .img-fullscreen>div.navigation span {
        min-width: 8px;
        height: 18px;
    }
}


@media(max-width: 1190px) {

    .project .content section>div.arrows .prev,
    .project .content section>div.arrows .next {
        height: 24px;
        width: 14px;
    }

    .project .content section>div.arrows {
        padding-inline: 18px;
    }

    .project.content .gallery .img-fullscreen img {
        max-height: 650px;
    }
}

@media(max-width: 1024px) {

    .project .content section.gallery>div.img-fullscreen>div:first-of-type {
        margin: 60px;
        flex-direction: column-reverse;
        align-items: end;
        gap: 15px;
    }

    .project .content section>div:first-of-type>div:first-of-type>.list .button {
        font-size: 13px;
        gap: 20px;
    }

    .project .content section>div:first-of-type>div:first-of-type>.list .button::after {
        width: 25px;
        heighT: 10px;
        top: -1px;
    }

    .project.content .gallery .img-fullscreen span.close-btn {
        height: 17px;
        min-width: 11px;
    }

    .project.content .gallery .img-fullscreen span::before,
    .project.content .gallery .img-fullscreen span::after {
        width: 13px;
        height: 2px;
        left: -1px;
        top: 7px;
    }

    .project.content .gallery .img-fullscreen {
        right: 0;
    }

    .project.content .gallery .slider .slide {
        gap: 20px;
    }

    .grid-item+.team-details .hidden-details {
        gap: 30px;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .project .content section>div>div:last-of-type:has(p) a {
        margin-top: 30px;
    }

    .project .content section>div:first-of-type>div:first-of-type {
        flex-direction: column;
        gap: 0;
    }

    .project.content .gallery .slider .slide {
        gap: 20px;
    }

    .project.content .gallery .img-fullscreen img {

        max-height: 500px;
    }

    .content.contacts p,
    .content.page-404 p {
        font-size: 15px;
        padding-inline: 30px;
    }

    .project.content .gallery .slider {
        display: none;
    }

    .project.content .gallery .slider-mobile {
        display: inline-flex;
    }

    .project .content section.gallery {
        /* width: 100vw; */
        width: calc(100% + 30px);
    }

    .project>.iframe-fullscreen {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 1;
        z-index: 30;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .project>.iframe-fullscreen div {
        gap: 10px;
        flex-direction: column-reverse;
    }

    .project .iframe-fullscreen .close-btn {
        width: 10px;
        height: 16px;
        margin-left: auto;
    }

    .project .iframe-fullscreen .close-btn::before,
    .project .iframe-fullscreen .close-btn::after {
        content: "";
        height: 2px;
        width: 14px;
        background-color: var(--white);
        top: 7px;
        left: -2px;
        display: block;
    }
}

@media(min-width: 1025px) {
    .project .content section>div:first-of-type>div:first-of-type>.list .button:hover::after {
        transform: rotate(180deg) translateX(-5px);
    }
}


/********************************/
/*****PAGINA PROJETO TABELA******/
/********************************/

.content.project .table-container {
    position: relative;
}

.content.project .table-wrapper {
    margin-top: 190px;
    /* max-width: 1400px; */
    margin-inline: auto;
}

.content.project .table-container .swipe {
    display: none;
    position: sticky;
}

.content.project table {
    background-color: var(--white);
    border: 1px solid black;
border-collapse: collapse;
    margin: auto;
    width: 100%;
}

.content.project table th,
.content.project table td {
    background-color: var(--white);
    border: 1px solid black;
    color: #808080;
    text-align: center;
}

.content.project table th {
    background-color: var(--white);
    border: 1px solid black;
    text-align: center;
    padding: 22px 21px;
    text-transform: uppercase;
    font: var(--font-family);
    font-size: 18px;
    line-height: 22px;
}

.content.project table th:first-of-type {
    font-weight: 500;
    color: var(--black);
}

.content.project table th:nth-of-type(3) {
    max-width: 200px;
}

.content.project table th:nth-of-type(4) {
    max-width: 220px;
}

.content.project table th:nth-of-type(5) {
    max-width: 214px;
}

.content.project table th:nth-of-type(6) {
    max-width: 280px;
}

.content.project table th:nth-of-type(7) {
    max-width: 138px;
}

.content.project table th:last-of-type {
    max-width: 155px;
}

.content.project table td {
    background-color: #F0EFEB;
    border: 1px solid black;
    padding: 17px 35px;
    text-align: center;
    font-size: 21px;
    padding: 15px 15px;
}
/* 
.content.project table tr:has(td[colspan ] ) td:nth-of-type(2) {
    color: var(--black);
    font-weight: 500;
} */

.content.project table td strong{
    color: var(--black);
    font-weight: 500;
} 

.content.project table td:last-of-type a {
    color: #FBB03B;
    border-bottom: 1px solid var(--transparent);
    transition: var(--transition);
}

.content.project table td.open {
    color: #FBB03B;
}

.content.project .table-wrapper div>span:first-of-type {
    display: none;
    width: 38px;
    heighT: 38px;
}

@media(max-width: 1300px) {
    .content.project table th {
        font-size: 15px;
        padding: 22px 7px;
    }

    .content.project table td {
        font-size: 15px;
        padding: 10px 20px;
    }
}

@media(max-width: 1024px) {
    .content.project table th {
        font-size: 15px;
        padding: 7px;
    }
    .content.project .table-container .swipe {
        display: flex;
        flex-direction: column;
        height: auto;
        z-index: 1;
        top: 0;
        left: 0;
        margin-top: 65px;
    }

    .content.project .table-container .swipe span:first-of-type {
        width: 35px;
        heighT: 35px;
    }

    .content.project .table-wrapper {
        margin-top: 20px;
    }
}


@media(max-width: 1400px) {
    .content.project .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* width: calc(100vw - 60px); */
        position: relative;
        margin-left: 0;
    }

    .content.project .table-wrapper table {
        margin-top: 15px;
    }

    .content.project .table-wrapper>div {
        display: flex;
        align-items: center;
        gap: 8px;
        position: absolute;
        left: 27px;
        margin-top: 15px;
    }

    .content.project .table-wrapper div>span:first-of-type {
        display: block;
    }
}


@media(max-width: 768px) {
    .content.project .table-wrapper {
        margin-top: 0;
        padding-top: 0px;
        margin-left: 0;
    }

    .project section.content {
          margin-top: 30px;
        padding-inline: 20px;
    }

    .content.project .table-wrapper table {
      width: unset;
    }


}


/********************************/
/**** PAGINA PROJETO 360 ********/
/********************************/

section.view-360 {
    margin-top: 120px;
    width: 100%;
    margin-inline: auto;
    /* max-width: 1920px; */
    height: 908px;
    background-color: #808080;
}


/********************************/
/*****PAGINA PROJETO GIF*********/
/********************************/

section.gif {
    text-align: center;
}

section.gif span {
    margin-inline: auto;
    margin-top: 120px;
    border: 2px solid var(--black);
    padding: 25px;
    cursor: pointer;
}

section.gif span.button {
    font-size: 21px;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    margin-inline: auto;
    widtH: max-content;
    align-items: center;
    gap: 20px;
}

section.gif span.button button {
    margin-top: 0;
}

section.gif span.button::after {
    content: "";
    mask-image: url(/assets/img/general/SVG/SVG/button_arrow.svg);
    mask-repeat: no-repeat;
    background-color: var(--black);
    width: 50px;
    height: 10px;
    position: relative;
    transform: rotate(180deg);
    top: -1px;
    transition: var(--transition);
}

@media(max-width: 767px) {
    section.gif span {
        margin-top: 50px;
        padding: 15px;
    }
}

@media(max-width: 1023px) {
    section.gif span.button {
        font-size: 15px;
    }
}

@media(min-width: 1024px) {
    section.gif span.button:hover::after {
        content: "";
        transform: rotate(180deg) translateX(-5px);
    }
}

/***************************************/
/*****PAGINA PROJETO CONTACT US*********/
/***************************************/

section.contacts {
    /* max-width: 1950px; */
    display: flex;
    margin-inline: auto;
    margin-top: 140px;
    justify-content: space-between;
    gap: 100px;
}

header+section.contacts {
    margin-top: 220px;
}

header+section.contacts.content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

section.contacts>div {
    width: 100%;
    max-width: 45%;
}

section.contacts>div:first-of-type span {
    text-transform: uppercase;
    font-family: var(--font-family-2);
    font-weight: 500;
    font-size: 106px;
    line-height: 1;
}

section.contacts>div:last-of-type,
section.page-404>div:last-of-type {
    max-width: 790px;
    margin-inline: auto;
}

section.contacts>div:last-of-type {
    /* max-width: 1920px; */
}

section.page-404>.no-img>a {
    max-width: 790px;
    margin-inline: auto;
    font-size: 21px;
    align-items: center;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 27px;
}

section.page-404>.no-img>a::after {
    content: "";
    mask-image: url(/assets/img/general/SVG/SVG/button_arrow.svg);
    mask-repeat: no-repeat;
    background-color: var(--black);
    width: 50px;
    height: 10px;
    position: relative;
    transform: rotate(0deg);
    top: 0px;
    transition: var(--transition);
}


section.contacts>div:last-of-type h1+a.button,
section.page-404>div:last-of-type h1+a.button {
    margin-inline: auto;
}

section.page-404>div:last-of-type h1+a.button {
    font-size: 21px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 27px;
}

section.page-404>div:last-of-type h1+a.button::after {
    content: "";
    mask-image: url(/assets/img/general/SVG/SVG/button_arrow.svg);
    mask-repeat: no-repeat;
    background-color: var(--black);
    width: 50px;
    height: 10px;
    position: relative;
    transform: rotate(0deg);
    top: 6px;
    transition: var(--transition);
}

.project .content section.contacts>div>div:last-of-type {
    max-width: unset;
}

section.contacts .custom-select .options {
    padding: 0;
}

.custom-select .options section.contacts .custom-select .options>div {
    width: max-content;
    font-size: 24px;
}

section.contacts .custom-select .options-wrapper {
    background-color: var(--white);
    top: 47px;
    border: 2px solid var(--black);
    padding: 35px 25px;
}

section.hp_info.contacts .custom-select .options-wrapper {
    background-color: var(--white);
}

section.hp_info.contacts .custom-select:not(.open) .options-wrapper {
    pointer-events: none;
}

section.contacts .custom-select .options>div[data-value]:not([data-value=""])+div[data-value] {
    padding: 0;
    line-heighT: 1;
    margin-top: 33px;
}

section.contacts .custom-select .options>div {
    width: 100%;
    cursor: pointer;
}

section.contacts .custom-select .options>div[data-value]:not([data-value=""])+div[data-value] {
    padding: 0;
    line-heighT: 1;
    margin-top: 33px;
}

.custom-select.open .options-wrapper,
.custom-select.open .options {
    max-height: 718px;
}

section.contacts .custom-select .options>div[data-value]:first-of-type {
    margin-top: 0;
}

.contacts .custom-select .options>div {
    width: 100%;
    font-size: 22px;
    padding: 0;
    line-height: 1;
}

section.contacts .custom-select.has-reset .placeholder>div.reset {
    top: 15px;
}


section.contacts .custom-select section.contacts div span {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 106px;
    line-height: 1;
}

section.contacts div p {
    font-size: 38px;
    font-weight: 300;
    margin: 0;
    margin-top: 20px;
    line-height: 1.13;
}

section.contacts div p.warning {
    color: red;
    font-size: 12px;
}

section.contacts .form {
    margin: 0 !important;
}


@media (max-width: 1700px) {
    section.contacts div span {
        font-size: 80px;
    }

    section.contacts div p {
        font-size: 30px;
        margin-top: 10px;
    }
}

@media (max-width: 1400px) {
    section.contacts {
        padding-inline: 0;
        gap: 50px;
    }

    section.contacts div span {
        font-size: 60px;
    }

    section.contacts div p {
        font-size: 24px;
    }

    section.contacts>div:first-of-type span {
        font-size: 50px;
    }

    section.project>div:last-of-type h2 {
        font-size: 3rem;
    }

    section.project>div:last-of-type p {
        font-size: 24px;
        ;
    }
}


@media (min-width: 1400px) {
    .project section.content {
        padding-inline: 70px;
    }

}

@media(max-width: 1190px) {
    .project .content section>div:first-of-type {
        flex-direction: column;
    }

    .project .content section>div>div:last-of-type {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    section.contacts div span {
        font-size: 40px;
    }

    section.contacts div p {
        margin-top: 4px;
    }

    section.contacts {
        padding-inline: 0;
        flex-direction: column;
        gap: 20px;
    }

    section.contacts>div:last-of-type {
        max-width: unset;
    }

    section.content.team section.team {
        margin-top: 00px;
    }

    section.contacts>div:first-of-type {
        max-width: 430px;
    }

    section.contacts div p {
        font-size: 20px;
    }

    .project h1 {
        padding-inline: 30px;
        margin-top: 120px;
        font-size: 24px;
    }

    section.contacts>div:first-of-type span {
        font-size: 40px;
    }

    .call-to-action {
        padding: 20px;
        margin-top: 70px;
        text-align: start;
    }

    .call-to-action h2 {
        font-size: 3rem;
    }

    section.contacts .custom-select .options>div {
        font-size: 14px
    }

    section.contacts .custom-select .options>div[data-value]:not([data-value=""])+div[data-value] {
        margin-top: 14px;
    }
}

@media (max-width: 767px) {
    section.contacts {
        flex-direction: column;
        justify-content: start;
        margin-top: 100px;
    }

    header+section.contacts {
        margin-top: 120px;
    }

    section.contacts div p {
        margin-top: 40px;
    }

    .project .content section>div>div:first-of-type ul li span,
    .project .content section>div>div:first-of-type ul li p,
    .project .content section>div>div:last-of-type ul li p {
        font-size: 13px;
    }

    .project .content section>div>div:first-of-type ul li {
        text-align: right;
    }

    .project .content section>div>div:first-of-type ul li {
        padding-inline: 0;
    }

    .project .content section>div>div:first-of-type ul li a {
        width: 100%;
        display: flex;
        justify-content: space-between;

    }

    .project .content section>div>div:last-of-type p {
        font-size: 14px;
    }

    section.project>div:last-of-type h2 {
        font-size: 30px;
        margin-top: 0;
    }

    section.project>div:last-of-type p {
        font-size: 18px;
        margin-top: 25px;
    }

    section.page-404>.no-img>a,
    section.page-404>div:last-of-type h1+a.button {
        gap: 22px;
        font-size: 12px;
    }

    section.page-404>.no-img>a::after,
    section.page-404>div:last-of-type h1+a.button::after {
        height: 10px;
        top: 5px;
        width: 22px;
    }

    section.page-404>.no-img>a {
        gap: 22px;
        font-size: 12px;
    }

    section.page-404>.no-img>a::after {
        height: 10px;
        top: 3px;
        width: 22px;
    }
}

@media(max-width: 767px) {
    .project .banner {
        margin-top: 30px;
    }
}

@media(min-width: 1024px) {
    .project .content section>div.arrows .prev:hover::before {
        transform: translateX(-5px);
    }

    .project .content section>div.arrows .next:hover::after {
        transform: rotate(180deg) translateX(-5px);
    }

    .content.project table td:last-of-type:hover a {
        border-bottom: 1px solid #FBB03B;
    }

    section.page-404>.no-img>a:hover::after {
        transform: translateX(-5px);
    }

    section.page-404>div:last-of-type h1+a.button:hover::after {
        transform: translateX(-5px);
    }
}

/*************************/
/*****PAGINA EQUIPA*******/
/*************************/

section.content.team {
    max-width: calc(100% - 140px);
    padding-inline: 0;
}

.details-overlay {
    position: fixed;
    inset: 0;
    padding: 40px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.team-details>span {
    min-height: 14px;
    min-width: 11px;
    position: relative;
    display: block;
    opacity: 0.7;
    z-index: 20;
    cursor: pointer;
    transition: var(--transition);
    max-width: 10px;
    margin-left: auto;
}

.team-details>span::before,
.team-details>span::after {
    position: absolute;
    left: -1px;
    top: 7px;
    right: 0;
    bottom: 0;
    content: "";
    height: 2px;
    width: 16px;
    background-color: var(--white);
    display: block;
}

.team-details>span::before {
    transform: rotate(-50deg);
}

.team-details>span::after {
    transform: rotate(50deg);
}

.details-overlay.open {
    z-index: 4;
    opacity: 1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 75px;
    margin-top: 40px;
}

.grid-item {
    position: relative;
    max-width: 850px;
    height: 100%;
}


.grid-item img {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.grid-item .hidden-details,
.grid-item+.team-details .hidden-details {
    padding: 0;
    text-align: center;
    opacity: 0;
    position: absolute;
    transition: var(--transition);
    inset: 0;
    z-index: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    background-color: var(--transparent);
    transform: scale(.8);
}

.grid-item .hidden-details.open,
.grid-item+.team-details.open .hidden-details {
    opacity: 1;
    z-index: 5;
}

.grid-item .hidden-details.typeRand02>div {
    max-width: 412px;
}

.grid-item .hidden-details.typeRand03>div {
    max-width: 430px;
}

.grid-item .hidden-details>div,
.grid-item+.team-details .hidden-details>div {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 640px;
}

.grid-item .hidden-details p,
.grid-item+.team-details .hidden-details p {
    color: var(--white);
    font-size: 18px;
}

.grid-item .hidden-details p,
.grid-item+.team-details .hidden-details p {
    color: var(--white);
    font-size: 18px;
    margin: 0;
    text-align: start;
}

.grid-item .hidden-details+button,
.grid-item+.team-details .hidden-details+button {
    color: var(--black);
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: block;
    text-transform: uppercase;
    border: 2px solid var(--black);
    padding: 1px 0px;
    width: 76px;
    font-family: var(--font-family-2);
    font-weight: 500;
    font-size: 15px;
    text-align: center;
}

.grid-item .role,
.team-details .role {
    font-size: 22px;
    color: var(--white);
    line-height: 1;
    padding-block: 13px;
    display: block;
    font-weight: normal;
    margin: 0;
    padding: 12px 24px;
    border: 2px solid var(--white);
    align-self: end;
    transform: translateX(-40px);
}

.grid-item .hidden-details.typeRand02 .role,
.grid-item+.team-details .hidden-details.typeRand02 .role {
    margin: 0;
    padding: 12px 25px;
    margin-right: unset;
    border-bottom: 2px solid var(--white);
    margin-top: -2px;
    align-self: start;
    transform: translateX(0);
}

.grid-item .hidden-details.typeRand02 .name,
.grid-item+.team-details .hidden-details.typeRand02 .name {
    padding-right: 80px;
    align-self: end;
    line-height: inherit;
    text-align: left;
}

.grid-item .hidden-details.typeRand02 .role.phone,
.grid-item+.team-details .hidden-details.typeRand02 .role.phone {
    margin-top: -2px;
    align-self: start;
    transform: translateX(0);
}

.grid-item .hidden-details.typeRand02 .email,
.grid-item+.team-details .hidden-details.typeRand02 .email {
    align-self: end;
    margin-top: -2px;
    padding: 21px 7px;
    transform: none;
}


.grid-item .hidden-details.typeRand03 .role,
.grid-item+.team-details .hidden-details.typeRand03 .role {
    margin: 0;
    padding: 12px 25px;
    margin-right: unset;
    border-bottom: 2px solid var(--white);
    margin-top: -2px;
    align-self: start;
    transform: translateX(0);
    margin-left: 40px;
    text-align: left;
}

.grid-item .hidden-details.typeRand03 .name,
.grid-item+.team-details .hidden-details.typeRand03 .name {
    padding-right: 75px;
    align-self: end;
    line-height: inherit;
    text-align: left;
}

.grid-item .hidden-details.typeRand03 .role.phone,
.grid-item+.team-details .hidden-details.typeRand03 .role.phone {
    margin-top: -2px;
    align-self: start;
    transform: translateX(0);
}

.grid-item .hidden-details.typeRand03 .email,
.grid-item+.team-details .hidden-details.typeRand03 .email {
    align-self: flex-start;
    margin-top: -2px;
    padding: 21px 23px;
    transform: translateX(70px);
}


.grid-item .name,
.team-details .name {
    display: block;
    font-size: 38px;
    margin: 0;
    margin-top: 0px;
    font-weight: 500;
    padding: 17px;
    padding-block: 20px;
    color: var(--white);
    border: 2px solid var(--white);
    margin-top: -2px;
    align-self: end;
    line-height: 1;
    padding-right: 80px;
}

.grid-item .name b,
.team-details .name b {
    font-family: var(--font-family-2);
    font-weight: lighter;
}

.grid-item .phone,
.team-details .phone {
    border: 2px solid var(--white);
    margin-top: -2px;
    padding-block: 10px;
    padding-left: 17px;
    align-self: start;
    padding-right: 35px;
}


.grid-item:not(.typeRand02) .phone b {
    font-size: 60px;
    font-weight: lighter;
    padding: 0;
    color: var(--white);
    font-family: var(--font-family-2);
}

.grid-item .typeRand02 .phone b {
    background-color: var(--transparent);
}

.grid-item .typeRand03 .phone div,
.grid-item:not(.typeRand03) .phone b {
    font-size: 60px;
    font-weight: lighter;
    padding: 0;
    color: var(--white);
    font-family: var(--font-family-2);
}

.grid-item .typeRand03 .phone b {
    background-color: var(--transparent);
}

.grid-item .hidden-details .phone.role b,
.grid-item .team-details .hidden-details .phone.role b {
    background-color: #facbcc
}

.grid-item .hidden-details.typeRand02 .phone.role b,
.grid-item .team-details .hidden-details.typeRand02 .phone.role b {
    background-color: vaR(--transparent);
}

.grid-item .hidden-details.typeRand03 .phone.role b,
.grid-item .team-details .hidden-details.typeRand03 .phone.role b {
    background-color: vaR(--transparent);
}

.grid-item .phone.role b {
    font-size: 60px;
    font-weight: normal;
    padding: 0;
    background-color: var(--transparent);
}

.email,
.team-details .email {
    font-size: 24px;
    padding: 20px 8px;
    border: 2px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-weight: normal;
    margin-top: -2px;
    align-self: end;
    transform: translateX(-122px);
}

b.number-grid,
.team-details b.number-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px 56px;
    width: max-content;
    background-color: var(--transparent);
}

.typeRand03 div.number-grid {
    grid-template-columns: repeat(5, 1fr);
}


b.number-grid span,
.team-details .number-grid span {
    display: inline-block;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    color: var(--white);
    font-size: 60px;
    font-weight: lighter;
    width: auto;
}



.typeRand03 .phone {
    border: none;
    margin-top: 0px;
    padding-block: 0px;
    padding-left: 0px;
    align-self: start;
    padding-right: 0px;
}

.typeRand03 .phone .number-grid{
    border: none;
    margin-top: 0px;
    display: flex;
    flex-flow: wrap;
}

.typeRand03 .phone .number-grid .line{
    border: 2px solid var(--white);
    margin-top: -2px;
    padding: 0px 23px;
    position: relative;
    display: flex;
    gap: 27px;
}

.typeRand03 .phone .number-grid .line:first-of-type{
    border-bottom:none
}

.typeRand03 .phone .number-grid .line:last-of-type{
    margin-left: auto;
    border-top:none

}

.typeRand03 .phone .number-grid .line div{
    height: 2px;
    background-color: white;
    position: absolute;
    bottom: 0;
    left: 0;
}

.typeRand03 .phone .number-grid .line:last-of-type div{
    top: 0;
    right: 0;
    left: auto !important;
}



section.team h1 {
    font-family: var(--font-family-2);
    font-size: 2.813rem;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
}

section.team .team-details {
    display: block;
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
    position: fixed;
    position: -webkit-fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    inset: 0;
    width: 100%;
    height: 100vh;
    padding: 60px 35px;
    display: block;
}

section.team .team-details.open {
    opacity: 1;
    z-index: 5;
}

.grid-item .hidden-details.typeRand02 .name{
    width: 80%;
}

@media(max-width: 1650px) {

    .grid-item .hidden-details.typeRand02 .phone.role b,
    .grid-item .team-details .hidden-details.typeRand02 .phone.role b,
    b.number-grid span,
    .team-details .number-grid span {
        font-size: 47px;
    }

    .grid-item .hidden-details.typeRand02 .name,
    .grid-item+.team-details .hidden-details.typeRand02 .name {
        padding-block: 10px;
    }

    .grid-item .hidden-details.typeRand02 .email,
    .grid-item+.team-details .hidden-details.typeRand02 .email {
        padding-block: 15px;
    }


    .grid-item .hidden-details.typeRand03 .phone.role b,
    .grid-item .team-details .hidden-details.typeRand03 .phone.role b{
        font-size: 47px;
    }

    .grid-item .hidden-details.typeRand03 .name,
    .grid-item+.team-details .hidden-details.typeRand03 .name {
        padding-block: 10px;
    }

    .grid-item .hidden-details.typeRand03 .email,
    .grid-item+.team-details .hidden-details.typeRand03 .email {
        padding-block: 15px;
    }

    .grid-item .hidden-details p,
    .grid-item+.team-details .hidden-details p {
        font-size: 16px;
    }
}

@media(max-width: 1550px) {

    .grid {
        grid-template-columns: repeat(3, 1fr);
        /* gap: 30px; */
    }

    .grid-item .hidden-details,
    .grid-item+.team-details .hidden-details {
        padding: 0;
        gap: 0;
        background-color: rgba(35, 31, 32, 0);
        transform: scale(.9);
    }
    .grid-item .hidden-details>div, .grid-item+.team-details .hidden-details>div {
        transform: scale(0.8);
    }
}

@media(max-width: 1400px) {
    .grid {
        gap: 30px;
    }

    .grid-item .role,
    .team-details .role {
        font-size: 19px;
    }

    section.content.team {
        max-width: calc(100% - 50px);
    }

    .grid-item .name,
    .team-details .name {
        font-size: 32px;
    }

    .grid-item .phone.role b {
        font-size: 47px;
    }

    .email,
    .team-details .email {
        font-size: 19px;
    }

    .grid-item .hidden-details.typeRand02 .phone.role b,
    .grid-item .team-details .hidden-details.typeRand02 .phone.role b,
    b.number-grid span,
    .team-details .number-grid span {
        font-size: 40px;
    }

    .grid-item .hidden-details.typeRand03 .phone.role b,
    .grid-item .team-details .hidden-details.typeRand03 .phone.role b{
        font-size: 40px;
    }

    .grid-item .hidden-details p,
    .grid-item+.team-details .hidden-details p {
        font-size: 16px;
    }

    @media(max-width: 1400px) {
        .grid-item .hidden-details.typeRand02>div {
            max-width: 380px;
        }
        .grid-item .hidden-details.typeRand03>div {
            max-width: 380px;
        }
    }
    

}

@media(max-width: 1200px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }


    .grid-item .hidden-details>div,
    .grid-item+.team-details .hidden-details>div {
        max-width: 320px;
    }

    .grid-item .role,
    .team-details .role {
        padding-block: 8px;
        transform: translatex(-50px);
    }

    .email,
    .team-details .email {
        transform: translateX(-50px);
    }

    .grid-item .name,
    .team-details .name {
        padding-block: 10px;
        font-size: 24px;
    }

    .grid-item .phone {
        padding: 6px;
    }

    .grid-item .phone b {
        font-size: 45px;
    }

    .grid-item .phone.role b {
        font-size: 35px;
    }

    .email,
    .team-details .email {
        padding-block: 12px;
    }

    .grid-item .hidden-details.typeRand02>div {
        max-width: 269px;
    }

    .grid-item .hidden-details.typeRand02 .role,
    .grid-item+.team-details .hidden-details.typeRand02 .role {
        padding: 6px 25px 9px 25px;
    }

    .grid-item .hidden-details.typeRand02 .name,
    .grid-item+.team-details .hidden-details.typeRand02 .name {
        padding-right: 68px;
        margin-top: -2px;
        padding-block: 5px;
    }

    .grid-item .hidden-details.typeRand02 .phone.role b,
    .grid-item .team-details .hidden-details.typeRand02 .phone.role b,
    b.number-grid span,
    .team-details .number-grid span {
        font-size: 29px;
        gap: 2px 20px;
    }

    .grid-item .hidden-details.typeRand02 .email,
    .grid-item+.team-details .hidden-details.typeRand02 .email {
        font-size: 16px;
        padding-block: 8px;
    }


    .grid-item .hidden-details.typeRand03>div {
        max-width: 269px;
    }

    .team-details .hidden-details.typeRand03 .role {
        padding: 6px 25px 9px 25px;
    }

    .hidden-details.typeRand03 .name,
    .team-details .hidden-details.typeRand03 .name {
        padding-right: 68px;
        margin-top: -2px;
        padding-block: 5px;
    }

    .hidden-details.typeRand03 .phone.role div,
    .team-details .hidden-details.typeRand03 .phone.role div,
    b.number-grid span,
    .team-details .number-grid span {
        font-size: 29px;
        gap: 2px 20px;
    }

    .grid-item .hidden-details.typeRand03 .email,
    .grid-item+.team-details .hidden-details.typeRand03 .email {
        font-size: 16px;
        padding-block: 8px;
    }

    .grid-item .hidden-details p,
    .grid-item+.team-details .hidden-details p {
        font-size: 13px;
    }



}

@media(max-width: 1024px) {

    section.team h1 {
        font-size: 25px;
    }

    .grid-item .hidden-details>div, 
    .grid-item+.team-details .hidden-details>div {
        transform: scale(1);
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 28px;
    }

    .call-to-action h2 {
        font-size: 30px;
    }

    .call-to-action p {
        font-size: 18px;
    }

    section.content.team {
        max-width: calc(100% - 60px);
        padding-inline: 0;
    }

    .grid-item+.team-details .hidden-details {
        background-color: vaR(--transparent);
    }

    .grid-item+.team-details.open .hidden-details {
        opacity: 1;
        z-index: 5;
        pointer-events: all;
    }

    .grid-item .role,
    .team-details .role {
        font-size: 12px;
        padding: 6px 9px;
    }

    .grid-item .name b,
    .team-details .name b {
        margin-right: 0;
    }

    .grid-item .name,
    .team-details .name {
        padding: 9px 27px 9px 10px;
        font-size: 16px;
        margin-right: -47px;
    }

    .grid-item .hidden-details,
    .grid-item+.team-details .hidden-details {
        padding: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 25px;
        pointer-events: none;
    }

    .grid-item .role.phone,
    .team-details:not(.typeRand03) .role.phone {
        font-size: 24px;
        font-weight: 300;
        margin-top: -2px;
        border-bottom: 2px solid var(--white);
        margin-right: 81px;
        padding: 7px 9px;
    }

    .email,
    .team-details .email {
        font-size: 12px;
    }

    .grid-item+.team-details .hidden-details>div {
        max-width: 412px;
        align-self: unset;
    }

    .team-details .role {
        font-size: 22px;
        padding: 13px 24px;
        transform: translateX(-122px);
        align-self: end;
    }

    .team-details.typeRand02 .role {
        transform: translateX(0);
        align-self: start;
        transform: none;
    }

    .team-details.typeRand03 .role {
        transform: translateX(0);
        align-self: start;
        transform: none;
        text-align: left;
    }

    .email,
    .team-details .email {
        transform: translateX(-122px);
    }

    .team-details .name {
        padding: 17px;
        padding-right: 17px;
        font-size: 38px;
        margin-right: 0;
        padding-right: 80px;
        text-align: start;
    }

    .team-details.typeRand02 .name {
        padding-right: 80px;
    }

    .team-details.typeRand03 .name {
        padding-right: 80px;
    }

    .team-details .role.phone {
        font-size: 22px;
        padding-block: 1px;
        padding-left: 17px;
        transform: translateX(0%);
        margin-right: 0;
        align-self: baseline;
        padding-right: 34px;
    }

    .team-details.typeRand02 .role.phone {
        font-size: 60px;
    }

    .team-details.typeRand03 .role.phone {
        font-size: 60px;
        padding: 0;
        border: none;
        border-bottom: none;
        align-self: start;
    }

    .team-details .role.phone div,
    .team-details .role.phone b {
        color: white;
        font-size: 60px;
        font-family: var(--font-family-2);
        font-weight: 100;
    }
    .team-details .role.phone b.number-grid {
        gap: 13px 56px;
    }

    .team-details .role.phone div.number-grid span,
    .team-details .role.phone b.number-grid span {
        font-size: 60px;
    }

    .team-details .email {
        font-size: 24px;
        padding: 21px 30px;
        align-self: end;
        transform: translateX(-122px);
    }

    .team-details.typeRand02 .email {
        font-size: 24px;
        padding: 21px 10px;
        transform: translateX(0);
        align-self: end;
        transition: none;
    }

    .team-details.typeRand03 .email {
        font-size: 24px;
        padding: 21px 10px;
        transform: translateX(0);
        align-self: end;
        transition: none;
    }

    .grid-item+.team-details .hidden-details p {
        font-size: 18px;
    }

    
}

@media(max-width: 600px) {
    .team-details .role {
        font-size: 12px;
        padding: 5px 10px;
        transform: translateX(-44px);
    }

    .team-details.typeRand03 .role:not(.phone) {
        transform: translateX(44px);
    }

    .team-details .name {
        font-size: 20px;
        font-weight: 500;
        padding: 10px;
        padding-right: 9px;
        padding-right: 34px;
        line-height: 1.3;
    }

    .grid-item .name b,
    .team-details .name b {
        font-weight: 100;
    }

    .team-details .role.phone {
        padding: 6px;
    }

    .team-details .role.phone div.number-grid span,
    .team-details .role.phone div,
    .team-details .role.phone b {
        font-size: 25px;
    }

    .team-details .role.phone b.number-grid {
        gap: 8px 43px;
    }

    .grid-item+.team-details .hidden-details>div {
        max-width: 220px;
    }

    .grid-item+.team-details.typeRand03 .hidden-details>div{
        max-width: 280px;
        width: 280px;
    }

    .team-details .email {
        font-size: 12px;
        padding: 7px;
        align-self: end;
        transform: translateX(0);
    }

    .grid-item+.team-details .hidden-details p {
        font-size: 14px;
    }

    .team-details.typeRand02 .name {
        padding-right: 44px;
        ;
    }

    .team-details.typeRand03 .name {
        padding-right: 44px;
        ;
    }

    .team-details .role.phone div.number-grid span,
    .team-details .role.phone b.number-grid span {
        font-size: 31px;
    }

    .team-details.typeRand02 .email {
        font-size: 12px;
        padding: 7px;
        transform: translateX(0);
    }

    .team-details.typeRand03 .email {
        font-size: 12px;
        padding: 7px;
        transform: translateX(-122px);
    }

    .team-details.typeRand03 .role.phone {
        padding: 0px;
    }

    .typeRand03 .phone .number-grid .line{
        gap:20px !important;
        padding: 7px 23px;
    }
}


@media(min-width: 1025px) {
    /* section.portfolio .grid {
        grid-template-columns: repeat(5, minmax(150px, 1fr));
    } */

    .details-overlay {
        display: none;
    }

    .grid-item:hover .hidden-details {
        opacity: 1;
        z-index: 1;
    }

    .grid-item:hover .hidden-details::before {
        opacity: 0;
    }

    .grid-item .hidden-details:hover a,
    .grid-item+.team-details.hidden-details:hover a {
        color: var(--white);
    }

    .grid-item .hidden-details+button {
        display: none;
    }

    .grid-item .hidden-details:hover p,
    .grid-item+.team-details .hidden-details:hover p {
        z-index: 0;
    }

    /* .portfolio .grid-item .img-container::before, */
    .team .grid-item::before,
    .team .grid-item+.team-details::before {
        position: absolute;
        inset: 0;
        widtH: 100%;
        height: 100%;
        content: "";
        background-color: #231F20;
        opacity: 0;
        transition: var(--transition);
        z-index: 1;
    }

    .team .grid-item:hover::before,
    .team .grid-item:has(:hover)::before,
    .team .grid-item + .team-details:has(:hover)::before {
        opacity: 0.8;
    }
}

/* @media(min-width: 1300px) {
    section.portfolio .grid {
        grid-template-columns: repeat(5, minmax(300px, 1fr));
    }
} */

/*************************/
/*****PAGINA ABOUT********/
/*************************/

section.content.about {
    padding: 0;
    margin-top: 0;
}

.about .banner {
    margin-top: 25px;
}

section.about h1,
section.about .container {
    /* max-width: 1920px; */
    max-width: 100%;    
    padding-inline: 75px;
    margin-inline: auto;
}

section.about h1 {
    font-family: var(--font-family-2);
    font-size: 45px;
    font-weight: 500;
    text-transform: uppercase;
}

section.about .container>div {
    display: flex;
    align-items: start;
    gap: 100px;
    margin-top: 70px;
}

section.about .container>div.expandable {
    display: flex;
    align-items: start;
    gap: 100px;
    margin-top: 70px;
    transition: var(--transition);
}

section.about .container>div.expandable>* {
    width: 100%;
    max-width: 50%;
}

section.about .container>div.expandable>div {
    width: 100%;
    max-width: 100%;
}

section.about .container>div.expandable>div {
    width: 100%;
    max-width: 100%;
}

section.about .container>div h2 {
    font-family: var(--font-family-2);
    font-size: 106px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 500;
    max-width: 650px;
    margin-block: 0;
}

section.about .container>div>div {
    font-size: 38px;
}

section.about .container>div>div > p:first-of-type {
    margin-top: 0;
}

section.about .container>div>div p.title {
    font-size: 38px;
}

section.about .container>div>div p {
    font-size: 18px;
}

section.about .container>div>div p.title+p {
    margin-top: 40px;
}

section.about .container>div>div p:last-of-type {
    margin-bottom: 0;
}

section.about button,
section.project button,
section.project button.button.more {
    font-size: 1.125rem;
    text-transform: uppercase;
    position: relative;
    display: flex;
    gap: 27px;
    width: max-content;
    opacity: 1;
    transition: var(--transition);
    max-height: unset;
    margin-top: 34px;
}

section.about button::after,
section.project button.button.more::after {
    content: "";
    mask-image: url(/assets/img/general/SVG/SVG/button_arrow.svg);
    mask-repeat: no-repeat;
    background-color: var(--black);
    width: 50px;
    position: relative;
    transform: rotate(180deg);
    top: -5px;
    transition: var(--transition);
}

section.about button.close::after,
section.project button.button.close::after {
    content: "";
    mask-image: url(/assets/img/general/SVG/SVG/button_arrow.svg);
    mask-repeat: no-repeat;
    background-color: var(--black);
    width: 50px;
    position: relative;
    transform: rotate(0deg);
    top: 5px;
    transition: var(--transition);
}

section.about .container>.call-to-action {
    display: block;
    margin-top: 70px
}

section.about .container>div>div div.hidden {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    height: 0;
}


section.about .container>div>div div:last-of-type {
    height: auto;
    transition: var(--transition);
}

section.about .container>div>div div {
    height: 100%;
    opacity: 1;
}

section.about .container>.call-to-action h2 {
    font-family: var(--font-family-2);
    font-size: 80px;
    font-weight: 500;
    max-width: unset;
    margin: 0;


}

@media(max-width: 1400px) {
    section.about .container>div h2 {
        font-size: 60px;
    }

    section.about .container,
    .about h1 {
        padding-inline: 30px;
    }

    section.about .container>div.expandable {
        gap: 50px;
    }
}

@media(max-width: 1024px) {
    section.about .container>.call-to-action h2 {
        font-size: 30px;
    }

    .about h1 {
        font-size: 1.6rem;
        margin-top: 110px;
    }

    section.about .container>div h2 {
        font-size: 40px;
    }

    section.about .container>div>div p.title {
        font-size: 20px;
    }

    section.about .container>div.expandable {
        gap: 40px;
    }

    section.about .container>div>div p.title+p {
        margin-top: 30px;
    }

    section.about .container>div>div p {
        font-size: 14px;
    }

    section.about .container>.call-to-action {
        margin-top: 70px;
    }

    section.about .container>div.expandable {
        flex-direction: column;
    }

    section.about .container>div.expandable>* {
        widtH: 100%;
        max-width: 100%;
    }

    section.content.team {
        margin-top: 118px;
    }

    section.about button,
    section.project button,
    section.project button.button.more {
        font-size: 12px;
        gap: 20px;
    }

    section.about button::after,
    section.project button.button.more::after {
        width: 22px;
        top: -6px;
    }

    section.about button.close::after,
    section.project button.button.close::after {
        width: 22px;
        top: 5px;
    }

    section.about h1 {
        font-size: 25px;
        padding-inline: 30px;
    }

    section.about .container>div.expandable {
        margin-top: 30px;
    }

}


@media(min-width: 1024px) {

    section.about button:hover::after,
    section.project button.more:hover::after {
        transform: rotate(180deg) translateX(-5px);
    }

    section.about button.close:hover::after,
    section.project button.close:hover::after {
        content: "";
        transform: rotate(0deg) translateX(-5px);
        top: 5px;
    }
}

/*****************************/
/***PAGINA PRIVACY POLICY*****/
/*****************************/

section.content .privacy .container {
    margin-inline: auto;
    max-width: 1180px;
    padding-inline: 0;
    margin-top: 145px;
}

section.content .privacy h1 {
    font-family: var(--font-family-2);
    font-size: 2.813rem;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
}

section.content .privacy h2 section.content .privacy h2:first-of-type {
    margin-top: 150px;
    margin-bottom: 0;
    font-family: var(--font-family);
    font-weight: normal;
    font-size: 39px;
    line-height: 44px;
}

section.content .privacy h2,
section.content .privacy h3,
section.content .privacy h4 {
    margin-top: 60px;
    font-weight: normal;
}

section.content .privacy h2 {
    font-size: 38px;
}

section.content .privacy h3 {
    font-size: 30px;
    font-family: var(--font-family);
    font-weight: normal;
}

section.content .privacy h3+ul {
    margin-top: 40px;
}

section.content .privacy h4 {
    margin-top: 40px;
    font-size: 18px;
    font-family: var(--font-family-2);
    font-weight: normal;
    margin-bottom: 0;
}

section.content .privacy h1+p,
section.content .privacy h2+p,
section.content .privacy h3+p,
section.content .privacy h4+p {
    margin-top: 10px;
}

section.content .privacy h3+p {
    margin-top: 40px;
}

section.content .privacy p:has(br) {
    margin-top: 10px;
}

section.content .privacy h4+p {
    margin-top: 10px;
}

section.content .privacy p,
section.content .privacy li {
    font-size: 18px;
    line-height: 22px;
    font-family: var(--font-family);
    font-weight: normal;
    margin-block: 11px;
}

section.content .privacy p:has(text:only-child):blank,
section.content .privacy p:blank,
section.content .privacy p[innerHTML="&nbsp;"],
section.content .privacy p:has(br) {
    margin-block: 18px;
}

section.content .privacy ul li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    position: relative;
}

section.content .privacy ul li strong {
    display: contents;
}

section.content .privacy ul li::before {
    content: "";
    min-width: 22px;
    height: 9px;
    background-color: var(--black);
    mask-image: url("/assets/img/general/list_arrow.svg");
    -webkit-mask-image: url("/assets/img/general/list_arrow.svg");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
}

section.content .privacy p+h1,
section.content .privacy p+h2,
section.content .privacy p+h3,
section.content .privacy p+h4,
section.content .privacy p+h5,
section.content .privacy p+h6,
section.content .privacy ul+h1,
section.content .privacy ul+h2,
section.content .privacy ul+h3,
section.content .privacy ul+h4,
section.content .privacy ul+h5,
section.content .privacy ul+h6,
section.content .privacy ol+h1,
section.content .privacy ol+h2,
section.content .privacy ol+h3,
section.content .privacy ol+h4,
section.content .privacy ol+h5,
section.content .privacy ol+h6 {
    margin-top: 40px;
}

section.content .privacy ul+h3 {
    margin-top: 50px;
}

section.content .privacy p+h3 {
    margin-top: 50px;
    margin-bottom: 0;
}

section.content .privacy .call-to-action h2 {
    font-size: 80px;
    margin: 0;
    text-align: start;
}

section.content .privacy .call-to-action h2+p {
    font-size: 30px;
    margin-top: 27px;
    text-align: start;
}

@media(max-width: 1024px) {
    section.content section.privacy {
        margin-top: 0px;
    }

    section.content .privacy h2,
    section.content .privacy h3,
    section.content .privacy h4 {
        margin-top: 50px;
    }

    section.content .privacy h1 {
        font-size: 25px;
    }

    section.content .privacy h3 {
        font-size: 20px;
    }

    section.content .privacy h1+p,
    section.content .privacy h2+p,
    section.content .privacy h3+p,
    section.content .privacy h4+p {
        margin-top: 32px;
    }

    section.content .privacy p+h1,
    section.content .privacy p+h2,
    section.content .privacy p+h3,
    section.content .privacy p+h4,
    section.content .privacy p+h5,
    section.content .privacy p+h6,
    section.content .privacy ul+h1,
    section.content .privacy ul+h2,
    section.content .privacy ul+h3,
    section.content .privacy ul+h4,
    section.content .privacy ul+h5,
    section.content .privacy ul+h6,
    section.content .privacy ol+h1,
    section.content .privacy ol+h2,
    section.content .privacy ol+h3,
    section.content .privacy ol+h4,
    section.content .privacy ol+h5,
    section.content .privacy ol+h6 {
        margin-top: 35px;
    }

    section.content .privacy p,
    section.content .privacy li {
        font-size: 14px;
        line-height: 18px;
        margin-block: 0;
        margin-top: 5px;
    }

    section.content .privacy ul li::before {
        content: "";
        min-width: 15px;
    }

    section.content .privacy .call-to-action h2+p {
        font-size: 18px;
        line-height: 22px;
    }

    section.content .privacy .call-to-action h2+p {
        margin-top: 30px;
    }

    section.content .privacy .container {
        margin-top: 80px;
    }

}

@media(max-width: 767px) {

    section.portfolio,
    section.content {
        margin-top: 120px;
    }


}

/********************/
/********POPUP*******/
/********************/

.popUp {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 99;
}

.popUp::before {
    content: "";
    position: fixed      ;
    background-color: #000;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.popUp_content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 350px;
    height: 350px;
    transition: all 0.3s ease-in-out;
}

.popUp_content .close-btn-container {
    margin: 0 auto;
    top: 0;
    right: 0;
    bottom: 0;
    width: 350px;
    height: 30px;
    text-align: right;
}

.popUp_content .close-btn-container .close-btn {
    cursor: pointer;
    position: relative;
    display: inline-block;
    overflow: hidden;
    z-index: 1;
}

.popUp_content .close-btn-container .close-btn>span {
    height: 30px;
    width: 30px;
    position: relative;
    display: block;
    background-color: var(--transparent);
    pointer-events: none;
}

.popUp_content .close-btn-container .close-btn>span::before,
.popUp_content .close-btn-container .close-btn>span::after {
    content: "";
    height: 4px;
    width: 30px;
    background-color: var(--white);
    position: absolute;
    top: 10px;
    left: 1px;
    right: 0;
    bottom: 0;
    display: block;
    border-radius: 20px;
}

.popUp_content .close-btn-container .close-btn>span::before {
    transform: rotate(50deg);
}

.popUp_content .close-btn-container .close-btn>span::after {
    transform: rotate(-50deg);
}

.popUp_content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.popUp_content>a {
    display: block;
    width: 100%;
    height: 100%;
}

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

    .popUp_content {
        width: 750px;
        height: 750px;
    }

    .popUp_content .close-btn-container {
        width: 780px;
        height: 30px;
    }

}

@media screen and (max-height: 568px) {
    .popUp_content {
        width: 350px;
        height: 350px;
    }
}

@media screen and (max-height: 768px) {
    .popUp_content {
        top: 0px;
        bottom: 0px;
        max-width: 530px;
        max-height: 530px;
        /* height: 100vh; */
        width: 100vw;
    }
}



