@import url(https://fonts.googleapis.com/css?family=Montserrat:200);

 * {
    font-family: mon;
    user-select: none;
    box-sizing: border-box;
  }

  @font-face {
    font-family: lii;
    src: url(Merriweather-LightItalic.ttf);
  }

@font-face {
  font-family: al;
  src: url(fonts/Authoritative.otf);
}

@font-face {
  font-family: geor;
  src: url(fonts/georgiaz.ttf);
}

@font-face {
  font-family: allahbaba;
  src: url(fonts/Sarkowik.otf);
}

  @font-face {
    font-family: garv;
    src: url(Sarkowik.ttf);
  }

  @font-face {
    font-family: mon;
    src: url(/fonts/Montserrat-Thin.ttf);
  }
  @font-face {
    font-family: monm;
    src: url(/fonts/Montserrat-Medium.ttf);
  }
  @font-face {
    font-family: lii;
    src: url(/fonts/LibreBaskerville-Italic.ttf);
  }
  @font-face {
    font-family: lib;
    src: url(/fonts/LibreBaskerville-Bold.ttf);
  }

  #beyaz{
    width: 90px;
  }

  html {
    height: 100%;
  } 
  body{
    background-color: white;
    color: #112A5C;
    align-items: center;
    margin: 0;
    padding: 0;
}



  .foto *{
    z-index: 10;
  }

  .navbar .dropdown_menu a{
    font-size: calc(3vh + 3vw);
  }

  .navbar{
    width: 100%;
    height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #081f37;  
    position: fixed;
    top: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    border-bottom: silver solid 4px;
  }

  .navbar .links{
    display: flex;
    gap: 2rem;
  }  

  .navbar li{
    list-style: none;
  }

  .navbar a{
    text-decoration: none;
    font-size: 1.2rem;
    color: white;
    padding: 0 1rem;
    --s: 0.1em;
    --c: #043768;
    padding-bottom: var(--s);
    
    
}

.dropdown-content a{
      --s: 0.1em;
    --c: #043768;
  background:     linear-gradient(90deg,var(--c) 50%,#000 0) calc(100% - var(--_p,0%))/200% 100%,    linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
  -webkit-background-clip: text,padding-box;
    background-clip: text,padding-box;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

  .navbar a:hover {
    --_p: 100%;
    color: silver;
  }



  .navbar .toggle{
    color: white;
    font-size: 3rem;
    cursor: pointer;
    display: none;
    margin-right: 10px;
    transition: transform 0.3s ease;
  }

 

  .dropdown_menu{
    position: absolute;
    top: 90px;
    max-height: 0;
    width: 100%;
    background-color: #112A5C;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    -webkit-transition: max-height 0.5s ease-in-out, opacity 0.5s ease;
    -moz-transition: max-height 0.5s ease-in-out, opacity 0.5s ease;
    -ms-transition: max-height 0.5s ease-in-out, opacity 0.5s ease;
    -o-transition: max-height 0.5s ease-in-out, opacity 0.5s ease;
}
  .dropdown_menu.open{
    max-height: 100vh;
    height: calc(100vh - 90px);
    transition: max-height 0.5s ease-in-out, opacity 0.2s ease;
    opacity: 1;
    -webkit-transition: max-height 0.5s ease-in-out, opacity 0.2s ease;
    -moz-transition: max-height 0.5s ease-in-out, opacity 0.2s ease;
    -ms-transition: max-height 0.5s ease-in-out, opacity 0.2s ease;
    -o-transition: max-height 0.5s ease-in-out, opacity 0.2s ease;
}



  * {
    scrollbar-width: auto;
    scrollbar-color: #002244 silver;
  }

  *::-webkit-scrollbar {
    width: 16px;
  }

  *::-webkit-scrollbar-track {
    background: silver;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #112A5C;

  }








  .brid{
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 10px;
    color: white;
  }

 

  .cre{
    display: block;
    text-align: center;
    font-size: 1em;
    margin: 10px 0;
  }

    .main {
      padding: 1rem;
      margin-top: 5rem;
    }



  .bg{
    margin-top: 95px;
    height: fit-content;
    width: fit-content;
    border: silver solid 3px;
  }

  .foto{
    position: relative;
    background-image: url(FOTO.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;

  }
  .foto::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 280px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 2;
  }
.layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 42, 92, 0.6); 
   z-index: 5;
}

  .wel{
    position: relative; 
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    display: grid;
    place-items: center;

  }


  .zag{
    border-bottom: #002244 2px solid;
    padding-bottom: 5px;
    font-weight: 600;
  }


  .wel h2{
    font-size: 65px;
    color: white;
    margin: 0;
    letter-spacing: 4px;
    font-weight: bold;
    font-family: monm;
  }

  .cd {
    display: inline-block;
    font-size: calc(1vw + 1vh);
    list-style-type: none;
    padding: 1em;
    text-transform: uppercase;
  }

  .c {
    display: block;
    font-size: calc(3vw + 3vh);
  }



  #p2{
    font-size: 1.5rem;
    margin: 0 auto;
    letter-spacing: 0;
    padding-bottom: 150px;
    width: 60%;
    display: block;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    z-index: 100 !important;
  }

  #calc{
    color: white;
    font-size: 38px;
    font-family: "Work Sans", sans-serif;
    font-weight: 300;
    padding: 20px 0;
  }
  .msgbox {
    max-width: 90%;
    background-color: whitesmoke;
    text-align: center;
    border-radius: 1px;
    border: #112A5C solid 4px;
    overflow: hidden;
    margin: 0 auto;
    transition: max-height 0.5s ease-out;
    -webkit-transition: max-height 0.5s ease-out;
    -moz-transition: max-height 0.5s ease-out;
    -ms-transition: max-height 0.5s ease-out;
    -o-transition: max-height 0.5s ease-out;
}




  .msgbox h1{
    border-bottom: #112A5C solid 4px;
    font-size: 45px;
    padding-bottom: 5px;
    margin: 0;
    cursor: pointer;
    background-color:rgb(10, 29, 67);
    color: white;
    padding: 10px 0;
  }



  .msg-content {
    max-height: 5500px;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.msgbox.collapsed .msg-content {
  max-height: 0;
}

.msg {
  margin: 0 auto;
  letter-spacing: 0px;
  padding: 20px;
  width: 90%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
  font-weight: 400;
  font-size: calc(1rem + 0.5vw);
}

  #ddd{
      color: white;
      border-bottom: white solid 3px;
  }


  .info ul{
    text-align: center;
    padding-left: 0;
  }

  .if{
    display: inline-block;
    font-size: 2.2rem;
    list-style-type: none;
    padding: 1em;
    margin: 0;
  }

  .if span{
    display: block;
    font-size: 2.6rem;
    font-weight: normal !important;
  }


  .boga{
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 100;
    background-color: transparent;
  }

  #br{
    margin-top: 200px;
    min-width: 155px;
    width: 20%;
    filter: invert(100%) brightness(200%);
    margin-bottom: 20px;
    cursor: pointer;
    
  }

  .sdg{
    margin: 0;
    margin-top: 10px;
    font-weight: bold;
    font-size: 2rem;
  }

  #p2, .msg{
    user-select: text;
  }
  .msg::selection{
    color: silver;
    background-color: #112A5C;
  }

  .msg::-moz-selection{
    color: silver;
    background-color: #112A5C;
  }
  #p2::selection{
    color: silver;
    background-color: #112A5C;
  }

  #p2::-moz-selection{
    color: silver;
    background-color: #112A5C;
  }







    .if {
      font-size: 1.2rem; 
      font-weight: bold;
    }

  .sticky  h6{
      display: none;
    }

    .boga{
      margin-top: 0;
    }
  
  .msgbox h1 {
      font-size: 28px;
  }
  


  .boga ul {
    padding-left: 0;
  }






  .cr{
    position: absolute;
    right: 20px;
  }






  .example h1,
  .example p,
  .example .button {
    transition: all .2s ease-in-out;
  } 

  .example {
    padding: 0 !important;
    display: flex ;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    margin: auto;
    box-sizing: border-box;
    
  }

  .example .flipdown {
    width: 100%;
    margin: 1rem 0;

  }

  .example h1 {
    text-align: center;
    font-weight: 400;
    font-size: 2.5rem;
    margin: 0.5rem 0;
  }





  .ar {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #081F37;
    color: white;
    text-align: center;
    font-size: 22px;
    padding: 0.3rem;
    font-family: monm !important;
    border-top: silver solid 4px;
  }


  html {
    scroll-behavior: smooth;
  }



  .stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    font-family: Arial, Helvetica, sans-serif;
    grid-template-columns: repeat(3, 1fr);
  }

  .stat {
    background-color: #fff;
    border: 1px solid #112A5C;
    border-radius: 8px;
    padding: 20px;
    max-width: 250px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
  }

  .number {
    font-size: 4em;
    font-weight: bold;
    color: #112A5C;
    margin: 0;
  }

  .text {
    font-size: 1.2em;
    color: #112A5C;
    font-family: Arial, Helvetica, sans-serif;
    margin: 10px 0 0 0;
  }

  .stat .number {
    font-size: 4em;
    font-weight: bold;
    color: #112A5C;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
  }
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
  }
  
  .stat {
    background-color: #fff;
    border: 1px solid #112A5C;
    border-radius: 8px;
    padding: 20px;
    max-width: 250px;
    text-align: center;
    margin: 10px;
  }
  


  section.committees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-gap: 20px;
    padding: 50px;
    justify-content: center;
    align-items: center;
}

.committee {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.committee:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.committee .image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-in-out;
    -webkit-transition: transform 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out;
    -ms-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition: transform 0.5s ease-in-out;
    filter: grayscale(100%);
}

.committee:hover .image {
  transform: scale(1.15);
  filter: grayscale(0);
}

.committee .text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 1.2em;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease-in-out;
    transform: translateY(100%);
    opacity: 0;
}

.committee:hover .text {
  transform: translateY(0);
  opacity: 1;
}

.committee:hover .image {
    transform: scale(1.1);
}

.committee:hover .text {
    transform: translateY(0);
}


section.committees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  padding: 50px;
  justify-content: center;
  align-items: center;
}



.inf{
  text-decoration: none;
  color: white;
  font-size: 25px;
  margin-left: 10px;
}

#ngg{
  margin: 0;
}

.topt{
  font-family: monb;
  cursor: pointer;
  color: #081F37;
  font-size: 36px;
}


.top{
  text-align: center;
  border-bottom: #081f37 solid 5px;
  border-top: #081f37 solid 5px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.topt:hover .top{
  background-color: #081f37;
}










.cred{
  text-align: left !important;
  left: 0 !important;
  display: block;
  font-family: monb;
}

.allah{
  font-family: al;
  font-weight: 400;
  font-size: 40px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.acc{
  align-items: center;
  justify-content: center;
  display: flex;
}








@media all and (max-width: 1000px) {

  section.committees {
    display: none;
    }
    .top{
      display: none;
    }
    #calc{
      font-size: 25px;
    }
  .msg{
    font-size: 18px;
  }
  #br{
    width: 35%;
  }
  .msgbox{
    .msgbox {
      width: 600px;
      max-width: 90%;
  }
  }
  

}

@media all and (max-width: 768px) {
  .msgbox {
    width: 80%;
}
  .sdg{
    font-size: 25px;
  }
  #calc{
    padding: 10px 0;
  }
#beyaz{
  width: 80px;
}

  h1{
  font-size: 28px;    
  }

  .main {
    margin-top: 50px; 
  }
  .I{
    display: none;
  }
  .wel h2 {
    font-size: 30px; 
  }

  #p2 {
    font-size: 18px; 
    width: 90%; 
  }
  .zag{
    font-size: 30px !important;
  }
  .stats {
    flex-direction: column;
    align-items: center;
}
#br{
  margin-top: 120px;
}
.stat {
    width: 40%; 
    margin-bottom: 20px;
}

.number {
    font-size: 3em; 
}

.text {
    font-size: 1em; 
}
}

  
@media(max-width: 550px) {

  .flipdown .rotor,
  .flipdown .rotor-leaf,
  .flipdown .rotor-leaf-front,
  .flipdown .rotor-leaf-rear,
  .flipdown .rotor-top,
  .flipdown .rotor-bottom,
  .flipdown .rotor:after {
    width: 24px;
  }
}

@media all and (max-width: 576px) {
  .example {
    width: 100%;
    height: 362px;
  }

  .example h1 {
    font-size: 1.4em;
  }
  .brid{
    font-size: 1rem;
  }
  #p2{
    padding-bottom: 70px;
  }
  .example{
    max-height: 200px;
  }
  .ac{
    font-size: 15px;
    padding-bottom: 5px;
  }
  .example{
      height: fit-content;
  }
}
@media (max-width: 480px) {
  .stat {
      width: 80%;
      padding: 15px; 
  }

  .number {
      font-size: 2.2em !important; 
  }

  .text {
      font-size: 0.9em;
  }
  .msgbox {
    width: 90%;
}
}