body {
    background-color: #F2F2F2;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.font-alt {
    font-family: 'Noto Serif', serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

.title {
    margin-top: 30px;
    margin-bottom: 50px;
}

.title h1, h2.card-title {
    font-weight: 700;
    font-family: 'Noto Serif', serif;
    font-style: italic;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 65px;
    z-index: 100;
    transition: all 0.3s ease-out;
    color: black;
}

.navbar.navbar-open, .navbar-fixed.navbar.navbar-open {
    height: auto;
}

.navbar-background {
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: height 0.3s ease-out;
}

.navbar-brand {
    position: relative;
    align-self: stretch;
    height: 50px;
    transition: height 0.3s ease-out;
}

.navbar-brand .logo-dark {
    position: absolute;
    top: 0;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.navbar-brand .logo-light {
    position: absolute;
    top: 0;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.navbar-toggler {
    border: 0;
    padding: 5px;
    background-color: white;
    height: 34px;
    width: 34px;
}

.navbar-toggler:focus, .navbar-toggler:active {
    box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 18%);
}

.navbar-toggler-icon {
    height: 2px;
    width: 24px;
    background-color: black;
    position: relative;
}

.navbar-toggler-icon::after, .navbar-toggler-icon::before {
    content: '';
    display: block;
    height: 2px;
    width: 24px;
    background-color: black;
    position: absolute;
}

/* NOT COLLAPSED */

.navbar-toggler .navbar-toggler-icon {
    background-color: transparent;
    transition: all 0.1s ease-out;
}

.navbar-toggler .navbar-toggler-icon::before {
    transform: translateY(0) rotate(45deg);
    transition: all 0.3s ease-out;
}

.navbar-toggler .navbar-toggler-icon::after {
    transform: translateY(0) rotate(-45deg);
    transition: all 0.3s ease-out;
}

/* COLLAPSED */

.navbar-toggler.collapsed .navbar-toggler-icon {
    background-color: black;
    transition: all 0.2s ease-in;
}

.navbar-toggler.collapsed .navbar-toggler-icon::before {
    transform: translateY(-7px) rotate(0);
}

.navbar-toggler.collapsed .navbar-toggler-icon::after {
    transform: translateY(7px) rotate(0);
}

.nav-item {
    cursor: pointer;
    text-align: center;
}

.nav-item-text {
    padding: 0px 10px;
}

.nav-item-active {
    height: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.nav-item-active::before {
    content: '';
    display: block;
    background-color: currentColor;
    opacity: 0.55;
    height: 3px;
    width: 0;
    transition: width 0.3s ease-out;
}

.nav-item:hover .nav-item-active::before {
    width: 100%;
}

.nav-item:hover .nav-link {
    opacity: 1;
}

.nav-link {
    color: inherit !important;
    opacity: 0.55;
    font-size: large;
    text-transform: uppercase;
}

.navbar-fixed {
    color: black !important;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.navbar-fixed .navbar-background {
    height: 100%;
}

.navbar-fixed .navbar-brand {
    height: 50px;
}

.navbar-fixed.navbar {
    height: 65px;
}

.navbar-fixed .navbar-brand .logo-dark {
    opacity: 1;
}

.navbar-fixed .navbar-brand .logo-light {
    opacity: 0;
}

.section-hero {
    background-color: black;
}

.hero-container {
    position: relative;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    position: absolute;
}

.hero-home {
    object-position: center bottom;
}

.hero-gallery {
    object-position: center center;
}

.hero-text {
    color: white;
    position: relative;
}

.hero-offers {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: black;
    background-color: #f9bd4a;
}

.photo {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* camere */

.card-servizi {
    background-color: #4d4d4d;
    border-radius: 10px;
    color: white;
}

/* dove siamo */

.link-come-raggiungerci {
    text-decoration: none;
    color: black;
    font-weight: 700;
}

.link-come-raggiungerci:hover {
    color: #747474;
}

.card-raggiungici {
    background-color: white;
    border-radius: 10px;
}

.contatti a {
    color: #4d4d4d;
    text-decoration: none;
}

.contatti a:hover p {
    text-decoration: underline;
}

.btn-primary {
    background-color: #4d4d4d;
    border-color: #4d4d4d;
}

.btn-primary:hover {
    background-color: #747474;
    border-color: #747474;
}

.section-footer {
    background: #4d4d4d;
    color: white;
    position: relative;
    margin-top: 100px;
}

.section-footer a {
    color: white;
    text-decoration: none;
}

.section-footer a:hover {
    text-decoration: underline;
    color: lightgrey;
}

.section-copyright {
    background-color: #131010;
    color: #b3adad;
    font-size: small;
}

.footer-contatti a:hover {
    text-decoration: none;
}

.footer-contatti a:hover p {
    text-decoration: underline;
}

.gallery-item-container {
    position: relative;
}

.gallery-item {
    display: block;
    overflow: hidden;
    position: relative;
}

.gallery-item:hover {
    background-color: black;
}

.gallery-item img {
    width: 100%;
    transition: all 0.3s ease-out;
}

.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}

.gallery-item:hover::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.33333em;
    line-height: 0.75em;
    vertical-align: -.0667em;
    content: "\f002";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.section-camere section {
    overflow: auto;
}

.vh-80 {
    height: 80vh;
}

.page-section {
    margin-top: -65px;
    padding-top: 65px;
}

.lg-progress-bar .lg-progress {
    background-color: #d3d3d3;
}

.grecaptcha-badge {
    visibility: hidden;
}

/*Large devices (desktops, 992px and up)*/

@media (min-width: 992px) {
    .display-1 {
        font-size: 7rem;
    }
    .nav-item {
        text-align: start;
    }
    .navbar-background {
        height: 0;
    }
    nav.navbar {
        color: white;
    }
    .navbar {
        height: 100px;
    }
    .navbar-brand {
        height: 75px;
    }
    .navbar-brand .logo-dark {
        opacity: 0;
    }
    .navbar-brand .logo-light {
        opacity: 1;
    }
    .nav-item-active {
        height: 5px;
    }
}