body{
    margin: 0px;
    padding: 0px;
    line-height: 1.2;
    background-color: rgb(238, 240, 247);
    color: rgb(26, 26, 26);
    font-family: "MyCustomFont", sans-serif; /* Fallback font is sans-serif */
    min-width: 400px;
}

header{
    color: aliceblue;
    margin: 0px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgb(31, 30, 88);
    z-index: 10;
    height: 80px;

}
#amblem{
    display: flex;
    align-items: center;
    height: 100px;
    top: 8px;
    right: 22px;
    position: relative;
}


#header0{
    text-align: center;
    margin: 0px;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
    top: -30px;
    position: relative;
}


header h1{
    text-align: center;
    margin: 0;
    padding: 0;
}
header ul {
    list-style-type: none; 
}

header a li{
    padding: 23px;
    size: 10px 10px;
    display: inline;
    color: white;
    top: 7px;
    position: relative;

}
header a{
    display: inline-block;
    text-align: center;
    color: black;
    font-size: 20px;
    text-decoration: none;
    margin: 0px;
    
}

.insta1{
    width: 118px;
    height: 118px;
}



#ana0{
    display: flex;
    flex-direction: row;
    margin-top: 140px;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 40px;
    justify-content: space-between;
    height: auto;
}

#son_etkinlik{
    border-radius: 10px;
    text-align: left;
    border: solid 3px rgb(31, 30, 88);
    background-color: rgb(242, 240, 246);
    width: 47%;
    display: flex;
    flex-direction: column;
    margin: 20px;
    height: auto;
    color: rgb(26, 26, 26);

    
}

.baslik{
    font-size: 1.5em;
    padding: 6px;
    margin: 0px;
    font-weight: bold;
    color: rgb(26, 26, 26);

}

.baslik_etk{
    font-size: 1.5em;
    padding: 6px;
    margin: 0px;
    font-weight: bold;
    color: rgb(26, 26, 26);
    text-align: center;

}

.baslik1{
    font-size: 1.5em;
    padding: 6px;
    margin: 0px;
    font-weight: bold;
    color: aliceblue;
    background-color: rgb(31, 30, 88);}


#son_et_resim{
    margin: 10px;
    object-fit: cover;
    object-position: center;
    height: px;    
}

#kısa_acıklama{
    margin: 0px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    position: relative;    
    font-size: 1.5em;
    padding: 5px;
    top: -4px;
    color: rgb(31, 30, 88);
    font-weight: bold;
}


#anaduyurular{
    height: 96%;
    overflow-y: scroll;   
    
}


#kont{
    border-radius: 10px;
    min-height: 400px;
    height: auto;
    text-align: left;
    border: solid 3px rgb(31, 30, 88);
    background-color: rgb(242, 240, 246);

    width: 47%;
    display: flex;
    flex-direction: column;
    justify-content: spa;
    margin: 20px;
}



.duyuru{
    height: 80px;
    margin: 8px;
    border: solid rgb(31, 30, 88) 4px ;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

#yeni{
    animation: flashRed 0.5s ease-in-out 0s 5;
}


@keyframes flashRed {
  0%, 100% {
    border-color: rgb(31, 30, 88);
  }
  50% {
    border-color: red;
  }
}
.duyurup{
    color: rgb(26, 26, 26);
    font-size: 1.24em;
    margin: 0;
    max-width: 93%;
    word-wrap: break-word;
    margin-left: 10px;
    margin-right: 10px;
}

hr{
    border-color: rgb(148, 148, 148);
    width: 70%;
    margin: 0 auto 30px auto;
}
 
.yol{
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    
}

#ep{
    color: black;
    font-size: 1.6em;
    margin:15px;
    margin-left: 30px;
    font-weight: bold;
    
}

.etkinlikler{
    background-color: rgb(233, 234, 243);
    padding: 10px;
    margin-bottom: 80px;



}

.etkinlik{
    border-radius: 10px;
    text-align: left;
    border: solid 3px rgb(68, 68, 68);
    width: 300px;
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: 90%;
    margin: 15px;
    font-weight: bold;
    background-color: rgb(180, 187, 211);
    justify-content: center;

}
.akademik{
    border-radius: 10px;
    text-align: left;
    border: solid 3px rgb(68, 68, 68);
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 150px;
    margin: 15px;
    font-weight: bold;
    background-color: rgb(186, 194, 219);
    background-image: url(source/document3.png);
    background-size: cover;
    background-position: center;
}
.blur{
    margin: 5px;
    border-radius: 8px;
    background-color: rgb(255, 255, 255,0.6);
    backdrop-filter: blur(3px);
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    word-wrap: break-word;
}


.et_resim{
    border-radius: 5px;
    margin: 5px;
    object-fit: cover;
    object-position: center;
    height: 300px;    
}



.tum{
    color: rgb(83, 19, 235);
    margin: 0px;
    margin-right: 55px;
    font-weight: bold;

}
.alty{
    color: rgb(83, 19, 235);
    margin: 0px;
    text-align: right;
}



#duy{
    color: rgb(83, 19, 235);
    margin: 0px;
    text-align: right;
    margin-right:5px;
    margin-bottom: 5px;
}

a{
    text-decoration: none;
    color: aliceblue;
}


footer{
    color: aliceblue;
    background-color: rgb(31, 30, 88);
    height: 300px;

}

.insta{
    width: 50px;
    height: 50px;
}

.insta0{
    top: 15px;
    position: relative;
    width: 50px;
    height: 50px;
    display: none;
}

#iconlar{
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 50px;
    background-color: rgba(255, 255, 255, 0.25);
    padding: 10px;
    width: 300px;
    justify-self: center


}


#iletisim0{
    margin: 0px;
    padding: 20px;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
}


#hak{
    margin: 0px;
    padding: 15px;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
}

#credit{
    padding: 5px;
    text-align: center;
    font-size: 1.1sem;
    font-weight: bold;
    border: 2px aliceblue solid;
    width: 330px;
    margin:  0 auto 0 auto;
    border-radius: 20px;
}
#credi{
    text-decoration: underline rgb(61, 76, 150) 2px;



}

#icon0{
    display: none;

}

#tabbt{
    display: none;

}


#tab {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: rgb(31, 30, 88);
  color: white;
  padding: 20px;
  box-shadow: -2px 0 5px rgba(0,0,0,0.3);
  z-index: 8;
  
  transform: translateX(100%); 
  transition: transform 0.3s ease;
}

#tab ul {
    margin-top: 80px;
    list-style-type: none; 
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-items: left;
    justify-content: left;
    gap: 10px;    
}

#tab a li{
    padding: 15px;
    display: inline-block;
    color: white;
    right: 40px;
    position: relative;
    width: 200px;
}
#tab a{
    width: 100px;
    display: inline-block;
    text-align: center;
    color: black;
    font-size: 20px;
    text-decoration: none;
    margin: 0px;
    
}
#tab.active {
  transform: translateX(0); /* slide in */
}


@media (max-width: 910px) {
    header h1{
        font-size: 1.7em;
        width: 400px;
        text-align: left;
    }
    header ul {
    display: none;
    
    }
    #icon0{
    display: block;
    
    }

    #ana0{
    display: block;
    justify-content: center;
    justify-items: center;
    height: auto;
    }
    #son_etkinlik{
    width: 90%;
    height: auto;
    color: rgb(26, 26, 26);
    }
    #anaduyurular{
    height: 355px;
    
    }
    #kont{    
    
    width: 90%;
    
    }

    .alty{
    text-align: center;
    }
    .tum{
    margin: 0;
    }

    .duyurup{
    font-size: 1.1em;
    
    }
    .etkinlik{
    width: 180px;
    min-height: 220px;
    max-height: auto;
    }
    .et_resim{
    max-height: 140px;
    }


    #show{
        width: 80%;
        height: 90px;
        margin: 0px;
        padding: 0px;
    }

    #tabbt{
    display: block;

    }
    .insta0{
    display: block;

    }



}















