@font-face {
    font-family: FiraMono;
    src: url(FiraMono-Regular.woff);
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Firamono", sans-serif !important;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 26px;
}

body,
html {
    height: 100%;
    color: #464646;
    line-height: 1.4;
    scroll-behavior: smooth;
    font-size: 1.02em;
    font-family: "Firamono", sans-serif !important;
}

#animation_panel {
    height: 380px !important;
    /*position: relative;*/
    /*background-color: #f7f7f7;*/
    text-align: center;
    background-image: url(../images/animation.gif);
    background-position: center;
    background-position-y: -50px;
    background-repeat: no-repeat;
}

.anchors {
    position: relative;
    top: -40px
}

.w3-hover-opacity {
    cursor: pointer;
}

.person_cards + div {
}

.person_cards div p:nth-of-type(2) {
    display: inline-block;
    margin: 0
}

.person_cards div p:nth-of-type(1) {
    font-size: 0.9em;
    margin-top: 0
}

.person_cards div p:nth-of-type(2) {
    font-size: 0.8em;
    height: 7em;
    display: block;
}

.person_cards div p:nth-of-type(3) {
    margin-top: 10px
}

.person_cards div h3 {
    font-size: 1em;
    margin-bottom: 0
}

.person_cards div a {
    padding: 3px;
    font-size: 0.9em;
}

#traiettorie img {
    width: 100%;
    margin-top: 50px;
}

#traiettorie div div div {
    width: 100%;
    /*font-size: 0.8em;*/
}

.cms_content {
    position: relative;
    z-index: -1;
}

footer a {
    white-space: nowrap;
}

@media (max-width:901px) {
    #footer_links a {
        display: block;
    }

    #footer_links span {
        display: none;
    }
}


@media (max-width:601px) {
    #animation_panel {
        background-size: 1200px;
        background-position-y: 40px;
    }
}
