body {
    background-color: white; // fundal
}
h1 {     color: #333333;
         margin-left: 20px;
         text-align: center;}
h2 {     color: #333333;
         margin-left: 20px;}
h3 {     color: #333333;
         margin-left: 20px;}
h4 {     color: #333333;
         margin-left: 20px;}
p {     color: #990000;
margin-left: 20px; }



p.aliniat { color: #990000;
    margin-left: 90px;
}

p.text1 {
    border: 4px solid black;
    outline: #990000 solid 12px;
    margin: 3%;    
    padding: 15px;
    text-align: center;
}

<style>




div.container {
    width: 100%;
    border: 3px solid #990000;
}
.buttons {
    background-color: #333333; // de ce acesta nu arata ca un buton?
    border: 30px solid #666666;
    color: white;
    padding: 9px 22px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 2px 2px;
    cursor: pointer;
}

.but {
    background-color: #666666;//acesta merge si arata ca un buton
    border: none;
    color: white;
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 2px 2px;
    cursor: pointer;
}

img {
    border: 1px solid #ddd;
    border-radius: 22px;
    padding: 5px;
    width: 450px;
}

article { //margine stanga
    background-color: #666666;
    color: #990000;
    margin-left: 20px;
    //border-left: 3px solid red;
    padding: 1em;
    overflow: hidden;
}

header, footer {
    padding: 0.2em;
    color: black;
    background-color: #990000;//fond antet
    clear: center;
    text-align: center;
}

</style>






 /* MAI JOS SCROOL TEXT*/

<style style="text/css">
.horizontally {
 height: 80px;	
 overflow: hidden;
 position: relative;
 background: yellow;
 color: orange;
 border: 2px solid orange;
}
.horizontally p {
 position: absolute;
 width: 100%;
 height: 100%;
 margin: 2;
 line-height: 50px;
 text-align: center;
 /* Starting position */
 -moz-transform:translateX(20%);
 -webkit-transform:translateX(20%);	
 transform:translateX(20%);
 /* Apply animation to this element */	
 -moz-animation: horizontally 2s linear infinite alternate;
 -webkit-animation: horizontally 2s linear infinite alternate;
 animation: horizontally 15s linear infinite alternate;
}
/* Move it (define the animation) */
@-moz-keyframes horizontally {
 0%   { -moz-transform: translateX(5%); }
 100% { -moz-transform: translateX(-5%); }
}
@-webkit-keyframes horizontally {
 0%   { -webkit-transform: translateX(50%); }
 100% { -webkit-transform: translateX(-50%); }
}
@keyframes horizontally {
 0%   { 
 -moz-transform: translateX(50%); /* Browser bug fix */
 -webkit-transform: translateX(50%); /* Browser bug fix */
 transform: translateX(50%); 		
 }
 100% { 
 -moz-transform: translateX(-50%); /* Browser bug fix */
 -webkit-transform: translateX(-50%); /* Browser bug fix */
 transform: translateX(-50%); 
 }
}
</style>

 /* MAI SUS SCROOL TEXT*/





