@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
    --col1: #22282D;
    --col2: #818C98;
    --col3: #2a5281;
    --col4: #C0C5CB;
    --col5: #ECEEF0;
    --col6: #33455f;
}

html, body {
    cursor: url(/img/cursor-hexagon.png), auto;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow', sans-serif;
    color: var(--col1);
    font-weight: 300;
}

p, a, button, table, ul, ol, input, textarea, select, label {
    font-family: 'Barlow', serif;
    font-weight: 300;
    color: var(--col1);
}

b, .uk-text-bold {
    font-weight: 600;
}

.text-col1 {
    color: var(--col1);
}

.text-col2 {
    color: var(--col2);
}

.text-col3 {
    color: var(--col3);
}

.text-col4 {
    color: var(--col4);
}

.text-col5 {
    color: var(--col5);
}

.text-col6 {
    color: var(--col6);
}

.text-xs{
    font-size: 0.7rem;
}

.bg-col1{
    background-color: var(--col1);
}

.bg-col1-transparent {
    background-color: #22282c50;
}

a {
    color: var(--col3);
    font-weight: 300;
    transition: all 0.3s ease;
    cursor: url(/img/cursor-hexagon.png), auto;
}

a:hover {
    color: var(--col3);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: 0;
    padding: 0;
    background-color: unset;
}

.btn {
    display: inline-block;
    border: 0;
    font-size: 0.8rem;
    font-weight: 400;
    width: 200px;
    padding: 0.8rem 0;
    text-align: center;
    text-transform: uppercase;
}

.btn-small {
    display: inline-block;
    border: 0;
    font-size: 0.7rem;
    font-weight: 400;
    width: 120px;
    padding: 0.7rem 0;
    text-align: center;
    text-transform: uppercase;
}

.btn-col1 {
    background-color: var(--col1);
    color: white;
    transition: all 0.3s ease;
}

.btn-col1:hover {
    background-color: var(--col2);
    color: white;
    font-weight: 400;
    transition: all 0.3s ease;
}

.btn-col2 {
    background-color: var(--col2);
    color: white;
    transition: all 0.3s ease;
}

.btn-col2:hover {
    background-color: var(--col1);
    color: white;
    font-weight: 400;
    transition: all 0.3s ease;
}

.btn-col3 {
    background-color: var(--col3);
    color: white;
    transition: all 0.3s ease;
}

.btn-col3:hover {
    background-color: var(--col2);
    color: white;
    font-weight: 400;
    transition: all 0.3s ease;
}


/*MENU*/

.menu-bar {
    display: none;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 3rem;
    background-color: rgba(34, 40, 45, 1);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    border-bottom: 1px solid #333333;
    z-index: 999999999 !important;
}

.menu-logo img {
    width: 100%;
    max-width: 100px;
}

.menu-btn img {
    width: 100%;
    max-width: 40px;
}

.side-menu-container{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: transparent;
    z-index: 1;
    padding: 3rem;
    backdrop-filter: blur(5px);
}

.side-menu{
    width: 160px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    border-right: 1px solid var(--col4);
}

.side-menu ul, .side-menu:hover ul{
    line-height: 3;
}

.side-menu li.active a span{
    border-bottom: 3px solid var(--col3);
    /*background-color: var(--col3);*/
    /*color: white;*/
    /*border-radius: 2px;*/
    /*padding: 4px 8px;*/
    line-height: 2;
    font-weight: 700;
}

.sidemenu-item{
    color: var(--col1);
    font-size: 1rem;
    font-weight: 700;
    font-weight: 300;
}

.side-menu-logo{
    width: 100px;
    height: 30px;
    background-image: url("/img/h.svg");
    background-size: cover;
}

.fp-viewing-home .side-menu-container{
    display: none;
}

.fp-viewing-about-0 .sidemenu-item,
.fp-viewing-about-1 .sidemenu-item,
.fp-viewing-about-2 .sidemenu-item,
.fp-viewing-about-3 .sidemenu-item,
.fp-viewing-about-4 .sidemenu-item,
.fp-viewing-governance-0 .sidemenu-item,
.fp-viewing-governance-1 .sidemenu-item,
.fp-viewing-governance-2 .sidemenu-item,
.fp-viewing-il-gruppo-0 .sidemenu-item,
.fp-viewing-i-progetti-0 .sidemenu-item,
.fp-viewing-i-progetti-1 .sidemenu-item,
.fp-viewing-contatti-0 .sidemenu-item{
    color: var(--col5);
}

.fp-viewing-about-0 .side-menu-logo,
.fp-viewing-about-1 .side-menu-logo,
.fp-viewing-about-2 .side-menu-logo,
.fp-viewing-about-3 .side-menu-logo,
.fp-viewing-about-4 .side-menu-logo,
.fp-viewing-governance-0 .side-menu-logo,
.fp-viewing-governance-1 .side-menu-logo,
.fp-viewing-governance-2 .side-menu-logo,
.fp-viewing-il-gruppo-0 .side-menu-logo,
.fp-viewing-i-progetti-0 .side-menu-logo,
.fp-viewing-i-progetti-1 .side-menu-logo,
.fp-viewing-news-0 .side-menu-logo,
.fp-viewing-contatti-0 .side-menu-logo{
    background-image: url("/img/H_Parts.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.fp-viewing-about-0 .side-menu,
.fp-viewing-about-1 .side-menu,
.fp-viewing-about-2 .side-menu,
.fp-viewing-about-3 .side-menu,
.fp-viewing-about-4 .side-menu,
.fp-viewing-governance-0 .side-menu,
.fp-viewing-governance-1 .side-menu,
.fp-viewing-governance-2 .side-menu,
.fp-viewing-il-gruppo-0 .side-menu,
.fp-viewing-i-progetti-0 .side-menu,
.fp-viewing-i-progetti-1 .side-menu,
.fp-viewing-news-0 .side-menu,
.fp-viewing-contatti-0 .side-menu{
    border-right: 1px solid #5b6871;
}


/*OFFCANVAS NAV*/

#offcanvas_menu {
    background-color: var(--col1);
    padding: 2rem;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    z-index: 1000000000;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

#offcanvas_menu.active {
    transform: translateX(0);
    transition: all 0.5s ease;
}

#offcanvas_menu * {
    color: var(--col5);
}

.btn-close i {
    font-size: 1.4rem;
}

.nav {
    color: var(--col4);
    font-size: 0.8rem;
}

.uk-list > :nth-child(n+2) {
    margin-top: 24px;
}

.nav li:hover a {
    background-color: var(--col2);
    padding: 0.5rem 1rem;
    display: inline-block;
    width: 100%;
    font-weight: 300;
}

.nav li a.active, .nav li a.active:hover {
    background-color: var(--col3);
    padding: 0.5rem 1rem;
    display: inline-block;
    width: 100%;
    font-weight: 700;
}

.menu-subitems {
    position: relative;
}

.menu-subitems li {
    list-style: none;
    margin: 8px;
}

.menu-subitems li::before {
    content: '';
    display: inline-block;
    height: 1rem;
    width: 1rem;
    background-image: url('/img/hexagon.svg');
    position: absolute;
    left: 0;
}

.tm-container{
    padding: 0 64px 48px 264px;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer {
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15%;
    background-color: var(--col1);
    color: var(--col5);
    margin-top: 160px;
    width: 80vw;
}

.footer__text {
    font-size: 0.6rem;
    line-height: 1.2;
}


.section {
    min-height: 100vh;
    position: relative;
}

.particles-container {
    min-height: 100vh;
    position: relative;
    padding: 80px 24px;
}

.red-line {
    height: 80px;
    min-width: 200px;
    border-top: 10px solid var(--col3);
    padding-top: 20px;
    display: inline-block;
}

/*SECTION INTRO*/

canvas {
    display: block;
    vertical-align: bottom;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #FAFAFA;
    top: 0;
    left: 0;
}

.section_video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}

.logo {
    position: relative;
    z-index: 1;
    width: 50vw;
    max-width: 360px;
    display: block;
}

.section_1 {
    background-image: url("/img/bg-section1.jpg");
    background-size: cover;
    background-position: center;
}

.section_2 {
    /*background-image: url("/img/bg-section2.jpg");*/
    /*background-size: cover;*/
    /*background-position: center;*/
    background-color: #02090f;
}

.section_3 {
    /*background-image: url("/img/bg-section3.jpg");*/
    /*background-size: cover;*/
    /*background-position: center;*/
    background-color: #212a36;
}

.section_4 {
    background-size: cover;
    background-position: center;
}

.section_5 {
    background-size: cover;
    background-position: center;
}

.section_6 {
    background-image: url("/img/bg-section6.jpg");
    background-size: cover;
    background-position: center;
}

.section_7 {
    background-image: url("/img/bg-section7.jpg");
    background-size: cover;
    background-position: center;
}

.section_8 {
    background-color: #212a36;
}

.uk-grid-divider>:not(.uk-first-column)::before {
    border-left: 1px solid #5b6871;
}

.video-section-title {
    position: relative;
    z-index: 1;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    transform: skewX(-8deg);
}

.video-big-title {
    color: var(--col5);
    font-weight: 700;
    font-size: 6vw;
    position: relative;
    display: inline-block;
    transform: skewX(8deg);
}

.video-big-title-outline {
    font-weight: 700;
    font-size: 6vw;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    position: absolute;
    top: 28px;
    left: 36px;
    -webkit-text-stroke-color: black;
    z-index: -1;
    display: inline-block;
    transform: skewX(8deg);
}

.section-title {
    width: 200px;
    border-top: 10px solid var(--col3);
    padding: 1rem 0;
    align-self: flex-end;
}

.big-quote {
    font-size: 3rem;
    font-weight: 700;
    position: relative;
}

.hex3-text {
    padding: 40px 0 0 160px;
}

.value-container {
    width: 80%;
    margin: 0 auto;
    position: relative;
}

.value-title {
    background-color: rgb(192 197 203 / 90%);
    text-align: center;
    padding: 24px;
    position: relative;
    clip-path: polygon(24px 0, 100% 0, calc(100% - 24px) 100%, 0 100%);
}

.value-text {
    background-color: rgb(34 40 45 / 90%);
    padding: 2rem 4rem;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 24px 100%);
}

.management-people {
    position: relative;
    padding-left: 32px;
}

div#management-grid > div {
    border-bottom: 1px solid var(--col2);
    padding-bottom: 2rem;
}

.prj-container{
    background-color: rgba(120, 134, 146, 0.25);
    padding: 2rem;
    border-radius: 8px;
}

.hmoda {
    border-top: 8px solid #C10230;
}

.hparts {
    border-top: 8px solid #2C5281;
}

.hedu {
    border-top: 8px solid #31a836;
}

.hfb {
    border-top: 8px solid #FDBE01;
}

.hmotion {
    border-top: 8px solid #EA580C;
}

.news-table {
    border-collapse: separate;
    border-spacing: 0 5px;
}

.news-table tr {
    background-color: rgba(120, 134, 146, 0.25);
    color: var(--col1);
    border-radius: 8px;
}

.news-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*MEDIA QUERIES*/

@media screen and (max-width: 959px) {

    .hex3-text {
        background-color: var(--col3);
        padding: 2rem;
        position: relative;
    }

    .hex3-text::after {
        content: "";
        background-color: var(--col3);
        width: 100%;
        height: 100px;
        position: absolute;
        bottom: -46px;
        left: 0;
        display: inline-block;
        transform: skewY(6deg);
        z-index: -1;
    }
}

@media screen and (max-width: 640px) {
    .uk-text-large {
        font-size: 1rem;
    }
    .side-menu-container{
        display: none;
    }
    .tm-container {
        padding: 0 2rem 2rem 2rem;
    }
    .big-quote{
        font-size: 2rem;
    }
    .value-container{
        width: 100%;
    }
    .menu-bar{
        display: flex;
        background-color: transparent;
        backdrop-filter: unset;
        border-bottom: none;
        padding: 1rem;
    }
    .section-title {
        width: 120px;
        border-top: 10px solid var(--col3);
        padding: 0.6rem 0;
        align-self: flex-end;
    }
    .section-title h3{
        font-size: 1rem;
    }
    h1{
        font-size: 1.4rem;
    }
    h2{
        font-size: 1.3rem;
    }
    h3{
        font-size: 1.2rem;
    }
    h4{
        font-size: 1.1rem;
    }
    p{
        font-size: 0.9rem;
    }
}

/*FULLPAGE*/

.fp-slidesNav {
    left: 50%!important;
}

#fp-nav ul li a span, .fp-slidesNav ul li a span {
    background: var(--col3);
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
}

.fp-slidesNav ul li a.active span, #fp-nav ul li:hover a.active span, .fp-slidesNav ul li:hover a.active span {
    height: 16px;
    width: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 100%;
}

/*LOGIN*/
.input{
    width: 100%;
    padding: 8px;
    font-size: 1rem;
    border: none;
    background-color: var(--col1);
    color: var(--col5);
}

.login-wrapper{
    width: 300px;
}

.btn-red{
    padding: 1rem 2rem;
    font-size: 0.8rem;
    border: none;
    background-color: var(--col3);
    color: var(--col5);
}

#contact-form .input{
    width: 100%;
    padding: 8px;
    font-size: 1rem;
    border: none;
    background-color: var(--col1);
    color: var(--col5);
    border-bottom: 1px solid var(--col5);
}

#contact-form input[type=file] {
    position: absolute;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    -webkit-appearance: none;
    opacity: 0;
    cursor: pointer;
    font-size: 500px;
    overflow: hidden;
}

.mouse{
    display: inline-block;
    margin-top: 48px;
    position: relative;
    z-index: 1;
    width: 24px;
    filter: drop-shadow(0 0 0 rgb(181, 0, 0));
    transform: scale(1);
    animation: 3s infinite pulse;
}

@keyframes pulse {
    0% {
        transform: scale(0.85);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0.7));
    }

    50% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(0, 0, 0, 0))
    }

    100% {
        transform: scale(0.85);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }
}

.msg-success {
    background-color: mediumseagreen;
    padding: 1rem;
}

::selection {
    background: #7d8d9c;
    color: #fff;
    text-shadow: none;
}

.uk-grid-divider>:not(.uk-first-column)::before {
    border-left: 1px solid var(--col4);
}

.lang-switcher a[disabled]{
    cursor: default;
    opacity: 0.3;
}

a[href="http://alvarotrigo.com/fullPage/extensions/"] {
    display: none;
}

div:has(+ a[href="http://alvarotrigo.com/fullPage/extensions/"]) {
    padding: 0;
}

.img-vertical{
    height: 50vh;
    object-fit: cover;
}

.uk-icon-button{
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .1);
}

.uk-label {
    background: var(--col3);
}

@media  screen and (max-width: 500px) {
    .img-vertical, .img-companies{
        height: 30vh;
        object-fit: cover;
    }
}

.modal-dark {
    background-color: #22282c;
}