body{   

    background-color: #141313;
    color:white;
    font-family: Verdana, sans-serif;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    font-size: 1.125rem; 
    box-sizing: border-box; 
    line-height: 1.5;
    letter-spacing: 0.3px;
    overflow-x: hidden;
    
}

main{
    margin:0;
}

.titlu{
    margin: 2em;
    margin-bottom: 1em;
    font-size: 1.875rem;
}




.img-box img{
    width: 600px;
    height: 400px;
    border-radius: 12px;
    margin-right: 2em;
}




.aliniere{
    display: flex;
    justify-content: space-between;
    text-align: center;
    max-width: 100%;
    
}

.lista_link{
    padding: 1em;
    list-style-type: none;
    margin: 1em;
}

.lista_link li{
    padding: 1em;
    
}

.lista_link a{
    color:#9b59b6;
    text-decoration: none;
}


.lista_link a:hover,
.lista_link a:active{
    color: hsl(271, 70%, 33%);

}



.descriere{
    margin: 1em;
    padding: 1em;
    font-size: 15px;
    max-width: 900px;
    max-width: 800px;
    line-height: 1.8;
}






footer{
    display: flex;
    width: 100%;
    justify-content: space-between;
    background-color: black;
    color: #ffffff;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid  hsl(271, 74%, 52%);
}

footer div{
    text-align: center;
}

footer img{
    max-width: 100px;
    max-height: 100px;
    margin: 2em;
    padding: 2em;
}

footer p{
    color: #ffffff;
    margin: 0.5em;
    padding: 0.5em;
}

.link {
    display: flex;
    flex-direction: column; 
}


.link a {
    text-decoration: none;
    color: hsl(271, 74%, 52%);
    line-height: 0.5;  
}

.link a:link,
.link a:visited{
    text-decoration: none;
    color: #ffffff;
    color: hsl(271, 74%, 52%);
}

.link a:hover,
.link a:active{
    color: hsl(271, 70%, 33%);

}

.social a {
    margin-right: 20px;
    font-size: 1.4rem;
    color: #ddd;
    transition: transform 0.2s, color 0.3s;
}

.social a:hover {
    color: hsl(271, 70%, 33%);
    transform: scale(1.1);
}



@media(max-width: 768px) {
    body {
        font-size: 0.9375rem; /* ~15px */
    }

    h1 {
        font-size: 1.75rem; /* ~28px */
    }

    .lista_link a{
        font-size: 1rem;
    }

    .aliniere {
        display: block; /* sau nici nu e nevoie să pui, block e default */
    }

    img{
        display: none;
        
    }

    footer{
        height: 500px;
    }

    .social{
        margin-right: 1.5em;
    }

    

}


