.c-dark {
  color: #212529;
}

.dropdown-menu {
  cursor: pointer;
}

/* text */

.text-click {
  color: #212529;
  font-family: "Prompt", sans-serif;
  font-size: 5vh;
  font-weight: 400;
  text-align: center;
}

.text-limit {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: 3vh;
  font-weight: 400;
  text-align: center;
}

.text_bar {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: 10vh;
  font-weight: 400;
  text-align: center;

}

.text-corsi-home-1 {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: 5vh;
  margin-right: 5vw;
  font-weight: 400;
  text-align: center;
}

.text-corsi-home-2 {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: 5vh;
  margin-left: 5vw;
  font-weight: 400;
  text-align: center;
}

.text_origin {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: 10vh;
  font-weight: 400;
  text-align: center;

}

.text_title_machine {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: 5vh;
  font-weight: 400;
  text-align: center;

}

.text_detail {
  color: #181313;
  font-family: "Prompt", sans-serif;
  font-size: 3vh;
  text-align: left;
  /* margin-left: 2vw; */
  margin-right: 2vw;
  margin-top: 3vh;
  font-weight: bold;
}

.text_description_machine {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: 3vh;
  text-align: left;
  /* margin-left: 2vw; */
  margin-right: 2vw;
  margin-top: 3vh;

}

.text_description_capsula {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: 2vh;
  text-align: center;
  margin-left: 2vw;
  margin-right: 2vw;

}

.text_contact {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: 2vh;
  font-weight: 400;
  text-align: center;
}

.text_contact_input {
  color: #100808;
  font-family: "Prompt", sans-serif;
  font-size: 2vh;
  font-weight: 400;
}

.tipo_formato {
  text-align: center;
}


.slide_animated_prodotti_text {

  position: relative;
  animation: movement_slide_prodotti_text 2s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;

}

.slide_animated_prodotti_img {
  position: relative;
  animation: movement_slide_prodotti_img 2s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;
}

.slide_animated_prodotti_bar {

  position: relative;
  animation: movement_slide_prodotti_bar 2s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;

}

.slide_animated_prodotti_ocs {

  position: relative;
  animation: movement_slide_prodotti_ocs 2s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;

}

.slide_animated_prodotti_bar_sx {

  position: relative;
  animation: movement_slide_prodotti_bar 3s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;
  margin-bottom: 3%;
  margin-top: 3%;
  background-color: #4F2B1Ccc;

}

.slide_animated_prodotti_bar_dx {

  position: relative;
  animation: movement_slide_prodotti_ocs 3s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;
  margin-bottom: 3%;
  margin-top: 3%;
  background-color: #000000cc;

}


.slide_animated_1_1 {
  width: 60vw;
  height: 90vh;
  background: #ffffffcc;
  position: relative;
  animation: movement_slide_1_1 2s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;

}

.slide_animated_1_2 {
  width: 40vw;
  height: 90vh;
  background: #331505cc;
  position: relative;
  animation: movement_slide_1_2 2s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;
}

.slide_animated_2_1 {
  width: 60vw;
  height: 90vh;
  background: #ffffffcc;
  position: relative;
  animation: movement_slide_2_1 2s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;
}

.slide_animated_2_2 {
  width: 40vw;
  height: 90vh;
  background: #331505cc;
  position: relative;
  animation: movement_slide_2_2 2s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;
}

.slide_animated_bar_1 {
  width: 50vw;
  height: 70vh;
  background: #331505cc;
  position: relative;
  animation: movement_slide_bar_1 2s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;
}

.slide_animated_bar_2 {
  width: 50vw;
  height: 70vh;
  background: #331505cc;
  position: relative;
  animation: movement_slide_bar_2 2s 1;
  animation-direction: normal;
  left: 0vw;
  right: 0vw;
}

.slide_animated_background {
  opacity: 0;
}

.box-wine {
  background-color: #212529cc;
  padding: 3%;
  margin-left: 2vw;
  margin-right: 2vw;
}

.box-wine:hover {
  background-color: #212529cc;
  color: #c0c0c0;
}


.box-canteen {
  height: min-content;
  width: 90%;
  display: flex;

}

.box-canteen-wine {
  height: min-content;
  width: 100vw;
  display: grid;
}



.box-details-canteen {
  display: flex;
  justify-content: center;
  align-items: center;
}

.box-single-event {
  background-color: #212529cc;
  width: 100vw;
}

.box-single-event-content {
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: 5vw;
  flex-wrap: wrap;
}

.button-details-canteen {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  color: #212529;
  font-size: 16px;
  border: none;
  align-items: center;
  display: grid;
}

.card-events {
  width: auto;
  border: 1px solid #c0c0c0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.card-events img {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card-events img {
  width: 20vw;
  height: 20vw;
  filter: brightness(40%);
  transition: transform 0.3s ease;
  scale: 0.7;
}

.card-events:hover img {
  transform: scale(1.1);
  border-radius: 0%;
  filter: brightness(70%);
  cursor: pointer;
}

.card-events:hover .image-overlay {
  opacity: 0.7;
}


.image-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: black;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-content {
  text-align: center;
  font-size: larger;
}

.card-title {
  font-weight: bold;
}


@media (max-width: 768px) {
  .button-details-canteen {
    width: 80px;
    height: 80px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .button-details-canteen {
    width: 60px;
    height: 60px;
    font-size: 12px;
  }
}

.text-title-canteen {
  color: white;
  font-family: "Prompt", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  /* margin-top: 20vh; */
}

.text-title-events {
  color: #ffffff;
  font-family: "Prompt", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  text-align: left;
}

/* Titolo cantina moderno con gradiente e underline animato */
.text-title-single-canteen {
  font-family: "Prompt", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #a8a8a8 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px #fff3, 0 1px 0 #0001;
  transition: text-shadow 0.3s, transform 0.3s;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  text-align: left;
  position: relative;
  display: inline-block;
}

.text-title-single-canteen:hover {
  text-shadow: 0 4px 16px #3c3b3899, 0 2px 8px #fff6;
  transform: scale(1.03);
  cursor: pointer;
}

.underline-anim {
  display: block;
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #e7c873 0%, #b88a44 100%);
  border-radius: 1px;
  transform: scaleX(0.2);
  opacity: 0.5;
  transition: transform 0.4s cubic-bezier(.4, 2, .6, 1), opacity 0.3s;
  z-index: 1;
}

.text-title-single-canteen:hover .underline-anim {
  transform: scaleX(1);
  opacity: 1;
}

.text-title-description-wine {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  ;
  font-size: 3vh;
  font-weight: 200;
  text-align: left;
}

.text-desc-wine-init {
  margin: 5vw;
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: 3vh;
}

.text-title-single-wine {
  margin-left: 5vw;
  color: #212529;
  font-family: "Prompt", sans-serif;
  font-size: 4rem;
}

.text-sub-description-wine {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  ;
}

.text-description-canteen {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: left;
  word-wrap: break-word;
  padding: 3%
}

.text-title-single-events {
  color: #ffffff;
  font-family: "Prompt", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  text-align: center;
  margin-top: 20vh;
}

@keyframes movement_slide_prodotti_text {

  from {
    bottom: -100vw;
    top: -100vw;
  }

  to {
    bottom: 0vw;
    top: 0vw;
  }
}

@keyframes movement_slide_prodotti_img {

  from {
    bottom: 100vw;
    top: 100vw;
  }

  to {
    bottom: 0vw;
    top: 0vw;
  }
}


@keyframes movement_slide_prodotti_bar {

  from {
    left: -100vw;
    right: -100vw;
  }

  to {
    left: 0vw;
    right: 0vw;
  }
}

@keyframes movement_slide_prodotti_ocs {

  from {
    left: 150vw;
    right: 150vw;
  }

  to {
    left: 0vw;
    right: 0vw;
  }
}

@keyframes movement_slide_1_1 {

  from {
    background: #331505cc;
    left: -100vw;
    right: -100vw;
  }

  to {
    background: #ffffffcc;
    left: 0vw;
    right: 0vw;
  }
}

@keyframes movement_slide_1_2 {

  from {
    background: #583a2acc;
    left: 150vw;
    right: 150vw;
  }

  to {
    background: #331505cc;
    left: 0vw;
    right: 0vw;
  }
}

@keyframes movement_slide_2_1 {

  from {
    background: #331505cc;
    left: 150vw;
    right: 150vw;
  }

  to {
    background: #ffffffcc;
    left: 0vw;
    right: 0vw;
  }
}

@keyframes movement_slide_2_2 {

  from {
    background: #583a2acc;
    left: -100vw;
    right: -100vw;
  }

  to {
    background: #331505cc;
    left: 0vw;
    right: 0vw;
  }
}

@keyframes movement_slide_bar_1 {

  from {
    background: #583a2acc;
    left: -100vw;
    right: -100vw;
  }

  to {
    background: #331505cc;
    left: 0vw;
  }
}

@keyframes movement_slide_bar_2 {

  from {
    background: #583a2acc;
    left: 150vw;
    right: 150vw;
  }

  to {
    background: #331505cc;
    right: 0vw;
  }
}

.home {
  background: linear-gradient(0deg, rgba(226, 105, 18, 0.222), rgba(32, 20, 13, 0.773)), url('../img/background/home.PNG') center;
  height: auto;
  overflow: hidden;
}

.home_index {
  background: linear-gradient(0deg, rgba(226, 105, 18, 0.222), rgba(32, 20, 13, 0.773)), url('../img/background/home.PNG') center;
  height: 100vh;
  overflow: hidden;
}

.home_capsule {
  background: linear-gradient(0deg, rgba(226, 105, 18, 0.222), rgba(32, 20, 13, 0.773)), url('../img/background/home.PNG') center;
  height: auto;
  overflow: hidden;
}

.home_prodotti_bar {
  background: linear-gradient(0deg, rgba(116, 71, 19, 0.222), rgba(164, 67, 18, 0.773)), url('../img/background/home.PNG') center;
  height: auto;
  overflow: hidden;
}

.home-sub {
  background-color: #3b3c43;
}

.home-sub-products {
  background-attachment: fixed !important;
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  background-size: cover;
  z-index: -1;
  background: #3b3c43;
  background-size: cover;
}

.home-sub-events {
  background-attachment: fixed !important;
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  background-size: cover;
  z-index: -1;
  background: linear-gradient(0deg, rgba(227, 176, 104, 0.222), rgba(0, 0, 0, 0.777)), url('../img/one_love/bg_eventi.JPEG') no-repeat center;
  background-size: cover;
}

.container-wave {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.home-sub-mean {
  background-color: #212529;
  height: 10vh;
}

.text-home-sub {
  font-family: "Prompt", sans-serif;
}

.text-home-sub-meam {
  font-family: "Prompt", sans-serif;
  text-align: center;
  color: #c0c0c0;
  font-size: 10vh;

}

.home-sub-1 {
  background: url('https://res.cloudinary.com/dmfndrh1h/image/upload/v1747495250/AFPH2715-2_wxnwgd.jpg') no-repeat center right;
  overflow: hidden;
  background-size: contain;
  height: 100vh;
}

.home-sub-2 {
  background: url('https://res.cloudinary.com/dmfndrh1h/image/upload/v1747495315/sub-2_vrprgr.jpg') no-repeat center left;
  overflow: hidden;
  background-size: contain;
  height: 100vh;
}

.home-sub-content {
  text-align: center;
  margin: 5% 5%;
  display: table-cell;
  vertical-align: bottom;

}


.contact {
  background: linear-gradient(0deg, rgba(140, 106, 82, 0.222), rgba(64, 25, 3, 0.773)), url('../img/background/contact.jpg') no-repeat center;
  height: auto;
  overflow: hidden;
}

.contact_st {
  /* background: linear-gradient( rgba(140, 106, 82, 0.222), rgba(64, 25, 3, 0.773)), url('../img/one_love/back_contact.jpg') no-repeat right; */
  height: auto;
  overflow: hidden;
}

.contact_email {
  background-color: #181514cc;
  margin-top: 3vh;
  width: 70vw;
}

.contact_email_prodotti {
  background-color: #181514cc;
  margin-top: 3vh;
  width: 100vw;
}

/* .contactForm{
  width: 50vw;;
} */
#form label.error {
  color: red;
  font-weight: bold;
}

.contact_call {
  background-color: #181514cc;
  margin-top: 10vh;
  width: 70vw;
  height: auto;
}

.contact_call_st {
  margin-top: 15vh;
  width: 70vw;
  height: auto;
}

.logo-farnese-caffe {
  width: 25%;
  height: 25%;
  object-fit: contain;
  position: center;
}

.logo-simotova {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: center;
}

.logo-simotova:hover {
  opacity: 80%;
}

.logo-one-love {
  width: 20%;
  height: 20%;
  object-fit: contain;
  position: center;
  scale: 3;
}

.logo-farnese-caffe_index {
  margin-top: 20vh;
  margin-top: 10vh;
  max-width: 30vw;
  height: 30%;
  object-fit: contain;
  position: absolute;
}

.logo-sm_index {
  margin-top: 30vh;
  max-width: 30vw;
  height: 30%;
  object-fit: contain;
  position: absolute;
}

.logo-farnese-caffe-footer {
  width: 15%;
  height: 15%;
}


.navbar-brand {
  font-family: "Prompt", sans-serif;
  text-align: center;
  color: #c0c0c0;
  width: 8vw;

}

.navbar-brand-logo {
  font-family: "Prompt", sans-serif;
  text-align: center;
  color: #c0c0c0;
  font-size: 2vh;
  width: 20vw;

}

.navbar-toggler {
  display: none;
}

.hamburger {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 1rem;
  border: black solid 1px;
  cursor: pointer;
  color: #c0c0c0;
}

.closeIcon {
  display: none;
}

.menu {
  position: fixed;
  transform: translateY(-100%);
  transition: transform 0.2s;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: black;
  color: white;
  list-style: none;
  padding-top: 4rem;
}

.showMenu {
  transform: translateY(0);
}


.slider {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  position: relative;
}

.slider .slide {
  position: absolute;
  top: 5vh;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: slider 25s infinite;
}

.slider .slide:nth-child(1) {
  background-image: url('https://res.cloudinary.com/dmfndrh1h/image/upload/v1747495374/AFPH0124_cbx3f5.jpg');
  animation-delay: 0s;
}

.slider .slide:nth-child(2) {
  background-image: url('https://res.cloudinary.com/dmfndrh1h/image/upload/v1747495633/IMG_86755_evdemr.jpg');
  animation-delay: -5s;
}

.slider .slide:nth-child(3) {
  background-image: url('https://res.cloudinary.com/dmfndrh1h/image/upload/v1747495444/AFPH0132_ncj1kg.jpg');
  animation-delay: -10s;
}

.slider .slide:nth-child(4) {
  background-image: url('https://res.cloudinary.com/dmfndrh1h/image/upload/v1747495657/IMG_8338_qpefy6.jpg');
  animation-delay: -15s;
}

.slider .slide:nth-child(5) {
  background-image: url('https://res.cloudinary.com/dmfndrh1h/image/upload/v1747495374/AFPH0124_cbx3f5.jpg');
  animation-delay: -20s;
}


@keyframes slider {

  0%,
  8%,
  100% {
    opacity: 1;
    animation-timing-function: ease;
    z-index: 0;
  }

  20% {
    opacity: 0;
    animation-timing-function: step-end;
    z-index: 0;
  }

  88% {
    opacity: 1;
    animation-timing-function: step-end;
    z-index: -1;
  }
}





@media (min-width: 1418px) {
  #navbarToggleExternalContent {
    display: none;
  }

}

@keyframes nav_comparse {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ! Hero */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  background-size: cover;
  overflow: hidden;
}

.hero:after {
  content: ' ';
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.4
}

.hero__content {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  z-index: 1;
  position: relative;
}

.hero__content h1,
.hero__content p {
  color: #fff;
}

.hero--small {
  height: 450px;
  text-align: center;
}

#video-back {
  position: absolute;
  bottom: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
}

.caption {
  opacity: 0;

}

/* box */

.box_index {
  position: relative;
  height: 50vh;
  display: flex;
  width: 100%;
  align-items: center;
  background: linear-gradient(0deg, rgba(0, 0.9, 0.5, .2), rgba(0, 0, 0, 0.2)), url('../img/chi_siamo/12.jpg') no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

.box_index:after {
  content: ' ';
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.4
}

.box_index_products {
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  z-index: 2;
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
}

.box_index_wine {
  position: relative;
  height: 50vh;
  display: flex;
  width: 100%;
  align-items: center;
  background: linear-gradient(0deg, rgba(0, 0.9, 0.5, .2), rgba(0, 0, 0, 0.2)), url('../img/background/IMG_8791.JPEG') no-repeat center center;
  background-size: cover;
  overflow: hidden;
}


.box_index_wine_content {
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  z-index: 2;
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
}



.container-home-events {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}

/* img */

.image-box {
  text-align: center;
  width: 30%;
  position: relative;
  overflow: hidden;
}

.image-box img {
  width: 30vw;
  height: 30vw;
  border-radius: 100%;
  filter: brightness(40%);
  transition: transform 0.3s ease;
  scale: 0.7;
}

.image-box:hover img {
  transform: scale(1.1);
  border-radius: 0%;
  filter: brightness(70%);
}

.image-box .title {
  position: absolute;
  left: 0;
  right: 0;
  color: #fff;
  padding: 5px;
  margin: 0;
  font-size: large;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  transition: bottom 0.3s ease;
  bottom: 50%;
  scale: 2;
}

.image-box:hover .title {
  scale: 3;
  bottom: 50%;
}

.image-box:hover .image-overlay {
  opacity: 0.7;
}

.image-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: black;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* LINE */

.line-hr {
  border: 1px solid #ffffff;
}



.text_frame_1 {
  font-family: "Prompt", sans-serif;
  font-size: 5vh;
  color: darkred;
  margin-top: 50vh;
  width: 30%;

}

.animate-character {
  background-image: linear-gradient(-225deg,
      #2B180F 0%,
      #B3B0B8 29%,
      #5E3321 67%,
      #B89181 100%);
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  display: inline-block;
  text-align: center;
  position: absolute;

}

.text_contact_title {
  font-family: "Prompt", sans-serif;
  font-size: 10vh;
  color: #fff;
}

.text_contact_title_st {
  font-family: "Prompt", sans-serif;
  font-size: 10vh;
  color: #fff;
}

.text_contact_cap {
  font-family: "Prompt", sans-serif;
  font-size: 3vh;
  color: #fff;
}

.text_contact_cap_mail_st {
  font-size: 3vh;
}

.text_frame_corsi {
  font-family: "Prompt", sans-serif;
  font-size: 2em;
  color: rgb(255, 255, 255);
  width: 80vw;
  margin-bottom: 10vh;
  margin-top: 10vh;
}

.animate-character_contact {
  background-image: linear-gradient(-225deg,
      #210f06 0%,
      #5f2f0f 29%,
      #612a12 67%,
      #bc9b2d 100%);
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  display: inline-block;
  text-align: center;

}


#confirmation_message {
  text-align: center;
  margin-top: 20px;
  background-color: #181514cc;
  margin-top: 3vh;
  width: 70vw;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

/* frame home */


.frame_details {
  height: auto;
  min-width: 100%;
  margin-top: 5%;
  margin-bottom: 10%;
  align-items: flex-start;
  background-position: 100% 100%;
  background-size: cover;
  display: flex;
  min-height: 70vh;
  width: 100vw;
  background-color: #4f2919cc;

}

.frame_1 {
  height: 100vh;
  min-width: 100%;
  margin-top: 30%;
  align-items: flex-start;
  background-position: 100% 100%;
  background-size: cover;
  display: flex;
  margin-top: auto;
  min-height: 70vh;
  width: 100vw;
}

.frame_prodotti {
  height: auto;
  min-width: 100vw;
  background-size: cover;
  background-color: #212529cc;
  margin-bottom: 3%;
  margin-top: 1%;
}

.frame_macchine {
  height: auto;
  min-width: 100vw;
  background-size: cover;
  margin-bottom: 5%;
  margin-top: 5%;
}

.container_description_type_format {
  height: auto;
  width: 50vw;
  background-size: cover;
  margin-bottom: 5%;
  margin-top: 5%;
}

.container_description_right {
  height: auto;
  width: 50vw;
  background-size: cover;
  background-color: #212529cc;
  margin-bottom: 5%;
  margin-top: 5%;

}

.container_description_left {
  height: auto;
  width: 50vw;
  background-size: cover;
  background-color: #212529cc;
  margin-bottom: 5%;
  margin-top: 5%;
}

.frame_subtitle {
  background-color: #4F2B1Ccc;
  margin-top: auto;
  height: auto;
  min-width: 100vw;
  color: white;
  text-align: center;
  font-family: "Prompt", sans-serif;
  font-size: 3vh;
}

.frame_2 {
  margin-top: 10vh;
  min-height: 100vh;
  min-width: 100vw;
  background-size: cover;
}

.frame_casa {
  margin-top: auto;
  min-height: 100vh;
  min-width: 100vw;
  background-size: cover;

}

/* frame storia */

.frame_storia_1 {

  height: 100vh;
  min-width: 100%;
  margin-top: 30%;
  align-items: flex-start;
  background-position: 100% 100%;
  background-size: cover;
  display: flex;
  margin-top: auto;
  min-height: 70vh;
  width: 100vw;

}

.frame_details_mobile {
  display: none;
}

.frame_video_corsi_home {
  justify-content: center;
  display: none;
  animation: nav_comparse 1s ease;
}

.frame_video_corsi {
  margin-top: 40vh;
  justify-content: center;
  display: none;
  animation: nav_comparse 1s ease;
}

.video-corsi {
  top: 30vh;
  position: absolute;
  object-fit: cover;
  width: 100vw;
  height: 50vh;

}

.video-corsi-mid {
  object-fit: cover;
  width: 100vw;
  height: 50vh;

}

.bounceCorsi {
  display: none;
  animation: nav_comparse 1s ease;
}

.line {
  position: absolute;
  right: 0;
  width: calc(55vw - 100%);
  height: 1px;
  /* Spessore della linea */
  background-color: black;
  /* 100% - 45vw (distanza dalla destra) */
}

.custom-line {
  border: none;
  border-top: 1px solid #c0c0c0;
  /* Cambia il colore se desideri */
  margin: 10px 0;
  /* Aggiungi spazio sopra e sotto la linea */
}

/* immagini */

.img_carousel {
  height: 40vh;
  width: 30vw;
}

.img_home-1 {
  align-self: center;
  object-fit: cover;
  border-radius: 100%;
  height: 40vh;
  width: 40vh;
  max-height: 40vh;
  max-width: 40vh;
  margin-left: 10vw;
  margin-right: 20vw;
  border: 0.5vh solid #000000cc;
  overflow: hidden;
}

.img_home-2 {
  align-self: center;
  object-fit: cover;
  border-radius: 100%;
  height: 40vh;
  width: 40vh;
  max-height: 40vh;
  max-width: 40vh;
  margin-left: 20vw;
  margin-right: 10vw;
  border: 0.5vh solid #4F2B1C;
  overflow: hidden;
}

.img_home-corsi-1 {
  align-self: center;
  object-fit: cover;
  border-radius: 100%;
  height: 40vh;
  width: 40vh;
  max-height: 40vh;
  max-width: 40vh;
  margin-right: 5vw;
  border: 0.5vh solid #000000cc;
  overflow: hidden;
}

.img_home-corsi-2 {
  align-self: center;
  object-fit: cover;
  border-radius: 100%;
  height: 40vh;
  width: 40vh;
  max-height: 40vh;
  max-width: 40vh;
  margin-left: 5vw;
  border: 0.5vh solid #4F2B1C;
  overflow: hidden;
}

.img_details_machine {
  align-self: center;
  object-fit: cover;
  height: auto;
  width: 100%;
}

.img_prodotti_1 {
  align-self: center;
  object-fit: cover;
  height: 75%;
  width: 35%;
  scale: 0.75;
}

.img_prodotti_2 {
  align-self: center;
  object-fit: cover;
  height: 100%;
  width: 30%;
  scale: 0.75;
}

.img_prodotti_casa_1 {
  align-self: center;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.img_prodotti_casa_2 {
  align-self: center;
  object-fit: cover;
  width: 100%;
  height: auto;
  scale: 60%;
}



.img_prodotti_bar_1 {
  align-self: center;
  object-fit: cover;
  width: 100%;
  height: auto;
  /* scale: 2; */
}

.img_prodotti_bar_2 {
  align-self: center;
  object-fit: cover;
  width: 100%;
  height: auto;
  /* scale: 2; */
}



.img_prodotti_miscele {
  align-self: center;
  object-fit: cover;
  height: 100%;
  width: 20%;
  scale: 1.5;
}

.img_prodotti_capsula_1 {
  align-self: center;
  object-fit: cover;
  width: 100%;
  height: auto;
  scale: 50%;
}

.img_prodotti_capsula_2 {
  align-self: center;
  object-fit: cover;
  height: 100%;
  width: 40%;
  scale: 0.8;
}


.scaled-image {
  max-width: 70%;
  height: auto;
  scale: 1;
}


/* bottoni */

.button-1 {
  align-items: center;
  align-self: center;
  background-color: #000000cc;
  display: flex;
  min-height: 10vh;
  width: 40vw;
}

.button-2 {
  align-items: center;
  align-self: center;
  background-color: #4F2B1C;
  display: flex;
  min-height: 10vh;
  width: 40vw;
}

.button-3 {
  align-items: center;
  align-self: center;
  background-color: #00000000;
  display: flex;
  min-height: 5vh;
  min-width: 10vw;
  margin-top: 80vh;
}

.button-4 {
  text-align: center;
  align-items: center;
  align-self: center;
  background-color: #000000cc;
  display: flex;
}


.button_details_machine {
  align-items: center;
  align-self: center;
  background-color: #452417cc;
  display: flex;
  min-height: 7vh;
  width: 20vw;
  border-color: #27a00c;
}

.button-discovery {
  align-items: center;
  align-self: center;
  background-color: #000000cc;
  display: flex;
  min-height: 10vh;
  width: 40vw;
}

.button-bar-0 {
  align-items: center;
  align-self: center;
  background-color: #000000cc;
  display: flex;
  min-height: 10vh;
  width: 20vw;
}

.button-bar-1 {
  align-items: center;
  align-self: center;
  background-color: #000000cc;
  display: flex;
  min-height: 10vh;
  width: 20vw;
  margin-left: 2vw;
  margin-right: 2vw;
}

.button-bar-2 {
  align-items: center;
  align-self: center;
  background-color: #4F2B1C;
  display: flex;
  min-height: 10vh;
  width: 20vw;
}

.button_text_machine_change {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: large;
  font-weight: 200;
  text-align: center;
  align-items: center;
  align-self: center;
  background-color: #292525;
  display: flex;
  min-height: 7vh;
  width: 40vw;
  margin-top: 2vh;
  margin-bottom: 2vh;
  border-color: #c0c0c0;
}

.button-text-0 {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: xx-large;
  font-weight: 400;
  text-align: center;
}

.button-text-1 {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: xx-large;
  font-weight: 400;
  text-align: center;
}

.button-text-2 {
  color: #c0c0c0;
  font-family: "Prompt", sans-serif;
  font-size: xx-large;
  font-weight: 400;
  text-align: center;
}

.button-text-3 {
  color: #faf6f6cc;
  font-family: "Prompt", sans-serif;
  font-size: xx-large;
  font-weight: 40;
  text-align: center;
}

.btn_contact {
  color: #faf6f6cc;
  text-align: center;
  border: none;
}

.btn_contact_st {
  color: #faf6f6cc;
  text-align: center;
  border: none;
  width: 60vw;
  margin-left: 2vw;
  margin-right: 2vw;
}



.btn_contact_small {
  color: #faf6f6cc;
  font-family: "Prompt", sans-serif;
  font-size: xx-large;
  font-weight: 10;
  text-align: center;
  height: 10vh;
  width: 15vw;
  margin-left: 2vw;
  margin-right: 2vw;
  margin-top: 1vw;
  margin-bottom: 1vw;
  border: none;
}

.button_download {
  align-items: center;
  align-self: center;
  font-size: 10vh;
  background-color: #502b1a;
  display: flex;
  height: 20vh;
  width: 10vw;
}


.button_contact_submit {
  color: #faf6f6cc;
  font-family: "Prompt", sans-serif;
  font-size: xx-large;
  font-weight: 40;
  text-align: center;
}

.button_contact_submit:hover {
  color: #951919cc;
  font-family: "Prompt", sans-serif;
  font-size: xx-large;
  font-weight: 40;
  text-align: center;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}


.img_index_description {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img_capsula {
  align-self: center;
  object-fit: cover;
  border-radius: 100%;
  height: 10vh;
  width: 10vh;
  margin-left: 2vw;
  margin-right: 2vw;
  border: 0.5vh solid #27a00c;
}

.img_details_machine_mobile {
  display: none;
}

.img-bottle:hover {
  background-color: #212529cc;

}



.text-click:hover {
  color: #c0c0c0;
}

.col_prodotti {
  height: auto;
  margin-bottom: 1%;
  margin-top: 1%;
  margin-left: 0;
}


/* .row > *{
  padding-right:0%; 
  padding-left:0%;
} */

.img_mobile {
  display: none;
}

.img_browser {
  display: block;
}

.row_casa {
  background-color: #4F2B1Ccc;
  height: 100vh;
}


.font_storia_home {
  font-family: "Prompt", sans-serif;
  font-size: 5vh;
  color: #c0c0c0;
  text-align: center;
  vertical-align: middle;
  margin-top: 5vh;
  margin-bottom: 5vh;
}

.font_storia_origini {
  font-family: "Prompt", sans-serif;
  font-size: 3vh;
  color: #c0c0c0;
  text-align: center;
  vertical-align: middle;
  margin-top: 5vh;
  margin-bottom: 5vh;
}

.box-title-canteen {
  width: 50vw;
  margin-top: 20vh;
}

/* CAROSELLO EVENTI */

.carousel-item {
  height: 80vh;
}

.img-carousel {
  height: 80vh;
}


.mobile {
  display: none;
}

.no-mobile {
  display: block;
}

@media(max-width: 1300px) {


  .text-title-single-canteen {

    font-size: 1.5rem;
  }


  .home-sub-content {
    font-size: 5vw;
    height: fit-content;
  }

  .home-sub-1 {
    background: #B89181;
    height: auto;
  }

  .home-sub-2 {
    background: #B89181;
    height: auto;
  }

  /* .chidden{
    display: none;
  } */

  .text-home-sub-meam {
    font-size: 4vh;
  }


}


@media (max-width: 1400px) {

  .logo-one-love {
    scale: 4;
  }

  .text-click {
    font-size: 3vh;
  }

  .text-limit {
    font-size: 2vh;
  }

  .chidden {
    display: none;
  }

  .mobile {
    display: block;
  }

  .no-mobile {
    display: none;
  }

  .col-footer-mobile {
    width: auto !important;
  }


  .h-s {
    display: none;
  }

  .h-p {
    display: none;
  }

  .h-c {
    display: none;
  }

  .h-h {
    display: none;
  }

  .h-d {
    scale: 0.7;
    top: -0.25rem;
    left: 1rem;
    z-index: 100;
    color: #0000;
  }

  .button-1 {
    width: 80vw;
  }

  .button-2 {
    width: 80vw;
  }

  .button-bar-0 {
    width: 80vw;
  }

  .button-bar-1 {
    width: 40vw;
    height: 30vh;
  }

  .button_details_machine {
    width: 50vw;
  }

  .button-text-1 {
    font-size: 1.5em;
    font-weight: 10vw;
  }

  .logo-sm_index {
    scale: 3
  }

  .img_home-1 {
    margin-left: 0%;
    margin-right: 0%;
  }

  .img_home-2 {
    margin-left: 0%;
    margin-right: 0%;
  }

  .img_home-corsi-1 {
    margin-left: 0%;
    margin-right: 0%;
  }

  .img-bottle {
    justify-content: center;
  }



  .img_home-corsi-2 {
    margin-left: 0%;
    margin-right: 0%;
  }

  .text-corsi-home-1 {
    margin-left: 0%;
    margin-right: 0%;
  }

  .text-corsi-home-2 {
    margin-left: 0%;
    margin-right: 0%;
  }

  .text-title-canteen {
    font-size: 2rem;
  }

  .img_prodotti_miscele {
    width: 25%;
    height: 50%;
    position: absolute;
    /* opacity: 0.2; */
    align-self: center;
    object-fit: cover;
  }

  .img_carousel {
    height: 40vh;
    width: 80vw;
    ;
  }

  .img_prodotti_casa_1 {
    display: none;
  }

  .img_prodotti_casa_2 {
    display: none;
  }

  .img_prodotti_bar_1 {
    display: none;
  }

  .img_prodotti_bar_2 {
    display: none;
  }

  .img_details_machine {
    display: none;
  }

  .img_details_machine_mobile {
    display: block;
    width: 100%;
    height: 100%;
  }

  .img_capsula {
    width: 8vh;
    height: 8vh;
  }

  /* .img_prodotti_capsula_1{
    width: 20vh;
    height: 20vh;
  } */
  .img_mobile {
    display: block;
  }

  .img_browser {
    display: none;
  }

  .scaled-image {
    margin-right: 0;
    scale: 1
  }


  .logo-farnese-caffe {
    width: 5vw;
    height: 5vh;
    scale: 3;
  }

  .logo-simotova {
    scale: 3;
  }

  .logo-farnese-caffe_index {
    margin-top: 10vh;
    max-width: 60vw;
    height: 40%;
  }

  .logo-farnese-one_love {
    margin-top: 15vh;
  }

  .text_frame_1 {
    font-size: 4vh;
    width: 70vw;
  }

  .text_origin {
    font-size: 10vw;
  }

  .text_bar {
    font-size: 15vw;
  }

  .text_title_machine {
    font-size: 8vw;
  }

  .text_description_machine {
    font-size: 5vw;
    margin-left: 3vw;
    margin-right: 3vw;
    text-align: center;
  }

  .text_contact_title {
    font-size: 10vw;
  }

  .text_contact_cap {
    font-size: 5vw;
  }

  .text_contact_cap_mail_st {
    font-size: 3vw;
  }

  .text_frame_corsi {
    font-size: 5vw;
  }

  .text-desc-wine-init {
    display: none;
  }

  .text-title-single-wine {
    font-size: 2rem;
  }

  .frame_1 {
    height: auto;
    min-height: 30vh;
  }

  .frame_2 {
    min-height: 100vh;
  }

  .frame_casa {
    margin-top: 5vh;
    min-height: 100vh;
  }

  .frame_macchine {
    margin-top: 10vh;
  }

  .frame_details {
    display: none;
  }

  .frame_details_mobile {
    display: block;
  }

  .row_casa {
    height: 100vh;
  }

  .col_details {
    display: none;
  }

  .col_cap {
    width: 100vw;
  }

  .contact_call {
    background: none;
  }

  .container_description_right {
    width: 70vw;
  }

  .container_description_left {
    width: 70vw;
  }


  .navbar-toggler {
    display: block;
    margin-right: 2vw;
  }

  .menu {
    margin-top: inherit;
    height: 100vh;
    background: #212529;
  }


  .carousel_two {
    display: none;
  }

  .carousel_three {
    display: none;
  }


  .slide_animated_bar_1 {
    height: 85vh;
  }

  .slide_animated_bar_2 {
    height: 85vh;
  }


  .slide_animated_prodotti_bar_dx {
    margin-top: 3%;

  }

  .slide_animated_prodotti_bar_sx {
    margin-top: 3%;
  }

  .font_storia_home {
    font-size: 2.5vh;
    margin-top: 0vh;
    margin-bottom: 0vh;
  }

  .font_storia_origini {
    font-size: 2vh;
    margin-top: 0vh;
    margin-bottom: 0vh;
  }

  .text-description-canteen {
    font-size: 0.6rem;
  }

  .card-events img {
    width: 100%;
    height: auto;
  }

  .home-sub-events {
    background: rgba(33, 37, 41, 0.8);
    background-color: rgba(33, 37, 41, 0.8);
    backdrop-filter: blur(8px);
  }

  .image-box {
    width: 80%;
  }

  .image-box img {
    width: 80vw;
    height: 80vw;
  }

  .box-title-canteen {
    width: 90vw;
    margin-top: 20vh;
  }


}

@media (max-width: 800px) {

  .logo-one-love {
    scale: 7;
  }
}


/* AOS */

*,
*:before,
*:after {
  box-sizing: border-box;
}

.aos-item {
  display: inline-block;
  float: left;
  width: 45vw;
  height: 60vh;
  padding: 20px;
}

.aos-item_title {
  display: inline-block;
  float: left;
  height: auto;
  padding: 20px;
}

.aos-item__inner {
  position: relative;
  width: 100%;
  height: 100%;
  float: left;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 800px) {
  .aos-item {
    width: 50%;
    margin-top: 5vh;
  }

  .aos-item_title {
    margin-top: 10vh;
  }

  .text-title-description-wine {
    font-size: 90%;
  }

  .text-sub-description-wine {
    font-size: 90%;
  }

}

#loading_screen {
  background: #100808;
  height: 100vh;
  width: 100vw;
}



body {
  background: #2d2d37;
}

body::-webkit-scrollbar {
  display: none;
}

a {
  color: #2d2d37;
  text-decoration: none;
}

.arrow {
  text-align: center;
  margin: 8% 0;
}

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}


.footer-designed {
  background-color: #1a1d20;
  color: #ffffff;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

.simple-cantina-link {
  font-family: "Prompt", sans-serif;
  font-size: 2rem;
  color: #b88a44;
  text-align: center;
  text-decoration: none;
  margin: 0.5em 0;
  transition: color 0.2s, text-shadow 0.2s, transform 0.2s;
  display: block;
}

.simple-cantina-link:hover {
  color: #c0c0c0;
  text-shadow: 0 2px 8px #fff3;
  text-decoration: underline;
  transform: scale(1.08);
}