* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lucida Calligraphy', serif;
  background-color: ivory;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  padding: 20px;
  width: 100%;
  height: 120px;
}

.logo-container {
  margin-left: 20px
}

.logo {
  width: 80px;
  height: 80px;
}

.title-container {
  flex-grow: 1; 
  display: flex;
  justify-content: center;
}

.title {
  color: white;
  font-size: 2rem;
  text-align: center;  
    font-style: italic;
}

.back-to-menu {
  display: block;
  width: 30px;
  height: 30px;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
}

.back-to-menu i {
  font-size: 30px;
}

.navigation {
  float: right;
  margin: 10px 0;
}

.slot-container {
  display: grid;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  justify-items: center; 
  margin-top: 20px;
  margin-bottom: 20px;
}

.slot {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 300px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: 'Garamond', serif;
}

.slot img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

.slot-title {
  font-size: 1.5rem;
  margin: 10px 0;
}

.slot-summary {
  font-size: 1rem;
  margin-bottom: 10px;
}

.slot-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}

footer {
	background-color: #333333;
	color: #fff;
	padding: 20px;
	text-align: center;
	font-family: Garamond, serif;
	font-size: 17px;
	font-weight: bold;
}

footer p {
	margin: 0;
	padding: 5px 0;
}

footer a {
	color: #fff;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

.social-icons {
  float: right;
  margin-right: 20px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  margin-top: -110px;
}

@media (max-width: 991px) {
	
	.logo{
		display: none;
	}
	
	header {
height: 120px;
}

.title-container {
  display: flex;
  justify-content: center;
  position: relative; /* imposta la posizione relativa per consentire l'utilizzo di position: absolute */
}

.title {
  color: white;
  font-size: 2rem;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centra il titolo orizzontalmente e verticalmente */
}

.back-to-menu {
  position: absolute;
  top: 60px;
  left: 15px;
  transform: translateY(-50%) rotate(180deg);
}
	
.navigation {
  float: left;
  margin: 20px 0;
}


  .slot-container {
  display: grid;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-template-rows: repeat(2, 1fr);
  justify-items: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.slot {
background-color: white;
border: 1px solid #ccc
border-radius: 5px;
width: 100%;
max-width: 300px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
font-family: 'Garamond', serif;
}

.slot img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 5px;
}

.slot-title {
font-size: 1.5rem;
margin: 10px 0;
}

.slot-summary {
font-size: 1rem;
margin-bottom: 10px;
}

.slot-button {
background-color: #333;
color: white;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 1rem;
cursor: pointer;
text-decoration: none;
}

footer {
	background-color: #333333;
	color: #fff;
	text-align: center;
	font-family: Garamond, serif;
	font-size: 14px;
	font-weight: bold;
	height: 205px;
}

footer p {
	margin: 0;
}

.social-icons {
  margin-top: 80px;
}

.social-icons a {
  display: inline-block;
  margin-bottom: 10px;
}
}

@media (max-width: 400px) {
    
    .social-icons {
  max-width: 100%;
}

.social-icons a {
  display: inline-block;
  margin-right: 35px;
  width: 60px;
  height: 60px;
}
}