@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@400;600;700&amp;display=swap);

#scrollToTopBtn:hover,
.btn-primary {
  background-color: #093046
}

html {
  scroll-behavior: smooth
}

body {
  font-family: Helvetica, Arial, sans-serif;
  overflow-x: hidden
}

.element h1,
.element h2,
.element h3 {
  font-weight: 600
}

#home p,
.element h1,
.element h2,
.element h3,
.navbar a,
a,
body,
footer {
  color: #093046
}

#scrollToTopBtn a,
.cst-height-100,
.cst-height-80 {
  display: flex;
  width: 100%
}

.element .info,
footer {
  font-family: Roboto, sans-serif
}

.cst-height-100 {
  min-height: 100vh
}

.cst-height-80 {
  min-height: 80vh
}

.navbar-brand {
  margin-right: 18%;
  margin-left: 3%;
  position: fixed;
  z-index: 2000
}

.navbar a {
  text-decoration: none
}

.nav-link {
  color: #093046 !important;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.comune-text {
  margin-left: 10px; 
  font-size: 1rem; 
}


@media (max-width: 768px) {
  .nav-link {
    flex-direction: column-reverse;
    align-items: center; 
  }

  .comune-text {
    margin-left: 0; 
    margin-bottom: 10px; 
    white-space: nowrap; 
  }
}

.navbar ul {
  margin-left: 20%
}

.anim-color-one,
.color-one {
  color: #4b9bb8
}

.anim-color-two,
.color-two {
  color: #e28936
}

.anim-color-three,
.color-three {
  color: #ffd35e
}

.hover-underline-animation {
  display: inline-block;
  position: relative
}

.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 95%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  right: 0;
  transform-origin: bottom right;
  transition: transform .25s ease-out
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left
}

.anim-color-one::after {
  background-color: #4b9bb8
}

.anim-color-two::after {
  background-color: #e28936
}

.anim-color-three::after {
  background-color: #ffd35e
}

.btn-primary {
  color: #fff;
  padding: 12px;
  border-radius: 100px;
  border: none
}

.btn-primary:hover {
  background-color: #8dc9e6;
  border: none
}

.element h1 {
  font-size: 84px
}

.element h2 {
  font-size: 40px;
  line-height: 36px;
  margin-bottom: 20px
}

.element h3 {
  font-size: 20px;
  margin-bottom: 30px
}

.element .info {
  line-height: 24px;
  font-size: 16px;
  font-weight: 400;
  color: #7a7a7a
}

#home {
  padding-left: 25%
}

#home p {
  font-size: 18px;
  margin-top: 40px;
  margin-right: 45%;
  line-height: 24px
}

.width-md {
  padding-left: 20%;
  padding-right: 20%
}

.padding-vertical-lg {
  padding-top: 5%;
  padding-bottom: 5%
}

footer {
  font-size: 13px;
  padding-bottom: 48px;
  background-color: #fff
}

#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 999;
  background-color: rgba(9, 48, 70, .4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 20px;
  line-height: 50px
}

#scrollToTopBtn .fa-angle-up {
  font-size: 20px;
  color: #fff;
  text-align: center;
  opacity: 1
}

.privacy-policy {
  font-size: 16px;
  color: #7a7a7a;
  margin-top: 200px;
  margin-bottom: 120px
}

.privacy-policy a {
  font-size: 14px;
  color: #333
}

.privacy-policy h1 {
  font-size: 45px;
  color: #093046;
  line-height: 51.3px;
  margin-bottom: 16px
}

.privacy-policy h2 {
  font-size: 16px;
  color: #093046;
  margin-top: 24px;
  line-height: 25.6px;
  margin-bottom: 4px;
  padding-bottom: 4px
}

.privacy-policy p {
  font-size: 16px;
  color: #7a7a7a;
  line-height: 24px;
  text-align: justify
}

.bg-fixed-medium {
  min-height: 75vh;
  height: 75vh;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center
}

.bg-2 {
  background-image: url("../assets/parallax_center_autworkvacone_new.jpg")
}

/* Per schermi piccoli */
@media (max-width: 768px) {
  .bg-fixed-medium {
    min-height: 50vh; 
    height: auto; 
    background-size: cover; 
  }
}

/* Per schermi molto piccoli */
@media (max-width: 480px) {
  .bg-fixed-medium {
    min-height: 40vh; 
    height: auto; 
    background-size: cover; 
  }
}

.bg-3,
.contacts {
  background-color: #f9f9f9
}

.form-check-input {
  width: 26px
}

.form-check-label {
  margin-top: 6px !important;
  margin-left: 8px
}

.bg-primary {
  background-image: url('../assets/slide_autworkvacone_top.jpg');
  background-size: cover;
  background-position: center
}

.bg-primary-bottom {
  background-image: url('../assets/slide_autworkvacone_bottom.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center
}

.pulse-button {
  font-weight: light;
  text-align: center;
  padding: 12px 20px;
  color: #093046;
  border: none;
  border-radius: 10rem;
  background: #8dc9e6;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(90, 153, 212, .5);
  animation: 1.5s infinite pulse
}

.pulse-button:hover {
  animation: none
}

@keyframes pulse {
  0% {
    transform: scale(.9)
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 50px rgba(90, 153, 212, 0)
  }

  100% {
    transform: scale(.9);
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0)
  }
}

.contacts h3 {
  font-size: 43px
}

.contacts input,
.contacts textarea {
  background-color: #f6f7fa;
  padding-top: 12px;
  padding-bottom: 12px;
  height: auto;
  border-color: #eee
}

.contacts a {
  text-decoration: underline
}

::-webkit-input-placeholder {
  color: rgb(0, 0, 0, .8) !important
}

::-moz-placeholder {
  color: rgb(0, 0, 0, .8) !important
}

:-ms-input-placeholder {
  color: rgb(0, 0, 0, .8) !important
}

:-moz-placeholder {
  color: rgb(0, 0, 0, .8) !important
}

#contatti,
#cosa-propone,
#obiettivi {
  padding-top: 64px
}

@media (max-width:991px) {

  .cst-height-100,
  .navbar-brand {
    position: relative;
    width: 100%
  }

  .cst-height-80 {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center
  }

  .navbar-brand {
    z-index: 1;
    margin: 0;
    padding: 0
  }

  .navbar-brand img {
    height: 100px !important;
    margin: 80px 0 0;
    width: 100%;
    left: 50%
  }

  .element h1 {
    font-size: 56px;
    font-weight: 600;
    padding-top: 0;
    margin-top: 0;
    color: #093046
  }

  #home {
    padding-top: 0;
    padding-left: 10%;
    padding-right: 10%
  }

  #home p {
    font-size: 18px;
    color: #093046;
    margin-top: 40px;
    margin-right: 0;
    line-height: 24px
  }

  .width-md {
    padding-left: 5%;
    padding-right: 5%
  }

  .contacts h3 {
    font-size: 34px
  }

  .privacy-policy h1 {
    font-size: 32px;
    color: #093046;
    line-height: 30px;
    margin-bottom: 16px
  }

  .privacy-policy {
    margin-top: 80px
  }
}

