@media(min-width: 1920px){
    .container{
        max-width: 1800px;
    }
}


.title, .subtitle {
    text-align: center;
    position: relative;
}

.title-container {
    background: var(--giallo);
    padding: 22px 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: -50px;
    width: 60%;
    left: 0;
    font-size: 40px;
    font-weight: bold;
    color: #000;
}

.subtitle-container {
    background: black;
  padding: 22px 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: -15px;
  width: 40%;
  left: 0;
  font-size: 40px;
  font-weight: bold;
  color: white;
}

.contact-container {
    padding: 4% 4%;
    background: rgb(3, 3, 3);
}

:root {
    --giallo: #eac31b;
    --gray: #333333;
  }

body{
    font-family: 'Kanit';
}

a{
    color: inherit;
    text-decoration: none;
}

.max-container {
    max-width: 1920px;
    margin: 0 auto;
}

.bg-giallo{
    background: var(--giallo);
    padding: 10px 0;
}

.header-info {
    display: flex;
    justify-content: end;
}

.span-header-info {
   font-weight: 400;
}

.bg-nero {
    background: black;
    display: flex;
    justify-content: center;
    padding: 25px;
}

.banner img {
    filter:brightness(80%)
}

.banner-discoverent {
    max-width: 100%;
}

.services {
    display: flex;
    flex-direction: column;
    margin-top: 5rem!important;
}

.services>div {
    flex: 1 0 50%;
}

.services-blocks {
    padding: 5px;
}

.services-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.service-block {
    width: 50%;
    padding: 10px;
}

.service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    box-shadow: 2px 2px 10px #aaaaaa;
    padding: 40px 0;
}

.service-icon {
    font-size: 50px;
    color: var(--giallo);
}


.service-text {
    font-size: 22px;
    margin-top: 5px;
}

.bg-giallo .service-text, .bg-giallo .service-icon {
    color: black;
}

.bg-nero .service-text, .bg-nero .service-icon {
    color: var(--giallo);
}

.services-text-block {
    display: flex;
    align-items: center;
}

.services-subtitle {
    color: var(--giallo);
    text-transform: uppercase;
    font-weight: 600;
}

.services-text {
    font-size: 18px;
}

.footer-container {
    display: flex;
    justify-content: center;
}

.seo-section {
    margin: 7rem 0;
    text-align: center;
}

.seo-text {
    font-size: 18px;
}

.btn {
    background: var(--giallo);
    color: var(--gray)!important;
    border: none;
    margin-top: 20px;
    margin-bottom: 5rem;
    padding: 8px 30px;
    font-size: 20px;
    font-weight: 600;
}

.btn:hover {
    background: #e0ac1b;
}

.form-group {
    margin-top: 30px;

}

.form-group input {
    border: none;    
    border-bottom: 2px solid white;
    border-radius: 10px;
    background: transparent!important;
    color: white!important;
}

::-webkit-input-placeholder {
    color: white!important;
 }


input::placeholder, textarea::placeholder {
    color: white!important; /* Colore del placeholder per browser compatibili con questa pseudo-classe */
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: white!important; /* Colore del placeholder per WebKit browsers (Chrome, Safari, Opera) */
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
    color: white!important; /* Colore del placeholder per Internet Explorer 10+ */
}

input::-ms-input-placeholder, textarea::-ms-input-placeholder {
    color: white!important; /* Colore del placeholder per Microsoft Edge */
}

.form-check-label {
    color: white;
}

.contact-section .contact-title, .contact-section .seo-text {
    color: var(--giallo);
}


.textarea {
    width: 100%;
    height: 242px;
    border: none;
    border-bottom: 2px solid white;
    border-radius: 10px;
    resize: none;
    background: transparent;
    padding: .375rem .75rem;
    color: white!important;
}

.contact-section {
    text-align: center;
}

.form-check {
    margin: 20px 0;
    text-align: start;
}

.form-check-input {
    border: 2px solid white;
}

.services-text {
    text-align: justify;
}

.services-blocks {
    padding: 100px;
}

@media(width >= 1440px) {
    .services-blocks {
        padding: 100px;
    }

    .services {
        flex-direction: row;
        margin-top: 0;
    }

    .services-subtitle {
        font-size: 2.3rem;
        font-weight: 600;
    }

    .services-title {
        font-weight: bold;
        font-size: 2.8rem;
    }

    .service-text {
        font-size: 19px;
        text-align: center;
    }

    .services-text, .seo-text {
        font-size: 20px;
    }

    .seo-section {
        line-height: 30px;
        margin: 12rem 0;
    }

    .seo-title {
        font-size: 3.6rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .contact-title {
        font-weight: bold;
        font-size: 3.4rem;
    }
}


@media(1440px >= width >= 1200px) {

    .services-blocks {
        padding: 20px;
    }

    .services {
        flex-direction: row;
        margin-top: 0;
    }

    .services-subtitle {
        font-size: 2.3rem;
        font-weight: 600;
    }

    .services-title {
        font-weight: bold;
        font-size: 2.4rem;
    }

    .service-text {
        font-size: 19px;
        text-align: center;
    }

    .services-text, .seo-text {
        font-size: 18px;
        font-weight: 300;
    }

    .services-text {
        padding: 0 15px 0 0;
    } 

    .service-icon {
        font-size: 45px;
    }

    .seo-section {
        line-height: 33px;
        margin: 10rem 0;
    }

    .seo-title {
        font-size: 3.6rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .contact-title {
        font-weight: bold;
        font-size: 3.4rem;
    }
}

@media(width <= 1200px) {

    .services-text, .seo-text {
        font-size: 18px;
        font-weight: 300;
        line-height: 30px;
        margin-top: 20px;
      }

    .services-blocks {
        padding: 0;
    }

    .title-container {
        width: 100%;
    }

    .subtitle-container {
        width: 80%;
    }

    .service-icon {
        font-size: 45px;
    }
    
    .service-text {
        font-size: 18px;
        margin-top: 0px;
        font-weight: 500;
      }

    .container {
        padding: 0 5%;
    }

    .services {
        gap: 40px;
        margin-bottom: 8rem;
    }

    .logo-discoverent {
        width: 100px;
    }

    
}

@media(width <= 768px) {

    .seo-text {
        text-align: justify;
    }

    .title-container {
        font-size: 28px;
    }

    .subtitle-container {
        font-size: 28px;
    }

    .service-item {
        padding: 30px 0;
    }
    
    .service-icon {
        font-size: 38px;
    }
    
    .service-text {
        font-size: 18px;
        margin-top: 12px;
        text-align: center;
    }

    .seo-section {
        margin: 6rem 0;
    }

    .services-container {
        flex-direction: column;
    }

    .service-block {
        width: auto;
    }

    .services-text, .seo-text {
        font-size: 16px;
    }
}
