html{
  font-family: 'Lora', serif;
  font-size: 20px;
}
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9997;
  transition: all 0.5s;
  padding: 15px;
  overflow-y: auto;
}
@media (max-width: 1199px) {
  #header {
    left: -300px;
  }
}
h1,h2,h3,h4{
  font-family: 'Lora', serif ;
  font-weight: 700;
}
body{
  background-color: #fffff6;
  font-family: 'Lora', serif;
}
#logo{
    
    margin-bottom: 125px;
}
#copertina{
    background-image: url(../img/copertina.jpg) ;
    height:100%;
    width:100%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    font-weight: 700;
    text-shadow:10px 10px 10px;
}
#backdrop{
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(5px); 
  height:100%;
}
#titolo{
    font-size:64px;
}
@media (max-width: 992px) {
  #copertina {
    text-align: center;
  }
  #copertina h1 {
    font-size: 32px;
    line-height: 36px;
  }
  #copertina h3 {
    margin-top: 10px;
    font-size: 20px;
    line-height: 24px;
  }
}
a{
    color:black;
}
a:hover{
    color:#16688b;
}
.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a {
  display: flex;
  align-items: center;
  color: #16688b;
  padding: 10px 18px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
  border-radius: 50px;
  background: #fffff6;
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

.nav-menu a i {
  font-size: 20px;
}

.nav-menu a span {
  padding: 0 5px 0 7px;
  color: #16688b;
}

@media (min-width: 992px) {
  .nav-menu a {
    width: 56px;
  }
  .nav-menu a span {
    display: none;
    color: #fffff6;
  }
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #fffff6;
  background:#16688b;
}

.nav-menu a:hover span, .nav-menu .active > a span, .nav-menu li:hover > a span {
  color: #fffff6;
}

.nav-menu a:hover, .nav-menu li:hover > a {
  width: 100%;
  color: #fffff6;
}

.nav-menu a:hover span, .nav-menu li:hover > a span {
  display: block;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color:#16688b;
  color: #fffff6;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
  background:#fffff6;
  width:170px;
}
/*--------------------------------------------------------------
# Chi siamo
--------------------------------------------------------------*/
#chisiamo img{
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-radius: 1%;
    box-shadow: 5px 5px 20px;
    margin-bottom: 50px;
}
@media (max-width:992px) {
  #chisiamo img{
    width: 300px;
    position: relative;
    object-fit: cover;
    border-radius: 1%;
    box-shadow: 5px 5px 20px;
}
}
/*--------------------------------------------------------------
# Competenze
--------------------------------------------------------------*/
#competenze img{
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 5px 5px 20px;
}
#competenze{
  font-weight: bold;
}
#competenze .col{
  padding-bottom: 50px;
}
/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.carousel-item img{
  width: 700px;
  height: 600px;
  object-fit: cover;
  border-radius: 1%;
}
.carousel {
  width: 700px;
  height: 600px;
}
@media (max-width: 992px){
  .carousel{
    width: 400px;
    height: 400px;
    margin: 0;
  }
  .carousel-item img{
    width: 400px;
    height: 400px;;
    object-fit: cover;
    border-radius: 1%;
  }
}
/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: #fffff6;
}

.contact .info i {
  font-size: 20px;
  color: #16688b;
  float: left;
  width: 44px;
  height: 44px;
  background: #fffff6;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #45505b;
}
.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #45505b;
}
.contact .info .email, .contact .info .phone, .contact .info .address {
  margin-top: 40px;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: #16688b;
  color: #fffff6;
}

@media(max-width:992px){
  .contact>.col{
    align-items: center;
  }
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer{
    background-color:#45505b;
    color:#fffff6;
    padding-top:20px;
    padding-bottom:20px;
}
#footer .social a {
    font-size: 18px;
    display: inline-block;
    background: #16688b;
    color: #fffff6;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}
#footer .social a:hover{
    background: #fffff6;
    color: #16688b;
    text-decoration: none;
}