/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
    box-sizing: border-box;
}
/*
2. Remove default margin
*/
* {
margin: 0;
}
/*
3. Allow percentage-based heights in the application
*/
html, body {
height: 100%;
}
/*
Typographic tweaks!
4. Add accessible line-height
5. Improve text rendering
*/
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
/*
6. Improve media defaults
*/
img, picture, video, canvas, svg {
display: block;
max-width: 100%;
}
/*
7. Remove built-in form typography styles
*/
input, button, textarea, select {
font: inherit;
}
/*
8. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word;
}
/*
9. Create a root stacking context
*/
#root, #__next {
isolation: isolate;
}

/* FINE RESET */

:root {
    --white: 255,255,255;
    --black: 0,0,0;

    --lightgreen: #b4bd00;

    --pink: #e67065;
    --magenta: #d6006e;
    --violet: #856084;
    --green: #84E296;
    --platinum: #DDE1E4;

    --warmgray: #DCD7D2;
    

    --p-font: 'Montserrat', sans-serif;
    --s-font: 'Nunito Sans', sans-serif;

    --fs-base: 1rem;
}

body {
    font-family: var(--s-font);
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--s-font);
}

.p-font {
    font-family: var(--p-font);
}

.s-font {
    font-family: var(--s-font);
}

.bg-hero {
    background-image: url(../assets/hero.jpg);
    background-size: cover;
    background-position: center;
}

.bg-lightgreen {
    background-color: var(--lightgreen);
    color: rgba(var(--black), 0.65);
}

.bg-pink {
    background-color: var(--pink);
    color: rgba(var(--white), 0.85);
}

.bg-magenta {
    background-color: var(--magenta);
    color: rgba(var(--white), 0.65);
}

.bg-violet {
    background-color: var(--violet);
    color: rgba(var(--white), 0.85);
}

.bg-green {
    background-color: var(--green);
    color: rgba(var(--black), 0.85);
}

.bg-platinum {
    background-color: var(--platinum);
    color: rgba(var(--black), 0.85);
}


.bg-warmgray {
    background-color: var(--warmgray);
    color: rgba(var(--black), 0.85);
}

.c-list {
    list-style: none;
    margin: 0;
}


.white-bar { position: fixed; background-color: var(--white); z-index: 9999;}
.white-bar.top { width: 100%; height: 50px; top: 0; }
.white-bar.bottom { width: 100%; height: 50px; bottom: 0; }
.white-bar.left { width:50px; height: 100vh; left: 0; }
.white-bar.right { width:50px; height: 100vh; right: 0; }

@media (min-width: 1200px) {
    .box-text {
        padding:10%;
    }
    .fs-1 { font-size: 4.768rem !important; }
    .fs-2 { font-size: 3.815rem !important; }
    .fs-3 { font-size: 3.052rem !important; }
    .fs-4 { font-size: 2.441rem !important; }
    .fs-5 { font-size: 1.953rem !important; }
    .fs-6 { font-size: 1.563rem !important; }
    .fs-7 { font-size: 1.25rem !important; }
    .fs-8 { font-size: 1rem !important; }
    .fs-9 { font-size: 0.8rem !important; }
    .fs-10 { font-size: 0.64rem !important; }
    .fs-11 { font-size: 0.512rem !important; }
    .vh-100 { height: 100vh !important; }
}

.col-md-6 { min-height: 50vh; padding: 20px; }

@media (min-width: 400px) and (max-width: 767px) {
  /*.col-md-6 { min-height: 80vh; padding: 20px; }
  .square-img { height: 80vh !important; } */
}
/* ANIMAZIONI */

.slideInDown {
    -webkit-animation-name: slideInDown;
    animation-name: slideInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    }
    @-webkit-keyframes slideInDown {
    0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    visibility: visible;
    }
    100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    }
    }
    @keyframes slideInDown {
    0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    visibility: visible;
    }
    100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    }
}

.slideInUp {
    -webkit-animation-name: slideInUp;
    animation-name: slideInUp;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    }
    @-webkit-keyframes slideInUp {
    0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity:0;
    }
    100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity:1;
    }
    }
    @keyframes slideInUp {
    0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity:0;
    }
    100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity:1;
    }
    } 

.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    }
    @-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
    }
    @keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

.square-img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 50vh;
}


/* Contatti */

.content-wrapper {
    min-height: 100%;
    position: relative;
  }
  
/*   .get-in-touch {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  } */
  .get-in-touch .title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 36px;
    line-height: 48px;
    padding-bottom: 48px;
  }
  
  .contact-form .form-field {
    position: relative;
    margin: 32px 0;
  }
  .contact-form .input-text {
    display: block;
    width: 100%;
    height: 36px;
    border-width: 0 0 2px 0;
    border-color: #000;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
  }
  .contact-form .input-text:focus {
    outline: none;
  }
  .contact-form .input-text:focus + .label, .contact-form .input-text.not-empty + .label {
    transform: translateY(-28px);
    font-size: 12px;
  }
  .contact-form .label {
    position: absolute;
    left: 2px;
    bottom: 20px;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #888;
    cursor: text;
    transition: transform 0.2s ease-in-out;
  }
  .contact-form .submit-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-family: Raleway, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    line-height: 24px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
  }
  
  .note {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-family: Lusitana, serif;
    font-size: 16px;
    line-height: 21px;
  }
  .note .link {
    color: #888;
    text-decoration: none;
  }
  .note .link:hover {
    text-decoration: underline;
  }

  .contact-form input {
    background-color: #dde1e4;
  }

@media(min-width: 768px){
  .panel {
    height: 100vh !important;
  }
  .arrow {
    width: 36px;
    height: 36px;
    background-size: 36px 36px;
    position: absolute;
    left: 50%;
    margin-left: -18px;
    bottom: 100px;
    z-index: 999;
    cursor: pointer;
}
.down-arrow-bl {
    background-image: url(../assets/freccia-nera-giu_2x.png);
}
.down-arrow-wh {
    background-image: url(../assets/freccia-bianca-giu_2x.png);
}
.square-img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
}
}

body { overflow-x: hidden; }

