html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Exo';
    margin-top: 80px;
    background-color: #fafdff;
}

h1 {
    font-family: 'Poly';
}

h2 {
    font-family: 'Poly';
    font-size: calc(1.3rem + 0.6vw) !important;
}
@media (min-width: 1200px) {
    h2 {
        font-size: 1.75rem !important;
    }
}

h3 {
    font-family: 'Poly';
}

h4 {
    font-family: 'Poly';
}

h5 {
    font-family: 'Poly';
}

h6 {
    font-family: 'Poly';
}

.font-serif {
    font-family: 'Poly';
}

.bg-body {
    background-color: #fafdff !important;
}

.no-script-bg {
    background-color: rgba(63,101,217,0.75) !important;
}

.bg-body {
    background-color: #253c82;
}

.bg-primary-dark {
    background-color: #253c82;
}

.bg-primary-darker {
    background-color: #192856;
}

.opacity-60 {
    opacity: 0.60 !important;
}

.opacity-65 {
    opacity: 0.65 !important;
}

li a:hover {
    font-weight: normal;
}

.nav-item.active {
    font-weight: normal;
}

.curve {
    background-color: #3f65d9;
    width: 100%;
    height: 30px;
    border-bottom-left-radius: 50% 50%;
    border-bottom-right-radius: 50% 50%;
    box-shadow: 0px 4px 10px 0px rgba(63,101,217,0.36);
}

.fs-7 {
    font-size: 0.85rem !important;
}

.fs-8 {
    font-size: 0.70rem !important;
}

.shadow-top {
    box-shadow: 0px 5px 10px 0px #000000
}

.services-box:hover {
    background-color: #fafdff;
    box-shadow: 0px 4px 8px 0px rgba(63,101,217,0.36);
}

.curiosita-box {
    background-color: #fafdff;
    box-shadow: 0px 4px 8px 0px rgba(63,101,217,0.36);
}

    .curiosita-box:hover {
        transform: scale(1.05); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    }

.valori-box {
    background-color: #fafdff;
    box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.36);
}

    .valori-box:hover {
        transform: scale(1.05); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    }

.back-to-top {
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    cursor: pointer; /* Add a mouse pointer on hover */
}

.small-collapsible-menu {
    position: absolute; /* Fixed/sticky position */
    right: 16px;
    top: 94px;
    z-index: 99; /* Make sure it does not overlap */
}

.small-collapsible-menu-content {
    outline: 0;
    border: solid 2px;
    border-radius: 0.25rem;
    border-color: rgba(172, 188, 238, 1);
    transition: opacity 0.3s ease-out, max-height 0.8s ease-out;
}

.carousel .carousel-indicators li {
    background-color: #3f65d9;
}

.home-anchor-point {
    position: absolute;
    margin-top: -100px !important;
}

.language-combination {
    box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.36);
    width: 200px;
}

    .language-combination:hover {
        transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    }

.border-moved {
    box-shadow: -30px 26px #ccd7f6,-34px 30px #6E8BE3,-34px 22px #6E8BE3,-26px 30px #6E8BE3
}

.border-moved-left-light {
    box-shadow: -30px 26px #fafdff,-34px 30px #6E8BE3,-34px 22px #6E8BE3,-26px 30px #6E8BE3
}

.border-moved-right-light {
    box-shadow: 30px 26px #fafdff,34px 30px #6E8BE3,34px 22px #6E8BE3,26px 30px #6E8BE3
}

/*.specialization-container {
    max-width: 200px;
}*/
.specialization-item {
    max-width: 280px;
}

.specialization-container:hover .specialization-item {
    transform: scale(1.25); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    overflow: hidden;
}

.specialization-overlay {
    background: rgba(63,101,217,.75);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transition: .7s;
    -moz-transition: .7s;
    -ms-transition: .7s;
    -o-transition: .7s;
    transition: .7s;
}

.specialization-container:hover .specialization-overlay {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.specialization-artificial-focusable{

}

.specialization-container .specialization-artificial-focus {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.btn-home {
    color: #fff;
    background-color: #3f65d9;
    border-color: #3f65d9;
}

    .btn-home:hover {
        color: #3f65d9;
        background-color: rgba(0,0,0,0);
        border-color: #3f65d9;
    }

.btn-home-light {
    color: #fff;
    background-color: #3f65d9;
    border-color: #3f65d9;
}

    .btn-home-light:hover {
        color: #fff;
        background-color: rgba(0,0,0,0);
        border-color: #fff;
    }

.btn-home-secondary {
    color: #A0A0A0;
    background-color: rgba(0,0,0,0);
    border-color: #A0A0A0;
}

    .btn-home-secondary:hover {
        color: #fff;
        background-color: #A0A0A0;
        border-color: #A0A0A0;
    }

.toast {
    opacity: 1 !important;
}
