/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary: #bcddec;
    --secondary: #3e4cac;
    --terzo: rgb(104, 134, 244);
    --warning: rgb(255, 232, 138);
    --bg: rgb(241, 241, 241);
    --bg-menu: rgb(238, 238, 238);
    --title-text: #3e4cac;
    --warning: #ffe88a;
    --text: #636363;
    --green: green;
}

html, body{
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #070110;
}

/* utils */
.container{
    margin: 0 auto;
    max-width: 1099px;
}

.m-top{
    margin-top: 38px;
}

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

h1{
    font-size: 4rem;
}

section{
    min-height: calc(100vh - 30px);
    display: flex;
    justify-content: center;
    align-items: center;
}

section > div{
    width: 100%;
    text-align: center;
}

section h2{
    color: #eeeded;
    margin-top: 30px;
}

.title{
    width: 600px;
    margin: 0 auto;
    display: block;
}

.title-sm{
    width: 500px;
}

@media (max-width: 800px) {
    section{
        height: auto;
        min-height: 100vh;
    }

    h1 {
        font-size: 3.5rem;
    }

    .title, .title-sm{
        width: 80%;
    }

    .sezione{
        margin-top: 20vh;
    }
}

p strong{
    color: var(--terzo);
}

.gradiente {
    background: linear-gradient(to right, var(--secondary), var(--terzo), #ff69e4);
    /* Definisce il gradiente */
    -webkit-background-clip: text;
    /* Ritaglia il background al testo (solo per WebKit) */
    -webkit-text-fill-color: transparent;
    /* Rende il testo trasparente (solo per WebKit) */
    background-clip: text;
    /* Ritaglia il background al testo */
    color: transparent;
    /* Rende il testo trasparente */
}

.gradiente2{
    background: linear-gradient(to right, var(--terzo), var(--primary));
    /* Definisce il gradiente */
    -webkit-background-clip: text;
    /* Ritaglia il background al testo (solo per WebKit) */
    -webkit-text-fill-color: transparent;
    /* Rende il testo trasparente (solo per WebKit) */
    background-clip: text;
    /* Ritaglia il background al testo */
    color: transparent;
    /* Rende il testo trasparente */
}

.row{
    display: flex;
    justify-content: space-around;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.card{
    width: 30%;
}

.card img{
    height: 40px;
    display: block;
    margin: 0 auto;
}

.card p{
    text-align: center;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 25px;
    margin-top: 20px;
}

.card .btn{
    text-decoration: none;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid white;
    color: var(--secondary);
    font-weight: 600;
    border-radius: 25px;
    transition: .3s ease;
}

.card .btn:hover{
    border: 1px solid var(--secondary);
    background: linear-gradient(to right, var(--secondary), var(--terzo), #ff69e4);
    /* Definisce il gradiente */
    -webkit-background-clip: text;
    /* Ritaglia il background al testo (solo per WebKit) */
    -webkit-text-fill-color: transparent;
    /* Rende il testo trasparente (solo per WebKit) */
    background-clip: text;
    /* Ritaglia il background al testo */
    color: transparent;
    /* Rende il testo trasparente */
}

.card-body{
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 769px) {
    .card {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* header */
header{
    display: flex;
    padding: 20px 20px;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

header img{
    height: 38px;
}

@media (max-width: 800px) {
    header{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    header img{
        margin-bottom: 20px;
    }

    header .m-top {
        margin-top: 0;
    }
}

/* main */
main{
    padding: 15px;
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    margin: 0 auto;
}

footer i{
    font-size: 30px;
}
