/* Genel stil ayarları */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('background.jpg');
    /* Arkaplan fotoğrafı ekleniyor */
    background-size: cover;
    /* Fotoğraf tam ekranı kaplar */
    background-position: center;
    /* Fotoğraf ortalanır */
    background-attachment: fixed;
    /* Sayfa kaydıkça arkaplan sabit kalır */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: white;

    /* Sayfanın kaymasını engelliyoruz */
}

/* Container */
.container {
    text-align: center !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    /* Saydam siyah arka plan */
    width: 90% !important;
    max-width: 600px !important;
    padding: 30px !important;
    border: none !important;
    border-radius: 25px !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);

}

/* Profil Fotoğrafı ve Ad Soyad */
.profile {
    margin-bottom: 20px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    /* Fotoğrafı yuvarlak hale getiriyoruz */
    object-fit: cover;
    margin-bottom: 10px;
    border: 4px solid black;
    /* Profil fotoğrafının etrafına siyah border ekliyoruz */
}

.profile h1 {
    font-size: 24px;
    margin: 0;
}


.social-icon {
    margin: 0 10px;
    display: inline-block;
}

/* Sosyal medya logolarını yatay hizalama */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10%; /* Logolar arasında boşluk bırakır */
    flex-wrap: wrap; /* Logolar büyükse aşağı kaymasını sağlar */
}

.social-icon img {
    max-width: 100px; /* Mobilde uygun boyut */
    height: auto;
    flex-shrink: 0; /* Küçülmesini önler */
}

@media (max-width: 768px) {
    .social-icon img {
        max-width: 100px; /* Küçük ekranlarda daha küçük logolar */
    }
    .social-links {
        gap: 1px; /* Logolar arasında boşluk bırakır */      
    }
}

@media (max-width: 480px) {
    .social-links {
        flex-wrap: nowrap; /* Logoları yatayda tut */
        justify-content: center; /* Ortaya hizala */
    }

    .social-icon img {
        max-width: 100px; /* Küçük ekranlar için daha küçük logo */
    }
}

/* Butonlar */
.button-container {
    margin-top: 20px;
}

.button {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);

    color: white;
    text-decoration: none;
    padding: 15px 0;
    margin: 12px 0;
    border: 2px solid black;
    font-size: 16px;
    text-align: center;
    border-radius: 10px;

    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: rgba(0, 0, 0, 0.7);

    transform: translateY(-3px);

}


@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        width: 95%;
        padding: 20px;
        border-radius: 20px;

    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .button {
        font-size: 14px;
        padding: 12px 0;
    }
}

.predict{
    display: block;
    width: 200px;
    padding: 10px;
    font-size: 1.5rem;
    margin: 20px auto; /* Butonu ortaya hizalamak */
}

@media (max-width: 480px) {
    .profile-image {
        width: 80px;
        height: 80px;
    }

    .profile h1 {
        font-size: 20px;
    }

    .button {
        font-size: 12px;
        padding: 10px 0;
    }
}