@charset "UTF-8";
/* CSS Document */

@font-face {
    font-family: "myfontold";
    src: url("../fonts/font-intercambiabile.woff") format("woff");
}

@font-face {
    font-family: "fontIBMBold";
    src: url("../fonts/IBMPlexSans-Bold.ttf") format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: "myfont";
    src: url("../fonts/IBMPlexSans-Light.ttf") format("truetype");
}



body {
    font-family: "myfont";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.p {
    padding: 0;
    margin-left: 0px;
    margin-right: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: left;
    font-size: 14px;
    font-family: "myfont";
    color: #484848;
}

.styled-hr {
    /* filetto */
    border: none;
    /* Rimuove il bordo di default */
    height: 1px;
    /* Altezza del filetto */
    background-color: #eceaea;
    /* Colore grigio del filetto */
    width: 100%;
    /* Larghezza del filetto */
    text-align: left;
    /* Allinea il filetto a sinistra */
    box-shadow: 3px 4px 8px rgba(0, 0, 0, 0.2);
    /* Ombra */
}

header {
    background-color: #ffffff;
    color: #ffffff;
    padding: 0px;
    text-align: left;
    margin-top: 20px;
    margin-left: 0px;
    margin-right: 0px;
}

a {
    font-family: inherit;
    /* Eredita dal body */
    font-weight: lighter;
    text-decoration: none;
    /* Rimuove la sottolineatura dai link */
}
#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background-color: #222;
  color: #fff;
  border: none;
  outline: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

#topBtn:hover {
  background-color: #555;
  transform: scale(1.1);
}

#topBtn:hover {
  background-color: #333;
}

button {
    font-family: inherit;
}

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

.topnav {
    overflow: hidden;
    background-color: #ffffff;
}

.topnav a {
    float: left;
    display: block;
    color: #a8aaaa;
    text-align: left;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 14px;
}

.topnav a:hover {
    background-color: #ffffff;
    color: #000000;
}

.topnav a.active {
    background-color: #ffffff;
    color: black;
}

.topnav .icon {
    display: none;
}

#logo {
    color: black;
    font-weight: bold;
    padding: 0px;
    margin: 0px;
    font-family: "fontIBMBold";
    text-align: left;
}

.menu ul {
    padding: 0px;
    margin: 0px;
}

.menu li {
    margin: 0px;
    padding: 0px;
    background-color: #ffffff;
    color: #232222;
}

h2 {
    margin-bottom: 15px;
    padding: 0;
    text-align: left;
    font-size: 40px;
    font-family: "fontIBMBold";
    color: #000000;
    line-height: 1.1; /* Adjust this value as needed */
}

.h3 {
    margin-bottom: 15px;
	padding: 0;
    text-align: left;
    font-size: 40px;
    font-family: "myfont";
    color: darkgray;
	line-height: 1.1; /* Adjust this value as needed */
}

.h4 {
    background-color: #ffffff;
    padding: 0;
    text-align: left;
    font-size: 12px;
    font-family: "myfont";
    color: #000000;
}

.h5 {
    background-color: #ffffff;
    padding: 0;
    text-align: left;
    font-size: 10px;
    font-family: "myfont";
    color: #000000;
}

.h6 {
    background-color: #ffffff;
    padding: 0;
    text-align: center;
    font-size: 9px;
    font-family: "myfont";
    color: #000000;
}


.phone-number {
    padding: 0;
    margin-left: 0px;
    margin-right: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: left;
    font-size: 14px;
    /* Stili per il numero di telefono */
}

.logo {
    background-color: #ffffff;
    list-style: none;
    padding: 0px 0px;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}

.content {
    padding: 0px;
    padding-bottom: 0px;
    margin-left: 15px;
    margin-right: 130px;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
    min-width: 0px;
    font-size: 28px;
	max-width: 1000px;  /* Limita la larghezza massima a 1000px */
}

.content p {
    margin: 0;
    margin-top: 5px;
    padding: 20;
    margin-bottom: 8px;
	max-width: 1000px;  /* Limita la larghezza massima a 1000px */
}

.gallery {
    padding: 15px;
    text-align: left;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 5px;
}

.gallery-container img {
    max-width: 100%;
    height: auto;
    width: 300px;
    margin: 0px;
	object-fit: contain;
	max-width: 900px;  /* Limita la larghezza massima a 1400px */
}


footer {
    background-color: #ffffff;
    color: #000000;
    text-align: left;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Media Queries per la Responsività */
@media (max-width: 768px) {
    .menu ul {
        flex-direction: column;
        align-items: left;
    }

    /* Stile per il banner dei cookie */
    .consentBox {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* font-family: Arial, sans-serif; */
        z-index: 1000;
    }

    .consentBox p {
        margin: 0;
    }

    .consentBox a {
        color: #00b4d8;
        text-decoration: underline;
    }

    .consentBox button {
        background-color: #00b4d8;
        color: white;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 5px;
    }

    .consentBox button:hover {
        background-color: #0077b6;
    }

    .menu {
        width: 100%;
        margin: 0px 15px;
    }

    .gallery-container {
        flex-direction: column;
        align-items: left;
    }
	 .gallery-container img {
    max-width: 90%;
  }

    footer {
        position: static;
    }
}




.consentWrapper {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 9999;
}

#consentBox.prehide {
    opacity: 0;
    pointer-events: none;
    padding: 0px;
    height: 0px;
}


#consentBox {
    position: fixed;
    bottom: 60px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: all 0.3s ease;
    text-align: center;
}

#consentBox.hide {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: all 0.3s ease;
    padding: 0px;
    height: 0px;
}

::selection {
    color: #fff;
    background: #b0c430;
}

#consentContent p {
    color: #858585;
    margin: 10px 0 20px 0;
}

#consentContent .buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.consentButton,
.rejectButton {
    padding: 12px 40px;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.consentButton {
    background: #b0c430;
    margin-right: 20px;
}

.rejectButton {
    color: #111211;
    background: transparent;
    border: 1px solid #b0c430;
    text-decoration: none;
}

#consentBox img {
    max-width: 90px;
}

#consentHeader {
    font-size: 25px;
    font-weight: 600;
    margin-top: 10px;
}