@font-face {
    font-family: CatchyMager;
    src: url("assets/Catchy Mager Regular.woff2");
}

*{
    margin: 0;
}

.caption-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

body{
    font-family: CatchyMager;
    font-style: normal;
    color: #efebe5;
    background-color: #efebe5;
    margin: 0;
    display: flex;
    flex-direction: column;
}

a{
    color: #efebe5;
    text-decoration: none;
}

a:hover{
    color: #acacac;
}

.container {
	max-width: 100%;
	margin: 0%;
}

.underline{
    text-decoration: underline;
}

.main-header{
    background: #623e2a;
}

.footer {
    width: 100%;
    max-width: 100%;
    padding:0;
    margin: 0 auto;
    background-color: #623e2a;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#navbarContainer {
    display: flex;
    justify-content: space-between;
    flex:1;
    z-index: 1000;
}

.choosen {
    border-bottom: 2px solid white;
}

.hamburger {
    margin: 0;
}

.social{
    display: flex;
    gap: 0.5rem;
}

.footer-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:1rem
}

.logo{
    font-size: 30px;
    text-decoration: none;
    text-align: center;
    display: block;
    padding-top: 0.7rem;
    margin-bottom: 0.5rem;
}
#logo{
    color: #623e2a;
    text-align: center;
}

.OrariUfficio{
    color: #efebe5;
    text-align: left;
}

#richiediinfo {
    margin-top: 1rem;
}

.richiediinformazioni{
    padding-bottom: 5%;
}  
#location{
    text-align: center;
}
#torte{
    text-align: center;
    padding-bottom: 2%;
}
.torta2{
    text-align: left;
}

button{
    text-align: center;
    color: #623e2a;
    background: #efebe5;
    border: 2px solid #623e2a;
    font-size: 30px;
    border-radius: 60px;
    position:relative;
    display: block;
    margin: 0 auto;
}

#infoform {
    border: 0;
    margin: auto;
}

button:hover{
    border: 0;
    background: #623e2a;
    color: #efebe5;
}

.Contatti1{
    color: #efebe5;
    text-align: left;
}
#fiori{
    text-align: center;
}
.logo:hover{
    color: #efebe5;
}

.footer-desc {
    text-align: center;
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.social1{
    color: #efebe5;
    text-align: left;
    padding: 0;
    margin: 0;
    font-size: 120%;
}

.main-header .container {
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
}

.main-nav ul {
	margin: 1em 0 .5em;
	text-align: center;
}

.main-nav li {
	display: inline;
}

.Orari, .Contatti, .Social{
    margin: 1%;
}

.progetto-text {
    text-align: center;
    padding-bottom: 1rem;
}

.main-nav a {
	display: inline-block;
	padding: .5em 1.5em;
}

.caption{
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    color:#623e2a;
    font-size: 30px;
}

.text{
    color: #623e2a;
    text-align: center;
    padding-top: 5%;
    padding-left: 5%;
}
.subcontainer{
    text-align: center;
    width: 100%;
    height: 40em;
    border: 1px solid;
    margin-bottom: 8rem;
}

iframe {
    margin-top: 1rem;
}

#cal{
    width: 80%;
    height: 40em;
    border: 1px solid #623e2a;
}

.review{
	border-width: 2px;
    border-color: darkgrey;
    border-style: solid;
    width: 50%;
	display:flex;
	justify-content: space-evenly;
	margin-top: 1%;
}

h1{
    color: #623e2a;
    text-align: center;
}

#title {
    color: #efebe5;
    font-size: 2rem;
}

@media screen and(max-width:1680px)and(min-width:1050px){
    h1{
        font-size: 30px;
    }
}
@media screen and(max-width:1680px)and(min-width:1050px){
    h1{
        font-size: 30px;
    }
}
@media screen and(max-width:320px){
    .piechart_3d{
        height: 200px;
        width: 100px;
    }
}

.textuno{
    color: #623e2a;
    text-align:center;
    padding-top: 455px;
}

.review-container
{
	width: 100%;
	display: flex;
    flex-direction: column;
    align-content: space-around;
    align-items: center;
    justify-content: space-evenly;
}

.user-foto {
    margin-right: 1rem;
    flex: 15%;
}

.user-foto-rounded
{
	border-radius: 50%;
	height: 100px;
    width: 100%;
	margin: 0.3rem;
}

.checked {
  color: orange;
}

.unchecked {
  color: gray;
}

.user-rating
{
	display:flex;
	justify-content: center;
    align-items: flex-start;
	flex-direction: column;
    flex:85%;
}

.presContainer {
    margin-top: 1rem; 
    margin-left: 8rem;
    margin-right: 8rem;
}

.d-custom-flex {
    display: flex;
}

@media screen and (max-width: 800px) {
    .d-custom-flex {
        flex-direction: column;
        margin: 0;
        margin-left: 0.5rem;
    }
    .presContainer {
        margin: 0;
    }
}

.flex-custom-column {
    flex-direction: column;
}

.flex-content-center-custom {
    justify-content: center;
}

/* Ensure elements do not exceed the width of the viewport */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px; /* Add some padding for spacing */
    box-sizing: border-box;
}

/* Flex container for images */
.flex-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Allow wrapping */
    gap: 20px; /* Add spacing between flex items */
}

/* Each image container */
.flex-container > div {
    position: relative;
    width: 25%; /* Default to a third of the container width */
}

.flex-container img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

.flex-container p {
    position: absolute;
    background-color: #ff370f;
    color: #ffeae6;
    margin-left: 2rem;
    margin-right: 2rem;
    bottom: -3rem;
    padding: 10px;
}

/* Responsive styling for small screens */
@media (max-width: 600px) {
    .flex-container {
        flex-direction: column; /* Stack items vertically */
        align-items: center;    /* Center items horizontally */
    }

    .flex-container > div {
        width: 100%; /* Make each item take full width */
        margin-bottom: 20px; /* Add some spacing between items */
    }
}


.mappa{
    width:100;
    max-width: 100%;
    margin: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 5%;
}
.contenitore{
    text-align: center;
    align-items: center;
}

.footer-element {
    margin-left: 0.5rem;
}

form{
    display:table;
    margin-top: 20px;
    margin-left: 38%;
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    border: solid 2px #623e2a;
    background-color: #efebe5;
    
    
}
form textarea{
    display: table-row;
    padding-right: 5px;
}

div.tableRow{
    display: table-row;
    
}
div.tableRow p{
    display: table-cell;
    vertical-align: top;
    text-align: center;
    color: #623e2a;
}
.OrariUfficio{
    color: #efebe5;
    text-align: left;
}
.feste, .matrimoni, .sogni{
    margin: 1rem;
}

p{
    color:#623e2a;
    font-size: 120%;
    text-align: center;
    margin-top: 0.5rem;
}

img{
    padding-top: 1rem;
    width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
   }

.index-img{
    width: 50%;
}
.Contatti1{
    color: #efebe5;
    text-align: left;
} 

.videotavolo{
    position: relative;
    width: 100%;
    height: 100%;
}  

h2{
    text-align: center;
    color: #623e2a;
}

div.tableRow p:first-child{
    text-align:center;
    margin-left: 5px;
    margin-right: 5px;
}

.text-review
{
	color:black;
}

#piechart_3d{
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    padding-bottom: 1.5rem;
    width: 50%;
    margin: auto;
    margin-top: 2rem;
}

.hamburger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: #efebe5;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .footer-element {
        margin-left: 0.5rem;
        font-size: 11px;
    }

    .main-nav {
        display: none;
        width: 100%;
        background-color: #623e2a;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 1000;
    }

    .main-nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-nav-list li {
        display: block;
        margin: 10px 0;
    }

    .main-nav.active {
        display: block;
    }
    .review {
        width: 100%;
    }
    .flex-container {
        margin: 1rem;
    }
    .responsive-iframe-container {
        width: 100%;
        height: auto;
    }

    .responsive-iframe-container iframe {
        width: 100%;
        height: calc(100vw * 9 / 16); /* 16:9 aspect ratio */
    }
}

.recDesc {
    font-size: 20px;
}

@media screen and (max-width: 1100px) {
    .recDesc {
        font-size: 12px;
    }
}

@media screen and (min-width: 600px) and (max-width: 800px) {
    .recDesc {
        font-size: 8px;
    }
}

@media screen and (max-width: 600px) {
    .recDesc {
        font-size: 22px;
    }
}

