html {
    font-size: 14px;
}

/*@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}*/

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #004aad;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #c9652a;
    border-color: #c9652a;
}

.accordion-item {
    margin: 20px;
}

.background-primary {
    background-color: #e07935;
}

.btn-primary {
    background-color: #e07935;
    border-color: #e07935;
}

    .btn-primary a {
        text-decoration: none;
        color: white;
        
    }

.crea-ordine {
    border-radius: 16px;    
}

    .crea-ordine a {
        text-decoration: none;
        color: white;
    }

.btn-crea-ordine {
    color: white;
    
    background-color: transparent;
    border-color: transparent;
}

/*.container {
    width: 640px;
}*/

.header-content-rectangle {
    width: 100%;
}

.header-bg-figure {
    position: relative;
    width: 100%;
    height: 220px;
    background: transparent;
    overflow: visible;
}

    .header-bg-figure .rectangle {
        position: absolute;
        left: 0;
        top: 60px;
        width: 100%;
        height: 120px;
        background: #e07935;
        z-index: 1;
        border-radius: 0 0 32px 32px;
    }

    .header-bg-figure .triangle {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 80px solid transparent;
        border-right: 80px solid transparent;
        border-bottom: 60px solid #e07935;
        z-index: 2;
    }

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .header-content img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        margin-bottom: 8px;
        border: 4px solid #fff;
    }

    .header-content .contrada-nome {
        font-size: 1.6rem;
        font-weight: bold;
        color: #333;
        text-shadow: 0 2px 8px rgba(255,255,255,0.3);
    }


.header-content-triangle-down {
    width: 0;
    height: 0;
    border-left: 320px solid transparent; /* metà della larghezza del rettangolo */
        border-right: 320px solid transparent; /* metà della larghezza del rettangolo */
        border-top: 40px solid #e07935; /* stesso colore del rettangolo */
        margin-top: 0; /* elimina il gap tra rettangolo e triangolo */
    }

.arrow-highlight {
    display: inline-block;
    vertical-align: middle;
    /* Puoi aggiungere ombre o effetti se vuoi */
}