body {
    min-height: 100vh;
    margin: 0;
    font-family: 'Times New Roman', Times, serif; 
    background-color: white;
    overflow-x: hidden;
    overflow-y: auto;
}
.highlight {
    background-color: #ffdfec;
    padding: 5px;
    border-radius: 30px;
}
.container {
    width: 100%;
    max-width: 1200px;
    min-height: 100vh; 
    overflow-x: hidden; 
}
.content {
    padding: 2rem;
    text-align: center;
    background-color: transparent;
}
html, body {
    height: 100%;
}
.section {
    padding: 1rem;
    margin: 0; 
    max-width: 1200px; 
}
.intro-text {
    text-align: center;
    padding: 1rem;
    background-color: #ffdfec;
    margin-bottom: 2rem;
}
.intro-text h1 {
    font-size: 2rem;
    color: #000000; 
}
.intro-text p {
    font-size: 1.2rem;
    color: #000000; 
}
.intro-text {
    text-align: center;
    margin-top: 90px;
}
@media (max-width: 768px) {
    .intro-text {
        margin-top: 8px;
        margin-bottom: 8px;
    }
    .sezione {
        width: 100%;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .intro-text {
        margin-top: 16px;
        margin-bottom: 16px;
    }
}
/* Spaziatura per schermi grandi */
@media (min-width: 1025px) {
    .intro-text {
        margin-top: 24px;
        margin-bottom: 8px;
    }
}
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loading-logo {
    width: 100px; 
    height: 100px;
    animation: rotate-logo 2s linear infinite;
}
@keyframes rotate-logo {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@media (max-width: 768px) {
    #loading-logo {
        width: 80px;
        height: 80px;
    }
}
@media (min-width: 1200px) {
    #loading-logo {
        width: 120px;
        height: 120px;
    }
}
.navbar {
    position: fixed; 
    top: 0;
    width: 100%;
    z-index: 1000; 
}
.navbar {
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}
@media (min-width: 1200px) {
    .navbar-brand {
        font-size: 2.5rem;
    }
    .navbar-nav {
        flex-wrap: nowrap; 
        justify-content: flex-end; 
    }
    .navbar-nav .nav-link {
        font-size: 1rem; 
    }
    .dropdown-menu {
        max-height: calc(100vh - 100px); 
        overflow-y: auto; 
        right: 0; 
        left: auto; 
    }
    .logo {
        max-width: 350px;
    }
}
.navbar-dark .navbar-toggler-icon {
    filter:invert(100%) grayscale(100%);
}
.navbar-brand {
    display: flex;
    align-items: center; 
    font-size: 1.5rem; 
}
.navbar {
    padding: 0.5rem 1rem; 
    background-color: transparent; 
    background-image: url('loghi/logoRosa.png');
    background-size: cover; 
    background-position: 20px 32%; 
    background-repeat: repeat; 
    position: relative;
}
.navbar-nav .nav-link {
    color: black !important;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    position: relative;
    transition: background-color 0.3s ease-in-out;
    padding: 8px 10px;
}
.navbar-nav .nav-link:hover {
    color: rgb(253, 250, 250);
}
.navbar-nav .nav-link.active {
    background-color: rgba(236, 234, 234, 0.61);
    color: rgb(5, 5, 5);
}
.navbar-nav .nav-link::before {
    content: ""; 
    position: absolute; 
    left: 0;
    right: 0;
    top: 50%; 
    height: 40px; 
    background-color: rgba(243, 242, 243, 0.671); 
    border-radius: 30px;
    transform: translateY(-50%); 
    opacity: 0;
    transition: opacity 0.3s ease;
}
.navbar-nav .nav-link:hover::before {
    opacity: 0.5;
}
.dropdown-menu {
    background-color: transparent;
    border-radius: 30px;
    min-width: 200px;
    padding: 1rem;
}
.dropdown-item {
    font-size: 1rem;
    color: black;
    background: transparent;
    border-radius: 30px;
    padding: 0.5rem 1rem;
    transition: background 0.3s ease;
}
.logo-container {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.logo {
    max-width: 300px;
    height: auto;
    opacity: 0.3;
}
.footer-text {
    background-color: #f1f1f1;
    color: #333;
    text-align: center; 
    padding: 2rem;
    margin-top: 5px;
    margin-bottom: 5px;
}
.footer-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.footer-text p {
    font-size: 1rem;
    line-height: 1.5; 
}
.gallery-loghi {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.gallery-item-loghi {
    margin: 10px;
}
.video-wrapper {
    margin: 20px 0;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: #000;
}
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.video-overlay img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    opacity: 0.8;
}
.play-toggle:checked + .video-overlay {
    opacity: 0;
    pointer-events: none;
}
.custom-form {
    width: 80%;
    max-width: 800px;
    margin: 1rem auto;
    padding: 20px;
    border: 2px solid #ECB7CB; 
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Estetica dei campi di input */
.custom-form .form-control {
    width: 100%;
    padding: 10px;
    margin-bottom: 50px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 16px;
}
/* Cambia il bordo degli input quando sono selezionati */
.custom-form .form-control:focus {
    border-color: #ECB7CB;
    box-shadow: 0 0 5px rgba(236, 183, 203, 0.5); 
    outline: none;
}
/* Estetica del bottone */
.custom-form .btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #ECB7CB;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
/* Cambia il colore del bottone al passaggio del mouse */
.custom-form .btn:hover {
    background-color: #000000; 
}
/* Sezione form per contattarci */
.contact-form-section {
    background-color: #f8f9fa;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
}
.contact-form-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.form-control:focus {
    border-color: #f8f8f8;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.993);
    outline: none;
}
.tooltip-box {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 30px;
    width: 300px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}
.tooltip-trigger {
    color: #ECB7CB;
    cursor: pointer;
    position: relative;
}
.tooltip-trigger:hover {
    text-decoration: underline;
}
.pink-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: #ffdfec;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    width: 100%;
    margin: 0 auto;
}
.pink-section h3 {
    font-size: 1.5rem;
    color: black;
    margin-bottom: 0.5rem;
    text-align: center;
}

.pink-section p, .pink-section a {
    font-size: 1.2rem;
    color: black;
    margin: 0.5rem 0;
    text-align: center;
    text-decoration: none;
}
.full-width-section {
    background-color: #ECB7CB;
    padding: 2rem; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    margin: 0;
    width: 100%;
    overflow: hidden;
}
.full-width-section .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}
.pink-section a {
    display: block;
    margin: 0.5rem 0;
}
.pink-section a:hover {
    text-decoration: underline;
}
@media (min-width: 768px) {
    .pink-section {
        flex-direction: row;
        justify-content: space-between;
    }
    .pink-section > div {
        flex: 2;
        margin: 0 0.5rem;
        text-align: center;
    }
    .pink-section p, .pink-section a {
        text-align: center;
    }
}
@media (max-width: 767px) {
    .pink-section > div {
        margin-bottom: 1rem;
    }
}
.scroll-to-top {
    position: relative;
    width: 50px; 
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none; 
    transition: background-color 0.3s ease;
}
.scroll-to-top .triangle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid black; 
}