/* font */
@font-face {
    font-family: 'Rufina';
    src: url('font/Rufina-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Malibu';
    src: url('font/malibu-ring.ttf') format('truetype');
}  

/* reset base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
    height: 100%;
    overflow-x: hidden;
    font-family: 'Open Sans';
    background-color: #373535;
}

.hide {
    opacity: 0;
}

.p-top-10 {
    padding-top: 10px;
}

.title {
    font-family: 'Rufina';
    text-transform: uppercase;
    color: #d6b884;
}

.italic {
    font-family: 'Malibu';
}

/* intro */
#intro-logo {
    width: 100vw;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    background-color: #373535;
}

#intro-logo .logo {
    width: 20vw;
    max-width: 600px;
    padding-top: 5vh;
}

#intro-logo p {
    padding-bottom: 5vh;
    font-family: 'Rufina';
    color: #d6b884;
    font-size: 2em;
    font-style: italic;
}

/* chi siamo */
#chi-siamo {
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    background-color: #fff;
}

#chi-siamo .left,
#chi-siamo .right {
    width: 45%;
}

#chi-siamo .left img {
    width: 100%;
}

/* servizi */
#servizi {
    padding: 70px 0 100px 0;
    background-color: #373535;
}

#servizi h1 {
    width: 100%;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
}

#servizi #servizi-flex{
    display: flex;
    align-items: start;
    justify-content: space-around;
    flex-direction: row;
}

#servizi #servizi-flex .card {
    width: 30vw;
    padding: 10px;
    text-align: center;
    color: #fff;
}

#servizi #servizi-flex .card .nome {
    font-family: 'Rufina';
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0;
    color: #d6b884;
}

#servizi #servizi-flex .card .descrizione {
    margin-top: 10px;
    padding: 0 10px;
}

#servizi #servizi-flex .card hr {
    margin-top: 10px;
    border-color: #fff;
    background-color: #fff;
    color: #fff;
}

/* team */
#team {
    padding: 70px 0 100px 0;
    background-color: #d6b884;
}

#team h1 {
    width: 100%;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
}

#team #team-flex{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
}

#team #team-flex .card {
    width: 15vw;
    padding: 10px;
    background-color: #fff;
}

#team #team-flex .card img {
    width: 100%;
}

#team #team-flex .card .nome {
    font-family: 'Rufina';
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0;
}

#team #team-flex .card .ruolo {
    font-family: 'Rufina';
    font-style: italic;
    line-height: 0.5;
    color: #d6b884;
}

#team #team-flex .card .descrizione {
    margin-top: 10px;
}

#team #team-flex .card hr {
    margin-top: 10px;
}

/* su di noi */
#su-di-noi {
    padding: 70px 0 100px 0;
    background-color: #fff;
}

#su-di-noi h1 {
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
    color: #000;
}

#su-di-noi #su-di-noi-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

#su-di-noi #su-di-noi-flex .prev,
#su-di-noi #su-di-noi-flex .next {
    color: #373535;
    font-size: 50px;
    padding: 30px 50px;
    cursor: pointer;
    font-weight: 100;
}

#su-di-noi #su-di-noi-flex .slide {
    width: 50%;
    padding: 20px 50px;
    background-color: #373535;
    color: #fff;
}

#su-di-noi #su-di-noi-flex .slide #titolo {
    width: 100%;
    text-align: center;
    font-weight: bold;
}

#su-di-noi #su-di-noi-flex .slide #recensione {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

#su-di-noi #su-di-noi-flex .slide #autore {
    width: 100%;
    text-align: center;
    font-style: italic;
    margin-top: 20px;
}

/* contattaci */
#contattaci {
    padding: 70px 0 100px 0;
    background-color: #373535;
}

#contattaci h1 {
    width: 100%;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
}

#contattaci #contattaci-flex {
    display: flex;
    align-items: start;
    justify-content: space-around;
    flex-direction: row;
}

#contattaci #contattaci-flex .col {
    width: 30vw;
    padding: 10px;
    text-align: center;
    color: #fff;
}

#contattaci #contattaci-flex .col .nome {
    font-family: 'Rufina';
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0;
    color: #d6b884;
}

#contattaci #contattaci-flex .col .descrizione {
    margin-top: 10px;
    padding: 0 10px;
}

/* TABLET */
@media screen and (max-width: 992px) {
  
}

/* SMARTPHONE */
@media screen and (max-width: 600px) {
    #intro-logo {
        justify-content: space-around;
    }

    #chi-siamo {
        flex-direction: column-reverse;
        justify-content: space-between;
    }

    #chi-siamo .left,
    #chi-siamo .right {
        width: 90%;
        text-align: center;
    }

    #chi-siamo .right {
        margin-bottom: 20px;
    }

    #team #team-flex{
        flex-direction: column;
    }

    #team #team-flex .card {
        width: 85vw;
    }

    #su-di-noi #su-di-noi-flex .prev,
    #su-di-noi #su-di-noi-flex .next {
        padding: 30px 20px;
    }

    #su-di-noi #su-di-noi-flex .slide {
        width: 80%;
        padding: 20px;
    }
}