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

@font-face {
    font-family: 'aquire-bold';
    src: url('fonts/AquireBold-8Ma60.ttf') format('truetype');;
 }

 @font-face {
    font-family: 'sfpro';
    src: url('fonts/SFPRODISPLAYBOLD.ttf') format('truetype');;
 }

 a{
     text-decoration: none;
 }


.nav{
    background-color: #1e1e1e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;
}

.nav div{
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-nav{
    display: flex;
    align-items: center;
    gap: 90px;
}

.left-nav a span:hover{
    color: #67FFAC;
}

#right-button-nav{
    border: 1px solid white;
    padding: 15px 20px;
    border-radius: 30px;
    color: white;
    font-family: 'Comfortaa', cursive;
    font-size: 15px;
}

#right-button-nav:hover{
    background-color: #67FFAC;
    color: #1E1E1E;
    border: none;
    transition: background-color 0.2s ease-in;
}

#logo{
    font-family: 'aquire-bold';
    font-size: 43px;
    color: rgb(103, 255, 172);
}

.nav-item{
    font-family: 'Comfortaa', cursive;
    font-weight: 400;
    color: #ffffff;
}

.green-item{
    color: rgb(103, 255, 172);
}

/* il roblema per il responsive è space-between */
main{
    display: flex;
    justify-content: center;
    background: #1E1E1E;
    flex-direction: column;
    align-items: center;
    height: 100vh;
}

#button{
    text-align: center;
    transition-duration: .2s;
    padding: 15px 30px;
    font-family: 'Comfortaa', cursive;
    font-size: 20px;
    border: white solid 1px;
    border-radius: 60px;
    margin-top: 50px;
    color: white;
}

#button:hover{
    background-color: white;
    font-weight: 900;
    transition: background-color 0.2s ease-in;
    color: #1E1E1E;
}

#first-heading{
    font-size: 60px;
    font-family: 'sfpro';
    color: white;
    text-align: center;
    line-height: 60px;
}

#center-whatucando{
    background-color: white;
    display: flex;
    justify-content: space-around;
    padding: 0px 30px;
    flex-wrap: wrap;
}

.card{
    height: 440px;
    width: 330px;
    background-color: #FBDA61;
    background-color: #1E1E1E;
    border-radius: 30px;
    margin-top: 90px;
    margin-bottom: 50px;
    font-size: 40px;
    padding: 30px;
    font-family: 'sfpro';
    color: white;
    transition-duration: .3s;
    box-shadow: gray;
    line-height: 40px;
}

.card:hover{
    transform: scale(1.1, 1.1);
    transition: 0.5s ease-out;
}

.card-brands{
    background: linear-gradient(to bottom, #203025 0%, #151516 100%);
    border-radius: 30px;
    padding: 20px;
    font-family: 'sfpro';
    color: #4cd265;
    box-shadow: gray;
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
}

.center-brands{
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.brands-items{
    width: 150px;
    height: 155px;
    transition-duration: .3s;
}

.brands-container{
    display: flex;
    justify-content: space-evenly;
    align-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.brands-items:hover{
    transform: scale(1.1, 1.1);
    transition: 0.5s ease-out;
}

.middle-images-container{
    background-color: white;
}

.middle-images{
    width: 400px;
    height: 400px;
    margin-top: 90px;
}

.middle-images-container > div > p{
    font-family: "sfpro";
    font-size: 50px;
    margin-top: 90px;
    color: #1E1E1E;
}

.middle-images-container > div{
    display: flex;
    justify-content: space-evenly;
}

#first-c, #last-c{
    flex-direction: row-reverse;
}

#last-c{
    margin-bottom: 200px;
}

#big-image{
    font-family: "sfpro";
    font-size: 200px;
    background-image: url("img/TK22_Madone_SL_Family_page_1.webp");
    background-size: cover;
}

#big-image a{
    text-decoration: none;
}

#text-big-image{
    color: white;
    opacity: 10%;
    line-height: 165px;
}

.footer{
    background-color: #323232;
    width: 100%;
    color: white;
    text-align: center;
    padding: 40px 0;
}

#logo-footer{
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 600;
}

#all-rights{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.logo-rights-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.links-container{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding: 20px;
}

.link{
    color: #869FB2;
    padding: 30px;
}

.links-container span{
    color: #869FB2;
}

.active {
    border: 2px solid white;
}


@media (max-width:1366px)
{
    .card:hover{
        transform: scale(1.1, 1.1);
        transition: 0.5s ease-out;
    }

    .card{
        height: 380px;
        width: 270px;
    }
}

@media (max-width:375px)
{
    main{
        display: block;
    }

    .nav, .elements, .square{
        display: none;
    }

    #first-heading{
        font-size: 32px;
        padding: 50px;
    }

    #logo{
        display: inline-block;
    }

    #madone-image{
        width: 200px;
    }

    #button{
        display: none;
    }

    #second-heading{
        font-size: 20px;
        padding: 50px;
    }

    .second-half img{
        width: 200px;
    }

    #center-whatucando{
        flex-wrap: wrap;
    }

    .card{
        margin-bottom: 0;
        margin-right: 0;
    }

    .card-brands{
        margin-top: 90px;
    }

    .middle-images{
        width: 200px;
        height: 200px;
    }

    .middle-images-container > div > p{
        font-size: 20px;
    }
}

@media (max-width:1366px)
{
    
}













