@import url(https://fonts.googleapis.com/css2?family=Open+Sans&family=Raleway:wght@400;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Kanit:ital,wght@1,900&family=Open+Sans&family=Poppins&family=Raleway:wght@400;700&display=swap);
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
}

body {
    min-height: 100vh;
    width: 100%;
}

header {
    top: 0;
    position: fixed;
    background-color: #630606;
    width: 100%;
    height: 5rem;
    padding: 0 0 0 10rem;
    display: flex;
    flex-direction: row;
    color: white;
    gap: 1rem;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 0 1rem;
    transition: all .2s;
}

.logo:hover {
    transform: translateY(-5px);
    background: -webkit-linear-gradient(top left, rgba(255, 146, 54, 1.0), rgba(234, 1, 177, 1.0));
    background: -moz-linear-gradient(top left, rgba(255, 146, 54, 1.0), rgba(234, 1, 177, 1.0));
    background: linear-gradient(to bottom right, rgba(255, 146, 54, 1.0), rgba(234, 1, 177, 1.0));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

section {
    padding: 2rem 0 5rem;
}

.navbar {
    display: flex;
    width: 75%;
    height: 100%;
    align-items: center;
}

.nav-elements {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.nav-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav-link {
    padding: 1rem .5rem 1rem;
    width: 100%;
}

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

li {
    list-style: none;
}

.nav-elements li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #FD5D5D;
    display: block;
    transition: .5s;
}

.nav-elements li:hover::after {
    width: 100%;
}

.hamburger-menu {
    display: none;
    justify-self: flex-end;
    width: 100%;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

.content {
    display: flex;
    flex-direction: column;
    margin: 6rem 10rem 0;
}

.hero {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.about-us {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #3d0909;
    font-size: 1.5rem;
    width: 50rem;
}

.description {
    margin-top: 1rem;
    font-size: 1.1rem;
}

#illustration-1 {
    width: 60%;
    object-fit: contain;
}

.contact-us {
    width: 15rem;
    margin-top: 1rem;
}

#contact-us {
    font-weight: 300;
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
    color: #3d0909;
    background: none;
    padding: .5rem;
    border-style: none;
    cursor: pointer;
    border-style: solid;
    transition: .5s;
}

#contact-us:hover {
    color: #fff;
    background-color: #FD5D5D;
    border-color: #FD5D5D;
}

.auto {
    color: #FD5D5D;
}

.title {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    color: #630606;
    text-align: center;
}

.title-description {
    margin-top: .5rem;
    font-weight: 200;
}

.subtitle {
    margin-top: 2rem;
    font-size: 2rem;
    color: #630606;
}

.subtitle-description {
    font-weight: 200;
}

.why-choose-us {
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    gap: 1rem;
}

.why-choose-us-elements {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.why-choose-us-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 14rem;
    max-width: 20rem;
    border-radius: 1rem;
    gap: 1rem;
}

.why-choose-us-description {
    font-size: 1.2rem;
}

.why-choose-us-illustration {
    border-radius: 100rem;
    width: 85%;
}

.what-we-offer {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    border-radius: .4rem;
}

.container-1 {
    color: #630606;
    margin-top: 3rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.container-1-child {
    background-color: #fff;
    min-width: 11rem;
    max-width: 20rem;
    height: 100%;
    border-radius: .5rem;
    transition: .5s;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.container-1-child:hover {
    transform: translateY(-4px);
    background-color: rgb(195, 83, 83);
    color: #FFF;
}

.container-1-child h3 {
    text-align: center;
    padding: 1rem 0 .5rem;
    font-size: 2rem;
}

.container-1-child p {
    text-align: left;
    font-size: 1rem;
    padding: .5rem 1.5rem 1.5rem 1.5rem;
}

#container-1-child-illustration {
    width: 100%;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

.map {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    height: 95vh;
    width: 100%;
}

#main-map-dove-siamo {
    width: 85%;
    height: 100%;
}

.testimonials {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.testimonials-elements {
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
}

.testimonial {
    display: flex;
    flex-direction: column;
    max-width: 15rem;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    padding: 1rem;
}

.testimonial-logo {
    align-self: center;
    width: 40%;
    border-radius: 50rem;
}

.testimonial p {
    font-size: .9rem;
}

.quotes {
    margin-top: 1rem;
    width: 8%;
}

.author {
    margin-top: 1rem;
    font-size: 1rem;
    align-self: center;
    color: #07043B;
}

.newsletter {
    color: white;
    display: flex;
    flex-direction: column;
    padding: 5rem 10rem;
    margin-top: 5rem;
    background-color: #3d0909;
    height: 100%;
    width: 100%;
}

.iscriviti {
    margin-top: 2.5rem;
}

.email {
    min-width: 15rem;
    padding: 1rem;
}

.email-submit {
    min-width: 10rem;
    padding: 1rem;
    cursor: pointer;
}

.footer {
    color: #fff;
    width: 100%;
    height: 100%;
    background-color: #131316;
}

#footer-title {
    min-width: 15rem;
}

.footer-content {
    display: flex;
    flex-direction: row;
    padding: 3.3rem 10rem;
    height: 100%;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.informazioni {
    min-width: 6rem;
}

.informazioni li a:hover {
    color: #FD5D5D;
}

.social {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: auto;
}

#social-logo {
    width: 2.5rem;
}

.typed-cursor {
    display: none;
}

.copyright {
    width: 100%;
}


/*PAGES DEFAULT*/

.banner {
    margin-top: 5rem;
    width: 100%;
    height: 15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(./images/rm245-bb-62.jpg);
    background-size: cover;
}

.page-heading {
    font-size: 4rem;
    color: #501c1c;
}

.page-content {
    display: flex;
    flex-direction: column;
    margin: 5rem 10rem 6rem;
    justify-content: center;
    align-items: center;
}


/* CHI SIAMO */

.page-section {
    padding: 2rem 0 5rem;
    align-self: center;
    display: flex;
    width: 80%;
    height: 100%;
    justify-content: center;
}

.page-section-second {
    flex-direction: row-reverse;
}

.section-title {
    text-align: left;
    font-size: 2.5rem;
    color: #630606;
}

.section-image {
    height: 100%;
    max-width: 25rem;
}

.page-section .text {
    display: flex;
    flex-direction: column;
    padding-right: 3.5rem;
    gap: 2rem;
}

.page-section-second .text {
    padding-left: 3.5rem;
    padding-right: 0;
}

.section-break {
    border-radius: 59rem;
    align-self: flex-start;
    width: 60%;
    height: 4px;
    background-color: #07043B;
}


/* DOVE SIAMO */

.dove-siamo-container {
    display: flex;
    width: 80%;
    height: 100%;
    gap: 3rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

#page-map-dove-siamo {
    width: 100%;
    height: 25rem;
}

.dove-siamo-text {
    display: flex;
    width: 50%;
    flex-direction: column;
    gap: 2rem;
}

.orario {
    border: #131316 solid 1.5px;
    width: 40%;
    border-spacing: 40px;
    border-collapse: collapse;
}

th,
td {
    padding: 1rem;
    border: #07043B solid 1.5px;
    border-collapse: collapse;
}


/* CONTATTACI */

.contattaci-section {
    color: #3b4754;
    width: 100%;
    display: flex;
    background-color: #eff0f4;
    border-radius: 1rem;
    border: 3px solid #c8d2dd;
    height: 100%;
}

.contact-form-description {
    width: 100%;
    color: #898d8f;
}

.contact-form {
    display: flex;
    width: 60%;
    flex-wrap: wrap;
    gap: 1rem;
    border-right: 3px solid #bac7d1;
    padding: 3rem 4rem 2rem;
    align-items: center;
}

.contact-form-section {
    flex: 1 0 40%;
}

.contact-form-input {
    width: 100%;
    padding: .7rem;
    margin-top: .5rem;
    border: 3px solid #bac7d1;
    border-radius: .4rem;
}

.contact-form-input:hover::placeholder {
    color: #630606;
}

.contact-form-submit {
    padding: 1rem;
    min-width: 10rem;
    border: none;
    background-color: #3b4754;
    color: #fff;
    border-radius: 7px;
    transition: .2s ease-in;
    align-self: center;
    justify-self: center;
    font-weight: bold;
}

.contact-form-submit:hover {
    cursor: pointer;
    background-color: #000000;
}

textarea {
    resize: none;
    width: 100%;
    padding: 1rem 2rem 3rem .7rem;
    border: 3px solid #bac7d1;
}

.contattaci-informazioni-extra {
    width: 40%;
    height: 100%;
    padding: 3rem 4rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
}

.contattaci-informazioni-extra-description {
    padding: 1rem 0;
    border-bottom: 3px solid #bac7d1;
}

.contact-references {
    display: flex;
    flex-direction: column;
    border-bottom: 3px solid #bac7d1;
    padding: 1rem 0 2rem;
    gap: 1rem;
}

.contact-infomation-reference {
    width: 100%;
    display: flex;
    gap: 1rem;
    align-items: center;
    color: #3b4754bd;
}

.contact-form-social {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}


/*FAQ*/

.accordion-container {
    height: 100%;
    width: 80%;
    padding-bottom: 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #07043B;
}

.accordion-item {
    display: flex;
    flex-direction: column;
    border-bottom: #3f3636 solid 0.1px;
    width: 100%;
    position: relative;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
}

.accordion-title {
    flex: 1;
    padding: 1rem;
    font-size: 1.5rem;
}

.accordion-icon {
    font-size: 2rem;
    width: 2rem;
}

.accordion-body {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: .3s ease;
    padding-left: 2rem;
    padding-right: 2rem;
}

.accordion-body::before {
    content: '';
    width: .4rem;
    height: 100%;
    background: #43cb65;
    transition: .5s;
    position: absolute;
    left: .9rem;
    transition: all 3s;
}


/* EXTRA */

@media (max-width: 1100px) {
    .header {
        padding: 0 2rem;
    }
    .content {
        margin: 8rem 2rem 0;
    }
    .hero {
        flex-direction: column;
    }
    .about-us {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        color: #3d0909;
        font-size: 1.5rem;
        width: 100%;
    }
    .description {
        margin-top: 1rem;
        font-size: 1.5rem;
    }
    #illustration-1 {
        width: 60%;
    }
    .logo {
        width: auto;
        font-size: 1.2rem;
    }
    .logo h1 {
        width: 100%;
        font-size: 1.5rem;
    }
    .newsletter {
        color: white;
        display: flex;
        flex-direction: column;
        padding: 5rem 2rem;
        margin-top: 5rem;
        background-color: #3d0909;
        height: 100%;
        width: 100%;
    }
    .footer-content {
        display: flex;
        flex-direction: column;
        padding: 3.3rem 2rem;
        height: 100%;
        width: 100%;
        justify-content: space-between;
    }
    /* BURGER MENU*/
    .navbar {
        width: auto;
        justify-content: flex-end;
    }
    .nav-elements {
        position: fixed;
        left: -100%;
        top: 5rem;
        height: auto;
        flex-direction: row;
        background-color: #3f3636;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    .nav-elements.active {
        left: 0%;
    }
    .nav-element {
        padding: 1rem 0 1rem;
    }
    .nav-link {
        text-align: center;
    }
    .hamburger-menu {
        align-self: center;
        width: auto;
        display: block;
        cursor: pointer;
    }
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    /*DEFAULT PAGES*/
    .page-content {
        margin: 5rem 2rem 2rem;
    }
    /*CHI SIAMO*/
    .section-image {
        height: 100%;
        max-width: 20rem;
    }
    /* DOVE SIAMO */
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        gap: 6rem;
    }
    #illustration-1 {
        width: 85%;
    }
    .title {
        font-size: 3rem;
    }
    .about-us {
        font-size: 1.3rem;
        width: 100%;
    }
    .description {
        margin-top: 1rem;
        font-size: 1.2rem;
    }
    .container-chi-siamo {
        margin-top: 0;
        flex-direction: column;
        align-items: center;
    }
    .illustration-chi-siamo {
        width: 100%;
    }
    .page-heading {
        font-size: 2.5rem;
    }
    .nav-elements {
        gap: 0rem;
    }
    /*Chi siamo*/
    .section-title {
        font-size: 2.2rem;
    }
    .page-section {
        width: 100%;
        padding: 3rem 0 3rem;
        flex-direction: column;
        align-items: center;
    }
    .page-section .text {
        padding-right: 0;
        padding-bottom: 3rem;
        gap: 1rem;
    }
    .page-section-second .text {
        padding-left: 0;
    }
    .page-content {
        margin: 2rem 2rem 2rem;
    }
    .section-image {
        height: 100%;
        max-width: 100%;
    }
    /* DOVE SIAMO */
    .dove-siamo-container {
        flex-direction: column;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    .dove-siamo-text {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 2rem;
    }
    .orario {
        width: 100%;
    }
    /* CONTATTACI */
    .contattaci-section {
        flex-direction: column;
    }
    .contact-form {
        width: 100%;
        border-bottom: 3px solid #bac7d1;
        border-right: none;
    }
    .contact-form-section {
        flex: 1 0 50%;
    }
    .contattaci-informazioni-extra {
        width: 100%;
    }
    /* FAQ */
}

@media (max-width: 480px) {
    .header {
        position: relative;
    }
    #illustration {
        width: 100%;
    }
    .why-choose-us {
        margin-top: 4rem;
    }
    .why-choose-us-illustration {
        min-width: 11rem;
        max-width: 15rem;
    }
    .why-choose-us-description {
        text-align: center;
        font-size: 1.2rem
    }
    .footer-main {
        flex-direction: column;
    }
    .title {
        font-size: 2rem;
    }
    .description {
        font-size: 1.1rem;
    }
    .container-1-child {
        max-width: 18rem;
    }
    /* BURGER*/
    .nav-elements {
        position: fixed;
        top: 5rem;
        height: auto;
        flex-direction: column;
        background-color: #3f3636;
        justify-content: space-around;
        width: 100%;
        height: 87%;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    .nav-element {
        width: 100%;
        padding: 1rem;
    }
    body.active {
        overflow: hidden;
    }
    .nav-elements li:hover::after {
        width: 0%;
    }
    .nav-elements li a:hover {
        color: #FD5D5D;
    }
    .page-heading {
        font-size: 2rem;
    }
    /*Chi siamo*/
    .banner {
        height: 14rem;
        margin-top: 0;
    }
    .section-break {
        width: 100%;
    }
    /* CONTATTACI */
    .contact-form {
        padding: 2.2rem 1.2rem 1.2rem;
    }
    .contact-form-submit {
        width: 100%;
    }
    .contattaci-informazioni-extra {
        padding: 2.2rem 1.2rem 1.2rem;
    }
    .contact-form-title {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
    }
    .contact-form-description {
        text-align: center;
    }
    .contattaci-informazioni-extra-title {
        font-size: 1.5rem;
        text-align: center;
    }
    .contattaci-informazioni-extra-description {
        text-align: center;
    }
    /*FAQ*/
    .accordion-container {
        width: 100%;
    }
    .accordion-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 380px) {
    .title {
        font-size: 1.5rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .about-us {
        font-size: 1.2rem;
    }
    .description {
        font-size: 1rem;
    }
    .why-choose-us-description {
        text-align: center;
        font-size: 1.1rem
    }
    .page-heading {
        font-size: 1.7rem;
    }
    /*FAQ*/
    .accordion-title {
        font-size: 1.2rem;
    }
}