@import url('https://use.typekit.net/xbn3rkx.css');

:root {
  --gold: #c7c3b9;
  --black: #221f20;
  --red: #462928;
  --font-size: 16px;
  --line-height: 24px;
}

body,
html {
  -webkit-text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family:"ivypresto-display";
  text-rendering: optimizeLegibility;
  -webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: var(--grey);
  letter-spacing: normal;
  line-height: normal;
  -webkit-font-kerning: none;
  font-kerning: none;
  width: 100%;
  padding: 0;
  margin: 0;
  font-size: var(--font-size);
  line-height: var(--line-height);  
}

.menu.disabled_text {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

a,
a:link,
a:visited {
  text-decoration: none;
  color: inherit;
  text-decoration: inherit;
}

a:hover {
  color: var(--primary);
}

.transition {
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

a:focus,
object,
a:visited,
input,
select,
textarea {
  outline: 0px;
}

img {
  border: 0px !important;
}

.total_container { float: left; width: 100%; }
.center_container { max-width: 800px; margin: 0px auto;}

.header { float: left; width: calc(100% - 30px); padding: 15px; background-color: var(--red); }
.center { display: flex; justify-content: center; align-items: center; }
.center.columns { flex-direction: column; }
.center .logo-preludio {
    float: left;
    width: 108px;
    height: 120px;
    background-image: url(../img/logo-preludio.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.header .center .logo {
    float: left;
    margin-left: 20px;
    width: 398px;
    height: 90px;
    background-image: url(../img/logo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}
.menu { float: left; width: calc(100% - 30px); padding: 15px; background-color: var(--black); }
.menu .center a { color: var(--gold); font-size: 26px; margin-right: 25px; line-height: 26px; }
.menu .center a:last-child { margin-right: 0px; }

.content { float: left; width: calc(100% - 30px); padding: 60px 15px; background-color: var(--gold); }
.content .box { float: left; width: 100%; }
.content .top { 
    float: left;
    width: 100%;
    height: 200px;
    background-image: url(../img/logo-top.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%; 
}
.content .dining {
    float: left;
    margin-top: 25px;
    width: 100%;
    height: 140px;
    background-image: url(../img/logo-dining.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%; 
}

.content .sfondo {
    float: left;
    margin-top: 25px;
    width: 100%;
    height: 84px;
    background-image: url(../img/sfondo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%; 
    text-align: center;
    color: var(--gold);
    font-size: 50px;
    line-height: 84px;
}

.content h2 {
    float: left;
    width: 100%;
    margin: 0px;
    text-align: center;
    font-size: 36px;
    line-height: 42px;
    color: var(--red);
    font-weight: 300;
    margin-top: 45px;
}

.content .testo {
    float: left;
    width: 100%;
    margin: 0px;
    margin-top: 25px;
    text-align: center;
    font-size: 20px;
    line-height: 28px;
    color: var(--black);
    font-family:"balto";
}

.content .testo.left { text-align: left; }

.content .btn {
    float: left;
    width: 100%;
    margin: 0px;
    margin-top: 25px;
    justify-content: center;
    display: flex;
}

.content .btn a {
    float: left;
    padding: 0px 15px;
    background-color: var(--black);
    border: 1px solid var(--black);
    color: var(--gold);
    font-size: 20px;
    line-height: 50px;
    height: 50px;
}

.content .btn a:hover {
    background-color: var(--gold);
    color: var(--black);
    border: 1px solid var(--black);
}

.footer { float: left; width: calc(100% - 30px); padding: 15px; background-color: var(--red); }
.footer p { text-align: center; font-family:"balto"; font-size: var(--font-size); line-height: var(--line-height); float: left; width: 100%; color: var(--gold); }
.footer p a { color: #FFF; }

.slider { float: left; width: 100%; margin-top: 35px; height: 500px; }
.slider_overflow { float: left; width: 80%; margin-left: 10%; overflow: hidden; position: relative; height: 100%; }
.slider_element { float: left; width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; }
.slider_element.next { left: 100%; }
.slider_element img { float: left;}

.load_source .loading_content {
  float: left;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../img/loading.svg);
  background-size: 60px;
}

.slider_pagination { float: left; width: 100%; display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.slider_pagination a { float: left; border: 1px solid var(--red); width: 30px; height: 16px; }
.slider_pagination a.active, .slider_pagination a:hover { background-color: var(--red); }

@media (max-device-width: 740px) {
    .center .logo-preludio {
        width: 70px;
        height:80px;
    }
    .header .center .logo {
        width: 226px;
        height: 50px;
    }
    .content .top {
        height: 120px;
    }
    .content .dining {
        height: 80px;
    }
    .content .sfondo {
        height: 50px;
        font-size: 30px;
        line-height: 50px;
    }
    .menu .center a {
        font-size: 18px;
        line-height: 26px;
    }
    .content h2 {
        font-size: 28px;
        line-height: 36px;
    }
    .content .testo {
        font-size: 18px;
        line-height: 26px;
    }
    .content .btn a {
        font-size: 18px;
    }
    .slider_overflow {
        margin-left: 0px;
        width: 100%;
    }
}