img {
    max-width: 100%;
}

/* FONT */
@font-face {
    font-family: 'Mukta';
    src: url('./font/Mukta-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Mukta';
    src: url('./font/Mukta-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mukta';
    src: url('./font/Mukta-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

/* CUSTOM RULES */
:root {
    --background: rgba(80, 195, 240, 0.05);
    --celeste: #50C3F0;
    --colore-svg: #5D6FB1;
    --interno: 60px;
    --sezione: 100px;
}

.pit {
    padding-top: var(--interno);
}

.pib {
    padding-bottom: var(--interno);
}

.psb {
    padding-bottom: var(--sezione);
}

.pst {
    padding-top: var(--sezione);
}

.mst {
    margin-top: var(--sezione);
}

.msb {
    margin-bottom: var(--sezione);
}

.ms_celeste {
    color: var(--celeste);
}

.ms_bg-celeste {
    background-color: var(--celeste);
}

.ms_btn {
    color: white;
    background-color: var(--celeste);

    &:hover {
        color: var(--celeste);
        background-color: white;
    }
}

.ms_bg-gradient {
    background: linear-gradient(268deg, rgba(111, 193, 235, 0.85) 0%, rgba(96, 112, 172, 0.85) 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
}

.ms_spacing {
    letter-spacing: 3.2px;
}

.ms_font-team-role {
    font-size: .9rem;
}

.ms_font-team-name {
    font-size: 1.6rem;
}

.ms_font-jumbotron {
    font-size: 6rem;
}

.ms_container {
    width: 80%;
    margin: 0 auto;
    max-width: 1600px;
}

.wrapper {
    width: 90%;
    margin: 0 auto;
    max-width: 1920px;
}

body {
    font-family: 'Mukta';
    background-color: var(--background);
}

.locked {
    overflow: hidden;
}

.button-white {
    color: var(--colore-svg);
    background-color: white;
    transition: 0.4s;
    padding: 5px 10px;
}

.button-white:hover {
    color: white;
    background-color: var(--colore-svg);
}

/* PRELOADER */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(268deg, rgba(111, 193, 235, 0.85) 0%, rgba(96, 112, 172, 0.85) 100%) 0% 0% no-repeat padding-box,
        #fff;

}

.preloader img {
    width: 500px;
}

/* HEADER E JUMBOTRON */
#header-jumbo {
    background-position: 60%;
    background-repeat: no-repeat;
    background-size: cover;
}

.header {
    height: 15%;
}

.header .navbar-nav img {
    width: 30px;
}

.ms_logo {
    max-width: 300px;
}

.ms_offcanvas-toggler {
    max-width: 30px;
}

.ms_close-offcanvas {
    width: 22px;
}

.ms_logo-toggler {
    width: 200px;
}

.jumbotron {
    height: 85%;
}

.jumbotron img {
    transform: translateX(-15%);
    width: 100px;
}

/* CHI SONO */
#chi_sono .position-absolute {
    top: 90%;
}

.ms_card {
    padding: 3rem;
    backdrop-filter: blur(4px);
}

/* TEAM CAROSELLO */
#team .item {
    padding-right: 50px;
    padding-bottom: 70px;
}

.ms_card-team {
    padding: 1.5rem;
    opacity: .95;
}

#team .position-absolute {
    bottom: -50px;
    right: -40px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--colore-svg);
}

/* TERAPIE */
#terapie .card {
    height: 340px;
    transition: transform .6s;
}

#terapie svg {
    height: 90px;
    width: 90px;
}

#terapie-large svg {
    fill: var(--colore-svg);
}

#terapie-large .col .card:hover {
    transform: scale(1.18);
    color: white;
    z-index: 3;
    background: transparent linear-gradient(180deg, #6FC1EB 0%, #6070AC 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 10px #6070AC;
}

#terapie-large .col .card:hover p {
    color: white !important;
}

#terapie-large .col .card:hover svg {
    fill: white;
}

#terapie-small .card {
    transform: scale(0.9);
}

.hovered {
    .card {
        transform: scale(1) !important;
        color: white;
        background: transparent linear-gradient(180deg, #6FC1EB 0%, #6070AC 100%) 0% 0% no-repeat padding-box;

        .card-img-top svg,
        .svg-terapia {
            fill: white !important;
        }

        .card-body p {
            color: white !important;
        }
    }
}

/* SERVIZI */
#servizi {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* PARTNER TECNICI */
.ms_btn-partner {
    color: var(--colore-svg);
    border-width: 2px;
    border-color: var(--colore-svg);
}

.ms_shadow {
    box-shadow: 5px 5px 16px #00000012;
}

.partner img {
    width: 250px;
    top: -20%;
}

/* CONTATTACI FORM */
.ms_orari p {
    color: var(--colore-svg);
}

.ms_orari div {
    border-color: var(--colore-svg) !important;
}

.ms_form-mail {
    width: 62%;
}

.ms_form-telefono {
    width: 35%;
}

.ms_form-bottom p {
    font-size: .75rem;
    color: #A8A8A8;
}

.ms_form-bottom button {
    font-size: .75rem;
}

.form-control::placeholder {
    color: #A8A8A8;
    opacity: 1;
}

/* LINK */
.link .ms_logo-link {
    width: 300px;
}

.link a img {
    width: 30px;
}

/* MEDIA QUERY */
@media screen and (max-width: 767px) {
    :root {
        --offcanvas-width: 100%;
    }

    .padding-top-custom {
        padding-top: 150px;
    }

    .preloader img {
        width: 150px;
    }

    .jumbotron button {
        font-size: 14px;
    }

    .ms_font-team-name {
        font-size: 1.3rem;
    }

    .ms_font-jumbotron {
        font-size: 3rem;
    }

    .ms_form-mail,
    .ms_form-telefono {
        width: 100%;
    }

    /* FOOTER */
    footer p {
        font-size: 12px;
    }
}

@media screen and (min-width: 768px) {
    .jumbotron img {
        width: 180px;
    }

    #chi_sono .position-absolute {
        top: 40%;
        left: 100px;
    }

    .link .ms_logo-link {
        transform: translateY(-15%);
    }

    .partner img {
        width: 350px;
        top: -45%;
    }
}

@media screen and (min-width: 992px) {
    .preloader img {
        width: 250px;
    }

    .servizi .container .ms_card {
        transform: translateX(50%) !important;
    }

    .partner img {
        width: 400px;
        top: 28%;
    }

    #chi_sono .position-absolute {
        top: 60%;
        left: 100px;
    }
}

@media screen and (min-width: 1200px) {
    .preloader img {
        width: 350px;
    }

    .partner img {
        width: 550px;
        top: 5%;
    }
}

@media screen and (min-width: 1400px) {
    .partner img {
        width: 750px;
        top: -25%;
    }
}