
 * {
    user-select: none;
    box-sizing: border-box;
  }
@font-face {
  font-family: al;
  src: url(fonts/Authoritative.otf);
}

@font-face {
    font-family: 'brit';
    src: url('/fonts/BrittanySignature.ttf');
}

  #beyaz{
    width: 90px;
  }

  html {
    height: 100%;
  } 
  body{
    background-color: #efeed6;
    color: #112A5C;
    align-items: center;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}



  .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: #FCFBF4;
    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 .toggle{
    color: #FCFBF4;
    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-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 10px;
    color: #262262;
    font-family: brit;
  }

 

  .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(images/yildiz-teknik-universitesi-endustri-muhendisligi.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(255, 255, 255, 0.413); 
    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: #262262;
    margin: 0;
    letter-spacing: 4px;
    font-weight: bold;

  }

  .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;
    color: white;
    z-index: 100 !important;
  }

  #calc{
    color: #262262;
    font-size: 38px;
    font-weight: 600;
    padding: 20px 0;
  }


  #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: .5em;
    border: #A18F61 solid 3px;
    border-radius: 6px;
  }

  .if span{
    display: block;
    font-size: 2.2rem;
    font-weight: normal !important;
  }


  .boga{
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 100;
    background-color: transparent;
  }

  #br{
    margin-top: 120px;
    min-width: 155px;
    width: 30%;

    cursor: pointer;
    
  }

  .sdg{
    margin: 0;
    margin-top: 10px;
    font-weight: 600;
    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: #262262;
    color: #A18F61;
    text-align: center;
    font-size: 22px;
    padding: 0.3rem;
    border-top: silver solid 4px;
  }


  html {
    scroll-behavior: smooth;
  }

.oe{
  margin: auto;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
  padding-bottom: 10px;
  border-bottom: #081F37 solid 3px;
  max-width: 80%;
  font-size: 54px;
}



  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }




.inf{
  text-decoration: none;
  color: white;
  font-size: 25px;
  margin-left: 10px;
}

#ngg{
  margin: 0;
}

.topt{
  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;
}



.apply-btn {
  display: inline-block;
  margin-bottom: 40px;
  margin-top: 20px;
  padding: 14px 32px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #FCFBF4;
  background-color: #262262;
  border: 2px solid silver;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.apply-btn:hover {
  background-color: #081f37;
  color: #A18F61;
  border-color: #A18F61;
  transform: translateY(-2px);
}






.cred{
  text-align: left !important;
  left: 0 !important;
  display: block;
}

.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;
}




.letter-tabs {
  width: 90%;
  margin: 50px auto;
  color: #112A5C;
}

.tab-header {
  display: flex;
  position: relative;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
}

.tab-btn {
  flex: 1;
  padding: 14px;
  font-size: 18px;
  font-weight: 700;
  color: #112A5C;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.tab-btn:hover {
  color: #262262;
}

.tab-underline {
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 3px;
  width: 50%;
  background: #262262;
  transition: transform 0.3s ease;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
  text-align: justify;
  line-height: 1.7em;
  font-size: 18px;
}

.tab-content.active {
  display: block;
  font-weight: 600;
}
#sg-letter, #dg-letter{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

.social__links ul li:hover p,
.social__links ul li:hover h3,
.social__links ul li:hover i {
    color: #A18F61;
}







@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%;
  }
  }
  .letter-tabs p{
    font-size: 14px;
  }
}

@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; 
}


.oe{
  font-size: 42px;
}

}

  
@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;
  }
  .apply-btn{
    font-size: 16px;
  }
      .social__links ul li:hover p,
    .social__links ul li:hover h3,
    .social__links ul li:hover i {
        color: #A18F61;
    }
}
@media (max-width: 480px) {
  .stat {
      width: 80%;
      padding: 15px; 
  }

  .number {
      font-size: 2.2em !important; 
  }

  .text {
      font-size: 0.9em;
  }
  .msgbox {
    width: 90%;
}
}





