@font-face {
    font-family: "Aileron";
    src: url(fonts/Aileron-Regular.otf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Aileron Bold";
    src: url(fonts/Aileron-Bold.otf);
    font-weight: normal;
    font-style: normal;
}

*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}

body{
    background-color: #9dc9e9;
    min-width: fit-content;
    max-width: 100%;
}

.banner{
    margin-bottom:0px;
    padding:0px;
    background-color: white;
}

.banner img{
    position: relative;
    width: 100%;
    height:fit-content;
}

.bara{
    margin-top:0px;
    width: 100%;
    height: 4px;
    background-color: white;
}

.header{
    font-family: "Aileron Bold";
}

.header table{
    width:100%;
    font-size: 24px;
    color:white;
    padding:10px;
}

.header a{
    transform: transform 0.3s ease;
}

.header a:hover{
    transform: scale(1.1);
}

a{
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.enhanced::after{
    content: "";
    position: absolute;
    left: 5%;
    bottom: -5px; 
    width: 90%;
    height: 3px; 
    background-color: #3f7dae;
    border-radius: 2px;
}

.pozacdtb{
    margin-left:auto;
    margin-right: auto;
    margin-top: 100px;
    margin-bottom: 50px;
}

.pozacdtb img{
    position: relative;
    left: 3%;
    width: 94%;
    background-image: url("images/cdtb.jpg");
    border-radius: 20px;
    border: 5px solid white;
}

.membership{
    position: relative;
    width: 80%;
    margin:auto;
    min-height: fit-content;
    margin-bottom: 100px;
}

.responsive-table {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  flex-wrap: wrap;
}

.responsive-table .inner_table {
  font-family: "Aileron Bold", sans-serif;
  font-size: clamp(24px, 5vw, 48px); 
  text-align: center;
  line-height: 1.2;
  color: white;
  background-color: #3f7dae;
  border-radius: 20px;
  padding: 20px 0;
  width: 100%;
}

.inner_table{
    font-family: "Aileron Bold";
    width: 80%;
    font-size: 48px;
    text-align: center;
    line-height: 100px;
    color: white;
    background-color: #3f7dae;
    border-radius: 20px;
    min-height: fit-content;
    padding:20px 0px;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    background-color: #3f7dae;
    color: white;
    font-family: "Aileron";
    padding: 30px 40px;
    border-radius: 20px;
    width: 85%;
    margin: auto;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 60%;
}

.footer-left a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
}

.footer-left img {
    height: 20px;
}

.footer-right {
    font-size: 24px;
    white-space: nowrap;
}

@media (max-width: 1080px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        max-width: 100%;
        font-size: 16px;
    }

    .footer-right {
        margin-top: 10px;
    }
}

.proiecte{
    width: 100%;
    height: 500px;
    min-height: fit-content;
    margin-bottom: 100px;
}

.titlu_proiecte{
    position: relative;
    height: 200px;
    line-height: 200px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    font-family: "Aileron Bold";
    font-size: 80px;
    color:#3f7dae;
    background-color: white;
    left:0;
    width: 55%;
    margin-left:0;
    align-items: center;
}

.titlu_proiecte img{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.lista{
    margin: 100px;
    line-height: 100px;
    font-family: "Aileron Bold";
    font-size: 48px;
    color:#3f7dae;
}

#lista_proiecte{
    margin: 100px;
    line-height: 100px;
    font-family: "Aileron Bold";
    font-size: 48px;
    color:#3f7dae;
}

.arrow-box {
    display: inline-block;
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid black;
}

.slideshow-container {
    width: 80%;
    position: relative;
    margin: auto;
}

.slide {
    display: none;
}

.slide.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    left: 10% !important;
    border-radius: 10px;
}

.arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.arrow:hover {
    background-color: rgba(0,0,0,0.8);
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

#lista_proiecte li{
    transform: transform 0.3s ease;
}

#lista_proiecte li:hover{
    transform: scale(1.1);
}

.descriere{
    padding: 30px 20px;
    position: relative;
    height: 36px;
    line-height: 36px;
    min-height: fit-content;
    height: 100px;
    font-family: "Aileron Bold";
    font-size: 36px;
    color:#3f7dae;
    background-color: white;
    left:0;
    width: 80%;
    margin-left:0;
    margin-top: 50px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    text-align: justify;
}

.descriere.expandat {
    min-height: fit-content;
}

.text-lunga {
    display: none;
}

.descriere.expandat .text-lunga {
    display: inline;
}

#toggleBtn {
    position: relative;
    height: 36px;
    line-height: 36px;
    font-family: "Aileron Bold";
    font-size: 36px;
    color:#133f61;
    background-color: transparent;
    left:0;
    cursor: pointer;
    border:none;
}

.backbutton{
    position: relative;
    height: 60px;
    line-height: 60px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    font-family: "Aileron Bold";
    font-size: 36px;
    color:#3f7dae;
    background-color: white;
    left:0;
    width: 200px;
    margin-left:0;
    border:0;
}

#gds:focus, #raf:focus, #cfe:focus, #bktak:focus, #board:focus, #comitet:focus {
    outline: none;
    box-shadow: none;
    border-color: initial;
}

a:focus {
    outline: none;
}

.descriere_home{
    margin:auto;
    position: relative;
    margin-top: 50px;
    width: 100%;
    height: 500px;
    min-height: fit-content;
    border-radius: 40px;
    background-color: white;
    color: #3f7dae;
    padding: 40px 30px;
    font-family: "Aileron Bold";
    font-size: 36px;
    text-align: justify;
}

.desprenoi{
    margin:auto;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 90%;
    height: 400px;
    min-height: fit-content;
    border-radius: 40px;
    background-color: white;
    color: #3f7dae;
    padding: 40px 30px;
    font-family: "Aileron Bold";
    font-size: 36px;
    text-align: justify;
}

.echipa{
    display:flex;
    align-items: center;
    justify-content: center; 
    margin:auto;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 90%;
    height: 300px;
    min-height: fit-content;
    border-radius: 40px;
    background-color: white;
    color: #3f7dae;
    padding: 40px 30px;
    font-family: "Aileron Bold";
    font-size: 96px;
    line-height: 96px;
}

.titlu_echipa{
    display:flex;
    align-items: center;
    justify-content: center; 
    margin:auto;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 90%;
    height: 100px;
    min-height: fit-content;
    border-radius: 40px;
    background-color: white;
    color: #3f7dae;
    padding: 40px 30px;
    font-family: "Aileron Bold";
    font-size: 60px;
    line-height: 60px;
}

.board{
    height: 1000px;
    min-height: fit-content;
}

.persoana{
    font-size: 36px;
    font-family: "Aileron Bold";
    color:white;
}

.persoana img{
    width: 400px;
    border-radius: 40px;
}

.nume{
    font-family: "Aileron";
}

.comitet{
    height: 300px;
    min-height: fit-content;
}

.interact{
    display:flex;
    align-items: center;
    justify-content: center; 
    margin:auto;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 90%;
    height: 200px;
    min-height: fit-content;
    border-radius: 40px;
    background-color: white;
    color: #3f7dae;
    padding: 40px 30px;
    font-family: "Aileron Bold";
    font-size: 108px;
    line-height: 108px;
}

.contact{
    width:90%;
    margin:auto;
    height:400px;
    min-height: fit-content;
    margin-bottom: 100px;
}

.mail_district{
    display:flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    margin-left: 10%;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 90%;
    height: 100px;
    min-height: fit-content;
    border-radius: 20px;
    background-color: white;
    color: #3f7dae;
    padding: 30px 20px;
    font-family: "Aileron Bold";
    font-size: 36px;
    line-height: 40px;
    white-space: normal;
}

.mail_mircea{
    display:flex;
    align-items: center;
    flex-direction: column;
    margin-left: 10%;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 90%;
    height: 100px;
    min-height: fit-content;
    border-radius: 20px;
    background-color: white;
    color: #3f7dae;
    padding: 30px 20px;
    font-family: "Aileron Bold";
    font-size: 36px;
    line-height: 40px;
    white-space: normal;
}

.mail_district a{
    display: block !important;
}


@media (min-width: 1081px) {
    .responsive-table .inner_table {
        width: 32%;
    }
    .header{
        background-color: #9dc9e9;
    }
}

@media (max-width: 1080px) {
    .responsive-table {
        flex-direction: column;
    }

    .responsive-table .inner_table {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 50px;
    }
}

@media screen and (max-width: 1080px) {
    body {
        margin: 0;
        padding: 0;
        font-family: 'Aileron', sans-serif;
        font-size: 16px;
        line-height: 1.5;
        color: #000;
    }

    .bara {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }

    .bara ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .bara ul li {
        text-align: center;
    }

  .header {
    text-align: center;
    padding: 15px 10px;
  }

    .membership {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        background-color: #9DC9E9;
        padding: 15px;
        border-radius: 10px;
        flex-wrap: wrap;
    }

    .membership .inner_table {
        flex: 1;
        min-width: 100px;
        background-color: white;
        text-align: center;
        padding: 12px;
        font-weight: bold;
        border-radius: 8px;
    }

    .descriere_home {
        padding: 15px;
        text-align: justify;
    }

    h1, h2, h3 {
        font-size: 1.3em;
        margin: 10px 0;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}
.header {
    background-color: #3f7dae;
    padding: 20px;
    font-family: "Aileron Bold", sans-serif;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 80px;
}

.nav-desktop {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-desktop a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.nav-desktop a:hover {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    font-size: 36px;
    color: white;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.nav-mobile a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    padding: 10px;
    background-color: #3f7dae;
    border-radius: 10px;
}

.nav-mobile.show {
    display: flex;
}

@media (max-width: 1080px) {
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

.inner_table {
    font-family: "Aileron Bold", sans-serif;
    font-size: clamp(24px, 5vw, 48px);
    text-align: center;
    line-height: 1.2;
    color: white;
    background-color: #3f7dae;
    border-radius: 20px;
    padding: 20px 0;
    width: 100%;
}

@media (min-width: 1081px) {
    .responsive-table .inner_table {
        width: 32%;
    }
    .header{
        background-color: #9dc9e9;
    }
}

@media (max-width: 1080px) {
    .responsive-table {
        flex-direction: column;
    }

    .responsive-table .inner_table {
        width: 100%;
        margin-bottom: 10px;
        color:#3f7dae;
    }
    .descriere_home{
        font-size: 24px;
    }
    .bara{
        margin:0;
        padding:0;
    }
}

.proiecte {
    margin-left:0;
    width: 100%;
    padding: 40px 20px 40px 0;
    box-sizing: border-box;
}

.proiecte-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.proiecte-lista {
    flex: 1 1 250px;
}

.proiecte-slideshow {
    flex: 1 1 250px;
}

.titlu_proiecte {
    font-family: "Aileron Bold";
    font-size: 76px;
    color: #3f7dae;
}

#lista_proiecte {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 48px;
    font-family: "Aileron Bold";
    color: #3f7dae;
    line-height: 2;
    margin-top:100px;
}

#lista_proiecte a {
    text-decoration: none;
    color: inherit;
}

.slideshow-container {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    border-radius: 10px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: white;
    background-color: rgba(0,0,0,0.5);
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

#lista_proiecte li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

#lista_proiecte li::before {
    content: "•";
    font-size: 72px;
    line-height: 1;
    color: #3f7dae;
    margin-top: 10px;
}

.persoana {
    display: inline-block;
    width: 30%;
    margin: 20px;
    text-align: center;
    vertical-align: top;
}

.persoana img {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
}

.persoana .detalii {
    margin-top: 10px;
}

.persoana .nume {
    font-weight: bold;
    font-size: 1.1em;
    display: block;
    margin-top: 6px;
}

.board {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 16px;
}

.row-2, .row-3 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 32px 16px;
}

.row-2 .persoana {
    width: 45%;
}

.row-3 .persoana {
    width: 30%;
}

.titlu_echipa_mobile {
    display: none;
    align-items: center;
    justify-content: center; 
    margin:50px auto;
    position: relative;
    width: 90%;
    height: 80px;
    min-height: fit-content;
    border-radius: 40px;
    background-color: white;
    color: #3f7dae;
    padding: 40px 30px;
    font-family: "Aileron Bold";
    font-size: 60px;
    line-height: 60px;
}

.interact {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
    width: 90%;
    height: 200px;
    border-radius: 40px;
    background-color: white;
    color: #3f7dae;
    padding: 40px 30px;
    font-size: 108px;
    line-height: 108px;
    text-align: center;
}

.contact-wrapper {
    width: 90%;
    margin: auto;
    margin-bottom: 100px;
}

.contact-table {
    width: 100%;
    border-spacing: 0 40px;
}

.contact-row {
    vertical-align: middle;
}

.contact-image img {
    height: 100px;
    border-radius: 20px;
    display: block;
    margin: auto;
}

.mircea-img {
    min-height: 300px;
}

.contact-info {
    padding-left: 20px;
}

@media (max-width: 1080px) {
    .proiecte{
        padding: 40px 0;
    }
    
    .proiecte-wrapper {
        flex-direction: column;
    }

    .titlu_proiecte {
        font-size: 40px;
    }

    #lista_proiecte {
        text-align: center;
        font-size: 28px;
        padding: 40px;
        margin:0;
    }

    .arrow {
        font-size: 24px;
        padding: 8px;
    }
    #lista_proiecte li::before{
        font-size: 54px;
        margin-top: 0;
    }

    .proiecte-slideshow{
        padding: 0 20px;
    }

    .descriere{
        font-size: 28px;
        margin:150px auto auto auto;
        border-radius: 30px;
    }
    .lista{
        font-size: 28px;
        line-height: 56px;
        margin: 40px 40px;
        padding: 0;
        max-width: calc(100% - 80px);
    }

    .lista li{
        width: fit-content;
    }

    .backbutton{
        margin-top: 20px;
        font-size: 28px;
    }
    #toggleBtn{
        font-size: 28px;
    }

    .proiecte-lista{
        max-width: 100%;
    }

    .desprenoi{
        font-size: 20px;
    }

    .board {
        padding: 0 8px;
        gap: 0;
    }

    .row-2, .row-3 {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .persoana {
        display: flex;
        flex-direction: row;
        align-items: center;
        min-width: 100%;
        margin: 12px 0;
        text-align: left;
        padding: 8px 10px;
        box-sizing: border-box;
    }

    .persoana img {
        width: 100px;
        height: auto;
        margin-right: 12px;
        flex-shrink: 0;
        border-radius: 8px;
    }

    .persoana .detalii {
        font-size: 15px;
        line-height: 1.4;
        width: 100%;
        max-width: calc(100% - 90px);
    }

    .persoana .nume {
        font-size: 16px;
        font-weight: bold;
        margin-top: 4px;
        display: block;
    }

    .titlu_echipa {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .titlu_echipa_mobile {
        display: block;
        font-size: 48px;
        text-align: center;
        font-weight: bold;
        margin: 50px auto 20px;
        max-height:80px;
    }

    .hide-on-mobile {
        display: none;
    }

    .comitet .persoana{
        padding-left: 5%;
    }

    .interact {
        font-size: 36px;
        height: auto;
        padding: 30px 20px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .contact-table, .contact-row, .contact-image, .contact-info {
        display: block;
        width: 100%;
        text-align: center;
    }

    .contact-image img{
        margin: 0 auto 20px;
        height: auto;
        max-width: 70%;
    }
    .mircea-img {
        margin: 0 auto 20px;
        height: auto;
        max-width: 200px;
        min-height: 100px;
    }

    .contact-info {
        padding: 0;
    }

    .mail_district,
    .mail_mircea {
        font-size: 18px;
        line-height: 36px;
        margin-left: auto;
        margin-right: auto;
    }

    .mail_mircea{
        margin-bottom: 0px;
    }

    .contact_wrapper{
        margin-bottom: 0px !important;
    }
}
