/* CSS FUNDAMENTAL */
*{
    margin: 0;
    padding: 0;
}
html{
    height: 100%;
}
body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    max-width: 100%;
}
html, body {
    overflow-x: hidden;
  }
  body {
    position: relative
  }
img{
    display: block;
}
/* CSS ICONITE */
.iconite{
    /*background-color: #e6f7ff;*/
    padding: 0.6em 2em;
    text-align: right;
}
.blckicn{
    color: rgb(0, 89, 179);
    margin: 0 0.6em 0 0.6em;
    font-size: 1.2em;
}
.blckicn:hover{
    color:black;
}

.blckicn-footer{
    color: white;
    margin: 0.5em  0.5em 0 0!important;
    font-size: 2.5em;
}

.facebook:hover{
    color:#0059b3;
}

.instagram:hover{
    color:#c13584;
}

.youtube:hover{
    color:#FF0000;
}


.iconite-footer{
    display: flex;
    flex-direction: row;
    justify-content: left; 
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
    transition: transform 0.4s ease, color 0.4s ease;
    transform-origin: center;
}

.iconite-footer a:hover{
    transform: scale(1.2) rotate(360deg);
    transition: transform 0.4s ease, color 0.4s ease;

}
/*  CSS NAVI BAR  */
.logo{
    position: absolute;
    top: 2.8em;
    left:  4rem;
    max-width: 6.5rem;
}
nav{
    z-index: 1000;
    background-color: white;
    box-shadow: 3px 3px 5px black;
}
nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
nav li{
    height: 50px;
    padding: 30px;
}
.active{
    display: block !important;
    margin: 0 0 0.5em 0;
}
#dropdownMenu1{
display: none;
}
#dropdownMenu1 a{
    margin: 0.3em;
}
#dropdownMenu2{
    display:none;
    margin-bottom: 3em;
}
#dropdownMenu3{
    display:none;
    margin-bottom: 3em;
}
#dropdownMenu3 a{
    margin: 0.3em;
    max-width: 80%;
}
#dropdownMenu4{
    display:none;
    margin-bottom: 5.5em;
}
#dropdownMenu5{
    display:none;
    margin-bottom: 6.5em;
}
.link-meniu{
    color:#0059b3;
    font-size: 0.7em;
    text-transform: uppercase;
    margin-left: 3em;
}
.link-navi{
    height: 30%;
    letter-spacing: 0;
}
nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #0059b3; 
    border-radius: 5px;  
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 1.05em;
}
.fost-link{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #0059b3; 
    border-radius: 5px;  
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 0.8em;
}
nav a:hover{
    transition: 0.3s;
    border-radius: 5px;
}
nav li:first-child{
    margin-right: auto;
}
.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 350px;
    z-index: 1999;
    background-color: #fffdf0a4;
    -webkit-backdrop-filter: blur(2em);
    backdrop-filter: blur(2em);
    box-shadow: -10px 0px 10px black;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.sidebar li{
    margin: 0.5em 0;
    width: 100%;
}
.sidebar a{
    width: 100%;
}
.menu-button{
    display: none;
}
form{
    margin-top: 0.2em;
}
input{
    outline: none;
    padding: 0.7em;
    margin-right: 1em;
    border-radius: 5px;
    font-size: 1em;
}
.navimic{
    padding: 10px 30px;
}
button{
    display: inline-block;
    padding: 0.7em 1em 0.5em 1em;
    background-color: #0059b3;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1em;
    border-radius: 10px;

}
.dropdown{
    position: relative;
    display: inline-block;
}
.dropdown-content{
    padding: 2em 0;
    border-radius: 5px; 
    display: none;
    position: absolute;
    background-color: white;
    min-width: 8.7em;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 999;
}
.dropdown-content a{
    margin: 0.5em 0;
    letter-spacing: 0;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover{
    background-color: #dddddd3b;
}
.dropdown:hover .dropdown-content {
    animation: appear 0.3s;
    display: block;
}
.dropdown:hover .dropbtn {
    background-color: #f0f0f05e;
}
.bold{
    font-weight: bold;
    color:#0059b3
}
.mobile_dropdown{
    display: inline-flex;
    width: 100%;
}
.mobile_dropdown i{
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 2.5em;
    font-weight: bold;
    font-size: 1.4em;
    color:#0059b3
}
/* KEYFRAME PENTRU TRANZITII DROPDOWN */
@keyframes appear{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
/* CSS SECTION 1  - Articole Recente*/

.poza-inceput{
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 50%;
}
.part1{
    background-color: white;
    position: relative;
    padding: 2em;
    margin-top: -5em;
    margin-bottom: 5em;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0px -10px 15px black;
    z-index: 500;
    max-width: 83.333333%;
}
.titlu-articole{
    padding-top: 0.5em;
    text-align: center;
    color: black;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.6em;
}
.articole-recente{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    max-width: 1540px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-bottom: 2em;
    margin-top: 1em;
    
}
.articol-recent{
    position: relative;
    text-align: center;
    padding: 2.5em 1em;
    max-width: 500px;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    justify-content: center;
    align-items: center;
    place-self: center;
}
.search-results{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    max-width: 1540px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-bottom: 2em;
    margin-top: 1em;
}
.result{
    text-align: center;
    color: rgb(49, 198, 248);
}
.link-articol-recent{
    text-decoration: none;
    color: black;
}
.link-articol-recent:hover{
    margin-top: -0.5em;
    margin-bottom: 0.5em;
    transition: 0.4s ease;
    /*border: 1px solid rgb(49, 198, 248);*/
}
.link-articol-recent:hover h2{
    color: rgb(36, 136, 170);
}
.link-articol-recent:hover img{
    filter: brightness(75%);
}
.poza-articol-recent{
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 17em;
}
.titlu-articol-recent{
    font-size: 1.3em;
    color: rgb(49, 198, 248);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.readmore{
    margin-top: 1.5em;
    width: 100%;
    background-color: black;
}
.readmore:hover{
    background-color: lightblue;

    transition: .3s ease;
}
.linkreadmore{
    text-decoration: none;
    color: white;
    text-transform: capitalize;
    font-weight: bold;
    letter-spacing: 0.15em;
}
.data{
    text-align: center;
    font-style: italic;
    font-weight: bold;
    margin-top: 0.5em;
    font-size: 1em;
}
/* CSS SECTION 2 */
.part2{
    padding: 5em;
    background-color: #e6f7ff;
    display: flex;
    justify-content: space-evenly;
}
.interese{
    padding: 2em;
    text-align: center;
}
.titlu-interese{
    letter-spacing: 0.3em;
    font-weight: bold;
    margin-bottom: 3em;
    text-transform: uppercase;
}
.mini-interese{
    margin: 1.5em;
    background-color:#0059b3;
    color: white;
    padding: 2em 5em;
    border-radius: 10px;
}
/* CSS SECTION 3/*/
.part3{
    padding: 2em;
    margin: 3em 5em;
}
.titlu-despre{
    padding: 0.5em;
    border-radius: 5px;
    background-color: #0059b3;
    display: inline-block;
    color: white;
    letter-spacing: 0.1em;
    font-weight: bold;
    margin-bottom: 1em;
    text-transform: uppercase;
}
.part3 p{
    font-size: 1.1em;
}
/* CSS DESPRE PSY */
.descriere-articol{
    text-align: center;
    font-size: 1.3em;
    margin: 1em 0.5em 0 0.5em;
}
.poza-articol{
    max-width: 50%;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}
.text{
    font-size: 1.2em;
    margin: 3em;
}
.text-articol{
    margin: 1em 2em;
}
/* CSS PENTRU $CONTENT */
.content img {
  max-width: min(50vw, 600px);
  height: auto;
  margin-top: 1em;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
}
.content{
    font-size: 16px;
    margin: 1em 0.2em;
}

.content video{
    max-width: 50%;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}
/* CSS FOOTER */
.footer{
    background: linear-gradient(135deg, #0b1d3a 0%, #1e3d66 100%);
    max-width: 100%;
    padding: 3em 3em;
    max-height: 100%;
}
.footer-content{
    color: white;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.footer-content p{
    margin: 0.5em 0em;
}
.footer-content h2{
    margin-top: 0.5em;
    text-transform: uppercase;
    font-size: 1.3em;
    margin-bottom: 1em;
    color: #0059b3;
}
.footer-div{
    color: white;
    margin: 2em;
}

.footer-div h2{
    color: white;
}

.footer-div a{
    text-decoration: none;
    color: white;
    display: block;
    margin-top: 1em;
    font-weight: bold;
}

.logo-footer{
    position: relative;
    max-width: 70%;
    top: -5%;
    left: -5%;
}
.footer-div h4{
    margin-bottom: 1em;
}
.v1{
    border-left: 3px solid rgb(153, 153, 153);
    height: 23em;
    margin-left: auto;
    margin-right: auto;
}

.newsletter{
    margin-top: 2.5em;
}

.newsletter input{
    border-radius: 5px;
    padding: 0.6em;
    width: 20em;
    margin-right: 0;
    margin-bottom: 1em;
}

.newsletter button{
    font-size: 1em;
    display: block;
    cursor: pointer;
}
.buton-footer{
    margin-top: 1em;
    display: block;
    font-size: 0.8em;
    padding: 0.6em 2em;
}
.copyright{
    margin-top: 2em;
    display: block;
    text-align: center;
    font-weight: bold;
    color: white;
}
@keyframes fadeIn {
    0% {
        opacity: 0; /* Start hidden */
        transform: translateY(20px); /* Optional: Move from below */
    }
    100% {
        opacity: 1; /* Fully visible */
        transform: translateY(0); /* Original position */
    }
}
/* MEDIA QUERIES */
@media screen and (max-device-width: 1200px) { 
    .articole-recente{
        grid-template-columns: auto auto;
    }
    .poza-articol-recent{
        max-width: 50vw;
        height: auto;
    }
    .articol-recent{
        justify-content: center;
        max-width: 65%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media(max-width:1300px)
{
    .result{
        margin-top: 2em;
    }
    .text{
        margin: 2em 0;
    }
    .text-articol{
        margin-left: 0.2em;
        margin-right: 0.2em;
    }
    .articole-recente{
        display: flex;
        flex-direction: column;
    }
    .navimic{
        padding: 10px 30px;
    }
    .part2{
        flex-direction: column;
    }
    .footer-content{
        flex-direction: column;
    }
    .v1{
        border-top: 4px solid rgb(153, 153, 153);
        height: 1em;
        border-left: 0;
    }
    .part1{
        margin: 0;
    }
    .part3{
        padding: 2.3em;
        margin: 2em 1em 2em 0.3em;
        line-height: 1.7em;
    }
    .titlu-despre{
        font-size: 1.5em;
        padding: 0.5em;
        border-radius: 5px;
        background-color: #0059b3;
        display: inline-block;
        color: white;
        margin-bottom: 0.5em;
        text-transform: uppercase;
    }
    .part3 p{
        font-size: 1.1em;
    }
    .poza-inceput{
        position: relative;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    .buton-footer{
        display: block;
        font-size: 0.8em;
        padding: 1em;
    }
    .poza-articol{
        max-width: 100%;
        height: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
        height: 15em;
    }

    .iconite-footer{
    justify-content: space-evenly;
    font-size: 1em;
    align-items: center !important;
    }

    .blckicn-footer{
        margin: 0 !important;
}

}
@media(max-height:750px)
{
    .navimic{
        padding: 0 30px;
    }
    .searchbar{
        margin-left: 1em !important;
    }
}
@media(max-width: 1800px)
{
    .articol-recent{
        width: 80%;
    }
    .part1{
        max-width: 100%;
    }
    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display: block;
    }
    .logo{
        position: absolute;
        top: 0.5em;
        left:  5rem;
        max-width: 6rem;
    }
}
@media(max-width: 800px)
{   .sidebar{
    width: 100%;
    }
    .searchbar{
        margin-left: 1em !important;
    }
}
@media(max-width:850px)
{
    .footer{
        padding: 3em 1em;
    }
    .logo-footer{
        width: 50em;
    }
    .logo{
        position: absolute;
        top: 0.75em;
        left:  2.5rem;
        max-width: 5.5rem;
    }
    .menu-button{
        padding-right: 0.2em;
    }
}
@media(max-width:1500px)
{
    .newsletter input{
        width: 55%
    }
    .newsletter button{
        margin-left: auto;
        margin-right: auto;
    }
    .newsletter input::placeholder{
        text-align: center;
    }
    .footer-content{
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    .iconite-footer{
        justify-content: space-evenly;
        font-size: 1em;
    }
    .logo-footer{
        max-width: 25em;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        top: 0;
    }
    .v1{
        width: 100%;
        height: 1px;
        background: white;
    }
}
@media(max-width:600px)
{
    .logo-footer{
        max-width: 15em;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        top: -1.5em;
    }
    
    .footer-div{
        text-align: center;
    }

}