*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: gray;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  color: #fff;
  background-color: #212121;
  width: 100%;
  position: fixed;
  display: flex;
  flex-direction: column;
  z-index: 2;
  justify-content: center;
}

.utent-bar {
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.intro {
  width: 50%;
  border-right: 1px solid black;
}

.text {
  width: 30%;
  padding-left: 20vh;
}

.bottone {
  border: 2px solid black;
  outline: 2px solid black;
  border-radius: 5px;
  width: 7vh;
  height: 7vh;
  outline-offset: 6px;
  transition: all 0.3s ease-out;
}

.bottone:hover {
  outline-offset: -6px;
  outline-width: 5px;
}

.menu {
  border-bottom: 1px solid black;
  display: block;
  background-color: #131313;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(33%, 1fr));
}

.sezione {
  border-right: 1px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sezione:hover {
  background-color: #181818;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
  z-index: 1;
  width: 100%;
}

.container {
  width: 100%;
  margin-top: 150px;
  max-height: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  transition: opacity 1s ease;
}

.container1 {
  display: flex;
}

.vedimi {
  display: flex;
}

.bottone-slide {
  margin: 20px;
  transform: rotate(180deg);
}

.prima-slide {
  /* margin-left: 5%; */
  border-radius: 20px;
/*   background-color: #131313;
  border: 1px solid black; */
  display: flex;
  flex-direction: column;
  width: 90%;
  opacity: 1;
}

.sec {
  display: none;
}

h2 {
  border: 1px solid silver;
  background-color:  #131313;
  color: silver;
  border-radius: 20px;
  height: 50px;
  justify-content: center;
  display: flex;
  align-items: center;
}

.sez {
  margin: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.int-sez {
  justify-content: space-around;
  align-items: center;
  display: flex;
}

.int {
    width: 100%;
  margin: 20px;
  border: 2px solid silver;
  outline: 2px solid silver;
  border-radius: 20px;
  background-color: #181818;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.int:hover {
  background-color: #212121;
  outline-offset: -6px;
  outline-width: 5px;
}

.int span {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.int img {
  height: 50px;
  width: 50px;
}

.resoconto {
  color: black;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
  flex-direction: column;
  background-color: rgb(140, 129, 129);
 /*  border: 1px solid black; */
  overflow-y: scroll;
  max-height: 120px;
  width: 100%;
  border-radius: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-inline: 20px;
}

.prod-agg {
  align-items: center;
  height: 50px;
  width: 100%;
  justify-content: space-evenly;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  border: 1px solid black;
}

.sparisci {
  display: none;
}

.prod-agg p {
  border-right: 1px solid black;
  color: #fff;
  display: flex;
  justify-content: center;
  background-color: #181818;
  height: 49px;
  align-items: center;
}

.togli-prod {
  outline: 1px solid red;
  transition: all 0.3s ease;
  cursor: pointer;
}

.togli-prod:hover {
  outline-offset: -5px;
  outline-width: 6px;
  background-color: rgb(116, 18, 18);
}

.totale {
  color:red;
  width: 50%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 1000px) {
  .int-sez {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  }
}

.intro {
  width: 50%;
  display: flex;
  justify-content: center;
  text-align: center;
}
@media screen and (max-width: 830px) {
    h2{
        margin-bottom: 10px;
    }
    .int-sez{
      align-items: center;
    }

    .int{
        margin: 0;
        width: 100%;
    }
    .resoconto{
        display: flex;
        flex-direction: column;
        border: 2px solid silver;
    }
}
@media screen and (max-width: 435px) {
    .prima-slide{
        margin-top: 100px;
    }
    .int-sez {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
      }
}

