* {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    color: #222;
    -webkit-font-smoothing: antialiased;
    line-height: 1.3;
}

html {
    scroll-behavior: smooth;
}

img {
    width: 100%;
    display: block;
}


/* Text Style */

h1 {
    font-size: 66px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

h2 {
    text-align: center;
    font-size: 44px;
    font-weight: 600;
}

h3, .h3 {
    font-size: 24px;
    display: inline-block;
    font-weight: 400;
    text-align: center;
}

h3 {
    margin-bottom: 24px;
}

p, a {
    font-size: 18px;
    line-height: 1.8;
}

.bold {
    font-weight: 600;
}


/* Header */

header {
    padding: 3rem;
}

.logo {
    width: 100%;
}
.logo  img {
    max-width: 600px;
     margin: 0 auto;
}


/* Hero */

#hero {
    margin: 0 auto;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(img/skyline.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    max-width: 1100px;
}

#hero-text p {
    color: #fff;
}

/* Soluzioni */

#soluzioni {
    background-color: #00609E;
    padding: 90px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#soluzioni h2 {
    margin-bottom: 60px;
    color: #fff;
}

#soluzioni-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 40px;
}

.card-singola {
    background-color: #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    padding: 2.8rem;
    width: 20%;
}

.card-singola img {
    height: 50px;
    width: auto;
    margin-bottom: 30px;
}


/* Footer */

footer {
    display: flex;
    justify-content: center;
    padding: 70px;
}

footer .logo {
    width: 100px;
    margin: 10px 50px;
}
footer a {
    color: #222;
    transition: all 0.5s;
}

footer a:hover {
    color: #00609E;
}


/* Responsive */

@media (max-width: 1300px) {
    header {
        padding: 2rem;
    }
    h1 {
        font-size: 40px;
        text-align: center;
    }

    h2 {
        font-size: 30px;
    }

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

    #soluzioni h2 {
        margin-bottom: 20px;
        padding: 0 10px;
    }

   #hero-text {
    padding: 100px 20px;
   }

   #soluzioni {
    padding-top: 70px;
    padding-bottom: 70px;
   }

   #soluzioni-card {
    gap: 20px;
   }

   .card-singola {
    width: 100%;
   }

    footer {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 50px;
    }

    footer .logo {
        margin: 0 auto;
        padding-bottom: 30px;
    }
}
