* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
main{
  padding: 2rem;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #161616;
  min-height: 100vh;
}

nav {
  z-index: 2;
  margin-bottom: 20px;
}
/*event-bar*/
.event-bar {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.05);;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  /*position: relative;*/
  margin: 10px 0 0 0;
}
.event {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 1s;
  font-size: 18px;
  padding: 10px;
}
.event-bar:hover {
  animation-play-state: paused;
}
/*Prodotti*/
.container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

}
.container .card {
  position: auto;
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}
.small-container {
  max-width: 1000px;
  margin: auto;
  padding-left: 25px;
  padding-right: 20px;
}
.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
}
.small-img-row {
  display: flex;
  justify-content: space-around;
}
.col-2 img {
  max-width: 100%;
  max-height: 400px;
  padding: 50px 0;
}
.small-img-col {
  flex-basis: 24%;
  cursor: pointer;
}
.single-product .col-2 img {
  padding: 0;
}
.single-product .col-2 {
  padding: 20px;
}
.col-2 {
  flex-basis: 50%;
  min-width: 300px;
}
.col-2 h1 {
  font-size: 50px;
  line-height: 60px;
  margin: 25px 0;
  color: #ffffff;
}
.single-product select {
  display: block;
  padding: 10px;
  margin-top: 20px;
}
.single-product h4 {
  margin: 20px 0;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
}
.single-product .fa {
  color: #ff523b;
  margin-left: 10px;
}
.single-product h3 {
  color: #ffffff;
}
p {
  color: #ffffff;
}
/*Commenti*/
.comment {
  margin: 40px 0 20px;
  background: #333;
  padding: 20px;
  width: auto;
  box-shadow: #ff0000;
}
.head {
  text-transform: uppercase;
  margin-bottom: 20px;
}
.text {
  margin: 10px 0;
  font-family: sans-serif;
  font-size: 0.9em;
}
.commentbox {
  display: flex;
  justify-content: space-around;
  padding: 10px;
}
.commentbox>img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
  object-position: center;
}
.content {
  width: 100%;
}
.username {
  border: none;
  outline: none;
  margin: 5px 0;
  color:#808080;
  margin-left: 20px;
  padding: 10px;
}
.commentinput>input {
  border: none;
  padding: 10px;
  padding-left: 0;
  outline: none;
  border-bottom: 2px solid blue;
  margin-bottom: 10px;
  width: 95%;
}
input ::placeholder{
  align-self: center;
}
.buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #808080;
}
.buttons input {
  padding: 5px 10px;
  background: lightgrey;
  color: #808080;
  text-transform: uppercase;
  border: none;
  outline: none;
  border-radius: 3px;
  cursor: pointer;
}
.policy {
  margin: 20px 0;
  font-size: 0.8em;
  font-family: Arial, sans-serif;
  color: #808080;
}
.policy a {
  text-decoration: none;
  color: blue;
}
.notify {
  margin-right: 10px;
  display: flex;
  align-items: center;
}
.notify>input {
  margin-right: 5px;
  border: 2px solid #808080;
}
.comments{
  overflow-y: scroll;
  max-height: 200px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.comments::-webkit-scrollbar {
  display: none;
}
.parents {
  font-family: Arial, sans-serif;
  display: flex;
  margin-bottom: 30px;
}
.parents h1 {
  font-size: 0.9em;
}
.parents p {
  margin: 10px 0;
  font-size: 0.9em;
}
.parents>img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
  object-position: center;
}
.engagements {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.engagements img {
  width: 20px;
}
.engagements img:nth-child(1) {
  margin-right: 10px;
  width: 25px;
}
.date {
  color: #808080;
  font-size: 0.8em;
}
/*Dettagli*/
.dettagli {
  background-color: #ffffff;
  margin: 20px;
  align-items: center;
  width: 100%;
}
.dettagli tr td {
  border: 1px solid #808080;
  border-radius: 16px;
  text-align: center;
}
/*Consigli*/
h1{
  align-self: flex-start;
  color: #ffffff;
}
h2{
  margin-left: 20px;
  align-self: flex-start;
  color: #ffffff;
}
.consigli {
  margin: 10px;
}
.image {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}
.image img {
  width: 100%;
  height: 100%;
}
.consigli .details h4 {
  margin: 0 20 0 10;
  color: #ffffff;
  text-align: center;
  width: 200px;
}
.consigli .details p{
  text-align: center;
}
.horizontal-scroll {
  justify-content: center;
  align-items: center;
  overflow-x: scroll;
  white-space: nowrap;
  width: 100%;
  margin-bottom: 50px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.horizontal-scroll::-webkit-scrollbar{
  display: none;
}
.item {
  display: inline-block;
  margin-right: 10px;
}

.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
}
/*CPU*/
header {
  background-color: #808080;
  color: #fff;
  padding: 1em 0;
  text-align: center;
}
main {
  padding: 1em;
}
section {
  margin-bottom: 2em;
}
h2 {
  color: #333;
}