* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: url('img/2527292.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    
}

header {
    background: #007BFF;
    color: #fff;
    padding: 20px 0;
    background-image: url('img/6005990.jpg');
    background-size: cover;
    background-position: center;
}
.semester-header {
    font-size: 20px;
    color: #23045c; /* Altın sarısı */
    margin-bottom: 10px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: auto;
}

h1 {
    text-align: center;
    font-size: 24px;
    margin: 0;
}

.logo {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.left-logo {
    margin-right: auto;
}

.right-logo {
    margin-left: auto;
}

main {
    background: rgba(255, 255, 255, 0.9); /* Beyaz renkli arka plan transparan */
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

h2 {
    color: #0d4a87;
    text-align: center;
}

.container {
    width: 80%;
    margin: auto;
}

.semester-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Düzenin merkezlenmesini sağlar */
    margin: 20px 0;
}

.semester-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

.semester-button {
    font-weight: 700;
    background-image: url('img/2527292.jpg');
    color: #fff;
    border: none;
    padding: 20px 25px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    width: 200px;
}

.semester-button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
   background-image: url('img/6005990.jpg');
    border-radius: 8px;
    box-shadow: 0 2px 10px rgb(255, 254, 254);
    margin: 15px;
    padding: 20px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Hover efektine koyu gölge ekledim */
}
.details-button {
    font-weight: 600;
    font-family: serif;
    background-color: #0b0c53; /* Butonun yeşil rengi */
    color: white; /* Yazı rengini beyaz yap */
    border: none; /* Kenar çizgisini kaldır */
    padding: 10px 20px; /* İç boşluklar */
    font-size: 16px; /* Yazı boyutu */
    border-radius: 5px; /* Köşeleri yuvarla */
    cursor: pointer; /* Üzerine gelindiğinde el simgesi */
    transition: all 0.3s ease; /* Hover efektine geçiş */
}

.details-button:hover {
    background-color: #103ac2; /* Hover durumunda daha koyu yeşil */
    transform: scale(1.1); /* Hafif büyüme efekti */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Hafif gölge efekti */
}

.details-button:active {
    background-color: #0148e1; /* Tıklandığında daha koyu yeşil */
    transform: scale(1); /* Tıklandığında geri eski boyuta dön */
}


.hidden {
    display: none;
}



/* Ders Detayları Butonu */
#back-button {
  background-image: url(img/6005990.jpg); /* Yeşil renk */
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#back-button:hover {
    background-color: #218838; /* Daha koyu yeşil */
    transform: scale(1.05);
}

/* Ders Detayları Metni */
#details {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#details h3 {
    color: #007BFF; /* Ders başlıklarını mavi yap */
    font-size: 18px;
    margin-bottom: 10px;
}

#details p {
    font-style: italic;
    color: #555; /* Paragraf metinlerini koyu gri yap */
    font-size: 16px;
}

/* Dersler listesinde hover etkisi */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
h3 {
    font-family: serif;
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
a:-webkit-any-link{
    font-weight: 800;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0b0c53; /* Butonun yeşil rengi */
    color: white; /* Yazı rengini beyaz yap */
    border: none; /* Kenar çizgisini kaldır */
    padding: 5px 10px; /* İç boşluklar */
    font-size: 12px; /* Yazı boyutu */
    border-radius: 5px; /* Köşeleri yuvarla */
    cursor: pointer; /* Üzerine gelindiğinde el simgesi */
    transition: all 0.3s ease; /* Hover efektine geçiş */
    text-decoration: none;
 

}
footer {
    background: #0b0c53; /* Koyu mavi arka plan */
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 30px;
    font-family: Arial, sans-serif;
    position:relative;
    border-radius: 100px;
  
}

.footer-container {
    display: flex;
    justify-content: space-around; /* İçeriği yatayda ortalar */
    align-items: center; /* İçeriği dikeyde ortalar */
    flex-wrap: wrap; /* Küçük ekranlarda alt alta dizilmesini sağlar */
    width: 80%;
    margin: auto; /* Sayfa ortasına alır */
    text-align: center; /* Metinleri ortalar */
}


.footer-info {
    text-align: left;
}

.footer-info h3 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #ffffff; /* Altın sarısı başlık */
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.footer-info p {
    margin: 5px 0;
    font-size: 20px;
    font-style:oblique;
  
}

.footer-info a {
    color: #7e89ff; /* Altın sarısı link */
    text-decoration: none;
    font-weight: bold;
}

.footer-info a:hover {
    text-decoration: underline;
  
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease-in-out;
}

.footer-social img:hover {
    transform: scale(1.2);
}

.footer-text {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}
