@import "constants.css";

#ss
{
  position: fixed;
  z-index: 9999999;
  background-color: #eee;
  height: 100svh;
  display: flex;
  justify-content: center;
  width: 100vw;
  align-items: center;
}
#ss img
{
    display: block;
  width: 120px;
}
#ss.out
{
    opacity: 0;
    transform: scale(0,0);
    transition: opacity 400ms ease-in-out,transform 500ms ease-in-out
}

#wireframe-fill .area
{
    background-color: #117a8b;
}
body
{
    background-color: #fff;
    font-family: 'Heebo', sans-serif;
    font-weight: var(--font-weight-normal);
    color: var(--color-text);
}
.font-bq
{
    font-family: 'EB Garamond', serif;
    font-weight: normal;
}
header
{
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    width: 100vw;
    z-index: 9;
    background-image:linear-gradient(180deg, rgba(255, 255, 255, 0.8) 50%,rgba(255, 255, 255, 0.5) 100%);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    transition: all 500ms ease-in-out;
}

a
{
    text-decoration: none;
}
blockquote
{
    color: #333;
    text-align: left;
    margin: 15px auto auto 0px;
}
header img
{
    width: 115px;
    display: block;
}
h1
{
    line-height: 42px;
    font-size: 36px;
    color: #272727;
}
h2
{
    font-size: 28px;
    font-weight: var(--font-weight-normal);
    color: #272727;
}
h3
{
    font-size: 20px;
    line-height: 26px;
    font-weight: var(--font-weight-normal);
}
h4
{
    font-size: 22px;
    line-height: 18px;
    font-weight: var(--font-weight-normal);
    color: #272727;
}
p
{
    font-size: 15px;
    line-height: 24px;
    word-break: break-word;
}
header.pages
{
    background-color: #fff;
    box-shadow: 0 2px 3px rgba(0,0,0,0.2);
    text-shadow:none;
    transition: all 500ms ease-in-out;
}
header.pages nav li a:link, header.pages nav li a:visited
{
    color: var(--color-text);
}
.color-primary
{
    color: var(--color-primary) !important;
}
.color-sec
{
    color: var(--color-sec) !important;
}
.color-white
{
    color: #fff !important;
}
.bg-color-gray-light-2
{
    background-color: #f4f4f4 !important;
}
.bg-dark
{
    background-color: var(--color-dark) !important;
}
.bg-white
{
    background-color: #fff !important;
}
.bg-text
{
    background-color: var(--color-text) !important;
}
.color-text
{
    color: var(--color-text);
}
.display-none
{
    display: none !important;
}
.font-weight-bold
{
    font-weight: var(--font-weight-bold) !important;
}
#btn-menu
{
    font-size: 30px;
    color: #272727;

}
.btn
{
    width: 160px;
    background-color: transparent;
    border: 2px solid var(--color-sec);
    color: var(--color-text);
    display: block;
    padding: 8px 5px 8px 16px;
    border-radius: 0px;
    font-size: 16px;
    transition: all 300ms ease-in-out;

}
.btn:hover
{
    background-color: var(--color-sec);
    color: #fff;
    transition: all 300ms ease-in-out;
}
.btn.center
{
    margin: auto;
    text-align: center;
    padding-right: 0;
    padding-left: 0;
}
.trapezium
{
    clip-path: polygon(0px 0px, 100vw 0px, 100vw 100vh, 0 100vh);
    background-image:linear-gradient(145deg, rgba(255, 255, 255, 1) 50%,rgba(255, 255, 255, 0.4) 80%);
    position: absolute;
    height: 100vh;
    width: 100vw;

}
#heroe
{
    height: 100vh;
    background-image:
        linear-gradient(145deg, rgba(0, 185, 120, 0.6) 60%, rgba(20, 40, 230, 0.7) 90%),
        url('../img/sfondo_home.jpeg');
    background-size: cover;
    position: relative;
    padding: 0;
}
#heroe h1
{
    font-weight: var(--font-weight-bold);
}
#heroe h2
{
    font-weight: var(--font-weight-normal);
    font-size: 22px;
}
#heroe h3
{
    font-weight: var(--font-weight-normal);
    color: var(--color-primary);
    font-size: 22px;
}
#div-heroe
{
    width: 40px;
    background-color: #7B7B7B;
    margin: 25px auto 25px 0;
    height: 2px;

}
#heroe p
{
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 26px;
}
#heroe p i
{
    font-size: 19px;
  display: block;
  margin-bottom: -15px;
  line-height: 29px;
}
.area
{
    padding: 40px 0;
}
.area.int
{
    padding-top: 130px;
    padding-bottom: 50px;
}
.area h3
{
    margin:5px auto 30px;
}
#servizi
{
    background-color: #fff;
}
#servizi img,#team img
{
    background-color: yellow;
    width: 100%;
    display: block;
}
#servizi img
{
    aspect-ratio: 4 / 3;
}
#about
{
    background-color: #f8f8f8;
}
.box-service
{
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
    padding-bottom: 30px;
    margin-top: 30px;
    padding-top: 30px;

}
.box-service.first
{
    margin-top: 0
}
.box-service img
{
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.box-service p
{
    margin: 30px auto 30px;
}
#team
{
    background-color: var(--color-gray-light3);
}
#team img
{
    object-fit:cover;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1;

}
.bha::after
{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image:linear-gradient(145deg, rgba(0, 185, 120, 0.15) 60%, rgba(20, 40, 230, 0.25) 90%);
    z-index: 2
}
#team-info
{
    background-color: var(--color-gray-light3);
    color:  var(--color-dark);
}
#team-info h4
{
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: var(--font-weight-bold);
    color: var(--color-dark);
    font-size: 20px;
}
#team-other
{
    background-color: #f8f8f8;
}
#team-other img
{
    background-color: royalblue;
    aspect-ratio: 1 / 1;
    border: 8px solid #fff;
    box-sizing: border-box;
    display: block;
    margin: auto;
    width: 100%;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);

}
#team-other h4
{
    margin: 15px auto 5px;
    font-size: 18px;
    line-height: 20px;
}
#team-other h5
{
    font-size: 16px;
    color: var(--color-primary);
    font-weight: var(--font-weight-normal);
    line-height: 20px;
}
#team-other h5 span
{
    font-weight: var(--font-weight-bold);
    color: var(--color-dark);
}
#footer-bg-sx
{
    background-color: #fff;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 100%
}
#footer-bg-sx.gray
{
    background-color: var(--color-gray-light3);
}
#footer-bg-dx
{
    visibility: hidden;
}
footer img
{
    width: 150px;
    display: block;
    margin: 0px auto 15px auto;
}
footer h6
{
    font-size: 18px;
    text-align: center;
    color: var(--color-sec);
}
footer p
{
    text-align: center;
}
footer i
{
    font-size: 22px;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}
footer .contacts a
{
   color: var(--color-primary) !important;
}

#team-info-text a:link,#team-info-text a:visited
{
    color: var(--color-sec);
    text-decoration: underline;
    transition: all 300ms ease-in-out;
}
#team-info-text a:hover,#team-info-text a:visited:hover
{
    color: var(--color-primary);
    transition: all 300ms ease-in-out;
}

.cell-team-other-face a:link,.cell-team-other-face a:visited
{
    color: var(--color-sec);
    text-decoration: underline;
    transition: all 300ms ease-in-out;
}
.cell-team-other-face a:hover,.cell-team-other-face a:visited:hover
{
    color: var(--color-primary);
    transition: all 300ms ease-in-out;
}
.cell-team-other-face
{
    height: 220px;
}
.cell-team-other-face
{
    height: 260px;
}

h3.bq
{
    width: 100%;
    margin-bottom: 10px;
}
h3.bq i 
{
    font-size: 22px;
  display: block;
  margin-bottom: 10px;
  line-height: 28px;
}



.wrapper-nav.mob
{
    display: block;
    position: fixed;
    background-image:linear-gradient(145deg, rgba(25, 25, 25, 0.95) 30%, rgba(25, 25, 25, 1) 100%),url('../img/sfondo_home.jpeg');
    width: 100vw;
    height: calc(100dvh - 80px);
    top: 80px;
    left: -100vw;
    opacity: 0.3;
    transition: all 300ms ease-in;

}
.wrapper-nav.mob nav
{
    text-align: left;
    padding-left: 100px;
    padding: 60px 70px;
}
.wrapper-nav.mob a
{
    color: #fff !important;
    font-size: 18px;
}
.wrapper-nav.mob li
{
    list-style: none;
    margin-bottom: 10px
}





.wrapper-nav.mob.visible
{
    left: 0;
    opacity: 1;
    transition: all 300ms ease-out;
}
#logo-nav-mob
{
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 50px;
}

.divs-footer
{
   display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-text);
  margin: 10px auto;
}
@media only screen and (min-width:480px)
{
    .area.int
    {
        padding: 0;
        height: 400px;
        margin-top: 80px;
    }

    .wrapper-nav.mob nav
    {
        padding-left: 200px;
        padding: 80px 70px;
        text-align: center;
    }
    .wrapper-nav.mob a
    {
        font-size: 20px;
    }
    .wrapper-nav.mob li
    {
        margin-bottom: 15px
    }
    #logo-nav-mob
    {
        right: 50%;
        bottom: 80px;
        width: 70px;
        margin-right: -35px
    }
}
@media only screen and (min-width:768px)
{
    #ss img
    {
        display: block;
        width: 150px;
    }
    #logo-nav-mob
    {
        display: none;
    }
    header
    {
        height: 90px
    }
    header img
    {
        width: 140px;
    }
    nav ul
    {
        display: flex;
        margin: 0;
        padding: 0;
        justify-content: end;
    }
    nav li
    {
        list-style: none;
    }
    nav li a:link,nav li a:visited
    {
        color: #fff;
        display: block;
        margin-left: 25px;
        font-size: 18px;
    }
    .trapezium
    {
        clip-path: polygon(0px 0px, 420px 0px, 80vw 720px, 0 720px);
        background-image:linear-gradient(145deg, rgba(255, 255, 255, 1) 20%,rgba(255, 255, 255, 0.4) 80%);
    }
    header
    {
        background-image:none;
        box-shadow: none;
    }
    h1
    {
        line-height: 46px;
        font-size: 40px;
    }
    h2
    {
        font-size: 32px;
    }
    h3
    {
        font-size: 20px;
        line-height: 26px;
        font-weight: var(--font-weight-normal);
    }
    h4
    {
        font-size: 22px;
        line-height: 18px;
    }
    p
    {
        font-size: 17px;
        line-height: 27px;
    }
    #heroe
    {
        max-height: 720px;
    }
    #heroe h1
    {
        margin-top: 70px;
    }
    #heroe h3
    {
        font-size: 24px;
    }
    .area h3
    {
        margin: 7px auto 33px;
    }
    .btn
    {
        width: 180px;
        padding: 10px 5px 10px 20px;
        font-size: 17px;
    }
    .area
    {
        padding: 80px 0;
    }
    #about p
    {
        margin-bottom: 10px;
    }
    #team
    {
        padding-bottom: 0;
    }
    footer img
    {
        width: 170px;
        margin: 0px auto 20px 0;
    }
    footer p
    {
        text-align: left;
    }
    #footer-bg-sx
    {
        background-color: #eee;
        width: 50vw;
    }
    #footer-bg-dx
    {
        background-color: var(--color-text);
        width: 50vw;
        right: 0;
    }
    footer .contacts
    {
        padding-left: 30px;
    }
    footer .contacts p
    {
        color: #fff;
        font-size: 14px;
        line-height: 22px;
        margin-top: 10px;
    }
    
    footer h6
    {
        text-align: left;
        color: var(--color-primary);
        font-size: 20px;
    }
    footer p.follow
    {
        font-size: 20px;
    }
    .box-service
    {
        margin-top: 0;
    }
    .cell-box-service
    {
        display: flex;
    }
    #team-info
    {
        background: linear-gradient(150deg, rgba(127,219,187,1) 0%, rgba(138,147,242,1)  100%);
        color:  var(--color-dark);
    }
    #team-info p
    {
        color: var(--color-dark);
    }
    #team-info-text a:link,#team-info-text a:visited
    {
        color: #fff
    }
    #team-info-text a:hover,#team-info-text a:visited:hover
    {
        color: var(--color-dark);
    }
    h3.bq
    {
        width: 380px;
        margin-bottom: 12px;
        line-height: 28px;
    }
    
    heroe p i 
    {
  font-size: 22px;
  margin-bottom: -10px;
  line-height: 30px;
}
h3.bq i 
{
  font-size: 25px;
  margin-bottom: 13px;
  line-height: 32px;
}


}
@media only screen and (min-width:1024px)
{
    #ss img
    {
        width: 200px;
    }
    header
    {
        height: 110px
    }
    header img
    {
        width: 170px;
    }
    nav li a:link,nav li a:visited
    {
        margin-left: 35px;
        font-size: 19px;
    }
    .trapezium
    {
        clip-path: polygon(0px 0px, 55vw 0px, 75vw 720px, 0 720px);
    }
    h1
    {
        line-height: 51px;
        font-size: 46px;

    }

    h2
    {
        font-size: 38px;
    }
    h3
    {
        font-size: 22px;
        line-height: 28px;
    }
    h4
    {
        font-size: 22px;
        line-height: 18px;
    }
    p
    {
        font-size: 17px;
        line-height: 27px;
    }
    #heroe  h1
    {
        font-weight: var(--font-weight-normal);
    }
    #heroe h3
    {
        font-size: 26px;
    }
    #heroe p
    {
        margin-bottom: 10px;
        width: 480px;
        font-size: 20px;
        line-height: 28px;
    }
    .area h3
    {
        margin: 7px auto 33px;
    }
    #div-heroe
    {
        width: 60px;
        margin: 40px auto 35px 0;
    }
    .btn
    {
        width: 190px;
        padding: 11px 7px 11px 23px;
        font-size: 18px;
    }
    .area
    {
        padding: 90px 0;
    }
    .area.int
    {
        height: 500px;
        margin-top: 90px;
    }
    #about p
    {
        margin-bottom: 10px;
    }
    #team
    {
        padding-bottom: 0;
        margin-top: 30px;
    }
    .box-service
    {
        padding-bottom: 30px;
        padding: 35px 5px 35px;
    }
    #team-info-text
    {
        padding-left: 20px;
    }
    #team-info h4
    {
        margin-top: 40px;
        margin-bottom: 10px;
    }
    #team-info-text h4:first-child
    {
        margin-top: 0;
    }
    #row-other
    {
        margin-top: 15px;
    }
    #team-other img
    {
        border: 12px solid #fff;
    }
    #team-other h4
    {
        margin: 15px auto 8px;
        font-size: 21px;
    }
    #team-other h5
    {
        font-size: 18px;
    }
    #team-other h5 span
    {
       display: block;
       margin: 16px auto -12px 0;
    }
    .cell-team-other-face
    {
        height: 320px;
    }
    footer img
    {
        width: 190px;
        margin: 0px auto 25px 0;
    }
    footer .contacts
    {
        padding-left: 50px;
    }
    footer h6
    {
        font-size: 22px;
    }
    footer .contacts p
    {
        font-size: 16px;
        line-height: 24px;
        margin-top: 15px;
    }
    footer p.follow
    {
        font-size: 21px;
    }
    .area h3.bq
    {
        width: 620px;
        margin-bottom: 40px;
        line-height: 30px;
    }
    #heroe p i 
    {
  font-size: 24px;
  margin-bottom: -12px;
  line-height: 36px;
}
h3.bq i
{
  font-size: 28px;
  display: block;
  margin-bottom: 15px;
  line-height: 38px;
}
footer .contacts a
{
    color: #fff !important;
}

}
@media only screen and (min-width:1420px)
{
    #ss img
    {
        width: 210px;
    }
    header
    {
        height: 120px;
        padding: 0 20px;
    }
    header img
    {
        width: 190px;
    }
    .trapezium
    {
        clip-path:polygon(0px 0px, 45vw 0px, 65vw 820px, 0 820px);
        background-image: linear-gradient(145deg, rgb(255, 255, 255) 10%,rgba(255, 255, 255, 0.6) 80%);
    }
    h1
    {
        line-height: 54px;
        font-size: 48px;
    }
    #heroe
    {
        max-height: 820px;
    }
    #heroe h1
    {
        margin-top: 30px;
    }
     #heroe h3 
     {
    font-size: 30px;
    margin-top: 15px;
    
   
  }
  #heroe p i 
  {
  font-size: 27px;
  margin-bottom: -15px;
  line-height: 39px;
  
}
h3.bq i 
{
  font-size: 32px;
  margin-bottom: 18px;
  line-height: 40px;
   color: var(--color-sec);
}

    .area h3
    {
        margin: 10px auto 55px;
    }
    #heroe p
    {
        margin-bottom: 0px;
        width: 580px;
        line-height: 30px;
        font-size: 22px;
    }
    p
    {
        font-size: 18px;
        line-height: 28px;
    }
    .btn
    {
        width: 210px;
        padding: 12px 8px 12px 25px;
    }
    #div-heroe
    {
        width: 80px;
        margin: -10px auto 40px 0;
    }
    nav li a:link, nav li a:visited
    {
        margin-left: 60px;
        font-size: 21px;
    }
    .area
    {
        padding: 130px 0;

    }
    area h3
    {
        margin: 12px auto 60px;
    }
    h2
    {
        font-size: 42px;
    }
    h3
    {
        font-size: 24px;
        line-height: 30px;
    }
    #about p
    {
        margin-bottom: 15px;
    }
    .box-service
    {

        padding: 0 25px 50px;
    }
    .cell-box-service
    {
        padding: 0 8px;
    }
    #team-info-text
    {
        padding-left: 60px;
    }
    #team-info h4
    {
        margin-top: 50px;
        margin-bottom: 12px;
        font-size: 26px;
    }
    #team-info p
    {
        font-size: 20px;
    }
    .cell-team-other-face
    {
        padding: 0 5px;
        height: 330px;
    }

    #row-other
    {
        margin-top: 30px;
        justify-content: space-around;
    }
    h4
    {
        font-size: 23px;
        line-height: 28px;
    }
    .box-service p
    {
        margin: 30px auto 35px;
    }
    #team-other h4
    {
        margin: 30px auto 12px;
        font-size: 22px;
    }
    #team-other h5
    {
        font-size: 19px;
    }
    #team-other h5 span
    {
    margin: 18px auto -12px 0;
  }
    footer img
    {
        width: 230px;
        margin: 0px auto 35px 0;
    }
    footer .contacts
    {
        padding-left: 70px;
    }
    footer h6
    {
        font-size: 24px;
    }
    footer .contacts p
    {
        font-size: 17px;
        line-height: 27px;
        margin-top: 20px;

    }
    footer p.follow
    {
        font-size: 24px;
    }
    .box-service
    {
        padding: 50px 20px 50px;
    }
    .area h3.bq
    {
        margin-bottom: 60px;
        line-height: 32px;
    }
    #parag-about-home
    {
        margin-top: -30px;
    }
    #row-actor-face
    {
        width: 1320px;
        margin: auto;
    }
}
@media only screen and (min-width:1680px)
{
    #ss img
    {
        width: 240px;
    }
    header
    {
        height: 125px;
        padding: 0 40px;
    }
    header img
    {
        width: 210px;
    }
    h1
    {
        line-height: 60px;
        font-size: 56px;
    }
    #heroe h3
    {
        font-size: 34px;
        margin-top: 18px;
    }
    #div-heroe
    {
        width: 90px;
        margin: 0px auto 50px 0;
    }
    #heroe
    {
        max-height: 860px;
    }
    #heroe h1
    {
        margin-top: 100px;
    }
    #heroe p
    {
        margin-bottom: 38px;
        width: 560px;
    }
    p
    {
        font-size: 19px;
        line-height: 30px;
    }
    .btn
    {
        width: 230px;
        padding: 14px 10px 14px 28px;
        font-size: 19px;
    }
    .trapezium
    {
        clip-path: polygon(0px 0px, 43vw 0px, 63vw 920px, 0 920px);
    }
    nav li a:link, nav li a:visited
    {
        margin-left: 75px;
        font-size: 25px;
    }
    .area
    {
        padding: 150px 0;
    }
    .area h3
    {
        margin: 12px auto 60px;
    }
    #about p
    {
        margin-bottom: 20px;
    }
    h3
    {
        font-size: 25px;
    }
    .box-service
    {
        padding: 55px 20px 55px;
    }
    cell-box-service
    {
        padding: 0 12px;
    }
    .box-service p
    {
        margin: 35px auto 40px;
    }
    h4
    {
        font-size: 24px;
        line-height: 20px;
        margin-top: 8px;
    }
    #team-info h4
    {
        margin-top: 85px;
        margin-bottom: 16px;
        font-size: 26px;
    }
    #team-other img
    {
        border: 12px solid #fff;
    }
    #team-other h4
    {
        margin: 32px auto 15px;
        font-size: 22px;
    }
    #team-other h5
    {
        font-size: 21px;
        line-height: 25px;
    }
    #team-info p
    {
        font-size: 22px;
    }
    .cell-team-other-face
    {
        padding: 0;
        height: 370px;
    }
    footer img
    {
        width: 260px;
        margin: 0px auto 40px 0;
    }
    footer p.follow
    {
        font-size: 27px;
    }
    footer .contacts
    {
        padding-left: 100px;
    }
    footer h6
    {
        font-size: 28px;
    }
    footer .contacts p
    {
        font-size: 19px;
        line-height: 31px;
        margin-top: 25px;
    }
    #heroe p
    {
        margin-bottom: 15px;
        width: 620px;
        font-size: 24px;
        line-height: 35px;
    }
     #heroe p i 
     {
    font-size: 31px;
    margin-bottom: -12px;
    line-height: 42px;
  
}
h3.bq i
{
    font-size: 35px;
    margin-bottom: 20px;
    line-height: 43px;
    color: var(--color-sec);
  
}
#row-actor-face
    {
        width: 1560px;
        margin: auto;
    }
}
