/* Container Pagina */
.container-pagina{
    box-sizing: border-box;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2)
}
/* --------------------- */


/* Banner titlu */
.banner-titlu {
    position: relative;
    display: block;
    padding: 0;
}

.banner-titlu img {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    width: 100%;
    height: auto;
    display: block;
}

.banner-titlu .titlu-subtitlu {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 1em;
    color: white;
    background-color: rgba(94, 164, 246, 0.9);
    width: 100%;
}
.titlu-subtitlu h1{
    margin-top: 0;
    margin-bottom: 0;
}
.titlu-subtitlu h2{
    margin-top: 10px;
    font-size: 1em;
    font-weight: 400;
    font-style: italic;
    color: white;
}
/* --------------------- */


/* Container Articol */
.container-articol{
    padding: 1em;
}
h2{
    color: #5EA4F6;
}
/* --------------------- */


/* Segment Articol */
.segment-articol{
    margin-top: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.text{
    flex-basis: 70%;
}
.segment-articol .container-img{
    flex-basis: 40%;
    display: flex;
    justify-content: center; 
    align-items: center;
}
.container-img img{
    width: 80%;
    border-radius: 40%;
}
.par{
    flex-direction: row-reverse;
}
.impar .text{
    margin-left: 2.5em;
    margin-right: 1em;
}
.par .text{
    margin-left: 1em;
    margin-right: 2.5em;
}
/* --------------------- */


/* Buton CTA */
.rand-cta{
    display: flex;
    justify-content: center;
    margin-top: 3em;
    margin-bottom: 1em;
}
.buton-cta{
    padding: 10px 20px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background-color: #A0006d;
    color: white;
    letter-spacing: 1px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}
.buton-cta:active{
    transform: scale(0.98);
}
.buton-cta:hover{
    opacity: 0.75;
}
/* --------------------- */


@media screen and (max-width: 1024px) {
    h1{
        font-size: 1.5em;
    }
    h2{
        font-size: 16px;
    }
    p{
        font-size: 14px
    }
}

@media screen and (max-width: 700px) {
    .banner-titlu .titlu-subtitlu{
        padding: 10px;
        text-align: center;
    }
    h1{
        font-size: 1em;
    }
    .titlu-subtitlu h2{
        margin:0;
    }
    h2{
        font-size: 14px;
    }
    .segment-articol{
        flex-direction: column;
    }
    .impar .text{
        margin-left: 0;
        margin-right: 0;
    }
    .par .text{
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 350px) {
    .rand-cta a{
        font-size: 16px;
    }
}