/* Non-Critical CSS */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-menu span {
    width: 30px;
    height: 3px;
    background-color: white;
}

.hamburger-menu.open span {
    transform: rotate(45deg);
    background-color: white;
}

.hamburger-menu.open span::before {
    transform: rotate(90deg);
}

.hamburger-menu.open span::after {
    transform: rotate(-90deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    z-index: 999;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: white;
    font-size: 24px;
    margin: 10px 0;
    text-decoration: none;
}

@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section styles */
section {
    padding: 50px 0;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

/* Text alignment */
.microblading p, .video p, .kit p, .presentazione p, .chi-sono p, .iscrizione p {
    text-align: justify;
}

h2, h3 {
    font-family: 'Playfair Display', serif;
    text-align: left;
    font-weight: normal; /* Added to ensure no bold */
}

h2 {
    font-size: 50px;
}

h3 {
    font-size: 25px;
    font-style: italic;
}

/* Row and column styles */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col {
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
    padding: 0 10px;
}

/* Video Section */
.video {
    background-color: black;
    color: white;
}

.video-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.video-right {
    flex: 1;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video iframe {
    width: 100%;
    height: 442px;
}

/* Corsi Section */
.corsi {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #f0f0f0;
    justify-content: center;
    padding: 20px 0;
}

.corso {
    flex: 1 1 calc(33.333% - 25px);
    max-width: 387px;
    text-align: center;
    background-color: white;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.corso img {
    width: 100%;
    height: auto;
}

.corso h3 {
    font-size: 20px;
}

.corso form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.corso form input,
.corso form button {
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgb(134, 102, 68);
    font-weight: normal; /* Added to ensure no bold */
}

.corso form button {
    background-color: rgb(134, 102, 68);
    color: white;
    cursor: pointer;
}

.corso form button:hover {
    cursor: pointer;
}

/* Kit Section */
.kit, .presentazione, .chi-sono, .iscrizione, .testimonianze {
    display: flex;
    padding: 50px 0;
    flex-wrap: wrap;
}

.kit-left {
    flex: 1;
    text-align: left;
}

.kit-right {
    flex: 1;
    text-align: right;
}

.kit img {
    max-width: 100%;
    height: auto;
    max-height: 650px;
}

.kit p {
    margin-bottom: 20px;
}

/* Presentazione Section */
.presentazione {
    background-color: rgba(169, 169, 169, 0.4);
}

.presentazione-left {
    flex: 1;
    text-align: left;
}

.presentazione-right {
    flex: 1;
    text-align: right;
}

.presentazione img {
    max-width: 100%;
    height: auto;
    max-height: 508px;
}

.presentazione p, .presentazione ul {
    text-align: left;
}

/* Chi Sono Section */
.chi-sono {
    background-color: white;
}

.chi-sono-left {
    flex: 1;
    text-align: left;
}

.chi-sono-right {
    flex: 1;
    text-align: right;
}

.chi-sono img {
    max-width: 100%;
    height: auto;
    max-height: 540px;
}

.master-logo {
    display: block;
    margin: 20px auto;
    max-width: 50%;
    height: auto;
}

/* Testimonianze Section */
.testimonianze {
    background-color: rgba(211, 211, 211, 0.15);
    text-align: center;
}

.testimonianze h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: normal; /* Added to ensure no bold */
    text-align: center;
}

.testimonianze .recensione {
    font-style: italic;
    font-size: 18px;
    display: none;
}

/* Iscrizione Section */
.iscrizione {
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
}

.iscrizione-left {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.iscrizione-right {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.iscrizione h2 {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    margin: 0;
    font-weight: normal; /* Added to ensure no bold */
}

.iscrizione h3 {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    font-style: italic;
    margin: 0;
    font-weight: normal; /* Added to ensure no bold */
}

.iscrizione p {
    text-align: left;
    margin-top: 20px;
}

.iscrizione form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.iscrizione form input, .iscrizione form select, .iscrizione form button {
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgb(134, 102, 68);
    font-weight: normal; /* Added to ensure no bold */
}

.iscrizione form select {
    height: 48px;
    padding: 10px;
}

.iscrizione form button {
    background-color: rgb(134, 102, 68);
    color: white;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 5px 0;
    font-weight: normal; /* Added to ensure no bold */
}

/* Media Queries */
@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu.open {
        display: flex;
    }

    .row {
        flex-direction: column;
    }

    .video-left, .video-right {
        text-align: center;
        padding-left: 0;
        margin-top: 0;
    }

    .video iframe {
        width: 100%;
        height: auto;
    }

    .kit-left, .kit-right, .presentazione-left, .presentazione-right, .chi-sono-left, .chi-sono-right, .iscrizione-left, .iscrizione-right {
        text-align: center;
    }

    .video iframe, .kit img, .presentazione img, .chi-sono img {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .corsi .corso {
        margin-bottom: 20px;
    }

    .iscrizione .row {
        gap: 20px;
    }
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1000;
}

/* Aggiungi questa classe per ridurre la dimensione dell'immagine nella sezione "Chi Sono" */
.reduced-size {
    width: 50%;
    max-width: 100px;
    display: block;
    margin: 0 auto;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.popup-content {
    background-color: #000;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 20px;
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.popup form input,
.popup form button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border-radius: 20px;
}

.popup form input {
    color: #000;
    font-weight: normal; /* Added to ensure no bold */
}

.popup form button {
    color: #fff;
    font-weight: normal; /* Added to ensure no bold */
}

.popup form label,
.popup form p {
    color: #fff;
    font-weight: normal; /* Added to ensure no bold */
}

.form-title {
    text-align: center;
    font-weight: normal;
    margin-bottom: 20px;
}
.corsi .row {
    margin-bottom: 20px; /* Spazio tra le righe */
}
#course-select {
    border-radius: 20px; /* Stesso raggio degli altri box del form */
    padding: 10px;
    border: 1px solid rgb(134, 102, 68); /* Assicurati che il colore del bordo sia coerente */
    font-weight: normal; /* Assicurati che il testo non sia in grassetto */
    width: 100%; /* Aggiungi questa regola se vuoi che il dropdown prenda tutta la larghezza disponibile */
    box-sizing: border-box; /* Assicurati che il padding non influisca sulla larghezza */
}