/* ************** */
/* *** GFonts *** */
/* ************** */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&family=Pixelify+Sans:wght@400..700&family=Playfair:opsz,wdth@5..1200,87.5&family=Vesper+Libre&display=swap');

/*
- LANDING Title - Pixelify Sans 
- Landing Subtitle - Playfair Despair
- Hx - IBM Plex Mono
- P / Body - Vesper Libre
*/
:root {
    /*overflow-y: hidden;*/
    /* --siteMainColor: #F25E3D; 
    --site2ndColor: #F2AD85; 
    --site3rdColor: #D9B5A0;
    --site4thColor: #F28444;
    --site5thColor: #dea07b;
    --bs-link-color: rgb(173, 0, 0)!important; */
    --siteMainColor: #FF00C1; 
    --site2ndColor: #4900FF; 
    --site3rdColor: #9600FF;
    --site4thColor: #4900FF;
    --site5thColor: #00B8FF;
    --site6thColor: #DED5D7;
    --site7thColor: #0200A1;
    --winBackgrGrey: #BCBCBC;
    --winGrey: #C4C8CD;
    --winLightGrey: #999999;
    --winDarkGrey: #3a3a3a;
    --winBlack: #000000;
    --winLightBlue: #037F7F;
    --winBlue: #0201A5;
    --siteBackgroundColor: #D8D7BB;
    --bs-link-color: #00FFF9 !important;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--siteBackgroundColor);
    font-size: 1rem;
}

.container-fluid {
    padding: 0 !important;
    background-color: var(--winLightBlue);
}

.section {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 100vh; */
}

@font-face {
    font-family: "OpenBrush";
    src: url(/include/fonts/OpenBrush.ttf) format("truetype");
}

/* --------------- */
/* Main structures */
/* Text, fonts etc */
/* DESKTOP VERSION */
/* --------------- */

.preloader {
    z-index: 999999 !important;
    color: white;
    background-color: black;
    width: 100vw !important;
    height: 100vh !important;
    position: fixed;
    top:0;
    left:0;
    opacity: 1;
}
.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* LANDING */

.landingTitle {
    font-family: "Pixelify Sans", sans-serif;
    font-weight: 400 !important;
    font-style: normal;
    font-size: 5.5rem!important;
    text-shadow: 1px 1px 3px black!important;

    color: var(--siteMainColor);
    text-shadow: 0rem 0rem 1rem black;
    display: block;
}

subtitle {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 1.50rem!important;
    color: var(--site3rdColor);
}

.landingSubtitle {
    overflow: hidden!important;
    text-shadow: 1px 1px 3px black;
}

h1 {
    font-family: "IBM Plex Mono", monospace;
    font-style: normal;
    font-weight: 700!important;
    font-size: 2.5rem!important;
    color: var(--site7thColor);
}

h2 {
    font-family: "IBM Plex Mono", monospace;
    font-style: normal;
    font-weight: 700!important;
    font-size: 2.5rem!important;
    color: var(--site3rdColor);
}

h3 {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600!important;
    color: var(--siteMainColor);
    text-align: left;
    margin: 0 !important;
}

h4 {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500!important;
    color: var(--winBlack);
    text-align: left;
    margin: 0 !important;
}

h5 {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400!important;
    text-align: left;
    font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0.25rem!important;
    margin-bottom: 0.25rem!important;
}

body {
    font-family: "Vesper Libre", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.0rem!important;
    overflow-x: hidden;
    /*text-shadow: 0.05rem 0.05rem 0.5rem #747474;*/
    overflow-anchor: none;
}

footer, footer p {
    font-size: 1rem!important;
}

p, li {
    font-size: 1.5rem;
    /* padding: 1rem 1rem 1rem 1rem; */
}

f {
    font-size: 1.2rem;
}

.rowSpacer {
    padding-top: 2rem;
}

/* PHONE VERSION */

@media (max-width: 768px) {
    .landingTitle {
        font-size: 3.2rem!important;
    }

    subtitle {
        font-size: 1.0rem!important;
    }

    h2 {
        font-size: 1.8rem!important;
    }

    h3 {
        font-size: 1.5rem!important;
    }

    h4 {
        font-size: 0.9rem!important;
    }

    body, p {
        font-size: 1rem!important;
    }

    footer, footer p {
    font-size: 0.8rem!important;
    }

    .centerWhenMobile {
    justify-content: center!important;
    align-items: center!important;
    text-align: center!important;
    }
}

/* ************** */
/* * BODY ITEMS * */
/* ************** */

/* *** PRELOADER *** */

.preloaderText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "IBM Plex Mono", monospace;
    font-size: 2rem;
    letter-spacing: 0.2rem;
}

/* *** LANDING PANEL *** */

.landingNavbar {
    width: 100vw;
    position: sticky;
    top: 0;
    overflow: hidden;
    z-index: 999;
    height: 30px;
    /* margin-bottom: -30px; */
}

.landingNavbarBtn {
    font-family: "IBM Plex Mono", monospace;
    font-size: 1.2rem;
    font-weight: 900;
}

.landingNavbarBtn > a {
    color: var(--site3rdColor)!important;
    text-shadow: black 2px 2px 3px;
    text-decoration: none!important;
    cursor: pointer;
}

.landingPanel{
    /* height: 100vh; */
    background-image: url('../include/img/backgr.jpg');
    background-position: center;
    /* flex-box thing */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover; 
    color:black;
    text-align: center;
    text-shadow: 0px 0px 10px #000000;
}

.landingMsgCircle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;

    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    cursor: pointer;
    background: var(--site4thColor);

    aspect-ratio: 1 / 1 !important;
    --g:/16.324% 16.324% radial-gradient(#000 calc(71% - 1px),#0000 71%) no-repeat;
    mask: radial-gradient(100% 100%,#000 calc(41.034% - 1px),#0000 41.034%) subtract,100% 50% var(--g),96.194% 69.134% var(--g),85.355% 85.355% var(--g),69.134% 96.194% var(--g),50% 100% var(--g),30.866% 96.194% var(--g),14.645% 85.355% var(--g),3.806% 69.134% var(--g),0% 50% var(--g),3.806% 30.866% var(--g),14.645% 14.645% var(--g),30.866% 3.806% var(--g),50% 0% var(--g),69.134% 3.806% var(--g),85.355% 14.645% var(--g),96.194% 30.866% var(--g);
}

.landingMsg {  
    rotate: -25deg;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.8rem;
    color: white;
    word-break :normal;
    padding: 20%;
}

/* MAIN PANEL */

.mainPanel {
    padding-bottom: 2rem;
}

.mainContent {
    padding: 1rem 1rem 1rem 1rem;
}

#sectContent {
    flex: 1 1 auto!important;
    min-height: 0;
    display:block!important;
}

.carousel {
    display:unset!important;
}

/* FULLPAGE.JS */

.fp-table {
    display: table;
    width: 100%;
    height: 100vh;
}

.fp-watermark {
    opacity: 0!important;
    /* removing fullpage watermark as it's been quoted in the footer */
}

/* -------------- */
/* ---- TABS ---- */
/* -------------- */

.tabsTopBar {
    background: #0F2A6F;
    background: linear-gradient(90deg,rgba(15, 42, 111, 1) 0%, rgba(162, 198, 237, 1) 100%);
    color: white;
    text-align: left;

    border-top: 2px solid var(--winBackgrGrey);
    border-left: 2px solid var(--winBackgrGrey);
    border-bottom: 2px solid var(--winLightGrey);
    border-right: 2px solid var(--winDarkGrey);
}

.tabsTopBar h5 {
    height: 100%;
}

.tabsTopBarIcon {
    max-width: 40px;
    max-height: 40px;
    padding: 0 5px 0 5px;
}

.tabBtnsRow {
    border-right: 2px solid var(--winDarkGrey);
    border-left: 2px solid var(--winBackgrGrey);
    border-top: 0px;
}

#tabBtns {
    background-color: var(--winBackgrGrey);
    overflow-x: hidden; /* o auto se vuoi scrollbar */
    min-width: 0; /* Importante per flex-items che crescono */
}

#buttons {
    min-width: 0; /* Permette a flex-grow di limitare la larghezza */
    border-left: 0px !important;
}

.tabStyle, .tabStyleNoHover {
    /* Aggiunte per la centratura verticale */
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    width: fit-content;
    min-width: min-content;
    border-bottom-width: 0px !important;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    vertical-align: middle;
    color: var(--winBlack);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    min-width: 0;
}

.tabStyleNoHover {
    cursor: default;
}

.tabStyle#tabItem2, .tabStyle#tabItem3, .tabStyle#tabItem4, .tabStyle#tabItem5, .tabStyle#tabItem6 {
    border-left: 0px !important;
}

.tabStyle:hover {
    background-color: #374199;
}

.tabStyle.active {
    background-color: var(--site7thColor);
}

.tabStyle.active > h4 {
    color: white!important;
}

.tabContent img.float-start,
.tabContent img.img-fluid.float-start {
    float: left;
    width: auto;
    max-width: 40%;
    height: auto;
    margin: 0 1rem 1rem 0;
}

.tabContent {
  display: none;
}

.closeBtn {
    background: var(--winBackgrGrey);
    color: black!important;
    border-top: 2px solid var(--winLightGrey);
    border-left: 2px solid var(--winLightGrey);
    border-right: 2px solid var(--winDarkGrey);
    border-bottom: 2px solid var(--winDarkGrey);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 5px 0 5px;
}

.closeBtn  h4 {
    color:black!important;
}

.contentStyle {
    background-color: var(--winBackgrGrey);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    height: calc(100vh - 9rem);
    text-align: justify;
    padding: 1rem 1rem 1rem 1rem;
    /* border: 3px solid var(--site4thColor); */
    border-left: 2px solid var(--winLightGrey);
    border-top: 2px solid var(--winLightGrey);
    border-right: 2px solid var(--winDarkGrey);
    border-bottom: 2px solid var(--winDarkGrey);
}

@media (max-width: 768px) {
    .contentStyle {
    height: calc(100vh - 12rem)!important;
    }
}

.modal-header {
    border-bottom: 2px solid var(--winDarkGrey)!important;
    background-color: var(--winBlue)!important;
    border-radius: 0%!important;
}

.modal-header > .modal-title {
    color: white!important;
}

.modal-body {
    background-color: var(--winBackgrGrey)!important;
    color: var(--winBlack)!important;
    border-radius: 0%!important;
}

.modal-body p, .modal-header .modal-title {
    font-size: 1rem!important;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500!important;
    text-align: left;
    margin: 0 !important;
}

.modal-footer {
    background-color: var(--winBackgrGrey)!important;
    border-radius: 0%!important;
    border: 0px!important;
    font-size: 0.7rem!important;
    font-family: "IBM Plex Mono", monospace;
}

.modal-footer button {
    font-size: 0.8rem!important;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500!important;
}

#modal-close {
    color: black;
    position: absolute;
    right: 1rem;
    padding: 0 5px 0 5px;

}

#modal-close-1, #modal-close-2 {
    background-color: var(--siteMainColor);
    border-radius: 0%!important;
    border: 1px solid black;
    color: black;
    box-shadow: 2px 2px 0px black;
}

#modal-close-1 {
    background-color: var(--winBackgrGrey);
}

#modal-close-2 {
    background-color: var(--winBackgrGrey);
}

/* -------------- */
/* --- FOOTER --- */
/* -------------- */

#sectFooter {
    background-color: var(--winBackgrGrey);
    /* height: 10rem; */
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    bottom: 0px;

    border-top: 2px solid var(--winLightGrey);
    border-left: 2px solid var(--winLightGrey);
    border-right: 2px solid var(--winDarkGrey);
    border-bottom: 2px solid var(--winDarkGrey);
}

.footerContent {
    padding: 2rem 1rem 0rem 1rem;
}

.footerText {
    font-size: 1.2rem;
}

#footerLinks > img {
    cursor: pointer;
}

.footerImgs {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footerImgs svg {
    width: auto;
    height: 3.5rem;
}