@font-face {
    font-family: logoFont;
    src: url(JennaSue.woff);
}

* {
    --tilte-color: #4ba709;
    --text-color: #000000;
}

html, body, p, ul, li, h1, h2, h3, img {
    margin: 0;
    padding: 0;
    border: none;
}
a {
    text-decoration: none;
    color: var(--text-color);
}
a:hover {
    text-decoration: underline;
    color: var(--tilte-color);
}
body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow-x: hidden;
    font-size: small;
    font-family: arial, sans-serif;
    background-image: url("../images/bg3.jpg")
}

p {
    text-align: justify;
    margin: 1.5vw 0 1.5vw 0;
}

#header {
    width: 78%;
    height: 15%;
    margin: auto auto;
}


#celtis {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 2%;
}

#celtis h1 {
    float: left;
    padding: 30px 10px 0 10px;
    color: #4ba709;
    font-size: 30px;
    font-family: Verdana, Helvetica, sans-serif;
}


#celtis p {
    float: left;
    align-self: flex-start;
    font-size: 12px;
    color: var(--tilte-color);
    font-weight: bold;
    margin: 2px 0 5px 9px;
    font-family: Verdana, Helvetica, sans-serif;
    text-align: center;
}

.colored {
    color: var(--tilte-color);
}



/* partea de mijloc -------------------- */
#body {
    width: 80%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    justify-items: center;
    overflow: hidden;
    margin: 0 auto;
}

.content {
    width: 70%;
    padding: 10px;
    border-right: 1px solid #ccc;
    margin: 0 10px 10px 0;
    background-color: #fff;
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    border-radius: .5em;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20%;
    height:auto;
}


#landiserv_sigle {
    width: 100%;
    flex-grow: 1;
    margin-bottom: 5%;
    background-color: #fff;
    border: 1px solid #ccc;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    border-radius: .5em;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

#landiserv_sigle img {
    margin: auto;
    width: 100%;
    height: 100%;
}

.meniu_dreapta {
    width: 100%;
    flex-grow: 1;
    height: min-content;
    display: flex;
    overflow: hidden;
    background-color: var(--tilte-color);
    border: 1px solid #aaa;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    border-radius: .5em;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.meniu_dreapta ul {
    width: 100%;
    height: 80%;
    list-style-type: none;
    margin: 5px 5px 5px 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    align-self: center;
}

.meniu_dreapta li {
    padding: 5px 10px 5px 10px;
    border-bottom: 1px solid #ccc;
    width: 80%;
}

.meniu_dreapta a {
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

.meniu_dreapta a:hover {
    text-decoration: underline;
    color: #fff;
}

.right_right {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 2;
    background-color: #fff;
    margin: 10px 0 10px 0;
    border-right: 1px solid #ccc;
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    border-radius: .5em;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}


.right h3 {
    color: var(--tilte-color);
    border-bottom: 1px solid #ccc;
}

.right p {
    padding: 3px;
    text-align: center;
}

.logos {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.logos img {
    width: 90%;
    height: 50%;
}
.logos hr {
    width: 90%;
}
.articol {
    padding: 10px 10px 10px 0;
    clear: both;
    overflow: hidden;
}

.articol h2 {
    color: var(--tilte-color);
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
}

.articol h3 {
    color: var(--tilte-color);
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
}

.articol ol {
    list-style-type: lower-alpha;
}

.celtis {
    color: #fff !important;
}

/* partea de jos -------------------- */
#footer {
    width: 100%;
    height: 25px;
    margin: 0 auto;
    background-color: var(--tilte-color);
    border: 1px solid #aaa;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    border-radius: .5em;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

#footer2 {
    width: 100%;
    height: 10%;
    margin: 0 auto;
}

.meniu_footer {
    float: right;
    margin-right: 10px;
}

.meniu_footer ul {
    list-style-type: none;
}

.meniu_footer li {
    display: inline;
    float: left;
    color: #aaa;
    padding: 0 15px 5px 10px;
    border-right: 1px solid #ccc;
    margin-top: 9px;
}

.meniu_footer a {
    text-decoration: none;
    color: #aaa;
}

.meniu_footer a:hover {
    text-decoration: underline;
    color: #000;
}


@media (max-width: 740px) {
    #header{
        width: 80%;
    }
    #body {
        display: flex;
        flex-direction: column;
        width: 90%;
        align-items: center;
    }
    .content{
        width: 80%;
    }
    .right {
        width: 80%;
    }
}