/*
Theme Name: Holding Fornaro
Theme URI: https://www.graphilandia.it/
Description: Il Tema di HF
Version: 1.0
Author: Graphilandia
Author URI: https://www.graphilandia.it/
*/

@import url('https://fonts.googleapis.com/css2?family=Fahkwang:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

:root{
    --dark-blue: #273a7e;
    --light-blue: #395fa8;
    --grey: #b1b1b1;

    --header-desk-height: 80px;
    --header-mob-height: 80px;
}

/* RESET */
html *{
    font-family: "Fahkwang", sans-serif;
}

img{
    max-width: 100%;
}

.text-upper{
    text-transform: uppercase;
}
/* /RESET */

/* GENERAL */
.ms_page-wrapper{
    margin-top: var(--header-desk-height);
}

.animate-from-left{
    position: relative;
    left: -100px;
    opacity: 0;
}

.animate-from-right{
    position: relative;
    right: -100px;
    opacity: 0;
}

.op-0{
    opacity: 0;
}

.mob-reverse{
    flex-direction: row;
}

@media screen and (max-width: 1024px) {
    .ms_page-wrapper{
        margin-top: var(--header-desk-height);
    }

    .mob-reverse{
        flex-direction: column-reverse;
    }
}
/* /GENERAL */

/* HEADER */
.main-header{
    height: var(--header-desk-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    border-bottom: 3px solid var(--light-blue);
    box-shadow: 0 0px 9px #0000002e;
    background-color: white;
}

.header-wrapper{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.header-logo a img{
    display: block;
    height: calc(var(--header-desk-height) - 20px);
}

.header-nav{
    display: flex;
    gap: 10px;
    padding: 0 !important;
    margin: 0 !important;
    list-style-type: none;
}

.header-nav li a{
    color: var(--dark-blue);
    font-size: .9rem;
    text-decoration: none;
}


@media screen and (max-width: 1024px) {
    .main-header{
        height: var(--header-mob-height);
    }

    .header-wrapper{
        justify-content: center;
    }

    .header-info{
        display: none;
    }

    .header-logo a img{
        display: block;
        height: calc(var(--header-mob-height) - 20px);
    }
}
/* /HEADER */

/* LOADER */
#loader-home{
    height: 100svh;
    width: 100%;
    position: fixed;
    background-color: white;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 999;
}

.loader-wrapper{
    height: calc(100svh - var(--header-desk-height));
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 5px;
}

#loader-h, #loader-f{
    font-size: calc(100svh - var(--header-desk-height));
    opacity: 0;
    color: var(--dark-blue);
    font-style: italic;
    font-weight: 700;
    background: -webkit-linear-gradient(45deg, var(--dark-blue) 0%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 769px) {
    #loader-h, #loader-f{
        font-size: calc(50svh - var(--header-desk-height));
    }
}
/* /LOADER */

/* HERO HOME */
#hero-home{
    height: calc(100svh - var(--header-desk-height));
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#hero-h, #hero-f{
    font-size: calc(100svh - var(--header-desk-height));
    font-style: italic;
    font-weight: 700;
    color: white;
    opacity: 0.6;
}

.hero-home-overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(0 0 0 / 59%);
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-home .loader-wrapper{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-title{
    font-size: 8rem;
    text-align: center;
    /*background: -webkit-linear-gradient(45deg, var(--dark-blue) 0%, var(--light-blue) 100%);*/
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}


#holding{
    font-weight: 300;
}

#fornaro{
    font-weight: 900;
    display: block;
}

.imgs-wrapper{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.imgs-wrapper img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 769px) {
    #hero-h, #hero-f{
        font-size: calc(50svh - var(--header-desk-height));
    }

    .hero-title{
        font-size: 3rem;
    }
}
/* /HERO HOME */

/* FIRST SECTION */
.ms_section{
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
}

.text-blue{
    color: var(--dark-blue);
}

#first-section{
    background-color: var(--dark-blue);
}

.title-subt{
    font-size: 3rem;
    font-weight: 300;
}

.title-bigger{
    font-size: 3.5rem;
    font-weight: 900;
}

.section-text{
    font-size: 1.1rem;
}

.custom-shape-divider-top-1751376871 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1751376871 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 72px;
}

.custom-shape-divider-top-1751376871 .shape-fill {
    fill: #273A7E;
}

.company-btn{
    display: inline-block;
    padding: 10px 2rem;
    border: 1px solid;
    font-size: 1rem;
    transition: all 200ms linear;
    text-decoration: none;
}

.madsrl-title{
    color: #26367b;
}

.sec-title{
    color: #d81a1b;
}

.restaurant-title{
    color: #212529;
}

.madsrl-btn{
    color: #fdd517;
    background-color: #26367b;
    border-color: #26367b;
}

.sec-btn{
    color: #d81a1b;
    border-color: #d81a1b;
}

.sec-btn:hover{
    background-color: #d81a1b;
    color: white;
}

.madsrl-btn:hover{
    color: #26367b;
    background-color: #fdd517;
    border-color: #fdd517;
}

.restaurant-btn{
    background-color: #212529;
    border-color: #212529;
    color: #e5ded4;
}

.restaurant-btn:hover{
    color: #212529;
    background-color: #e5ded4;
    /*border-color: #e5ded4;*/
}

.company-separator{
    height: 4px;
    width: 0%;
    background-color: var(--grey);
    margin-top: 40px;
    margin-bottom: 40px;
}

.company-logo{
    opacity: 0;
    scale: 0.1;
}

@media screen and (max-width: 769px){
    .title-bigger{
        font-size: 1.6rem;
    }

    .title-subt{
        font-size: 1.5rem;
    }
}
/* /FIRST SECTION */

/* Contacts */
#contacts{
    background: #273A7E;
    background: linear-gradient(8deg, rgba(39, 58, 126, 1) 0%, rgba(57, 95, 168, 1) 100%);
}

.contact-list{
    list-style-type: none;
    padding: 0; 
    margin: 0;
}

.contact-list li{
    margin-bottom: 10px;
}
/* /Contacts */

/* FOOTER */
.main-footer{
    padding-top: 20px;
    padding-bottom: 20px;
    background: #273A7E;
    background: linear-gradient(8deg, rgba(39, 58, 126, 1) 0%, rgba(57, 95, 168, 1) 100%);
}

.footer-text{
    margin-bottom: 0 !important;
}
/* FOOTER */

