/*
Theme Name: Velf Class Rental
Theme URI: https://www.velfclassrental.com
Author: Matteo Manna
Author URI: https://matteomanna.com/
Text Domain: sem
Description: The 2022 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you"ve learned with others.
*/

@import url( 'https://fonts.googleapis.com/css2?family=Lato:wght@300;700&family=Montserrat:wght@100;600&display=swap' );

body.vcr {
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.7;
    background-color: white;
    color: #4d4d4d;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.vcr strong {
    font-weight: 700;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #0d0d0d;
    letter-spacing: -2px;
}

body.vcr figure {
    margin-bottom: 0;
}

a {
    text-decoration: none;
}

::selection {
    background-color: #d20000;
    color: white;
}

::-moz-selection {
    background-color: #d20000;
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: #eee;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, .1);
}

::-webkit-scrollbar-thumb {
    background: #d20000;
    border-radius: 4px;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, .5);
}

a,
a:hover {
    color: #d20000;
}

body.vcr .cn-button.bootstrap {
    background: #d20000;
}

body.vcr .owl-theme .owl-dots .owl-dot.active span,
body.vcr .owl-theme .owl-dots .owl-dot:hover span {
    background: #d20000;
}

.bg-grey-light {
    background-color: #f0f0f0;
}

.bg-grey-dark {
    background-color: #0d0d0d;
    color: white;
}

.bg-black {
    background-color: black;
    color: white;
}


#slider-top .owl-dots {
    position: relative;
    margin-top: -120px;
}

.slider-top__figure {
    top: 0;
    left: 0;
    transition: .8s ease;
    transform: scale(1.05);
    opacity: 0;
}

.owl-item.active .slider-top__figure {
    transition-delay: .3s;
    transform: scale(1);
    opacity: 1;
}

.img-cover {
    object-fit: cover;
}

.img-contain {
    object-fit: contain;
}

.slider-top__box--title {
    color: white;
    line-height: 1;
    margin-bottom: 0;
    text-shadow: 0 0 30px rgb(0, 0, 0, 1);
    transition: .8s ease;
    bottom: -40px;
    opacity: 0;
}

.slider-top__box--container {
    background-color: rgba(0, 0, 0, .4);
}

.owl-item.active .slider-top__box--title {
    transition-delay: .7s;
    bottom: 0;
    opacity: 1;
}

.btn-menu {
    display: block;
    top: 70px;
    right: 70px;
    z-index: 200;
    width: 30px;
    height: 27px;
}

.btn-menu span {
    display: block;
    background-color: #d20000;
    width: 30px;
    height: 3px;
    left: 0;
    border-radius: 1px;
    position: relative;
    transition: .4s ease-out;
}

.btn-menu span:nth-child(1) {
    top: 0;
}

.btn-menu span:nth-child(2) {
    top: 9px;
    opacity: 1;
    left: 0;
}

.btn-menu span:nth-child(3) {
    top: 18px;
}

.btn-menu.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 12px;
}

.btn-menu.active span:nth-child(2) {
    opacity: 0;
    left: 50px;
}

.btn-menu.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 6px;
}

#main-menu {
    top: 0;
    left: -100%;
    z-index: 100;
    transition: .6s cubic-bezier(.4, 0, .1, .8);
    visibility: hidden;
}

#main-menu.active {
    left: 0;
    visibility: visible;
}

#main-footer {
    background-color: #32323a;
    color: #b1b1b1;
    padding-top: 60px;
    padding-bottom: 60px;
    font-size: 14px;
}

.title-size {
    font-size: 3.2vw;
}

.servizi__title,
.azienda__title,
.azienda__excerpt {
    line-height: 1;
}

.azienda__excerpt {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    font-size: 2.5vw;
}

.separator::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    margin: 30px 0 0 0;
    background-color: #0d0d0d;
}

.bg-black .separator::after {
    background-color: white;
}

.separator.text-center::after {
    margin: 30px auto 0 auto;
}

.servizi__box--title,
.azienda__box--title {
    font-size: 2.2vw;
    line-height: 1;
    min-height: 80px;
}

.immagine__container {
    max-width: 80%;
    margin: 0 auto;
}

.title-size.white {
    color: white;
}

.immagine__content {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    line-height: 1.3;
    font-size: 2.5vw;
}

.immagine__content strong {
    font-weight: 600;
}

.chisiamo__container {
    max-width: 800px;
}

.servizi__excerpt p {
    font-size: 30px;
    margin: 0;
    line-height: 1;
}

.photogallery__item {
    height: 350px;
}

.photogallery__link {
    display: block;
    overflow: hidden;
    position: relative;
}

.photogallery__link::after {
    content: '';
    display: block;
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    border: 1px solid white;
    opacity: .1;
    border-radius: 1px;
    transition: .2s ease-out;
}

.photogallery__link:hover::after {
    width: 92%;
    height: 92%;
    top: 4%;
    left: 4%;
}

.photogallery__image {
    transition: .2s ease-out;
    filter: grayscale(100%);
}

a:hover .photogallery__image {
    transform: scale(1.1);
    filter: grayscale(0%);
}

#main-mask {
    top: 0;
    left: 0;
    border: 30px solid #f0f0f0;
    z-index: 10;
    pointer-events: none;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
    line-height: 1;
    left: -50px;
    opacity: 0;
}

#main-menu.active .main-menu li {
    left: 0;
    opacity: 1;
}

.main-menu li,
.main-menu li a::before {
    transition: .3s ease-out;
}

#main-menu.active .main-menu li:nth-child(1) {
    transition-delay: .6s;
}

#main-menu.active .main-menu li:nth-child(2) {
    transition-delay: .8s;
}

#main-menu.active .main-menu li:nth-child(3) {
    transition-delay: 1s;
}

#main-menu.active .main-menu li:nth-child(4) {
    transition-delay: 1.2s;
}

#main-menu.active .main-menu li:nth-child(5) {
    transition-delay: 1.4s;
}

#main-menu.active .main-menu li:nth-child(6) {
    transition-delay: 1.6s;
}

.main-menu li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: white;
    font-size: 6vw;
    position: relative;
    display: inline-block;
    left: 0;
    position: relative;
}

.main-menu li a::before {
    content: '';
    display: block;
    width: 0;
    height: 110%;
    left: -20px;
    top: 0;
    position: absolute;
    background-color: #d20000;
    z-index: -1;
}

.main-menu li a:hover::before {
    width: 110%;
}

.azienda__image {
    width: 100%;
    max-width: 250px;
}



/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {

}

/* Large devices (desktops, 992px and up) */
@media (max-width: 991px) {
    #main-mask {
        display: none;
    }
    .title-size {
        font-size: 45px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 767px) {
    .main-menu {
        text-align: center;
    }
    .main-menu li {
        margin: 15px 0;
    }
    .main-menu li a {
        font-size: 50px;
    }
    .main-menu li a:hover {
        left: 0;
    }
    .btn-menu {
        top: 25px;
        right: 25px;
    }
    #slider-top .owl-dots {
        margin-top: -180px;
    }
    .slider-top__box--title {
        top: -50px;
    }
    .servizi__excerpt p {
        font-size: 40px;
    }
    .immagine__container {
        width: 100%;
        margin: 0;
        padding: 0 15px;
    }
    .immagine__content,
    .servizi__box--title,
    .azienda__box--title,
    .azienda__excerpt {
        font-size: 28px;
    }
    .servizi__box--title,
    .azienda__box--title {
        min-height: inherit;
    }
    .immagine__image {
        height: auto !important;
    }
    .min-vh-100 {
        min-height: auto !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {

}
